/* Akirah landing page. Brand tokens mirror akirah-mobile/lib/app/brand.dart. */

:root {
    --primary: #027DDE;
    --primary-strong: #0768B6;
    --accent: #26A1FF;
    --mikro-teal: #09A59A;
    --mikro-green: #84C14A;
    --wa: #25D366;
    --wa-strong: #1DA851;

    --blue-50: #EAF4FD;
    --blue-100: #D0E8FB;
    --n50: #F8FAFC;
    --n100: #F1F5F9;
    --n200: #E2E8F0;
    --n300: #CBD5E1;
    --n400: #94A3B8;
    --n500: #64748B;
    --n600: #475569;
    --n700: #334155;
    --n800: #1E293B;
    --n900: #0F172A;
    --n950: #020617;

    --success: #157F3C;
    --warning: #B45309;
    --danger: #B3261E;

    --bg: #FFFFFF;
    --surface: #FFFFFF;
    --tint: var(--n50);
    --text: var(--n900);
    --muted: var(--n500);
    --border: var(--n200);

    --radius-input: 10px;
    --radius-card: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgb(15 23 42 / .06), 0 1px 3px rgb(15 23 42 / .06);
    --shadow-md: 0 8px 24px -6px rgb(15 23 42 / .12), 0 2px 6px rgb(15 23 42 / .05);
    --shadow-lg: 0 30px 60px -20px rgb(2 56 110 / .35), 0 12px 24px -12px rgb(15 23 42 / .18);

    --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --container: 1180px;
    --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-strong); text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -0.02em; color: var(--n900); }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--n900); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 24px; height: 24px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 20px; border-radius: 12px; border: 1px solid transparent;
    font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap;
    transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary-strong); color: #fff; box-shadow: 0 6px 16px -6px rgb(7 104 182 / .6); }
