/* ============================================
   CODVIAN — Main Stylesheet
   Palette: black / purple / white (theme-adaptive)
   ============================================ */

:root {
    --purple: #861EFA;
    --purple-hover: #7714d6;
    --purple-soft: #f6efff;
    --purple-glow: rgba(134, 30, 250, 0.3);
    --bg: #ffffff;
    --fg: #18181b;
    --muted: #71717a;
    --muted-2: #52525b;
    --border: #e4e4e7;
    --surface: #fafafa;
    --glass: rgba(255, 255, 255, 0.72);
    --glass-strong: rgba(255, 255, 255, 0.9);
    --dot-1: #861EFA; --dot-2: #a244ff; --dot-3: #6d13c4;
    --dot-4: #18181b; --dot-5: #71717a; --dot-6: #c8c8d0;
    --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-xl: 24px; --radius-full: 9999px;
    --shadow-sm: 0 1px 2px rgba(24,24,27,.06);
    --shadow-md: 0 4px 12px rgba(24,24,27,.08);
    --shadow-lg: 0 12px 40px rgba(24,24,27,.12);
    --max-width: 1200px;
    --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
[data-theme="dark"] {
    --purple-soft: rgba(134, 30, 250, 0.14);
    --bg: #09090b;
    --fg: #fafafa;
    --muted: #a1a1aa;
    --muted-2: #d4d4d8;
    --border: #27272a;
    --surface: #131316;
    --glass: rgba(19, 19, 22, 0.72);
    --glass-strong: rgba(19, 19, 22, 0.9);
    --dot-1: #861EFA; --dot-2: #a244ff; --dot-3: #6d13c4;
    --dot-4: #fafafa; --dot-5: #a1a1aa; --dot-6: #52525b;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow-md: 0 4px 12px rgba(0,0,0,.5);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.6);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-sans); color: var(--fg); background: var(--bg); line-height: 1.6; font-size: 16px; transition: background .3s ease, color .3s ease; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--purple); z-index: 10000; width: 0%; transition: width .1s linear; }

/* ============================================
   DOCK NAVBAR — floating, centered, top
   ============================================ */
.dock-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 900; display: flex; justify-content: center; pointer-events: none; }
.dock-panel { pointer-events: auto; display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--radius-xl); background: var(--glass); border: 1px solid var(--border); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-lg); }
.dock-item { position: relative; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: var(--radius-md); color: var(--muted-2); transition: color .2s ease, background .2s ease; transform-origin: bottom center; will-change: transform; }
.dock-item:hover, .dock-item.active { color: var(--purple); background: var(--purple-soft); }
.dock-item svg { width: 20px; height: 20px; }
.dock-logo img { height: 24px; width: auto; }
.dock-logo.active { background: none; }
.dock-divider { width: 1px; height: 24px; background: var(--border); margin: 0 4px; }
/* Tooltip — navbar ke NEECHE, smooth blur-fade in/out */
.dock-item::after { content: attr(data-tip); position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(-6px) scale(.92); padding: 6px 13px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); color: var(--fg); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; filter: blur(6px); transition: opacity .32s cubic-bezier(.16,1,.3,1), transform .32s cubic-bezier(.16,1,.3,1), filter .32s cubic-bezier(.16,1,.3,1); will-change: opacity, transform, filter; z-index: 100; }
.dock-item:hover::after, .dock-item:focus-visible::after { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); filter: blur(0); }
/* Hover chhodo to thoda jaldi, soft fade-out (asymmetric timing) */
.dock-item:not(:hover)::after { transition-duration: .18s, .18s, .18s; transition-timing-function: cubic-bezier(.4,0,.2,1); }
.dock-item:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }
/* Theme toggle icons */
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }


/* ============================================
   HERO — interactive dots bg + big heading
   ============================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-dots { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-inner { position: relative; z-index: 0; text-align: center; padding: 0 24px; pointer-events: none; }
.hero-heading { font-size: clamp(44px, 8vw, 96px); font-weight: 900; letter-spacing: -0.05em; line-height: 1.02; color: var(--fg); transition: color .3s ease; }
/* Floating purple button — hero bottom, dots ke upar */
.hero-cta-wrap { position: absolute; bottom: 48px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; }
.hero-cta { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; border-radius: var(--radius-full); background: var(--purple); color: #fff; font-size: 15px; font-weight: 700; border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 10px 40px var(--purple-glow), inset 0 1px 0 rgba(255,255,255,0.3); transition: all .25s ease; }
.hero-cta:hover { background: var(--purple-hover); transform: translateY(-2px); box-shadow: 0 16px 48px var(--purple-glow), inset 0 1px 0 rgba(255,255,255,0.3); }
.hero-cta svg { transition: transform .2s ease; }
.hero-cta:hover svg { transform: translateY(2px); }
/* Scroll hint */
.hero-hint { position: absolute; bottom: 120px; left: 0; right: 0; z-index: 1; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); pointer-events: none; }


/* ============================================
   APP PREVIEW SHOWCASE — macOS window + tabs
   ============================================ */
