:root {
    --navy: #2D3561;
    --navy-deep: #20264a;
    --navy-ink: #171b35;
    --purple: #7B3FA0;
    --purple-light: #9d5bc4;
    --purple-bright: #a855c9;
    --lavender: #ede9fe;
    --violet-bg: #f5f3ff;
    --grad: linear-gradient(135deg, #2D3561 0%, #7B3FA0 100%);
    --grad-bright: linear-gradient(135deg, #3a4275 0%, #a855c9 100%);
    --text: #4a4f6a;
    --muted: #8186a0;
    --line: #e8e6f2;
    --white: #ffffff;
    --bg-soft: #faf9ff;
    --shadow-sm: 0 2px 8px rgba(45, 53, 97, 0.06);
    --shadow-md: 0 12px 32px rgba(45, 53, 97, 0.10);
    --shadow-lg: 0 30px 70px rgba(45, 53, 97, 0.18);
    --radius: 16px;
    --radius-sm: 10px;
    --maxw: 1180px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; }

/* Prevent CSS-grid children from forcing the layout wider than the viewport */
.hero-grid > *, .showcase-row > *, .feat-grid > *, .stats-grid > *,
.steps > *, .foot-grid > * { min-width: 0; }

body {
    font-family: var(--font);
    color: var(--navy-ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font);
    font-size: 0.97rem; font-weight: 600;
    padding: 13px 26px;
    border-radius: 10px;
    cursor: pointer; border: none;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease, background .18s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--grad); color: #fff;
    box-shadow: 0 8px 22px rgba(123, 63, 160, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(123, 63, 160, 0.40); }
.btn-ghost {
    background: rgba(255,255,255,.0); color: var(--navy);
    border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--purple); color: var(--purple); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--navy); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-lg { padding: 15px 32px; font-size: 1.02rem; }

/* ---------- Announcement bar ---------- */
.announce {
    background: var(--grad); color: #fff;
    font-size: .89rem; line-height: 1.5; text-align: center;
    padding: 9px 18px;
    display: flex; align-items: center; justify-content: center; gap: 9px; flex-wrap: wrap;
}
.announce strong { font-weight: 700; }
.announce .announce-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.28); flex-shrink: 0; }
.announce a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.announce a:hover { opacity: .85; }

/* ---------- Nav ---------- */
header.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.82);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}
header.nav.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand-mark { height: 34px; width: auto; display: block; }
.brand-word { font-size: 1.42rem; font-weight: 800; letter-spacing: -.03em; color: var(--navy); line-height: 1; }
.brand-word > span { color: var(--purple); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a.link { font-size: .95rem; font-weight: 500; color: var(--text); transition: color .15s ease; }
.nav-links a.link:hover, .nav-links a.link.active { color: var(--purple); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta a.signin { font-size: .95rem; font-weight: 600; color: var(--navy); }
.nav-cta a.signin:hover { color: var(--purple); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; -webkit-tap-highlight-color: transparent; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s; }
.menu-toggle span + span { margin-top: 5px; }
.menu-toggle:focus { outline: none; }
.menu-toggle:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; border-radius: 6px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 84px 0 90px;
    background:
        radial-gradient(900px 500px at 85% -5%, rgba(168,85,201,.16), transparent 60%),
        radial-gradient(700px 500px at 5% 10%, rgba(45,53,97,.10), transparent 55%),
        var(--violet-bg);
    overflow: hidden;
}
.hero.compact { padding: 60px 0 68px; }
.hero-grid {
    display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--line);
    padding: 7px 14px; border-radius: 100px;
    font-size: .82rem; font-weight: 600; color: var(--purple);
    box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--purple-bright); box-shadow: 0 0 0 4px rgba(168,85,201,.18); }
