/* ChronoVoice landing page */
:root {
  --bg: #f7f7fb; --bg-alt: #eeeef6; --surface: #fff; --surface-2: #f2f2f8; --border: #e2e2ec;
  --text: #12142a; --text-2: #4b4f6b; --text-3: #7c809c;
  --accent: #4b4ff0; --accent-2: #6d5ff5; --accent-soft: #e8e8fe; --accent-text: #3a3ed6;
  --warm: #e8891f; --warm-soft: #fff1de; --ok: #18a058; --ok-soft: #e1f6ea;
  --info: #2b7fd6; --info-soft: #e3f1fd; --danger: #e0475b; --danger-soft: #fde8eb;
  --shadow: 0 1px 2px rgba(18,20,42,.05), 0 12px 32px -12px rgba(18,20,42,.18);
  --shadow-lg: 0 2px 4px rgba(18,20,42,.05), 0 32px 64px -24px rgba(30,32,90,.35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0d1a; --bg-alt: #11132a; --surface: #161831; --surface-2: #1d203d; --border: #2a2d4f;
    --text: #eceefe; --text-2: #b4b7d6; --text-3: #8286ab;
    --accent: #7c7ffb; --accent-2: #9a86ff; --accent-soft: #24275a; --accent-text: #a9abff;
    --warm: #f6ad55; --warm-soft: #3a2a16; --ok: #3fcf83; --ok-soft: #133426;
    --info: #64aef5; --info-soft: #14304d; --danger: #ff6b7d; --danger-soft: #3d1a22;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 32px 64px -24px rgba(0,0,0,.8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c0d1a; --bg-alt: #11132a; --surface: #161831; --surface-2: #1d203d; --border: #2a2d4f;
  --text: #eceefe; --text-2: #b4b7d6; --text-3: #8286ab;
  --accent: #7c7ffb; --accent-2: #9a86ff; --accent-soft: #24275a; --accent-text: #a9abff;
  --warm: #f6ad55; --warm-soft: #3a2a16; --ok: #3fcf83; --ok-soft: #133426;
  --info: #64aef5; --info-soft: #14304d; --danger: #ff6b7d; --danger-soft: #3d1a22;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 32px 64px -24px rgba(0,0,0,.8);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--accent-text); text-decoration: none; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.15; margin: 0; }
p { margin: 0; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 600 15px/1 var(--font); white-space: nowrap; transition: transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 8px 20px -8px var(--accent); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 700 18px var(--display); letter-spacing: -.02em; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--text-2); font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.icon-btn { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); display: grid; place-items: center; cursor: pointer; }
@media (max-width: 760px) { .nav-links { display: none; } }

.hero { position: relative; padding: 72px 0 80px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -160px -10% auto; height: 680px; pointer-events: none;
  background: radial-gradient(560px 300px at 15% 30%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%),
              radial-gradient(480px 280px at 85% 15%, color-mix(in srgb, var(--warm) 16%, transparent), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-grid > * { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero h1 { font-size: clamp(36px, 5.4vw, 62px); font-weight: 800; margin: 20px 0 18px; }
.grad { background: linear-gradient(120deg, var(--accent) 10%, var(--accent-2) 50%, var(--warm) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.8vw, 19px); color: var(--text-2); max-width: 560px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

.hero-visual { position: relative; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.panel-h { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 14px; }
.panel-h b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dot-row { display: flex; gap: 5px; }
.dot-row i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.tag { font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 99px; white-space: nowrap; }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.md { background: var(--warm-soft); color: var(--warm); }
.tag.lo { background: var(--info-soft); color: var(--info); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border-bottom: 1px solid var(--border); }
.kpis div { background: var(--surface); padding: 14px 18px; }
.kpis b { display: block; font: 800 22px var(--display); }
.kpis span { color: var(--text-3); font-size: 12.5px; }
.progress { height: 6px; margin: 16px 18px 4px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.calls { list-style: none; margin: 0; padding: 8px 10px 12px; }
.calls li { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 10px; }
.calls li + li { border-top: 1px solid var(--border); }
.calls li div { flex: 1; min-width: 0; }
.calls b { display: block; font-size: 14px; }
.calls small { color: var(--text-3); font: 500 12px var(--mono); }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; flex: none; }
.a1 { background: #6366f1; } .a2 { background: #f59e0b; } .a3 { background: #10b981; }
.hero-visual { padding-bottom: 72px; }
.float-card { position: absolute; left: -36px; bottom: 0; width: 300px; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); font-size: 13px; animation: bob 7s ease-in-out infinite; }
.float-card b { display: block; margin-bottom: 2px; }
.float-card p { color: var(--text-2); line-height: 1.45; }
.wave { display: flex; align-items: center; gap: 3px; height: 34px; flex: none; }
.wave i { width: 3px; border-radius: 3px; background: var(--accent); animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(odd) { animation-delay: -.4s; } .wave i:nth-child(3n) { animation-delay: -.8s; }
.wave i:nth-child(1), .wave i:nth-child(10) { height: 30%; } .wave i:nth-child(2), .wave i:nth-child(9) { height: 55%; }
.wave i:nth-child(3), .wave i:nth-child(8) { height: 80%; } .wave i:nth-child(4), .wave i:nth-child(7) { height: 100%; } .wave i:nth-child(5), .wave i:nth-child(6) { height: 65%; }
@keyframes wave { 50% { transform: scaleY(.45); } }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .wave i, .float-card, .live-dot { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-visual { padding-bottom: 0; }
  .float-card { position: static; width: auto; margin-top: 14px; animation: none; }
}

.block { padding: 88px 0; }
.block.alt { background: var(--bg-alt); }
@media (max-width: 640px) { .block { padding: 64px 0; } }
.sec-head { max-width: 680px; margin-bottom: 40px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 12px; }
.sec-head h2, .results h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps li { position: relative; padding: 26px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.step-n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; margin-bottom: 16px; font: 800 17px var(--display); color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.steps h3, .fcard h3 { font-size: 19px; margin-bottom: 8px; }
.steps p, .fcard p { color: var(--text-2); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fcard { padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); transition: transform .2s, box-shadow .2s; }
.fcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: var(--accent-soft); color: var(--accent-text); }
.ic.w { background: var(--warm-soft); color: var(--warm); } .ic.g { background: var(--ok-soft); color: var(--ok); }
.ic.b { background: var(--info-soft); color: var(--info); } .ic.r { background: var(--danger-soft); color: var(--danger); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

.results { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.results .lead { margin: 16px 0 24px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--text-2); }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--ok); background: var(--ok-soft); }
.ticks b { color: var(--text); }
.cta-card { padding: 32px; border-radius: 22px; color: #fff; background: radial-gradient(400px 200px at 20% 0%, rgba(255,255,255,.18), transparent 70%), linear-gradient(135deg, #3237c9, #6d5ff5 60%, #b9649d); }
.cta-card h3 { font-size: 24px; margin-bottom: 8px; }
.cta-card p { opacity: .9; margin-bottom: 22px; }
.cta-card .btn-primary { background: #fff; color: #2b2fb8; box-shadow: none; }
@media (max-width: 860px) { .results { grid-template-columns: 1fr; } }

footer { border-top: 1px solid var(--border); padding: 28px 0 36px; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--text-3); font-size: 13px; }
.foot .brand { font-size: 16px; }
.foot .brand-mark { width: 28px; height: 28px; }

/* 404 */
.nf { min-height: calc(100vh - 66px - 90px); display: grid; place-items: center; text-align: center; padding: 64px 0; }
.nf-code { font: 800 clamp(84px, 14vw, 140px)/1 var(--display); letter-spacing: -.05em; margin-bottom: 8px; }
.nf h1 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 12px; }
.nf .lead { margin: 0 auto; }
.nf .hero-ctas { justify-content: center; }

@media (max-width: 480px) {
  .kpis div { padding: 12px; }
  .kpis b { font-size: 18px; }
  .panel-h { padding: 12px 14px; }
  .dot-row { display: none; }
}