.showcase { position: relative; z-index: 10; padding: 120px 24px 96px; background: var(--bg); }
.showcase-container { max-width: 1180px; margin: 0 auto; }
.showcase-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.showcase-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--purple); margin-bottom: 12px; }
.showcase-title { font-size: clamp(30px, 4.5vw, 48px); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; color: var(--fg); }
.showcase-hint { max-width: 220px; text-align: right; font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (max-width: 640px) { .showcase-hint { display: none; } .showcase { padding: 80px 16px 64px; } }
.showcase-window { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--bg); box-shadow: var(--shadow-lg); }
.showcase-topbar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; background: var(--surface); border-bottom: 1px solid var(--border); }
.showcase-dot { width: 12px; height: 12px; border-radius: 50%; }
.showcase-dot.red { background: #ff5f57; }
.showcase-dot.yellow { background: #febc2e; }
.showcase-dot.green { background: #28c840; }
.showcase-window-title { flex: 1; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.showcase-topbar-spacer { width: 52px; }
.showcase-body { display: flex; }
.showcase-sidebar { display: none; flex-direction: column; gap: 2px; width: 224px; flex-shrink: 0; padding: 10px; border-right: 1px solid var(--border); background: var(--surface); }
@media (min-width: 1024px) { .showcase-sidebar { display: flex; } }
.showcase-tab { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--radius-md); font-size: 13px; font-weight: 500; color: var(--muted-2); text-align: left; transition: all .25s ease; }
.showcase-tab svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--purple); transition: color .25s ease; }
.showcase-tab:hover { background: var(--purple-soft); color: var(--fg); }
.showcase-tab.active { background: var(--purple); color: #fff; box-shadow: 0 6px 18px var(--purple-glow); }
.showcase-tab.active svg { color: #fff; }
/* Mobile pills */
.showcase-mobile-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--surface); }
@media (min-width: 1024px) { .showcase-mobile-tabs { display: none; } }
.showcase-screen { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--surface); }
.showcase-frame { position: relative; flex: 1; overflow: hidden; padding: 20px; }
@media (min-width: 768px) { .showcase-frame { padding: 28px; } }
.showcase-frame .showcase-image { width: 100%; height: auto; display: block; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-md); }
.showcase-caption { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--border); background: var(--bg); font-size: 14px; color: var(--muted-2); }
.showcase-caption-chip { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex-shrink: 0; border-radius: 6px; background: var(--purple-soft); color: var(--purple); }
.showcase-caption-chip svg { width: 12px; height: 12px; }
/* Screenshot switch animation */
@keyframes shotIn { 0% { opacity: 0; filter: blur(5px); } 100% { opacity: 1; filter: blur(0); } }
.shot-in { animation: shotIn .55s cubic-bezier(.22, 1, .36, 1) both; }

/* ============================================
   MORE THAN CODE GENERATION — 4-step flow
   ============================================ */
