/* =============================================================================
   Vypo — public site design system
   Tokens · base · layout · buttons · cards · forms · nav · sections · footer
   Mobile-first. Breakpoints: 640px (phone landscape), 900px (tablet / nav)
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
    --bg: #f7f8fc;
    --bg-elev: #ffffff;
    --surface: #ffffff;
    --surface-2: #eef1f8;
    --text: #0b1020;
    --text-2: #4b5368;
    --text-3: #7a8299;
    --border: rgba(15, 23, 42, .08);
    --border-2: rgba(15, 23, 42, .16);
    --focus: #4f46e5;

    --brand: #4f46e5;
    --brand-2: #7c3aed;
    --pink: #ec4899;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --whatsapp: #25d366;

    --grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #ec4899 100%);
    --grad-soft: linear-gradient(135deg, rgba(79, 70, 229, .10), rgba(236, 72, 153, .10));
    --mesh:
        radial-gradient(1100px 600px at 8% -12%, rgba(79, 70, 229, .22), transparent 60%),
        radial-gradient(900px 500px at 96% 0%, rgba(236, 72, 153, .16), transparent 60%),
        radial-gradient(800px 500px at 50% 115%, rgba(16, 185, 129, .14), transparent 60%);

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 14px rgba(15, 23, 42, .05);
    --shadow-md: 0 14px 40px rgba(15, 23, 42, .09);
    --shadow-lg: 0 30px 80px rgba(79, 70, 229, .20);
    --glow: 0 0 0 1px rgba(79, 70, 229, .25), 0 20px 60px rgba(79, 70, 229, .22);

    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-pill: 999px;

    --container: 1200px;
    --gutter: 16px;
    --header-h: 68px;
    --ease: cubic-bezier(.2, .7, .2, 1);

    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Noto Sans Devanagari', sans-serif;
    --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    color-scheme: light;
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

:root[data-theme="dark"] {
    --bg: #06071a;
    --bg-elev: #0d1030;
    --surface: #0d1030;
    --surface-2: #131640;
    --text: #f5f6ff;
    --text-2: #b6bcd9;
    --text-3: #8189ad;
    --border: rgba(255, 255, 255, .08);
    --border-2: rgba(255, 255, 255, .16);
    --focus: #8b8cff;
    --mesh:
        radial-gradient(1100px 600px at 8% -12%, rgba(79, 70, 229, .35), transparent 60%),
        radial-gradient(900px 500px at 96% 0%, rgba(236, 72, 153, .22), transparent 60%),
        radial-gradient(800px 500px at 50% 115%, rgba(16, 185, 129, .16), transparent 60%);
    --shadow-md: 0 14px 40px rgba(0, 0, 0, .45);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #06071a;
        --bg-elev: #0d1030;
        --surface: #0d1030;
        --surface-2: #131640;
        --text: #f5f6ff;
        --text-2: #b6bcd9;
        --text-3: #8189ad;
        --border: rgba(255, 255, 255, .08);
        --border-2: rgba(255, 255, 255, .16);
        --focus: #8b8cff;
        color-scheme: dark;
    }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg) var(--mesh) no-repeat fixed;
    background-color: var(--bg);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-2); }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; font-family: var(--font-display); color: var(--text); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--focus) 55%, transparent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
::selection { background: rgba(79, 70, 229, .25); }

.skip-link {
    position: absolute; left: 12px; top: -48px; z-index: 1000;
    background: var(--brand); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- 3. Typography ---------- */