.btn-primary:hover { background: #055A9E; }
.btn-outline { background: var(--surface); color: var(--n800); border-color: var(--n300); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-strong); }
.btn-outline .icon { color: var(--wa-strong); }
.btn-ghost { background: transparent; color: var(--n700); }
.btn-ghost:hover { background: var(--n100); }
.btn-ghost .icon { color: var(--wa-strong); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 16px -6px rgb(37 211 102 / .7); }
.btn-wa:hover { background: var(--wa-strong); }
.btn-light { background: #fff; color: var(--primary-strong); }
.btn-light:hover { background: var(--blue-50); }
.btn-ghost-light { background: rgb(255 255 255 / .12); color: #fff; border-color: rgb(255 255 255 / .35); }
.btn-ghost-light:hover { background: rgb(255 255 255 / .2); }
.btn-link { background: none; border: 0; color: var(--muted); font-weight: 500; padding: 8px; }
.btn-link:hover { color: var(--primary-strong); transform: none; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50; height: var(--header-h);
    background: rgb(255 255 255 / .72);
    backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
/* Brand accent line: Akirah blue → Mikrosyariah teal/green */
.site-header::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
    background: linear-gradient(90deg, var(--primary-strong), var(--accent) 45%, var(--mikro-teal) 75%, var(--mikro-green));
}
.site-header.scrolled { border-color: var(--border); box-shadow: 0 4px 20px -12px rgb(15 23 42 / .2); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 100%; }
.brand img { width: 132px; height: auto; }
.nav {
    display: flex; gap: 2px; margin: 0 auto; padding: 4px; border-radius: 999px;
    background: rgb(241 245 249 / .7); border: 1px solid rgb(226 232 240 / .8);
}
.nav a { color: var(--n600); font-size: 14.5px; font-weight: 500; padding: 7px 14px; border-radius: 999px; transition: color .2s, background .2s, box-shadow .2s; }
.nav a:hover { color: var(--n900); background: #fff; }
.nav a.active { color: var(--primary-strong); background: #fff; box-shadow: var(--shadow-sm); }
.nav-cta-mobile { display: none; }
.header-actions .btn { border-radius: 999px; }
.header-actions .btn-primary { padding: 9px 18px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--n800); border-radius: 8px; }

@media (max-width: 1024px) {
    .header-inner { gap: 16px; justify-content: space-between; }
    .nav-toggle { display: inline-flex; }
    .header-actions .btn-primary { display: none; }
    .nav {
        position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
        flex-direction: column; gap: 2px; padding: 12px 16px 20px;
        background: #fff; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; box-shadow: var(--shadow-md);
        transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s;
    }
    .nav.open { transform: none; opacity: 1; visibility: visible; }
    .nav a { padding: 12px; font-size: 16px; border-radius: 10px; }
    .nav a:hover { background: var(--n100); }
    .nav a.active { background: var(--blue-50); box-shadow: none; }
    .nav-cta-mobile { display: block; padding-top: 8px; }
    .nav-cta-mobile a { color: #fff; }
    .nav-cta-mobile a:hover { color: #fff; background: #055A9E; }
}

/* ---------- Common section ---------- */
.section { padding: 112px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { text-align: left; margin: 0; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin: 12px 0 16px; }
.section-head p { color: var(--muted); font-size: 18px; }
@media (max-width: 640px) { .section { padding: 80px 0; } .section-head { margin-bottom: 40px; } .section-head p { font-size: 16px; } }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--primary-strong); background: var(--blue-50); border: 1px solid var(--blue-100);
    padding: 6px 12px; border-radius: 999px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgb(2 125 222 / .18); }
.eyebrow-light { color: #BFE1FF; background: rgb(38 161 255 / .12); border-color: rgb(38 161 255 / .3); }

.text-gradient { background: linear-gradient(100deg, var(--primary-strong), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.pill { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pill.ok { color: var(--success); background: #E7F6EC; }
.pill.wait { color: var(--warning); background: #FEF3E2; }
.muted { color: var(--muted); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { animation: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; isolation: isolate; }
.hero-bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(900px 500px at 85% -10%, rgb(38 161 255 / .18), transparent 60%),
        radial-gradient(700px 400px at -10% 20%, rgb(2 125 222 / .08), transparent 60%),
        linear-gradient(180deg, #F5FAFF 0%, #fff 70%);
}
.hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(var(--n200) 1px, transparent 1px), linear-gradient(90deg, var(--n200) 1px, transparent 1px);
    background-size: 48px 48px; opacity: .35;
    mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
}
.hero-peaks { position: absolute; right: -40px; bottom: 0; width: 55%; height: 100%; fill: none; stroke: rgb(2 125 222 / .08); stroke-width: 10; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.08; letter-spacing: -0.035em; margin: 20px 0 20px; }
.lead { font-size: 19px; color: var(--n600); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--n600); font-size: 14px; }
.hero-points li { display: flex; align-items: center; gap: 6px; }
.hero-points .icon { width: 16px; height: 16px; color: var(--success); stroke-width: 2.6; }

.hero-visual { position: relative; min-height: 470px; }
.mock-window {
    position: relative; background: #fff; border-radius: 18px; border: 1px solid var(--n200);
    box-shadow: var(--shadow-lg); overflow: hidden; width: 100%; max-width: 560px; margin-right: 72px; margin-left: auto;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--n100); background: var(--n50); }
.mock-bar > span { width: 10px; height: 10px; border-radius: 50%; background: var(--n300); }
.mock-bar > span:nth-child(1) { background: #FF6159; }
.mock-bar > span:nth-child(2) { background: #FFBF2F; }
.mock-bar > span:nth-child(3) { background: #2ACB42; }
.mock-url { margin-left: 12px; flex: 1; font-size: 12px; color: var(--n500); background: #fff; border: 1px solid var(--n200); border-radius: 6px; padding: 3px 10px; }
.mock-body { display: grid; grid-template-columns: 56px 1fr; min-height: 380px; }
.mock-side { background: linear-gradient(180deg, var(--primary-strong), #05518F); display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 0; }
.mock-side-logo { width: 28px; margin-bottom: 8px; }
.mock-side i { width: 24px; height: 24px; border-radius: 7px; background: rgb(255 255 255 / .16); }
.mock-side i.active { background: #fff; }
.mock-main { padding: 18px; display: flex; flex-direction: column; gap: 14px; background: #FBFDFF; }
.mock-head { display: flex; justify-content: space-between; align-items: center; }
.mock-head small { display: block; font-size: 11px; color: var(--muted); }
.mock-head strong { font-size: 15px; }
.mock-chip { font-size: 11px; font-weight: 600; color: var(--primary-strong); background: var(--blue-50); padding: 4px 10px; border-radius: 999px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: #fff; border: 1px solid var(--n200); border-radius: 12px; padding: 10px 12px; }
.kpi small { display: block; font-size: 10.5px; color: var(--muted); line-height: 1.3; }
.kpi b { display: block; font-size: 16px; margin: 4px 0 2px; letter-spacing: -0.01em; }
.kpi em { font-style: normal; font-size: 10.5px; font-weight: 600; }
.kpi em.up, .kpi em.good { color: var(--success); }
.mock-chart { background: #fff; border: 1px solid var(--n200); border-radius: 12px; padding: 10px 12px 0; }
.mock-chart-title { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.mock-chart-title small { font-weight: 600; color: var(--n700); font-size: 11px; }
.mock-chart svg { width: 100%; height: 80px; display: block; }
.mock-table { background: #fff; border: 1px solid var(--n200); border-radius: 12px; overflow: hidden; }
.mock-table .row { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px; align-items: center; padding: 8px 12px; font-size: 11.5px; border-top: 1px solid var(--n100); }
.mock-table .row.head { border-top: 0; background: var(--n50); color: var(--muted); font-weight: 600; font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; }
.mock-table .pill { font-size: 10px; padding: 2px 8px; }

.mock-phone {
    position: absolute; right: -28px; bottom: -36px; width: 168px; aspect-ratio: 9 / 20;
    border-radius: 30px; padding: 7px; background: var(--n900);
    box-shadow: var(--shadow-lg), inset 0 0 0 2px #2b3546;
}
.mock-phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }

.float-card {
    position: absolute; display: flex; align-items: center; gap: 10px;
    background: rgb(255 255 255 / .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--n200); border-radius: 14px; padding: 10px 14px 10px 10px; box-shadow: var(--shadow-md);
    animation: float 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 13px; }
.float-card small { display: block; font-size: 11.5px; color: var(--muted); }
.fc-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #E7F6EC; color: var(--success); }
.fc-icon.teal { background: #E2F6F4; color: var(--mikro-teal); }
.fc-icon .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.fc-1 { top: -22px; left: -8px; }
.fc-2 { left: -32px; bottom: 56px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-copy { text-align: center; }
    .lead { margin: 0 auto; }
    .hero-actions, .hero-points { justify-content: center; }
    .hero-visual { max-width: 640px; margin: 0 auto; width: 100%; }
    .mock-window { margin: 0 72px 0 auto; }
}
@media (max-width: 640px) {
    .hero { padding: 40px 0 72px; }
    .lead { font-size: 17px; }
    .hero-actions .btn { width: 100%; }
    .hero-visual { min-height: 0; padding-bottom: 40px; }
    .mock-body { grid-template-columns: 40px 1fr; min-height: 0; }
    .mock-side i { width: 18px; height: 18px; }
    .mock-side-logo { width: 22px; }
    .mock-main { padding: 12px; gap: 10px; }
    .kpi { padding: 8px; }
    .kpi b { font-size: 13px; }
    .kpi small { font-size: 9px; }
    .mock-table { display: none; }
    .mock-phone { width: 104px; border-radius: 20px; padding: 5px; bottom: 0; right: -4px; }
    .mock-phone img { border-radius: 16px; }
    .fc-1 { display: none; }
    .fc-2 { left: 0; bottom: 8px; }
    .mock-window { margin-right: 40px; }
}

/* ---------- Strip ---------- */
.strip { border-block: 1px solid var(--border); background: #fff; }
.strip-inner { display: flex; align-items: center; gap: 32px; padding-block: 22px; flex-wrap: wrap; justify-content: center; }
.strip p { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.strip ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; row-gap: 8px; justify-content: center; }
.strip li { font-weight: 600; color: var(--n700); font-size: 16px; padding: 0 16px; }
.strip li + li { border-left: 1px solid var(--n300); }
@media (max-width: 640px) {
    .strip ul { gap: 8px; }
    .strip li, .strip li + li { font-size: 13px; padding: 4px 10px; border: 1px solid var(--n200); border-radius: 999px; }
    .hero-points li { text-align: left; }
}

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
    position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card);
    padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: var(--primary-strong); background: linear-gradient(135deg, var(--blue-50), var(--blue-100)); margin-bottom: 20px; }
.feature-icon .icon { width: 24px; height: 24px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 1024px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } .feature { padding: 22px; } }

/* ---------- Tabs ---------- */
.tabs { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.tab-list { display: flex; gap: 4px; padding: 8px; background: var(--n50); border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.tab-list::-webkit-scrollbar { display: none; }
.tab-list button {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 16px; border: 0; border-radius: 12px; background: transparent;
    color: var(--n600); font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s;
}
.tab-list button:hover { color: var(--n900); }
.tab-list button[aria-selected="true"] { background: #fff; color: var(--primary-strong); box-shadow: var(--shadow-sm); }
.tab-pane { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 48px; align-items: center; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pane-copy h3 { font-size: 26px; margin-bottom: 12px; }
.pane-copy > p { color: var(--muted); margin-bottom: 24px; font-size: 17px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; color: var(--n700); }
.check-list li::before {
    content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
    background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230768B6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.pane-visual { background: linear-gradient(135deg, var(--blue-50), #F4F9FF 60%, #fff); border-radius: 20px; padding: 36px; display: grid; place-items: center; min-height: 320px; border: 1px solid var(--blue-100); }
.mini-card { width: 100%; max-width: 380px; background: #fff; border-radius: 16px; padding: 20px; box-shadow: var(--shadow-md); display: grid; gap: 14px; }
.mini-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mini-head small { font-size: 13px; }
.mini-field { display: grid; gap: 4px; }
.mini-field small { font-size: 12px; color: var(--muted); }
.mini-field span { font-size: 14px; border: 1px solid var(--n200); border-radius: var(--radius-input); padding: 9px 12px; background: var(--n50); }
.mini-field .big { font-size: 18px; font-weight: 700; color: var(--n900); }
.mini-btn { text-align: center; background: var(--primary-strong); color: #fff; font-weight: 600; font-size: 14px; padding: 11px; border-radius: 10px; }
.ledger { border: 1px solid var(--n200); border-radius: 10px; overflow: hidden; font-size: 13px; }
.ledger-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; padding: 9px 12px; border-top: 1px solid var(--n100); }
.ledger-row span:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.ledger-row.head { border-top: 0; background: var(--n50); color: var(--muted); font-weight: 600; font-size: 12px; }
.ledger-row.total { font-weight: 700; background: var(--blue-50); }
.bars { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 120px 1fr 40px; align-items: center; gap: 10px; font-size: 13px; }
.bar-row b { text-align: right; font-variant-numeric: tabular-nums; }
.bar { height: 10px; background: var(--n100); border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--primary-strong), var(--accent)); border-radius: inherit; }
.bar-row:nth-child(3) .bar i { background: #F59E0B; }
.bar-row:nth-child(4) .bar i { background: var(--danger); }
.branch { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--n200); border-radius: 12px; }
.branch b { display: block; font-size: 14px; }
.branch small { color: var(--muted); font-size: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: var(--primary-strong); background: var(--blue-50); }
@media (max-width: 900px) {
    .tab-list button { flex: none; }
    .tab-pane { grid-template-columns: 1fr; padding: 28px 20px; gap: 28px; }
    .pane-visual { padding: 20px; min-height: 0; }
}
@media (max-width: 640px) {
    .tab-list button { padding: 10px 12px; font-size: 14px; }
    .pane-copy h3 { font-size: 22px; }
    .bar-row { grid-template-columns: 96px 1fr 34px; font-size: 12px; }
}

/* ---------- Mobile app ---------- */
.mobile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.mobile-visual { position: relative; display: grid; place-items: center; padding: 24px 0; }
.mobile-visual::before {
    content: ""; position: absolute; width: 440px; height: 440px; max-width: 100%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgb(38 161 255 / .22), rgb(2 125 222 / .04) 65%, transparent 70%);
}
.phone-stack { position: relative; width: 340px; height: 520px; max-width: 100%; }
.phone-stack .mock-phone { width: 230px; bottom: auto; }
.phone-stack .back { left: 0; top: 0; transform: rotate(-6deg); opacity: .95; }
.phone-stack .front { left: auto; right: 0; top: 40px; }
.mobile-copy h2 { font-size: clamp(28px, 4vw, 40px); margin: 12px 0 16px; }
.mobile-copy > p { color: var(--muted); font-size: 18px; margin-bottom: 32px; }
.mobile-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mobile-features > div { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.mobile-features .icon { color: var(--primary-strong); margin-top: 2px; }
.mobile-features span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.mobile-features b { display: block; color: var(--n900); font-size: 15px; margin-bottom: 2px; }
@media (max-width: 1024px) {
    .mobile-grid { grid-template-columns: 1fr; gap: 40px; }
    .mobile-visual { order: 2; }
}
@media (max-width: 640px) {
    .phone-stack { width: 260px; height: 400px; }
    .phone-stack .mock-phone { width: 170px; border-radius: 24px; padding: 6px; }
    .phone-stack .mock-phone img { border-radius: 19px; }
    .mobile-features { grid-template-columns: 1fr; }
    .mobile-copy > p { font-size: 16px; }
}

/* ---------- Security ---------- */
.section-dark { background: radial-gradient(800px 400px at 80% 0%, rgb(2 125 222 / .35), transparent 60%), var(--n950); color: #CBD5E1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head p { color: #94A3B8; }
.security-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sec-item { padding: 28px; border-radius: var(--radius-card); background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .08); transition: background .25s, border-color .25s; }
.sec-item:hover { background: rgb(255 255 255 / .07); border-color: rgb(38 161 255 / .35); }
.sec-item > .icon { width: 28px; height: 28px; color: var(--accent); margin-bottom: 18px; }
.sec-item h3 { font-size: 18px; margin-bottom: 8px; }
.sec-item p { font-size: 15px; color: #94A3B8; }
@media (max-width: 1024px) { .security-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .security-grid { grid-template-columns: 1fr; } .sec-item { padding: 22px; } }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-100) 0 8px, transparent 8px 14px); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.step-num {
    display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%;
    background: #fff; border: 2px solid var(--blue-100); color: var(--primary-strong); font-weight: 700; font-size: 20px;
    box-shadow: 0 0 0 8px #fff;
}
.step:first-child .step-num { background: var(--primary-strong); border-color: var(--primary-strong); color: #fff; }
.step > .icon { display: none; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 1024px) {
    .steps { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin: 0 auto; }
    .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--blue-100) 0 8px, transparent 8px 14px); }
    .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; text-align: left; padding: 0 0 28px; }
    .step-num { grid-row: span 2; margin: 0; }
    .step h3 { align-self: end; margin-top: 4px; }
}

/* ---------- Lead form ---------- */
.lead-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.lead-copy { position: sticky; top: calc(var(--header-h) + 32px); }
.lead-copy h2 { font-size: clamp(28px, 4vw, 40px); margin: 12px 0 16px; }
.lead-copy > p { color: var(--muted); font-size: 17px; }
.lead-benefits { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 14px; }
.lead-benefits li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--n700); }
.lead-benefits .icon { width: 40px; height: 40px; padding: 10px; border-radius: 10px; background: #fff; border: 1px solid var(--border); color: var(--primary-strong); }
.lead-contact { padding: 20px; border-radius: var(--radius-card); background: #fff; border: 1px dashed var(--n300); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lead-contact p { font-weight: 600; color: var(--n700); }
.lead-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 36px; }
.lead-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--n700); padding: 0; }
.field legend { margin-bottom: 8px; }
.req { color: var(--danger); }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: 15px; color: var(--n900);
    padding: 11px 14px; border: 1px solid var(--n300); border-radius: var(--radius-input); background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.field select {
    appearance: none; -webkit-appearance: none; padding-right: 40px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input::placeholder, .field textarea::placeholder { color: var(--n400); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgb(2 125 222 / .14); }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.field.invalid input:focus, .field.invalid select:focus { box-shadow: 0 0 0 4px rgb(179 38 30 / .12); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 8px 14px; border: 1px solid var(--n300); border-radius: 999px; font-size: 14px; color: var(--n700); cursor: pointer; transition: all .2s; }
.chip span:hover { border-color: var(--primary); }
.chip input:checked + span { background: var(--blue-50); border-color: var(--primary); color: var(--primary-strong); font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--n600); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary-strong); flex: none; }
.consent.invalid span { color: var(--danger); }
.form-error { font-size: 14px; color: var(--danger); background: #FDECEB; border-radius: 10px; padding: 10px 14px; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }
.lead-success { text-align: center; padding: 24px 8px; display: grid; justify-items: center; gap: 14px; }
.lead-success:focus { outline: none; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #E7F6EC; color: var(--success); }
.success-icon .icon { width: 30px; height: 30px; stroke-width: 2.6; }
.lead-success h3 { font-size: 24px; }
.lead-success p { color: var(--muted); max-width: 420px; }
@media (max-width: 1024px) {
    .lead-grid { grid-template-columns: 1fr; gap: 40px; }
    .lead-copy { position: static; }
}
@media (max-width: 640px) {
    .lead-card { padding: 22px 18px; border-radius: 20px; }
    .form-row { grid-template-columns: 1fr; }
    .lead-contact { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-grid .section-head .btn { margin-top: 24px; }
.faq-list { display: grid; gap: 12px; }
.faq { border: 1px solid var(--border); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; font-size: 17px; color: var(--n900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--n500); transition: transform .25s; }
.faq[open] summary .icon { transform: rotate(180deg); color: var(--primary-strong); }
.faq p { padding: 0 22px 20px; color: var(--muted); }
@media (max-width: 1024px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } .section-head.left { text-align: center; } }
@media (max-width: 640px) { .faq summary { font-size: 16px; padding: 16px 18px; } .faq p { padding: 0 18px 18px; } }

/* ---------- CTA ---------- */
.cta { padding: 0 0 112px; }
.cta-card {
    position: relative; overflow: hidden; border-radius: 28px; padding: 56px;
    background: linear-gradient(120deg, var(--primary-strong) 0%, var(--primary) 55%, var(--accent) 100%);
    display: flex; align-items: center; justify-content: space-between; gap: 32px; color: #fff;
    box-shadow: var(--shadow-lg);
}
.cta-peaks { position: absolute; right: 0; bottom: 0; height: 100%; width: 60%; fill: none; stroke: rgb(255 255 255 / .12); stroke-width: 8; }
.cta-copy, .cta-actions { position: relative; }
.cta-copy h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); max-width: 560px; margin-bottom: 12px; }
.cta-copy p { color: rgb(255 255 255 / .85); font-size: 17px; max-width: 520px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
@media (max-width: 900px) { .cta-card { flex-direction: column; align-items: flex-start; padding: 40px 28px; } }
@media (max-width: 640px) { .cta { padding-bottom: 80px; } .cta-actions { width: 100%; } .cta-actions .btn { flex: 1 1 100%; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--n50); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { color: var(--muted); margin: 16px 0 20px; max-width: 320px; font-size: 15px; }
.powered { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.powered img { height: 28px; width: auto; }
.footer-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--n500); margin-bottom: 6px; }
.footer-col a, .footer-link { color: var(--n700); font-size: 15px; background: none; border: 0; padding: 0; display: inline-flex; align-items: center; gap: 6px; }
.footer-col a:hover, .footer-link:hover { color: var(--primary-strong); }
.footer-link .icon { width: 18px; height: 18px; color: var(--wa-strong); }
.footer-bottom { border-top: 1px solid var(--border); padding-block: 24px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Floating WhatsApp helpdesk ---------- */
.hd { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.hd-launcher {
    width: 60px; height: 60px; border-radius: 50%; border: 0; display: grid; place-items: center;
    background: var(--wa); color: #fff; box-shadow: 0 12px 28px -8px rgb(37 211 102 / .7), 0 4px 10px rgb(15 23 42 / .15);
    transition: transform .2s, background .2s;
}
.hd-launcher:hover { transform: scale(1.06); background: var(--wa-strong); }
.hd-launcher .icon { width: 28px; height: 28px; }
.hd-launcher::after { content: ""; position: absolute; width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s ease-out infinite; pointer-events: none; }
.hd.open .hd-launcher::after { display: none; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.hd-panel {
    width: 360px; max-width: calc(100vw - 32px); background: #fff; border-radius: 20px; overflow: hidden;
    box-shadow: 0 24px 60px -12px rgb(15 23 42 / .35), 0 0 0 1px rgb(15 23 42 / .06);
    transform-origin: bottom right; animation: pop .22s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.hd-panel-header { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px; color: #fff; background: linear-gradient(120deg, var(--primary-strong), var(--primary)); }
.hd-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .18); }
.hd-heading { flex: 1; }
.hd-heading h2 { font-size: 16px; color: #fff; letter-spacing: 0; }
.hd-heading p { font-size: 12.5px; color: rgb(255 255 255 / .85); display: flex; align-items: center; gap: 6px; }
.online { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 3px rgb(74 222 128 / .3); }
.hd-close { background: rgb(255 255 255 / .12); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.hd-close:hover { background: rgb(255 255 255 / .22); }
.hd-body { padding: 18px; display: grid; gap: 14px; background: #F3F6FA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23CBD5E1' fill-opacity='.5'/%3E%3C/svg%3E"); }
.hd-bubble { background: #fff; padding: 12px 14px; border-radius: 4px 14px 14px 14px; font-size: 14px; color: var(--n700); box-shadow: var(--shadow-sm); max-width: 92%; }
.hd-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.hd-topic { border: 1px solid var(--blue-100); background: #fff; color: var(--primary-strong); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; transition: all .2s; }
.hd-topic:hover, .hd-topic.selected { background: var(--blue-50); border-color: var(--primary); }
.hd-form { display: grid; gap: 10px; }
.hd-input { width: 100%; font: inherit; font-size: 14px; padding: 10px 12px; border: 1px solid var(--n300); border-radius: 12px; resize: none; background: #fff; }
.hd-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgb(2 125 222 / .14); }
.hd-send { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 11px; font-weight: 600; color: #fff; background: var(--wa); transition: background .2s; }
.hd-send:hover { background: var(--wa-strong); }
@media (max-width: 640px) {
    .hd { right: 16px; bottom: 16px; }
    .hd-launcher { width: 56px; height: 56px; }
    .hd-launcher::after { width: 56px; height: 56px; }
}