.more-section { position: relative; z-index: 10; padding: 96px 24px 110px; background: var(--bg); }
/* Soft fade divider — solid line ki jagah */
.more-section::before { content: ''; position: absolute; top: 0; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
.more-container { max-width: 1180px; margin: 0 auto; }
.more-header { text-align: center; max-width: 640px; margin: 0 auto 72px; }
.more-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--purple); margin-bottom: 14px; }
.more-title { font-size: clamp(30px, 4.5vw, 48px); font-weight: 800; letter-spacing: -.045em; line-height: 1.08; color: var(--fg); }
/* Flow grid + connector */
.more-flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.more-connector { position: absolute; top: 44px; left: 6%; right: 6%; height: 2px; z-index: 0; overflow: hidden; border-radius: 2px; background: var(--border); }
.more-connector-line { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--purple) 0 14px, transparent 14px 26px); opacity: .45; animation: connectorFlow 1.6s linear infinite; }
@keyframes connectorFlow { from { transform: translateX(0); } to { transform: translateX(-26px); } }
/* Step card */
.more-step { position: relative; z-index: 1; padding: 28px 22px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg); text-align: center; box-shadow: var(--shadow-sm); transition: all .25s ease; }
.more-step:hover { transform: translateY(-4px); border-color: var(--purple); box-shadow: 0 12px 32px var(--purple-glow); }
.more-num { position: absolute; top: 14px; right: 16px; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--muted); opacity: .6; }
.more-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 auto 16px; border-radius: var(--radius-md); background: var(--purple-soft); color: var(--purple); transition: all .25s ease; }
.more-step:hover .more-icon { background: var(--purple); color: #fff; }
.more-icon svg { width: 20px; height: 20px; }
.more-step h3 { font-size: 17px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; color: var(--fg); }
.more-step p { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
/* Scroll reveal — staggered, sirf .anim (JS active) me */
.anim .reveal-step { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
.anim .reveal-step.visible { opacity: 1; transform: none; }
.anim .reveal-step.visible .more-connector-line { }
/* Mobile — vertical flow */
@media (max-width: 900px) {
    .more-flow { grid-template-columns: 1fr; gap: 14px; max-width: 420px; margin: 0 auto; }
    .more-connector { left: 43px; right: auto; top: 6%; bottom: 6%; width: 2px; height: auto; }
    .more-connector-line { background: repeating-linear-gradient(180deg, var(--purple) 0 14px, transparent 14px 26px); animation: connectorFlowV 1.6s linear infinite; }
    .more-step { display: flex; align-items: center; text-align: left; gap: 16px; padding: 18px 20px; }
    .more-icon { margin: 0; flex-shrink: 0; }
    .more-num { top: 10px; right: 14px; }
}
@keyframes connectorFlowV { from { transform: translateY(0); } to { transform: translateY(-26px); } }

/* ============================================
   YOUR AGENT. YOUR BOUNDARIES. — permissions
   ============================================ */
.approval-desc { padding: 0 20px 4px 72px; line-height: 1.55; color: var(--muted); font-size: 14px; }
.approval-details-toggle { display: inline-flex; align-items: center; gap: 4px; margin: 8px 20px 0 72px; padding: 2px 6px; border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--muted); transition: color .2s ease; }
.approval-details-toggle:hover { color: var(--fg); }
.approval-details-toggle svg { width: 14px; height: 14px; transition: transform .25s ease; }
.approval-details-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.approval-params { margin: 10px 16px 0; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg); }
.approval-param { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; font-size: 12px; }
.approval-param + .approval-param { margin-top: 8px; }
.approval-param .k { color: var(--muted); }
.approval-param .v { font-family: ui-monospace, monospace; color: var(--fg); opacity: .85; word-break: break-all; }
.approval-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; padding: 14px 20px; border-top: 1px solid var(--border); transition: opacity .25s ease; }
.approval-card[data-state="approved"] .approval-actions, .approval-card[data-state="denied"] .approval-actions { opacity: 0; pointer-events: none; }
.approval-btn { padding: 9px 18px; border-radius: var(--radius-md); background: var(--bg); border: 1px solid var(--border); font-size: 13px; font-weight: 500; color: var(--fg); transition: all .2s ease; }
.approval-btn:hover { background: var(--purple-soft); border-color: var(--purple); color: var(--purple); }
.approval-btn.primary { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.approval-btn.primary:hover { background: var(--purple); border-color: var(--purple); color: #fff; }
.approval-btn.ghost { border-color: transparent; background: none; color: var(--muted); }
.approval-btn.ghost:hover { background: var(--surface); border-color: transparent; color: #e11d48; }
.access-section { position: relative; z-index: 10; padding: 96px 24px 120px; background: var(--bg); }
.access-section::before { content: ''; position: absolute; top: 0; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
/* Fade dividers — baaki section junctions pe bhi */
.showcase::before, .models-section::before, .faq-section::before { content: ''; position: absolute; top: 0; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); pointer-events: none; }
.showcase { position: relative; }
.faq-section { position: relative; }
.access-container { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .access-container { grid-template-columns: 1fr; gap: 48px; } }

/* ---- Tool approval card (vanilla port) ---- */
.approval-card { max-width: 640px; margin: 0 auto; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface); font-size: 16px; box-shadow: var(--shadow-lg); transition: border-color .3s ease; }
.approval-card[data-state="approved"] { border-color: rgba(16, 185, 129, .4); }
.approval-card[data-state="denied"] { border-color: rgba(244, 63, 94, .4); }
.approval-head { display: flex; align-items: flex-start; gap: 14px; padding: 20px; }
.approval-icon { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; margin-top: 2px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg); color: var(--muted); transition: all .3s ease; }
.approval-icon svg { width: 18px; height: 18px; display: none; }
.approval-card[data-state="pending"] .ic-shield { display: block; }
.approval-card[data-state="approved"] .ic-check { display: block; }
.approval-card[data-state="denied"] .ic-x { display: block; }
.approval-card[data-state="approved"] .approval-icon { color: #10b981; border-color: rgba(16,185,129,.4); background: rgba(16,185,129,.08); }
.approval-card[data-state="denied"] .approval-icon { color: #f43f5e; border-color: rgba(244,63,94,.4); background: rgba(244,63,94,.08); }
.approval-info { min-width: 0; flex: 1; }
.approval-title { font-size: 16px; font-weight: 600; color: var(--fg); }
.approval-tool { margin-top: 3px; font-family: ui-monospace, monospace; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.approval-badge { flex-shrink: 0; padding: 4px 12px; border-radius: var(--radius-full); border: 1px solid rgba(245, 158, 11, .3); background: rgba(245, 158, 11, .1); font-size: 12px; font-weight: 500; color: #d97706; transition: all .3s ease; }
.approval-card[data-state="approved"] .approval-badge { border-color: rgba(16,185,129,.3); background: rgba(16,185,129,.1); color: #059669; }
.approval-card[data-state="denied"] .approval-badge { border-color: rgba(244,63,94,.3); background: rgba(244,63,94,.1); color: #e11d48; }

/* ---- Right copy ---- */
.access-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--purple); margin-bottom: 14px; }
.access-title { font-size: clamp(32px, 4.5vw, 52px); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; color: var(--fg); margin-bottom: 20px; }
.access-tagline { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; font-weight: 500; color: var(--muted-2); max-width: 400px; }
.access-tagline .accent { color: var(--purple); font-weight: 700; }

/* ============================================
   CINEMATIC FOOTER — curtain reveal
   Footer viewport-height me fixed rehta hai, wrapper ke
   clip-path se scroll karne par neeche se reveal hota hai.
   ============================================ */
.footer-clip { position: relative; height: 100vh; clip-path: polygon(0% 0, 100% 0%, 100% 100%, 0 100%); }
.cinematic-footer { position: fixed; bottom: 0; left: 0; z-index: 0; display: flex; flex-direction: column; justify-content: space-between; width: 100%; height: 100vh; overflow: hidden; background: var(--bg); color: var(--fg); }
/* Static variant — docs/inner pages: same design, normal flow, no scroll scrub */
.cinematic-footer.cf-static { position: relative; height: auto; min-height: 560px; z-index: 2; }
.cf-static .cf-center { padding-top: 110px; padding-bottom: 56px; }
.cf-static .cf-giant, .cf-static .cf-heading, .cf-static .cf-links { opacity: 1 !important; transform: none !important; }
.cf-static .cf-giant { transform: translateX(-50%) !important; }
.cf-aurora { position: absolute; left: 50%; top: 50%; width: 80vw; height: 60vh; transform: translate(-50%, -50%); background: radial-gradient(circle at 50% 50%, rgba(134, 30, 250, 0.18) 0%, rgba(134, 30, 250, 0.07) 40%, transparent 70%); border-radius: 50%; filter: blur(80px); animation: cf-breathe 8s ease-in-out infinite alternate; pointer-events: none; z-index: 0; }
@keyframes cf-breathe { 0% { transform: translate(-50%, -50%) scale(1); opacity: .6; } 100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; } }
.cf-grid { position: absolute; inset: 0; z-index: 0; background-size: 60px 60px; background-image: linear-gradient(to right, var(--border) 1px, transparent 1px), linear-gradient(to bottom, var(--border) 1px, transparent 1px); opacity: .5; -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent); mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent); pointer-events: none; }
.cf-giant { position: absolute; bottom: -5vh; left: 50%; z-index: 0; font-size: 24vw; font-weight: 900; line-height: .75; letter-spacing: -.05em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--border); pointer-events: none; user-select: none; }
/* Diagonal marquee */
.cf-marquee { position: absolute; top: 48px; left: 0; width: 100%; padding: 14px 0; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transform: rotate(-2deg) scale(1.1); z-index: 10; }
.cf-marquee-track { display: flex; width: max-content; gap: 48px; font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); animation: cf-marquee 40s linear infinite; }
.cf-marquee-track i { color: var(--purple); font-style: normal; }
@keyframes cf-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Center content */
.cf-center { position: relative; z-index: 10; display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; width: 100%; max-width: 1024px; margin: 0 auto; padding: 96px 24px 0; }
.cf-heading { font-size: clamp(48px, 8vw, 88px); font-weight: 900; letter-spacing: -.04em; text-align: center; margin-bottom: 48px; background: linear-gradient(180deg, var(--fg) 0%, var(--muted) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cf-links { display: flex; flex-direction: column; align-items: center; gap: 28px; width: 100%; }
/* Scroll-scrub animation — sirf jab JS active ho (.anim class) */
.anim .cf-giant { opacity: 0; }
.anim .cf-heading, .anim .cf-links { opacity: 0; transform: translateY(50px); }

.cf-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; width: 100%; }
.cf-secondary { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: 100%; }
/* Glass pills */
.cf-pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: var(--radius-full); font-size: 14px; font-weight: 700; color: var(--muted-2); background: var(--glass); border: 1px solid var(--border); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-md); transition: all .25s ease; will-change: transform; }
.cf-pill:hover { color: var(--fg); border-color: var(--purple); box-shadow: 0 8px 24px var(--purple-glow); }
.cf-pill svg { width: 16px; height: 16px; }
.cf-secondary .cf-pill { padding: 12px 22px; font-size: 13px; font-weight: 500; color: var(--muted); }
.cf-pill.cf-primary { background: linear-gradient(145deg, rgba(134, 30, 250, 0.4) 0%, rgba(134, 30, 250, 0.15) 100%); color: #fff; border-color: rgba(134, 30, 250, 0.5); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 10px 40px var(--purple-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 2px rgba(255, 255, 255, 0.1); }
.cf-pill.cf-primary:hover { background: linear-gradient(145deg, rgba(119, 20, 214, 0.5) 0%, rgba(134, 30, 250, 0.22) 100%); color: #fff; border-color: rgba(134, 30, 250, 0.7); }
/* Bottom bar: © left · brand center · back-to-top right — perfect grid centering */
.cf-bottom { position: relative; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; width: 100%; padding: 0 24px 32px; }
.cf-bottom > :first-child { justify-self: start; }
.cf-bottom > :last-child { justify-self: end; }
@media (max-width: 768px) { .cf-bottom { display: flex; flex-direction: column; justify-content: center; } .cf-bottom > :first-child { justify-self: center; order: 2; } .cf-bottom > :last-child { justify-self: center; order: 1; } }
.cf-copy { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cf-brand { display: flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: var(--radius-full); background: var(--glass); border: 1px solid var(--border); backdrop-filter: blur(16px); box-shadow: var(--shadow-sm); }
.cf-brand img { height: 20px; width: auto; }
.cf-brand small { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cf-brand b { font-size: 13px; font-weight: 900; color: var(--fg); }
.cf-heart { display: inline-block; color: var(--purple); font-size: 14px; animation: cf-heartbeat 2s cubic-bezier(.25,1,.5,1) infinite; }
@keyframes cf-heartbeat { 0%, 100% { transform: scale(1); } 15%, 45% { transform: scale(1.25); } 30% { transform: scale(1); } }
.cf-top { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-full); color: var(--muted); background: var(--glass); border: 1px solid var(--border); backdrop-filter: blur(16px); box-shadow: var(--shadow-sm); transition: color .2s ease; will-change: transform; }
.cf-top:hover { color: var(--fg); }
.cf-top svg { width: 20px; height: 20px; transition: transform .3s ease; }
.cf-top:hover svg { transform: translateY(-4px); }

/* ============================================
   MODELS & PROVIDERS
   ============================================ */
.models-section { position: relative; z-index: 2; padding: 110px 24px 120px; max-width: 1180px; margin: 0 auto; }
.models-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.models-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--purple); margin-bottom: 14px; }
.models-title { font-size: clamp(32px, 5vw, 52px); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 16px; }
.models-sub { font-size: 16px; line-height: 1.65; color: var(--muted-2); }

/* Logo cloud — brand colors preserved in BOTH themes */
.logo-cloud { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); overflow: hidden; border-radius: var(--radius-xl); border: 1px solid var(--border); background: var(--bg); box-shadow: var(--shadow-md); }
.lc-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 34px 16px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transition: background .25s ease, transform .25s ease; }
.lc-card:hover { background: var(--glass); }
.lc-logo { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.lc-tag { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
/* Brand icons — CSS mask, brand color preserved in both themes */
.lc-mark { display: block; width: 26px; height: 26px; background-color: var(--c); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
/* Monogram chips for providers without official icons */
.lc-mono { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: #fff; font-size: 13px; font-weight: 900; line-height: 1; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.lc-msft { display: block; width: 24px; height: 24px; }
/* "+ more / infinite" cell */
.lc-more { background: transparent; border-right: none !important; border-bottom: none !important; }
.lc-more::after { display: none; }
.lc-more .lc-logo { color: var(--fg); }
.lc-more .lc-tag { color: var(--muted); }
.lc-inf { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; border: 1.5px dashed var(--purple); color: var(--purple); font-size: 16px; font-weight: 900; animation: lc-spin-inf 6s linear infinite; }
@keyframes lc-spin-inf { 0%, 60% { transform: rotate(0deg); } 70%, 80% { transform: rotate(180deg); } 90%, 100% { transform: rotate(360deg); } }
/* Plus junction markers */
.lc-card::after { content: '+'; position: absolute; right: -7px; bottom: -12px; z-index: 2; font-size: 15px; font-weight: 400; color: var(--muted); background: var(--bg); line-height: 1; padding: 3px 1px; }
.lc-card:nth-child(5n)::after { display: none; }
/* Last row: remove bottom border on trailing cells */
.logo-cloud::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--bg); }
@media (max-width: 1024px) { .logo-cloud { grid-template-columns: repeat(4, 1fr); } .lc-card:nth-child(5n)::after { display: block; } .lc-card:nth-child(4n)::after { display: none; } }
@media (max-width: 768px) { .logo-cloud { grid-template-columns: repeat(3, 1fr); } .lc-card { padding: 26px 12px; } .lc-card:nth-child(4n)::after { display: block; } .lc-card:nth-child(3n)::after { display: none; } }
@media (max-width: 480px) { .logo-cloud { grid-template-columns: repeat(2, 1fr); } .lc-card:nth-child(3n)::after { display: block; } .lc-card:nth-child(2n)::after { display: none; } .lc-logo { font-size: 15px; } }

/* ============================================
   MODAL
   ============================================ */
.modal-overlay { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); padding: 24px; }
.modal-box { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 36px; max-width: 420px; width: 100%; box-shadow: var(--shadow-lg); animation: modal-in .25s ease; }
@keyframes modal-in { from { opacity: 0; transform: scale(.96) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-brand { display: block; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--purple); margin-bottom: 8px; }
.modal-title { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.modal-body { font-size: 15px; line-height: 1.65; color: var(--muted-2); margin-bottom: 24px; }
.modal-close { display: inline-flex; padding: 10px 24px; border-radius: var(--radius-full); background: var(--purple); color: #fff; font-size: 13px; font-weight: 600; transition: all .2s ease; }
.modal-close:hover { background: var(--purple-hover); transform: translateY(-1px); }

/* ============================================
   FAQ
   ============================================ */
.faq-section { position: relative; z-index: 2; padding: 40px 24px 140px; max-width: 1080px; margin: 0 auto; }
.faq-grid { display: grid; grid-template-columns: 2fr 5fr; gap: 64px; }
.faq-title { font-size: clamp(44px, 6vw, 72px); font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.faq-sub { font-size: 17px; line-height: 1.6; color: var(--muted-2); margin-top: 18px; max-width: 260px; }
.faq-contact { font-size: 13px; color: var(--muted); margin-top: 24px; line-height: 1.6; }
.faq-link { color: var(--purple); font-weight: 600; }
.faq-link:hover { text-decoration: underline; }

/* Accordion */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 22px 4px; background: none; border: none; cursor: pointer; text-align: left; font-family: inherit; font-size: 16px; font-weight: 600; color: var(--fg); transition: color .2s ease; }
.faq-q:hover { color: var(--purple); }
.faq-q svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted); transition: transform .3s cubic-bezier(.16,1,.3,1), color .2s ease; }
.faq-q[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--purple); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.16,1,.3,1); }
.faq-a p { padding: 0 32px 22px 4px; font-size: 15px; line-height: 1.7; color: var(--muted-2); }
.faq-a b { color: var(--fg); }
/* Blurred letter stagger reveal (JS adds spans) */
.faq-a .ch { display: inline-block; opacity: 0; filter: blur(8px); transition: opacity .28s ease, filter .28s ease; }
.faq-a.open .ch { opacity: 1; filter: blur(0); }