.display {
    font-size: clamp(2.5rem, 5.4vw, 4.6rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.035em;
}
.h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 700; }
.h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 700; }
.h3 { font-size: 1.25rem; font-weight: 600; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-2); max-width: 62ch; }
.muted { color: var(--text-2); }
.subtle { color: var(--text-3); }
.small { font-size: .875rem; }
.xs { font-size: .78rem; }
.grad-text {
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-center { text-align: center; }
.text-balance { text-wrap: balance; }
.nowrap { white-space: nowrap; }

/* ---------- 4. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-alt { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--surface-2) 60%, transparent) 30%, color-mix(in srgb, var(--surface-2) 60%, transparent) 70%, transparent); }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; gap: 64px; } }

.sec-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.sec-head .lead { margin-inline: auto; }
.sec-head.left .lead { margin-inline: 0; }

/* ---------- 5. Eyebrow / pills / chips ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: var(--r-pill);
    font-size: .8rem; font-weight: 600; letter-spacing: .02em;
    color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
    margin-bottom: 18px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); animation: pulse 2s infinite; }
.pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r-pill);
    font-size: .8rem; font-weight: 600; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border);
}
.pill.success { color: #047857; background: rgba(16, 185, 129, .12); border-color: rgba(16, 185, 129, .25); }
.pill.warning { color: #b45309; background: rgba(245, 158, 11, .14); border-color: rgba(245, 158, 11, .3); }
.pill.brand { color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); border-color: color-mix(in srgb, var(--brand) 22%, transparent); }
.badge { display: inline-block; padding: 3px 10px; border-radius: var(--r-pill); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--grad); color: #fff; }
:root[data-theme="dark"] .pill.success { color: #6ee7b7; }
:root[data-theme="dark"] .pill.warning { color: #fcd34d; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .55); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ---------- 6. Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 46px; padding: 12px 22px; border-radius: 14px; border: 1px solid transparent;
    font-weight: 600; font-size: .95rem; line-height: 1.2; text-align: center;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
    text-decoration: none; cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn i { font-size: .9em; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; pointer-events: none; transform: none; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px rgba(124, 58, 237, .30); }
.btn-primary:hover { color: #fff; box-shadow: 0 16px 40px rgba(124, 58, 237, .40); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { color: var(--text); border-color: var(--brand); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.btn-light { background: #fff; color: #1e1b4b; box-shadow: 0 12px 30px rgba(0, 0, 0, .18); }
.btn-light:hover { color: #1e1b4b; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: .875rem; border-radius: 11px; }
.btn-lg { min-height: 56px; padding: 16px 30px; font-size: 1.02rem; border-radius: 16px; }
.btn-block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.icon-btn {
    display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
    background: transparent; border: 1px solid var(--border); color: var(--text);
    transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.icon-btn:hover { background: var(--surface-2); transform: translateY(-1px); }

/* ---------- 7. Navigation ---------- */
.site-header {
    position: sticky; top: 0; z-index: 200; height: var(--header-h);
    background: color-mix(in srgb, var(--bg) 72%, transparent);
    backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.brand:hover { color: var(--text); }
.brand-logo { width: 36px; height: 36px; object-fit: contain; border-radius: 10px; }
.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links > a:not(.btn) { padding: 8px 12px; border-radius: 10px; color: var(--text-2); font-weight: 500; font-size: .95rem; }
.nav-links > a:not(.btn):hover, .nav-links > a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-links-mobile-actions { display: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: inline-grid; }
.nav-login { display: none; }
.nav-cta { display: none; }

@media (min-width: 900px) {
    .nav-links { display: flex; }
    .nav-toggle { display: none; }
    .nav-login, .nav-cta { display: inline-flex; }
}
@media (max-width: 899.98px) {
    .nav-links {
        position: fixed; inset: var(--header-h) 0 auto 0; z-index: 199;
        flex-direction: column; align-items: stretch; gap: 4px;
        padding: 16px var(--gutter) 24px; background: var(--bg-elev);
        border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
        max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
        transform: translateY(-8px); opacity: 0; visibility: hidden;
        transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    }
    .nav-links.open { display: flex; opacity: 1; transform: none; visibility: visible; }
    .nav-links > a:not(.btn) { padding: 14px 12px; font-size: 1.05rem; }
    .nav-links-mobile-actions { display: grid; gap: 10px; margin-top: 12px; }
}

/* ---------- 8. Launch / offer bar ---------- */
.launch-bar {
    position: relative; z-index: 150; color: #fff;
    background: linear-gradient(90deg, #4338ca, #7c3aed 50%, #db2777);
    font-size: .92rem;
}
.launch-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; padding-block: 10px; text-align: center; }
.launch-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .16); }
.launch-text { margin: 0; font-weight: 500; max-width: 60ch; }
.launch-actions { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.launch-cta { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.launch-cta:hover { color: #fff; opacity: .9; }
.countdown { display: inline-flex; gap: 6px; }
.cd-unit { min-width: 52px; padding: 6px 8px; border-radius: 10px; background: rgba(0, 0, 0, .22); text-align: center; line-height: 1.1; }
.cd-unit strong { display: block; font-family: var(--font-display); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.cd-unit span { font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.code-chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px;
    background: #fff; color: #3730a3; font-weight: 800; letter-spacing: .06em; border: 0; font-size: .85rem;
}
.code-chip:hover { transform: translateY(-1px); }

/* ---------- 9. Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(56px, 8vw, 110px); isolation: isolate; }
.hero-canvas {
    position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1;
    pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease);
}
.hero-canvas.is-ready { opacity: 1; }
.hero-inner { display: grid; gap: 28px; text-align: center; justify-items: center; }
.hero-inner .lead { margin-inline: auto; }
.hero-copy .eyebrow { margin-inline: auto; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 420px; }
.hero-trust { font-size: .9rem; color: var(--text-3); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
.hero-trust i { color: var(--success); margin-right: 4px; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; justify-content: center; max-width: none; width: auto; } .hero-actions .btn { width: auto; } }
@media (min-width: 900px) {
    .hero-inner { text-align: left; justify-items: start; }
    .hero-copy .eyebrow { margin-inline: 0; }
    .hero-inner .lead { margin-inline: 0; }
    .hero-actions { justify-content: flex-start; }
    .hero-trust { justify-content: flex-start; }
}

/* 3D tilt / perspective helpers (JS sets --rx / --ry) */
.perspective { perspective: 1400px; }
.tilt {
    --rx: 0deg; --ry: 0deg;
    transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
    transform-style: preserve-3d;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
    will-change: transform;
}
.tilt.is-active { transition: transform .12s linear, box-shadow .3s var(--ease); }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -14px, 0); }
}

/* ---------- 10. Cards ---------- */
.card {
    position: relative; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: clamp(22px, 3vw, 30px); box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
    overflow: hidden; isolation: isolate;
}
.card:hover { border-color: color-mix(in srgb, var(--brand) 30%, var(--border)); box-shadow: var(--shadow-md); }
.card-glow::before {
    content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; opacity: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 58, 237, .18), transparent 45%);
    transition: opacity .35s var(--ease);
}
.card-glow:hover::before { opacity: 1; }
.card h3 { font-size: 1.15rem; margin-top: 16px; }
.card p { color: var(--text-2); margin: 0; font-size: .97rem; }
.icon-badge {
    width: 52px; height: 52px; border-radius: 16px; display: inline-grid; place-items: center;
    font-size: 1.3rem; color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
}
.icon-badge.success { color: #059669; background: rgba(16, 185, 129, .12); border-color: rgba(16, 185, 129, .2); }
.icon-badge.amber { color: #d97706; background: rgba(245, 158, 11, .14); border-color: rgba(245, 158, 11, .25); }
.icon-badge.pink { color: #db2777; background: rgba(236, 72, 153, .12); border-color: rgba(236, 72, 153, .22); }
.icon-badge.whatsapp { color: #128c4a; background: rgba(37, 211, 102, .14); border-color: rgba(37, 211, 102, .25); }
:root[data-theme="dark"] .icon-badge.success { color: #6ee7b7; }
:root[data-theme="dark"] .icon-badge.amber { color: #fcd34d; }
:root[data-theme="dark"] .icon-badge.pink { color: #f9a8d4; }
:root[data-theme="dark"] .icon-badge.whatsapp { color: #6ee7a0; }

/* Bento grid (6 columns on desktop) */
.bento { display: grid; gap: 18px; grid-template-columns: 1fr; }
.bento > * { grid-column: span 1; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento > .span-6, .bento > .span-4, .bento > .span-3 { grid-column: span 2; } }
@media (min-width: 900px) {
    .bento { grid-template-columns: repeat(6, 1fr); }
    .bento > .span-2 { grid-column: span 2; }
    .bento > .span-3 { grid-column: span 3; }
    .bento > .span-4 { grid-column: span 4; }
    .bento > .span-6 { grid-column: span 6; }
}

/* Stats */
.stats-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
    padding: 26px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border);
    text-align: left; box-shadow: var(--shadow-sm);
}
.stat .num { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: var(--text-2); font-size: .95rem; }

/* Industry chips (replaces customer logos — no company names) */
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip-cloud .chip {
    display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--r-pill);
    background: var(--surface); border: 1px solid var(--border); color: var(--text-2); font-weight: 600; font-size: .92rem;
    box-shadow: var(--shadow-sm);
}
.chip-cloud .chip i { color: var(--brand); }

/* Testimonials */
.quote-card { display: flex; flex-direction: column; gap: 18px; height: 100%; }
.quote-card blockquote { margin: 0; font-size: 1.02rem; color: var(--text); line-height: 1.6; }
.quote-card .stars { color: var(--accent); font-size: .9rem; letter-spacing: 2px; }
.quote-author { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.avatar {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
    background: var(--grad); color: #fff; font-weight: 700; font-family: var(--font-display);
}
.quote-author strong { display: block; font-size: .95rem; }
.quote-author span { font-size: .85rem; color: var(--text-3); }
.sample-note { font-size: .8rem; color: var(--text-3); margin-top: 18px; text-align: center; }

/* ---------- 11. Tabs ---------- */
.tabs-layout { display: grid; gap: 22px; }
@media (min-width: 900px) { .tabs-layout { grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; } }
.tablist { display: grid; gap: 10px; }
.tab {
    display: block; width: 100%; text-align: left; padding: 18px 20px; border-radius: var(--r-md);
    background: transparent; border: 1px solid var(--border); color: var(--text-2); transition: all .3s var(--ease);
}
.tab h4 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin: 0 0 4px; color: var(--text); }
.tab p { margin: 0; font-size: .92rem; }
.tab:hover { border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); }
.tab[aria-selected="true"] { background: var(--surface); border-color: transparent; box-shadow: var(--shadow-md), 0 0 0 1px color-mix(in srgb, var(--brand) 40%, transparent); }
.tab[aria-selected="true"] h4 i { color: var(--brand); }
.tab-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-md); animation: fadeIn .45s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- 12. Pricing ---------- */
.billing-toggle { display: inline-flex; padding: 5px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--border); margin: 0 auto 36px; }
.billing-toggle button {
    border: 0; background: transparent; padding: 10px 20px; border-radius: var(--r-pill); font-weight: 600; color: var(--text-2);
    display: inline-flex; align-items: center; gap: 8px;
}
.billing-toggle button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.billing-toggle .save { font-size: .72rem; font-weight: 700; color: #047857; background: rgba(16, 185, 129, .14); padding: 3px 8px; border-radius: var(--r-pill); }
.plan {
    position: relative; display: flex; flex-direction: column; gap: 18px; height: 100%;
    padding: 30px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.plan.featured { border: 0; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 2px solid transparent; box-shadow: var(--shadow-lg); }
.plan .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); }
.plan h3 { font-size: 1.35rem; margin: 0; }
.plan .plan-desc { color: var(--text-2); font-size: .95rem; margin: 0; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price .amount { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.price .period { color: var(--text-3); font-size: .95rem; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: .95rem; }
.check-list li i { color: var(--success); margin-top: 5px; flex: none; }
.check-list li.off { color: var(--text-3); text-decoration: line-through; }
.check-list li.off i { color: var(--text-3); }
.plan .btn { margin-top: auto; }
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.compare th { font-family: var(--font-display); font-size: .95rem; color: var(--text); background: var(--surface-2); }
.compare td { color: var(--text-2); }
.compare tr:last-child td { border-bottom: 0; }
.compare td.center, .compare th.center { text-align: center; }

/* ---------- 13. FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 0; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.faq[open] { border-color: color-mix(in srgb, var(--brand) 30%, var(--border)); box-shadow: var(--shadow-sm); }
.faq summary {
    list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative; font-weight: 600; color: var(--text); font-family: var(--font-display); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; line-height: 1;
    background: var(--surface-2); color: var(--brand); transition: transform .3s var(--ease);
}
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq-body { padding: 0 22px 20px; color: var(--text-2); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- 14. Forms & alerts ---------- */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; }
.label { font-size: .9rem; font-weight: 600; color: var(--text); }
.label .req { color: var(--danger); margin-left: 2px; }
.input, .select, .textarea {
    width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px;
    background: var(--surface); color: var(--text); border: 1.5px solid var(--border-2);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
    font-size: 16px; /* prevents iOS zoom on focus */
}
.textarea { min-height: 140px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--text-3); opacity: .9; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 18%, transparent); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.help { font-size: .82rem; color: var(--text-3); margin: 0; }
.field-error { font-size: .85rem; color: var(--danger); margin: 0; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--text-2); }
.checkbox input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

.alert {
    display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md);
    border: 1px solid; font-size: .95rem; margin: 0 0 18px;
}
.alert i { margin-top: 3px; }
.alert-success { background: rgba(16, 185, 129, .10); border-color: rgba(16, 185, 129, .3); color: #065f46; }
.alert-error { background: rgba(239, 68, 68, .09); border-color: rgba(239, 68, 68, .3); color: #991b1b; }
.alert-info { background: rgba(79, 70, 229, .08); border-color: rgba(79, 70, 229, .25); color: #3730a3; }
.alert-warning { background: rgba(245, 158, 11, .12); border-color: rgba(245, 158, 11, .35); color: #92400e; }
:root[data-theme="dark"] .alert-success { color: #a7f3d0; }
:root[data-theme="dark"] .alert-error { color: #fecaca; }
:root[data-theme="dark"] .alert-info { color: #c7d2fe; }
:root[data-theme="dark"] .alert-warning { color: #fde68a; }

/* ---------- 15. CTA band & simple content ---------- */
.cta-band {
    position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 64px);
    background: linear-gradient(135deg, #312e81 0%, #6d28d9 50%, #be185d 100%); color: #fff; text-align: center; isolation: isolate;
    box-shadow: var(--shadow-lg);
}
.cta-band::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
    background: radial-gradient(600px 300px at 15% 0%, rgba(255, 255, 255, .35), transparent 60%), radial-gradient(500px 300px at 90% 100%, rgba(255, 255, 255, .25), transparent 60%);
}
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .88); max-width: 60ch; margin-inline: auto; }
.cta-band .btn-group { justify-content: center; margin-top: 26px; }

.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li + li { margin-top: .35em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--text-3); font-size: .9rem; margin-bottom: 28px; }
.page-hero { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(24px, 4vw, 44px); text-align: center; }
.page-hero .lead { margin-inline: auto; }

.notice-box { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }

/* Timeline / steps */
.steps { counter-reset: step; display: grid; gap: 16px; }
.steps > li { list-style: none; position: relative; padding: 20px 20px 20px 72px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.steps > li::before {
    counter-increment: step; content: counter(step); position: absolute; left: 18px; top: 18px; width: 40px; height: 40px; border-radius: 12px;
    display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; background: var(--grad);
}
.steps h3 { font-size: 1.05rem; margin: 0 0 4px; }
.steps p { margin: 0; color: var(--text-2); font-size: .95rem; }

/* ---------- 16. Footer ---------- */
.site-footer { position: relative; margin-top: clamp(64px, 9vw, 120px); padding-top: 64px; padding-bottom: 28px; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.footer-grid { display: grid; gap: 36px 28px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { color: var(--text-2); max-width: 36ch; margin-top: 16px; font-size: .95rem; }
.footer-col h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: 14px; font-family: var(--font-sans); font-weight: 700; }
.footer-col a { display: block; padding: 5px 0; color: var(--text-2); font-size: .95rem; }
.footer-col a:hover { color: var(--brand); }
.footer-col a.is-disabled { opacity: .5; pointer-events: none; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--border); color: var(--text-2); }
.socials a:hover { color: var(--brand); border-color: var(--brand); }
.footer-bottom { display: flex; flex-direction: column; gap: 10px; justify-content: space-between; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--text-3); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.footer-legal a { color: var(--text-3); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } .footer-brand { grid-column: 1 / -1; } .footer-bottom { flex-direction: row; align-items: center; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); } .footer-brand { grid-column: auto; } }

/* ---------- 17. Motion & accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .float { animation: none; }
    [data-aos] { opacity: 1 !important; transform: none !important; }
    .tilt { transform: none !important; }
}
@media (hover: none) {
    .tilt { transform: none !important; }
}

/* Mobile fine-tuning */
@media (max-width: 639.98px) {
    .display { font-size: clamp(2.2rem, 10.5vw, 2.9rem); }
    .section { padding-block: 56px; }
    .card { padding: 22px; }
    .plan { padding: 24px; }
    .launch-bar { font-size: .85rem; }
    .countdown .cd-unit { min-width: 46px; }
    .btn-lg { width: 100%; }
    .launch-inner { padding-block: 12px; }
}
