/* ICDSoft Studio landing — ICDSoft blue + Open Sans, with a night-console twist */
:root {
  --blue: #1273d1;
  --blue-d: #0d5cab;
  --indigo: #444ce7;
  --violet: #6423f5;
  --violet-l: #8b5cf6;
  --night: #0b1530;
  --night-2: #101d3f;
  --ink: #142033;
  --muted: #5b6678;
  --line: #e3e8f0;
  --soft: #f4f7fb;
  --warm: #fbf7f1;
  --ok: #16a34a;
  --display: 'Space Grotesk', 'Open Sans', sans-serif;
  --body: 'Open Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --r: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { font-family: var(--body); color: var(--ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 18px; }
h3 { font-size: 21px; margin-bottom: 10px; }
.lead { font-size: 18px; color: var(--muted); max-width: 60ch; }
.dark .lead { color: #b8c3dc; }
b { font-weight: 700; }

/* ── Sections & surfaces ── */
section { position: relative; padding: 110px 0; }
.dark { background: var(--night); color: #eef2fb; overflow: hidden; }
.light { background: #fff; }
.light.alt { background: var(--soft); }
.warm { background: var(--warm); }
.section-head { text-align: center; max-width: 760px; margin-bottom: 56px; }
.section-head.left { text-align: left; margin-inline: 0; }
.section-head p { color: var(--muted); font-size: 18px; }
.kicker { display: inline-block; font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.kicker::before { content: '// '; opacity: .55; }
.dark .kicker { color: #7fb4ff; }
h2 em { font-style: normal; background: linear-gradient(90deg, var(--blue), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.aurora { position: absolute; inset: 0; pointer-events: none; filter: blur(70px); opacity: .7; }
.aurora i { position: absolute; border-radius: 50%; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 560px; height: 560px; left: -140px; top: -180px; background: radial-gradient(circle, rgba(18,115,209,.75), transparent 65%); }
.aurora i:nth-child(2) { width: 520px; height: 520px; right: -160px; top: 10%; background: radial-gradient(circle, rgba(100,35,245,.6), transparent 65%); animation-duration: 22s; }
.aurora i:nth-child(3) { width: 420px; height: 420px; left: 35%; bottom: -220px; background: radial-gradient(circle, rgba(68,76,231,.55), transparent 65%); animation-duration: 26s; }
.aurora.soft { opacity: .45; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }
.grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); }
.paused, .paused * { animation-play-state: paused !important; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; background: var(--blue); color: #fff; border-radius: 9px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform .2s, background .2s, box-shadow .2s; }
.btn:hover { background: var(--blue-d); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(18,115,209,.35); }
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(4px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.25); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); box-shadow: none; }
.btn-white { background: #fff; color: var(--night); }
.btn-white:hover { background: #eaf2fd; box-shadow: 0 10px 30px rgba(0,0,0,.3); }

/* ── Nav ── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11,21,48,.95); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.07); color: #fff; }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--violet)); font-size: 16px; color: #fff; }
.logo-text { font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.logo-text b { font-weight: 700; background: linear-gradient(90deg, #6fb0ff, #b79bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 14.5px; font-weight: 600; color: #c4cee4; transition: color .2s; }
.nav-links a:hover { color: #fff; }

/* ── Hero ── */
.hero { padding: 90px 0 80px; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-size: 13.5px; font-weight: 600; color: #d6def0; margin-bottom: 24px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.hero h1 { font-size: clamp(54px, 8vw, 104px); font-weight: 700; margin-bottom: 26px; letter-spacing: -.035em; }
.grad { background: linear-gradient(95deg, #4c9dff 0%, #8b7bff 50%, #b48cff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 22px; }
.hero-note { font-size: 14px; color: #8f9bb8; }
.hero-note a { color: #9cc6ff; }

/* Studio window */
.studio, .chat { background: rgba(16,29,63,.82); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; box-shadow: 0 40px 90px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06); backdrop-filter: blur(10px); overflow: hidden; }
.studio { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .6s; }
.studio:hover { transform: none; }
.studio-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); font-family: var(--mono); font-size: 12px; color: #8f9bb8; }
.studio-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.studio-bar i:nth-child(2) { background: #febc2e; }
.studio-bar i:nth-child(3) { background: #28c840; }
.studio-bar span { margin-left: 10px; }
.studio-body { padding: 20px; }
.prompt { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 12px 14px; min-height: 84px; }
.prompt-who { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7fb4ff; }
.prompt p { font-family: var(--mono); font-size: 14px; color: #e8edf8; margin-top: 4px; }
.caret { display: inline-block; width: 8px; height: 1.1em; background: #7fb4ff; vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.agent-line { display: flex; align-items: center; gap: 10px; margin: 14px 2px; font-size: 13px; color: #b8c3dc; font-family: var(--mono); min-height: 20px; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #8b7bff; animation: bob 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes bob { 0%, 80%, 100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-4px); opacity: 1; } }
.agent-line.done .dots { display: none; }
.agent-line.done::before { content: '✓'; color: #34d399; font-weight: 700; }

/* Mini website mock that assembles itself */
.mock { --acc: var(--blue); position: relative; background: #fff; border-radius: 10px; overflow: hidden; color: var(--ink); }
.mock-url { display: flex; align-items: center; gap: 8px; padding: 7px 12px; background: #eef1f6; font-family: var(--mono); font-size: 11.5px; color: #6b7280; }
.lock { width: 9px; height: 9px; border-radius: 2px; background: #9aa5b4; }
.mock-page { padding: 12px; display: grid; gap: 10px; min-height: 270px; }
.m { opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .5s, transform .5s cubic-bezier(.2,.8,.2,1); }
.m.on { opacity: 1; transform: none; }
.m-nav { display: flex; align-items: center; gap: 10px; }
.m-nav b { width: 46px; height: 10px; border-radius: 4px; background: var(--acc); transition: background .6s; }
.m-nav span { width: 26px; height: 6px; border-radius: 3px; background: #dbe1ea; }
.m-nav span:first-of-type { margin-left: auto; }
.m-hero { border-radius: 8px; padding: 18px 16px; background: linear-gradient(120deg, var(--acc), color-mix(in srgb, var(--acc) 55%, #6423f5)); color: #fff; display: grid; gap: 7px; transition: background .6s; }
.m-title { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.15; min-height: 21px; }
.m-line { height: 6px; border-radius: 3px; background: rgba(255,255,255,.55); width: 80%; }
.m-line.short { width: 55%; }
.m-btn { width: 68px; height: 16px; border-radius: 5px; background: #fff; margin-top: 4px; }
.m-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-feats span { height: 42px; border-radius: 7px; background: var(--soft); border: 1px solid var(--line); position: relative; }
.m-feats span::before { content: ''; position: absolute; left: 8px; top: 8px; width: 12px; height: 12px; border-radius: 4px; background: var(--acc); opacity: .8; transition: background .6s; }
.m-split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; }
.m-img { height: 54px; border-radius: 7px; background: linear-gradient(135deg, #dbe7f8, #e9defd); }
.m-txt { display: grid; gap: 6px; align-content: center; }
.m-txt i { height: 6px; border-radius: 3px; background: #dbe1ea; }
.m-txt i:nth-child(2) { width: 80%; }
.m-txt i:nth-child(3) { width: 60%; }
.m-foot { height: 22px; border-radius: 6px; background: var(--night); }
.mock-live { position: absolute; right: 12px; top: 40px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--ok); color: #fff; font-size: 12px; font-weight: 700; opacity: 0; transform: scale(.6); transition: opacity .35s, transform .45s cubic-bezier(.3,1.6,.5,1); }
.mock-live.on { opacity: 1; transform: none; }

/* Key features */
.features { position: relative; list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; margin-top: 90px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r); overflow: hidden; }
.features li { background: rgba(11,21,48,.92); padding: 22px 18px; display: grid; gap: 6px; align-content: start; transition: background .3s; }
.features li:hover { background: rgba(18,115,209,.16); }
.features svg { font-size: 22px; color: #7fb4ff; margin-bottom: 6px; }
.features b { font-size: 14.5px; }
.features span { font-size: 13px; color: #97a3bf; line-height: 1.5; }

/* ── Making of (scroll replay) ── */
.making { padding-bottom: 0; }
.replay { position: relative; height: calc(var(--chapters, 6) * 85vh + 100vh); }
.replay-stage { position: sticky; top: 64px; height: calc(100vh - 64px); display: flex; align-items: center; }
.replay-grid { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center; width: min(1180px, 100% - 40px); }
.rail { list-style: none; display: grid; gap: 6px; counter-reset: ch; }
.rail li { counter-increment: ch; position: relative; padding: 12px 14px 12px 50px; border-radius: 12px; cursor: pointer; transition: background .3s, opacity .3s; opacity: .45; }
.rail li::before { content: counter(ch, decimal-leading-zero); position: absolute; left: 14px; top: 13px; font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--blue); }
.rail li::after { content: ''; position: absolute; left: 22px; top: 36px; bottom: -14px; width: 2px; background: var(--line); }
.rail li:last-child::after { display: none; }
.rail li b { display: block; font-family: var(--display); font-size: 17px; }
.rail li p { font-size: 13.5px; color: var(--muted); max-height: 0; overflow: hidden; transition: max-height .5s, margin .5s; }
.rail li.seen { opacity: .8; }
.rail li.seen::after { background: linear-gradient(var(--blue), var(--violet)); }
.rail li.active { opacity: 1; background: var(--soft); }
.rail li.active p { max-height: 120px; margin-top: 4px; }

.chat { background: var(--night); color: #e8edf8; display: flex; flex-direction: column; height: min(640px, calc(100vh - 150px)); }
.chat-body { flex: 1; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
.chat-foot { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid rgba(255,255,255,.08); }
.chat-input { flex: 1; padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,.05); color: #6f7c99; font-size: 14px; }
.replay-btn[hidden] { display: none; }
.replay-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; border: 0; background: var(--blue); color: #fff; font: 700 13.5px var(--body); cursor: pointer; }

.msg { max-width: 86%; animation: pop .45s cubic-bezier(.2,.8,.2,1) both; font-size: 14.5px; }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } }
.msg-user { align-self: flex-end; background: linear-gradient(135deg, var(--blue), var(--indigo)); padding: 12px 16px; border-radius: 16px 16px 4px 16px; }
.msg-ai { align-self: flex-start; display: flex; gap: 10px; }
.msg-ai .av { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--violet)); font-size: 14px; color: #fff; }
.msg-ai p { background: rgba(255,255,255,.07); padding: 10px 14px; border-radius: 4px 16px 16px 16px; }
.msg-tool { align-self: flex-start; margin-left: 36px; font-family: var(--mono); font-size: 12.5px; color: #9aa7c4; display: flex; align-items: center; gap: 8px; }
.msg-tool::before { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #8b7bff; border-top-color: transparent; animation: spin .8s linear infinite; }
.msg-tool.ok::before { content: '✓'; border: 0; color: #34d399; animation: none; font-weight: 700; display: grid; place-items: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.msg-code { align-self: stretch; max-width: none; margin-left: 36px; background: #060d20; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 12px 16px; font-family: var(--mono); font-size: 12.5px; color: #c5d3f0; white-space: pre-wrap; }
.msg-code div { animation: pop .35s both; }
.msg-ask { align-self: flex-start; margin-left: 36px; background: rgba(255,255,255,.05); border: 1px solid rgba(127,180,255,.3); border-radius: 12px; padding: 12px 14px; }
.msg-ask .qh { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7fb4ff; }
.msg-ask p { margin: 4px 0 10px; }
.msg-ask .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.msg-ask .opt { padding: 6px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); font-size: 13px; transition: all .35s; }
.msg-ask .opt.picked { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 4px rgba(18,115,209,.25); }
.msg-files { align-self: stretch; max-width: none; margin-left: 36px; display: grid; gap: 6px; }
.msg-files div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,.05); font-family: var(--mono); font-size: 12.5px; animation: pop .4s both; }
.msg-files div span { color: #7f8aa6; }
.msg-files div b { color: #9cc6ff; font-weight: 600; }
.msg-files div b::before { content: '+ '; color: #34d399; }
.msg-done { align-self: center; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: rgba(22,163,74,.16); border: 1px solid rgba(52,211,153,.5); color: #a7f3d0; font-weight: 700; margin-top: 6px; }
.msg-done svg { color: #34d399; font-size: 18px; }
.chapter-tag { align-self: center; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #5f6c8b; padding: 6px 0; animation: pop .4s both; }

/* ── How it works ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; transition: transform .3s, box-shadow .3s; }
.step:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(20,32,51,.1); }
.step:nth-child(even) { margin-top: 36px; }
.step-n { font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--blue); }
.step h3 { margin-top: 6px; }
.step p { font-size: 15px; color: var(--muted); }
.step p b { color: var(--ink); }
.step-art { height: 120px; border-radius: 10px; background: var(--night); margin-bottom: 20px; position: relative; overflow: hidden; display: grid; place-items: center; }
.art-describe .bubble { position: absolute; left: 18px; top: 22px; display: flex; gap: 5px; padding: 12px 14px; border-radius: 12px 12px 12px 3px; background: var(--blue); animation: float 3s ease-in-out infinite; }
.art-describe .bubble i { width: 34px; height: 7px; border-radius: 4px; background: rgba(255,255,255,.7); }
.art-describe .bubble.b2 { left: auto; right: 18px; top: 66px; background: rgba(255,255,255,.12); border-radius: 12px 12px 3px 12px; animation-delay: -1.5s; }
@keyframes float { 50% { transform: translateY(-6px); } }
.art-clarify { gap: 8px; align-content: center; grid-auto-flow: row; }
.art-clarify .q { width: 140px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.35); }
.art-clarify .opt { font-family: var(--mono); font-size: 11.5px; color: #c5d3f0; padding: 5px 12px; border-radius: 7px; border: 1px solid rgba(255,255,255,.2); width: 140px; text-align: center; }
.art-clarify .opt.on { animation: pick 3s infinite; }
@keyframes pick { 0%, 30% { background: transparent; } 45%, 100% { background: var(--blue); border-color: var(--blue); color: #fff; } }
.art-build { grid-template-columns: repeat(5, 16px); gap: 8px; align-items: end; padding-bottom: 26px; }
.art-build span { width: 16px; border-radius: 4px 4px 2px 2px; background: linear-gradient(var(--violet-l), var(--blue)); animation: grow 2.4s ease-in-out infinite; }
.art-build span:nth-child(2) { animation-delay: .2s; } .art-build span:nth-child(3) { animation-delay: .4s; } .art-build span:nth-child(4) { animation-delay: .6s; } .art-build span:nth-child(5) { animation-delay: .8s; }
@keyframes grow { 0% { height: 8px; } 50% { height: 66px; } 100% { height: 8px; } }
.art-launch svg { position: relative; z-index: 1; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--ok); color: #fff; stroke-width: 3; }
.art-launch .ring { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 2px solid #34d399; animation: ring 2.4s ease-out infinite; }
.art-launch .ring.r2 { animation-delay: 1.2s; }
@keyframes ring { to { transform: scale(2.6); opacity: 0; } }

/* ── AI ── */
.ai-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.caps { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 30px; }
.caps li { display: flex; gap: 10px; font-size: 15px; color: #d6def0; }
.caps svg { color: #34d399; margin-top: 4px; }
.stream { position: relative; height: 380px; }
.net { width: 100%; height: 100%; stroke: none; }
.net .links path { stroke: url(#g-line); stroke-width: 1.2; opacity: .35; fill: none; }
.net .links path.flow { opacity: .9; stroke-dasharray: 6 14; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -40; } }
.net .nodes circle { fill: #0b1530; stroke: #7fb4ff; stroke-width: 2; }
.net .nodes circle.hot { fill: #8b7bff; stroke: #c4b5fd; animation: glow 2s ease-in-out infinite; }
@keyframes glow { 50% { opacity: .5; } }
.tokens { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.tokens span { position: absolute; font-family: var(--mono); font-size: 12px; padding: 4px 9px; border-radius: 6px; background: rgba(18,115,209,.2); border: 1px solid rgba(127,180,255,.3); color: #c5d3f0; white-space: nowrap; animation: rise 5s linear forwards; }
@keyframes rise { from { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } to { transform: translateY(-260px); opacity: 0; } }

/* ── Infrastructure ── */
.infra-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.globe { stroke: none; width: 100%; height: auto; max-width: 440px; display: block; margin: auto; overflow: visible; }
.globe .spin { transform-origin: 200px 200px; animation: squash 8s ease-in-out infinite alternate; }
.globe .s2 { animation-delay: -2.6s; } .globe .s3 { animation-delay: -5.2s; }
@keyframes squash { from { transform: scaleX(.2); } to { transform: scaleX(1); } }
.globe .arcs path { stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 3.5s ease-in-out infinite; }
.globe .arcs path:nth-child(2) { animation-delay: .9s; } .globe .arcs path:nth-child(3) { animation-delay: 1.8s; }
@keyframes draw { 50% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -300; } }
.globe .pins circle { fill: var(--blue); }
.globe .pins .halo { fill: var(--blue); opacity: .3; transform-box: fill-box; transform-origin: center; animation: halo 2.4s ease-out infinite; }
.globe .pins .d2 { animation-delay: .8s; } .globe .pins .d3 { animation-delay: 1.6s; }
@keyframes halo { from { transform: scale(.4); opacity: .6; } to { transform: scale(2); opacity: 0; } }
.globe text { font: 700 13px var(--body); fill: var(--ink); text-anchor: middle; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.stats.compact { grid-template-columns: repeat(3, 1fr); }
.stat { padding: 18px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }
.warm .stat { background: #fff; }
.stat b { display: block; font-family: var(--display); font-size: 30px; color: var(--blue); letter-spacing: -.02em; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); }

/* ── People ── */
.people-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.ticket { background: #fff; border: 1px solid #eadfcf; border-radius: 18px; padding: 26px; box-shadow: 0 30px 60px rgba(120,90,40,.1); display: grid; gap: 14px; transform: rotate(1.2deg); }
.t-row { display: flex; gap: 12px; align-items: flex-start; opacity: 0; transform: translateY(10px); transition: all .5s; }
.ticket.in .t-row { opacity: 1; transform: none; }
.ticket.in .t-row:nth-child(2) { transition-delay: .7s; }
.ticket.in .t-row:nth-child(3) { transition-delay: 1.4s; }
.t-time { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 9px; }
.t-row p { padding: 10px 14px; border-radius: 12px; font-size: 14.5px; background: var(--soft); }
.t-team p { background: #e8f1fc; border: 1px solid #c9dcf4; }
.t-team p::before { content: 'ICDSoft Support'; display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.t-badge { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #dcfce7; color: #166534; font-weight: 700; font-size: 13.5px; opacity: 0; transition: opacity .5s 2.1s; }
.ticket.in .t-badge { opacity: 1; }

/* ── Ideas marquee ── */
.ideas { padding-bottom: 120px; }
.marquee { overflow: hidden; display: grid; gap: 14px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 14px; width: max-content; animation: scroll 60s linear infinite; }
.track[data-dir="-1"] { animation-direction: reverse; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.track span { font-family: var(--mono); font-size: 14.5px; padding: 14px 20px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); white-space: nowrap; transition: all .25s; }
.track span:hover { background: var(--night); color: #fff; border-color: var(--night); transform: translateY(-3px); }

/* ── CTA ── */
.cta { text-align: center; }
.cta-in { position: relative; display: grid; justify-items: center; gap: 18px; }
.cta h2 { font-size: clamp(36px, 5vw, 60px); margin: 0; }
.cta p { color: #b8c3dc; font-size: 18px; }
.cta-prompt { width: min(620px, 100%); text-align: left; padding: 16px 20px; margin: 12px 0 10px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); font-family: var(--mono); font-size: 15px; min-height: 56px; }
.cta-caret { color: #7fb4ff; margin-right: 10px; }

/* ── FAQ ── */
.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: box-shadow .3s, border-color .3s; }
details[open] { border-color: #c9dcf4; box-shadow: 0 12px 30px rgba(18,115,209,.08); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 700; font-size: 16px; }
summary::-webkit-details-marker { display: none; }
summary svg { color: var(--blue); font-size: 18px; transition: transform .3s; }
details[open] summary svg { transform: rotate(45deg); }
details p { padding: 0 20px 18px; color: var(--muted); }

/* ── Footer ── */
.footer { padding: 70px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid p { color: #8f9bb8; font-size: 14px; margin-top: 14px; max-width: 32ch; }
.foot-grid h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #7fb4ff; margin-bottom: 12px; }
.foot-grid a:not(.logo) { display: block; color: #c4cee4; text-decoration: none; font-size: 14.5px; margin-bottom: 8px; }
.foot-grid a:not(.logo):hover { color: #fff; }
.foot-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #6f7c99; }

/* ── Reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.steps .reveal:nth-child(2) { transition-delay: .1s; } .steps .reveal:nth-child(3) { transition-delay: .2s; } .steps .reveal:nth-child(4) { transition-delay: .3s; }

/* ── Responsive ── */
@media (max-width: 1020px) {
  .hero-in, .ai-grid, .infra-grid, .people-grid, .faq-in { grid-template-columns: 1fr; gap: 44px; }
  .studio { transform: none; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(even) { margin-top: 0; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .replay { height: auto; }
  .replay-stage { position: static; height: auto; display: block; padding-bottom: 80px; }
  .replay-grid { grid-template-columns: 1fr; gap: 20px; }
  .rail { display: none; }
  .chat { height: auto; }
  .chat-body { overflow: visible; min-height: 420px; }
}
@media (max-width: 600px) {
  section { padding: 76px 0; }
  .features { grid-template-columns: 1fr 1fr; margin-top: 60px; }
  .steps, .caps, .stats.compact { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .msg { max-width: 100%; }
  .msg-tool, .msg-code, .msg-ask, .msg-files { margin-left: 0; }
  .cta-prompt { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