@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 40px; } .faq-sub { max-width: none; } }

/* ============================================
   DOCS — single curved window (sidebar + scrollable doc)
   ============================================ */
.docs-shell { position: relative; z-index: 2; max-width: none; margin: 0 auto; padding: 92px 14px 0; }
/* The big curved rectangle — attached right below navbar */
.docs-window { display: grid; grid-template-columns: 300px minmax(0, 1fr); height: calc(100vh - 106px); overflow: hidden; border-radius: 26px; border: 1px solid var(--border); background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow-lg, 0 12px 40px rgba(0,0,0,.12)); }
.docs-mobile-toggle { display: none; }

/* Sidebar — pinned left, its own scroll, never moves */
.docs-sidebar { min-width: 0; overflow: hidden; border-right: 1px solid var(--border); }
.docs-side-box { height: 100%; overflow-y: auto; background: transparent; border: none; border-radius: 0; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; padding: 22px 18px; scrollbar-width: thin; }
.docs-side-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.docs-side-head img { width: 34px; height: 34px; border-radius: 10px; }
.docs-side-head b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.docs-side-head small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.docs-search { position: relative; margin-bottom: 20px; }
.docs-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--muted); pointer-events: none; }
.docs-search input { width: 100%; padding: 10px 14px 10px 34px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); color: var(--fg); font-family: inherit; font-size: 13px; transition: border-color .2s ease, box-shadow .2s ease; }
.docs-search input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-glow); }
.docs-search input::placeholder { color: var(--muted); }
.docs-nav-group { margin-bottom: 20px; }
.docs-nav-group h4 { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding-left: 12px; }
.docs-nav-link { display: block; padding: 8px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 500; color: var(--muted-2); transition: all .18s ease; }
.docs-nav-link:hover { color: var(--fg); background: var(--bg); }
.docs-nav-link.active { color: var(--purple); background: var(--purple-soft); font-weight: 700; box-shadow: inset 0 0 0 1px var(--purple-glow); }
.docs-side-help { margin-top: 4px; padding: 16px; border-radius: 14px; background: var(--purple-soft); border: 1px solid var(--purple-glow); }
.docs-side-help p { font-size: 12.5px; color: var(--muted-2); line-height: 1.55; margin-bottom: 8px; }
.docs-side-help a { font-size: 13px; font-weight: 700; color: var(--purple); }
.docs-side-help a:hover { text-decoration: underline; }