h1.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.65rem);
    line-height: 1.08; font-weight: 800; letter-spacing: -.02em;
    color: var(--navy-ink); margin-bottom: 22px;
}
h1.hero-title.sm { font-size: clamp(2.1rem, 4vw, 3rem); }
h1.hero-title .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 1.18rem; color: var(--text); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-note { font-size: .88rem; color: var(--muted); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { flex-shrink: 0; }

/* ---------- Hero mockup (translation grid) ---------- */
.mockup {
    background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
    border: 1px solid var(--line); overflow: hidden;
    transform: perspective(1600px) rotateY(-7deg) rotateX(2deg);
    transition: transform .5s ease;
}
.mockup:hover { transform: perspective(1600px) rotateY(-2deg) rotateX(0deg); }
.mockup.flat { transform: none; }
.mockup.flat:hover { transform: none; }
.mockup-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.mockup-bar .tdot { width: 11px; height: 11px; border-radius: 50%; }
.mockup-bar .tdot:nth-child(1){ background:#ff6058;} .mockup-bar .tdot:nth-child(2){ background:#ffbd2e;} .mockup-bar .tdot:nth-child(3){ background:#28c93f;}
.mockup-bar .tlabel { margin-left: 10px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.mockup-bar .tlang { margin-left: auto; display: flex; gap: 6px; }
.mockup-bar .tlang span { font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--lavender); color: var(--purple); }
.grid-head, .grid-row { display: grid; grid-template-columns: 1.3fr 1.5fr 1.5fr 0.9fr; }
.grid-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.grid-head div { padding: 11px 14px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.grid-row { border-bottom: 1px solid #f1eff9; transition: background .15s ease; }
.grid-row:hover { background: var(--violet-bg); }
.grid-row > div { padding: 13px 14px; font-size: .82rem; display: flex; align-items: center; }
.gkey { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .76rem !important; color: var(--purple); font-weight: 600; }
.gsrc { color: var(--navy-ink); font-weight: 500; }
.gval { color: var(--text); }
.gval.empty { color: #c4c0d8; font-style: italic; }
.badge { font-size: .68rem; font-weight: 700; padding: 4px 9px; border-radius: 100px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.badge.ok { background: #e6f8ec; color: #1a9d4a; }
.badge.review { background: #fff3e0; color: #d98314; }
.badge.draft { background: #eef0f6; color: #6b7290; }
.badge.missing { background: #fdeaea; color: #d24545; }
.badge .bd { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.float-card {
    position: absolute; background: #fff; border-radius: 12px; box-shadow: var(--shadow-md);
    border: 1px solid var(--line); padding: 12px 15px; font-size: .8rem; z-index: 3;
}
.fc-tm { bottom: -22px; left: -28px; max-width: 230px; }
.fc-tm .fc-h { display: flex; align-items: center; gap: 7px; font-weight: 700; color: var(--navy); font-size: .78rem; margin-bottom: 6px; }
.fc-tm .fc-h .pct { margin-left: auto; font-size: .7rem; color: #1a9d4a; background: #e6f8ec; padding: 2px 7px; border-radius: 6px; font-weight: 700; }
.fc-tm .fc-b { color: var(--text); font-size: .8rem; }
.hero-visual { position: relative; }

/* ---------- Breadcrumb ---------- */
.crumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.crumb .wrap { display: flex; align-items: center; gap: 9px; padding-top: 14px; padding-bottom: 14px; font-size: .85rem; flex-wrap: wrap; }
.crumb a { color: var(--muted); font-weight: 600; }
.crumb a:hover { color: var(--purple); }
.crumb .sep { color: #cfc9e6; }
.crumb .cur { color: var(--navy-ink); font-weight: 700; }

/* ---------- Industries / trust strip ---------- */
.trust { padding: 56px 0 20px; }
.trust p { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.trust-row { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.ind {
    display: inline-flex; align-items: center; gap: 11px;
    padding: 11px 22px 11px 13px; background: #fff;
    border: 1px solid var(--line); border-radius: 100px;
    font-size: 1rem; font-weight: 600; color: var(--navy-ink);
    box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ind:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow-md); }
.ind-ico {
    width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
    background: var(--lavender); color: var(--purple);
    display: flex; align-items: center; justify-content: center;
    transition: background .2s ease, color .2s ease;
}
.ind:hover .ind-ico { background: var(--grad); color: #fff; }

/* ---------- Section headers ---------- */
section { padding: 92px 0; }
section.tight { padding: 72px 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 58px; }
.sec-head.left { text-align: left; margin: 0 0 44px; }
.eyebrow { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.14; color: var(--navy-ink); margin-bottom: 16px; }
.sec-head p { font-size: 1.1rem; color: var(--text); }

/* ---------- Stats ---------- */
.stats { background: var(--navy); position: relative; overflow: hidden; }
.stats::before { content:''; position:absolute; inset:0; background: radial-gradient(700px 400px at 80% 120%, rgba(168,85,201,.4), transparent 60%); }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat .num { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1; margin-bottom: 8px; }
.stat .lbl { font-size: .95rem; color: #b8bdd9; font-weight: 500; }

/* ---------- Features grid ---------- */
.features { background: var(--bg-soft); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.feat .ico {
    width: 50px; height: 50px; border-radius: 13px; background: var(--lavender);
    display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--purple);
}
.feat:hover .ico { background: var(--grad); color: #fff; }
.feat h3 { font-size: 1.18rem; font-weight: 700; color: var(--navy-ink); margin-bottom: 9px; }
.feat p { font-size: .96rem; color: var(--text); }
a.feat { display: block; }
a.feat .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 15px; font-size: .9rem; font-weight: 700; color: var(--purple); transition: gap .18s ease; }
a.feat:hover .go { gap: 10px; }

/* ---------- Showcase (alternating) ---------- */
.showcase-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 110px; }
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.flip .show-text { order: 2; }
.show-text .eyebrow { text-align: left; }
.show-text h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; color: var(--navy-ink); margin-bottom: 16px; line-height: 1.18; }
.show-text > p { font-size: 1.06rem; color: var(--text); margin-bottom: 24px; }
.show-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.show-list li { display: flex; gap: 12px; font-size: .98rem; color: var(--navy-ink); }
.show-list li .ck { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--lavender); color: var(--purple); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.show-list li strong { font-weight: 700; }

.visual-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; }
.vc-head { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; background: var(--bg-soft); }
.vc-head .vc-ico { width: 30px; height: 30px; border-radius: 8px; background: var(--grad); display: flex; align-items: center; justify-content: center; color: #fff; }
.vc-head .vc-t { font-weight: 700; font-size: .92rem; color: var(--navy-ink); }
.vc-body { padding: 20px; }

/* approval queue mock */
.queue-item { display: flex; align-items: center; gap: 13px; padding: 14px; border: 1px solid var(--line); border-radius: 11px; margin-bottom: 12px; }
.queue-item:last-child { margin-bottom: 0; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .82rem; flex-shrink: 0; }
.qmeta { flex: 1; min-width: 0; }
.qmeta .qn { font-size: .85rem; font-weight: 600; color: var(--navy-ink); }
.qmeta .qv { font-size: .8rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qacts { display: flex; gap: 7px; }
.qbtn { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.qbtn.approve { background: #e6f8ec; color: #1a9d4a; } .qbtn.reject { background: #fdeaea; color: #d24545; }

/* glossary mock */
.term { padding: 14px; border: 1px solid var(--line); border-radius: 11px; margin-bottom: 12px; }
.term:last-child { margin-bottom: 0; }
.term-h { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.term-h .tw { font-weight: 700; color: var(--navy-ink); font-size: .95rem; }
.term-tag { font-size: .66rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: .03em; }
.tag-dnt { background: #eef0f6; color: #6b7290; } .tag-forbid { background: #fdeaea; color: #d24545; } .tag-pref { background: #e6f8ec; color: #1a9d4a; }
.term p { font-size: .82rem; color: var(--text); }

/* branch mock */
.branch-line { display: flex; align-items: center; gap: 11px; padding: 11px 0; font-size: .86rem; }
.branch-line .gd { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.branch-line code { font-family: ui-monospace, Menlo, monospace; font-size: .8rem; background: var(--violet-bg); padding: 2px 7px; border-radius: 5px; color: var(--purple); }
.branch-line .add { margin-left: auto; font-size: .72rem; font-weight: 700; color: #1a9d4a; background:#e6f8ec; padding:2px 8px; border-radius:6px; }
.branch-line .mod { margin-left: auto; font-size: .72rem; font-weight: 700; color: #d98314; background:#fff3e0; padding:2px 8px; border-radius:6px; }

/* analytics mock */
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.scard { border: 1px solid var(--line); border-radius: 11px; padding: 12px 13px; }
.scard.hl { border-color: #f7c98a; background: #fffaf3; }
.scard .sc-n { font-size: 1.5rem; font-weight: 800; color: var(--navy-ink); line-height: 1; letter-spacing: -.02em; }
.scard.hl .sc-n { color: #d98314; }
.scard .sc-l { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-top: 5px; }
.lang-prog { display: flex; flex-direction: column; gap: 13px; }
.lp-row { display: grid; grid-template-columns: 34px 1fr 40px; align-items: center; gap: 11px; }
.lp-code { font-size: .74rem; font-weight: 800; color: var(--purple); font-family: ui-monospace, Menlo, monospace; }
.lp-bar { height: 8px; border-radius: 100px; background: var(--violet-bg); overflow: hidden; }
.lp-fill { height: 100%; border-radius: 100px; background: var(--grad); }
.lp-pct { font-size: .76rem; font-weight: 700; color: var(--text); text-align: right; }

/* activity log mock */
.act-row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f1eff9; font-size: .84rem; }
.act-row:last-child { border-bottom: none; }
.act-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.act-b { min-width: 0; }
.act-b .who { font-weight: 700; color: var(--navy-ink); }
.act-b .what { color: var(--text); }
.act-b .when { font-size: .74rem; color: var(--muted); margin-top: 2px; }

/* roles mock */
.role-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f1eff9; }
.role-row:last-child { border-bottom: none; }
.role-row .rn { font-weight: 600; color: var(--navy-ink); font-size: .88rem; }
.role-row .re { font-size: .76rem; color: var(--muted); }
.role-tags { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

/* screenshot mock */
.shot { border: 1px dashed #d7d2ec; border-radius: 11px; background: var(--violet-bg); min-height: 148px; display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; color: var(--purple); font-size: .82rem; font-weight: 600; margin-bottom: 14px; }

/* ---------- Formats ---------- */
.formats { background: var(--bg-soft); }
.fmt-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 880px; margin: 0 auto; }
.fmt {
    background: #fff; border: 1px solid var(--line); border-radius: 10px;
    padding: 12px 20px; font-size: .9rem; font-weight: 600; color: var(--navy);
    font-family: ui-monospace, Menlo, monospace; transition: .18s;
}
.fmt:hover { border-color: var(--purple); color: var(--purple); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; position: relative; }
.step { text-align: center; position: relative; }
.step .snum {
    width: 56px; height: 56px; border-radius: 16px; background: var(--grad); color: #fff;
    font-size: 1.4rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; box-shadow: 0 10px 24px rgba(123,63,160,.3);
}
.step h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy-ink); margin-bottom: 10px; }
.step p { font-size: .98rem; color: var(--text); max-width: 300px; margin: 0 auto; }

/* ---------- Pricing ---------- */
.pricing { background: var(--bg-soft); }
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
.plan {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 34px 30px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.plan.featured { border: 2px solid var(--purple); box-shadow: var(--shadow-lg); position: relative; }
.plan.featured::before {
    content: 'MOST POPULAR'; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--grad); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .08em;
    padding: 6px 16px; border-radius: 100px; box-shadow: 0 6px 16px rgba(123,63,160,.35);
}
.plan .pname { font-size: 1.18rem; font-weight: 700; color: var(--navy-ink); margin-bottom: 6px; }
.plan .pdesc { font-size: .9rem; color: var(--muted); margin-bottom: 22px; min-height: 40px; }
.plan .pprice { font-size: 2.6rem; font-weight: 800; color: var(--navy-ink); letter-spacing: -.02em; line-height: 1; }
.plan .pprice span { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .pprice.custom { font-size: 2rem; }
.plan .pper { font-size: .85rem; color: var(--muted); margin: 8px 0 24px; }
.plan .btn { width: 100%; justify-content: center; margin-bottom: 26px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-top: auto; }
.plan ul li { display: flex; gap: 10px; font-size: .92rem; color: var(--text); }
.plan ul li .pk { flex-shrink: 0; color: var(--purple); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
    width: 100%; background: none; border: none; cursor: pointer; text-align: left;
    padding: 24px 0; font-size: 1.08rem; font-weight: 600; color: var(--navy-ink);
    display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--font);
}
.faq-q .fi { flex-shrink: 0; width: 26px; height: 26px; transition: transform .25s; color: var(--purple); }
.faq-item.open .faq-q .fi { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 0 24px; font-size: 1rem; color: var(--text); max-width: 660px; }

/* ---------- CTA ---------- */
.cta-band { background: var(--navy); position: relative; overflow: hidden; padding: 96px 0; }
.cta-band::before { content:''; position:absolute; inset:0; background: radial-gradient(800px 460px at 50% -20%, rgba(168,85,201,.42), transparent 62%); }
.cta-inner { position: relative; text-align: center; max-width: 660px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; color: #fff; letter-spacing: -.02em; margin-bottom: 18px; line-height: 1.12; }
.cta-inner p { font-size: 1.15rem; color: #c3c8e4; margin-bottom: 34px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer.site { background: var(--navy-ink); color: #b6bbd6; padding: 64px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand .brand-mark { filter: brightness(0) invert(1); }
.foot-brand .brand-word { color: #fff; }
.foot-brand .brand-word > span { color: var(--purple-light); }
.foot-brand p { font-size: .92rem; color: #8e93b5; max-width: 280px; }
.foot-col h4 { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.foot-col a { display: block; font-size: .92rem; color: #9398bb; margin-bottom: 11px; transition: color .15s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 26px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.foot-bottom p { font-size: .86rem; color: #7a7fa3; }
.foot-social { display: flex; gap: 10px; flex-wrap: wrap; }
.foot-social a.foot-link { font-size: .86rem; font-weight: 600; color: #b6bbd6; padding: 7px 14px; border-radius: 8px; background: rgba(255,255,255,.06); transition: .18s; }
.foot-social a.foot-link:hover { background: var(--purple); color: #fff; transform: translateY(-2px); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Mobile menu panel ---------- */
.mobile-panel { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
    .hero-grid { grid-template-columns: 1fr; gap: 60px; }
    .hero-visual { max-width: 520px; }
    .mockup { transform: none; }
    .stats-grid { grid-template-columns: repeat(2,1fr); gap: 40px 20px; }
    .feat-grid { grid-template-columns: repeat(2,1fr); }
    .showcase-row, .showcase-row.flip .show-text { grid-template-columns: 1fr; order: 0; }
    .showcase-row { gap: 36px; margin-bottom: 70px; }
    .show-text { order: 0 !important; }
    .steps { grid-template-columns: 1fr; gap: 44px; }
    .price-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .nav-links, .nav-cta .signin, .nav-cta .btn-primary { display: none; }
    .menu-toggle { display: block; }
    .mobile-panel.show {
        display: block; position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; z-index: 99; padding: 18px 24px 30px;
        border-top: 1px solid var(--line); box-shadow: var(--shadow-md);
        max-height: 80vh; overflow-y: auto; animation: slideDown .25s ease;
    }
    .mobile-panel a { display: block; padding: 16px 0; font-size: 1.1rem; font-weight: 600; color: var(--navy-ink); border-bottom: 1px solid var(--line); }
    .mobile-panel .btn { width: 100%; justify-content: center; margin-top: 22px; border-bottom: none; color: #fff; }
    @keyframes slideDown { from { opacity:0; transform: translateY(-10px);} to {opacity:1; transform:none;} }
}
@media (max-width: 560px) {
    section { padding: 64px 0; }
    .hero { padding: 56px 0 40px; }
    .trust { padding: 30px 0 10px; }
    .trust p { margin-bottom: 22px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .feat-grid { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
    .foot-brand { grid-column: 1 / -1; }
    .wrap { padding: 0 18px; }
    .stat-cards { grid-template-columns: 1fr 1fr; }

    /* Tighter vertical rhythm on phones */
    .hero-grid { gap: 40px; }
    .sec-head { margin-bottom: 34px; }
    .showcase-row { margin-bottom: 56px; gap: 30px; }
    .feat { padding: 26px 24px; }

    /* Full-width, stacked hero buttons instead of uneven wrapped ones */
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    /* Hero translation grid: drop the Key column so Source / Target / Status fit */
    .grid-head, .grid-row { grid-template-columns: 1.2fr 1.2fr 1fr; }
    .grid-head div:first-child, .grid-row > div:first-child { display: none; }
    .grid-head div, .grid-row > div { padding: 10px 11px; }
    .grid-row > div { font-size: .78rem; }
    .badge { font-size: .63rem; padding: 3px 7px; }
    .badge .bd { width: 5px; height: 5px; }

    /* TM suggestion sits below the grid instead of overlapping it */
    .fc-tm { position: static; max-width: none; margin-top: 14px; box-shadow: var(--shadow-sm); }
}