/* Article — scrolls INSIDE the window */
.docs-content { min-width: 0; height: 100%; overflow-y: auto; padding: 44px 56px 56px; scrollbar-width: thin; }
.docs-article { min-width: 0; max-width: 760px; padding-top: 0; }
.doc-crumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.doc-crumb a { color: var(--purple); }
.doc-crumb a:hover { text-decoration: underline; }
.docs-article h1 { font-size: clamp(34px, 4.5vw, 46px); font-weight: 900; letter-spacing: -.035em; line-height: 1.12; margin-bottom: 14px; }
.doc-intro { font-size: 17px; line-height: 1.7; color: var(--muted-2); padding-bottom: 22px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.docs-article h2 { font-size: 23px; font-weight: 800; letter-spacing: -.02em; margin: 40px 0 12px; scroll-margin-top: 110px; }
.docs-article p { font-size: 15.5px; line-height: 1.75; color: var(--muted-2); margin-bottom: 14px; }
.docs-article ul { margin: 0 0 18px; padding-left: 4px; list-style: none; }
.docs-article li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.7; color: var(--muted-2); margin-bottom: 8px; }
.docs-article li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--purple); opacity: .7; }
.docs-article strong { color: var(--fg); font-weight: 700; }
.docs-article a { color: var(--purple); font-weight: 600; }
.docs-article a:hover { text-decoration: underline; }

/* Callout — purple info card */
.doc-callout { display: flex; gap: 14px; padding: 18px 20px; margin: 24px 0; border-radius: 16px; background: var(--purple-soft); border: 1px solid var(--purple-glow); }
.doc-callout-icon { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--purple); color: #fff; }
.doc-callout-icon svg { width: 17px; height: 17px; }
.doc-callout h4 { font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.doc-callout p { font-size: 14px; line-height: 1.65; margin: 0; }

/* Prev / Next pagination */
.doc-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); }
.doc-page-link { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--border); background: var(--glass); transition: all .2s ease; }
.doc-page-link:hover { border-color: var(--purple); box-shadow: 0 8px 24px var(--purple-glow); transform: translateY(-2px); text-decoration: none; }
.doc-page-link small { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.doc-page-link b { font-size: 15px; font-weight: 800; color: var(--fg); }
.doc-page-link.next { text-align: right; align-items: flex-end; }
.doc-page-link.next:hover b { color: var(--purple); }

/* Docs mobile */
@media (max-width: 900px) {
    .docs-shell { padding: 92px 10px 0; }
    .docs-window { display: block; height: auto; overflow: visible; border-radius: 18px; }
    .docs-mobile-toggle { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 12px 18px; border-radius: 12px; border: 1px solid var(--border); background: var(--glass); color: var(--fg); font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
    .docs-mobile-toggle svg { width: 16px; height: 16px; }
    .docs-sidebar { display: none; }
    .docs-nav-mobile { display: block; border-bottom: 1px solid var(--border); padding: 16px; }
    .docs-nav-mobile .docs-side-box { height: auto; overflow: visible; padding: 0; }
    .docs-content { height: auto; overflow: visible; padding: 28px 22px 36px; }
    .doc-pagination { grid-template-columns: 1fr; }
    .doc-page-link.next { text-align: left; align-items: flex-start; }
}
@media (min-width: 901px) { .docs-nav-mobile { display: none !important; } }

/* Section cards — zip-style structured blocks */
.doc-card { position: relative; margin: 0 0 16px; padding: 24px 28px; border-radius: 16px; border: 1px solid var(--border); background: var(--bg); transition: border-color .2s ease, box-shadow .2s ease; }
.doc-card:hover { border-color: var(--purple-glow); box-shadow: 0 4px 20px rgba(134, 30, 250, .08); }
.doc-num { position: absolute; top: 18px; right: 22px; font-size: 26px; font-weight: 900; letter-spacing: -.02em; color: var(--purple); opacity: .14; font-variant-numeric: tabular-nums; }
.doc-card h2 { margin: 0 0 10px; font-size: 20px; scroll-margin-top: 20px; }
.doc-card p { margin-bottom: 10px; }
.doc-card ul { margin-bottom: 2px; }
.doc-callout + .doc-card, .doc-card + .doc-callout { margin-top: 20px; }

/* ============================================
   CONTACT
   ============================================ */
.contact-shell { position: relative; z-index: 2; max-width: 1080px; margin: 0 auto; padding: 128px 24px 60px; }
.contact-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.contact-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--purple); margin-bottom: 14px; }
.contact-title { font-size: clamp(34px, 5.5vw, 56px); font-weight: 900; letter-spacing: -.035em; line-height: 1.08; margin-bottom: 16px; }
.contact-sub { font-size: 16px; line-height: 1.65; color: var(--muted-2); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 28px; align-items: start; }

/* Left: channel cards */
.contact-side { display: flex; flex-direction: column; gap: 14px; }
.c-info-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--border); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-md); text-decoration: none; color: inherit; transition: all .22s ease; }
a.c-info-card:hover { border-color: var(--purple); box-shadow: 0 10px 28px var(--purple-glow); transform: translateY(-2px); }
.c-info-card.soon { opacity: .6; cursor: default; }
.c-info-icon { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--purple-soft); color: var(--purple); border: 1px solid var(--purple-glow); }
.c-info-icon svg { width: 20px; height: 20px; }
.c-info-body { flex: 1; min-width: 0; }
.c-info-body b { display: block; font-size: 14.5px; font-weight: 800; }
.c-info-body i { display: block; font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--purple); margin-top: 2px; word-break: break-all; }
.c-info-body small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.c-info-arrow { flex-shrink: 0; font-size: 18px; color: var(--muted); transition: transform .2s ease, color .2s ease; }
a.c-info-card:hover .c-info-arrow { transform: translateX(4px); color: var(--purple); }
.c-note { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 14px; border: 1px dashed var(--purple-glow); background: var(--purple-soft); font-size: 13px; color: var(--muted-2); }
.c-note b { color: var(--fg); }
.c-note-dot { flex-shrink: 0; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .15); animation: c-pulse 2s ease-in-out infinite; }
@keyframes c-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(34, 197, 94, .15); } 50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, .08); } }

/* Right: form card */
.contact-form-card { padding: 32px 34px 30px; border-radius: 26px; border: 1px solid var(--border); background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow-lg, 0 12px 40px rgba(0,0,0,.12)); }
.c-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.c-field { margin-bottom: 18px; }
.c-field label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--muted-2); margin-bottom: 8px; }
.c-field input, .c-field select, .c-field textarea { width: 100%; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg); color: var(--fg); font-family: inherit; font-size: 14.5px; transition: border-color .2s ease, box-shadow .2s ease; }
.c-field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.c-field input:focus, .c-field select:focus, .c-field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-glow); }
.c-field input::placeholder, .c-field textarea::placeholder { color: var(--muted); opacity: .8; }
.c-select-wrap { position: relative; }
.c-select-wrap select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 42px; }
.c-select-wrap svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.c-actions { margin-top: 6px; }
.c-submit { display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; border-radius: 999px; border: 1px solid var(--purple); background: linear-gradient(145deg, rgba(134,30,250,.9), rgba(134,30,250,.65)); color: #fff; font-family: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 24px var(--purple-glow); transition: all .2s ease; }
.c-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 32px var(--purple-glow); }
.c-submit:disabled { opacity: .6; cursor: wait; transform: none; }
.c-submit svg { width: 16px; height: 16px; }
.c-privacy { font-size: 12px; color: var(--muted); margin-top: 12px; }
.c-status { margin-top: 16px; padding: 13px 18px; border-radius: 14px; font-size: 14px; font-weight: 600; line-height: 1.5; }
.c-status.ok { background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .3); color: #16a34a; }
.c-status.err { background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .3); color: #dc2626; }

@media (max-width: 860px) {
    .contact-shell { padding: 112px 18px 40px; }
    .contact-grid { grid-template-columns: 1fr; }
    .c-row { grid-template-columns: 1fr; gap: 0; }
    .contact-form-card { padding: 24px 20px; }
}

/* Privacy / policy page */
.policy-shell { position: relative; z-index: 2; max-width: 1160px; margin: 0 auto; padding: 120px 24px 70px; }
.policy-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; }
.policy-toc { position: sticky; top: 100px; }
/* TOC in its own proper box — same card treatment as right content */
.policy-toc .docs-side-box { background: var(--bg); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-md); backdrop-filter: none; -webkit-backdrop-filter: none; max-height: calc(100vh - 140px); }
.policy-toc .docs-side-box:hover { border-color: var(--purple-glow); box-shadow: 0 8px 28px rgba(134, 30, 250, .08); }
.policy-content { min-width: 0; }
.policy-head { margin-bottom: 28px; }
.policy-head h1 { font-size: clamp(34px, 4.5vw, 48px); font-weight: 900; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 14px; }
.policy-updated { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: var(--purple-soft); border: 1px solid var(--purple-glow); color: var(--purple); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; }
.policy-sec { scroll-margin-top: 110px; }
.doc-card h3 { font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; margin: 16px 0 8px; color: var(--fg); }
.doc-card a { color: var(--purple); font-weight: 600; }
.doc-card a:hover { text-decoration: underline; }
.policy-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.policy-foot .doc-page-link { text-decoration: none; }
html { scroll-behavior: smooth; }
@media (max-width: 900px) { .policy-layout { grid-template-columns: 1fr; } .policy-toc { position: static; } .policy-toc .docs-side-box { max-height: none; padding: 18px; } .policy-foot { grid-template-columns: 1fr; } }

/* ============================================
   PRICING — Coming Soon page
   ============================================ */
.pricing-soon { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 140px 24px 100px; }
.pricing-soon-inner { max-width: 720px; text-align: center; }
.pricing-soon-title { font-size: clamp(44px, 7vw, 84px); font-weight: 900; letter-spacing: -0.05em; line-height: 1.02; margin: 14px 0 20px; }
.pricing-soon-sub { font-size: 17px; color: var(--muted-2); max-width: 560px; margin: 0 auto 36px; }
.pricing-soon-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px; margin-bottom: 52px; }
.pricing-soon-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--purple); transition: gap .2s ease; }
.pricing-soon-link:hover { gap: 12px; }
.pricing-soon-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 40px; }
.pricing-badge { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 16px; border-radius: 20px; border: 1px solid var(--border); background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-md); }
.pricing-badge svg { width: 20px; height: 20px; color: var(--purple); }
.pricing-badge b { font-size: 14.5px; font-weight: 800; }
.pricing-badge small { font-size: 12.5px; color: var(--muted); }
.pricing-soon-note { font-size: 13.5px; color: var(--muted); }
.pricing-soon-note a { color: var(--purple); font-weight: 700; }
.pricing-soon-note a:hover { text-decoration: underline; }
@media (max-width: 640px) {
    .pricing-soon-badges { grid-template-columns: 1fr; }
    .pricing-soon-actions { flex-direction: column; gap: 16px; }
}

/* ============================================
   RESPONSIVE + A11Y
   ============================================ */
@media (max-width: 640px) {
    .dock-panel { gap: 4px; padding: 6px 10px; }
    .dock-item { width: 38px; height: 38px; }
    .hero-hint { display: none; }
    .cf-marquee { top: 36px; }
    .cf-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
button:focus:not(:focus-visible), a:focus:not(:focus-visible) { outline: none; }
