/* ============ PASSTHROUGH — style.css ============ */
:root {
  --bg: #05060f;
  --bg-2: #090b1a;
  --bg-3: #0d1024;
  --ink: #eaf0ff;
  --muted: #8b93b8;
  --cyan: #22d3ee;
  --magenta: #ff2bd6;
  --violet: #7c3aed;
  --grad: linear-gradient(92deg, #22d3ee 0%, #7c3aed 55%, #ff2bd6 100%);
  --grad-2: linear-gradient(92deg, #ff2bd6, #22d3ee);
  --font-display: "Unbounded", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(34, 211, 238, .35); }

a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  transition: opacity .6s var(--ease), visibility .6s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 62px; height: 62px; border-radius: 50%;
  border: 3px solid rgba(34, 211, 238, .15);
  border-top-color: var(--cyan);
  border-right-color: var(--magenta);
  animation: spin 1s linear infinite;
}
.loader-word {
  font-family: var(--font-display); font-weight: 800; font-size: 13px;
  letter-spacing: .55em; text-indent: .55em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: pulseWord 1.6s var(--ease) infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulseWord { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad); z-index: 999;
  box-shadow: 0 0 12px rgba(124, 58, 237, .8);
}

/* ---------- Cursor glow ---------- */
.cursor-glow {
  position: fixed; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, .12) 0%, rgba(34, 211, 238, .06) 40%, transparent 70%);
  pointer-events: none; z-index: 1;
  transform: translate(-50%, -50%);
  left: 50vw; top: 50vh;
  transition: opacity .4s;
}
@media (pointer: coarse) { .cursor-glow { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 6, 15, .72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(139, 147, 184, .12);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 18px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  border: 3px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--grad) border-box;
  position: relative;
}
.logo-mark::after {
  content: ""; position: absolute; inset: 7px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(34, 211, 238, .7);
}
.logo-word {
  font-family: var(--font-display); font-weight: 800; font-size: 14px;
  letter-spacing: .28em;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--muted);
  letter-spacing: .04em;
  position: relative;
  transition: color .3s;
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--grad);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

.burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; position: relative; z-index: 120;
}
.burger span {
  display: block; width: 24px; height: 2px; background: var(--ink);
  margin: 6px auto; border-radius: 2px;
  transition: transform .35s var(--ease), opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 15px 32px; border-radius: 14px;
  cursor: pointer; border: 0;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s, border-color .3s;
  will-change: transform;
}
.btn-primary {
  color: #05060f;
  background: linear-gradient(92deg, #22d3ee, #7c3aed 60%, #ff2bd6);
  background-size: 160% 100%;
  box-shadow: 0 8px 30px rgba(34, 211, 238, .25), 0 4px 18px rgba(255, 43, 214, .18);
}
.btn-primary:hover {
  background-position: 100% 0;
  box-shadow: 0 10px 40px rgba(124, 58, 237, .45), 0 6px 24px rgba(255, 43, 214, .3);
}
.btn-ghost {
  color: var(--ink);
  background: rgba(234, 240, 255, .04);
  border: 1px solid rgba(139, 147, 184, .3);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--cyan); background: rgba(34, 211, 238, .08); }
.btn-sm { padding: 10px 22px; font-size: 13.5px; border-radius: 11px; }
.btn-wide { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 78% 30%, rgba(124, 58, 237, .16), transparent 60%),
    radial-gradient(900px 500px at 15% 75%, rgba(34, 211, 238, .1), transparent 60%),
    var(--bg);
}
#heroCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0;
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(90px);
  opacity: .5; pointer-events: none; z-index: 0;
  will-change: transform;
}
.orb1 { width: 420px; height: 420px; background: rgba(124, 58, 237, .35); top: -120px; right: -80px; }
.orb2 { width: 340px; height: 340px; background: rgba(34, 211, 238, .22); bottom: -60px; left: -100px; }
.orb3 { width: 220px; height: 220px; background: rgba(255, 43, 214, .2); top: 45%; left: 55%; }

.hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 140px 28px 110px;
  width: 100%;
}

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .22em;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, .3);
  background: rgba(34, 211, 238, .06);
  padding: 9px 18px; border-radius: 100px;
  margin-bottom: 30px;
  backdrop-filter: blur(6px);
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6.4vw, 5.2rem);
  line-height: 1.06;
  letter-spacing: -.01em;
  margin-bottom: 26px;
  text-shadow: 0 0 80px rgba(124, 58, 237, .35);
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad-2 {
  background: var(--grad-2);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.rot-line {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 500;
  margin-bottom: 18px;
}
.rot-label { color: var(--muted); }
.rot-words { color: var(--cyan); font-weight: 600; }
.rot-words span { display: inline-block; }
.rot-words .swap-out { animation: rotOut .3s var(--ease) forwards; }
.rot-words .swap-in { animation: rotIn .45s var(--ease) forwards; }
@keyframes rotOut { to { opacity: 0; transform: translateY(-12px); } }
@keyframes rotIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.hero-sub {
  max-width: 620px; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.13rem);
  margin-bottom: 38px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: flex; gap: clamp(24px, 5vw, 64px); flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(139, 147, 184, .15);
}
.stat b {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: 13px; color: var(--muted); letter-spacing: .06em; }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.mouse {
  width: 24px; height: 38px; border: 2px solid rgba(139, 147, 184, .5);
  border-radius: 14px; display: flex; justify-content: center; padding-top: 6px;
}
.wheel {
  width: 3px; height: 7px; border-radius: 3px; background: var(--cyan);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid rgba(139, 147, 184, .12);
  border-bottom: 1px solid rgba(139, 147, 184, .12);
  background: rgba(9, 11, 26, .6);
  padding: 18px 0;
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 34px;
  animation: mq 36s linear infinite;
  will-change: transform;
}
.marquee-rev .marquee-track { animation-direction: reverse; animation-duration: 44s; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: .3em; color: var(--muted);
}
.marquee-track i { font-style: normal; color: var(--violet); font-size: 11px; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.sec { position: relative; padding: 120px 0; }
.sec-alt {
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(124, 58, 237, .07), transparent 60%),
    var(--bg-2);
  border-top: 1px solid rgba(139, 147, 184, .08);
  border-bottom: 1px solid rgba(139, 147, 184, .08);
}
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

.sec-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.sec-head.left { text-align: left; margin: 0 0 40px; }
.kicker {
  font-size: 12px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 18px;
}
.sec-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 4.6vw, 3.4rem); line-height: 1.12;
  margin-bottom: 22px;
}
.sec-lead { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.1rem); }

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].in { opacity: 1; transform: translateY(0); }

/* ---------- Studio stats ---------- */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 72px;
}
.stat-card {
  background: linear-gradient(160deg, rgba(234, 240, 255, .045), rgba(234, 240, 255, .015));
  border: 1px solid rgba(139, 147, 184, .14);
  border-radius: 20px; padding: 30px 26px;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, .4);
  box-shadow: 0 20px 50px rgba(5, 6, 15, .6), 0 0 0 1px rgba(34, 211, 238, .12);
}
.stat-card b {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 10px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-card span { color: var(--muted); font-size: 14px; line-height: 1.5; display: block; }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat {
  border: 1px solid rgba(139, 147, 184, .14);
  border-radius: 20px; padding: 34px 28px;
  background: rgba(9, 11, 26, .5);
  transition: transform .35s var(--ease), border-color .35s;
}
.feat:hover { transform: translateY(-6px); border-color: rgba(255, 43, 214, .35); }
.feat-ico { font-size: 34px; margin-bottom: 18px; filter: drop-shadow(0 0 14px rgba(34, 211, 238, .5)); }
.feat h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-bottom: 12px; }
.feat p { color: var(--muted); font-size: 15px; }

/* ---------- Projects ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.proj {
  border: 1px solid rgba(139, 147, 184, .14);
  border-radius: 24px; overflow: hidden;
  background: rgba(5, 6, 15, .6);
  transform-style: preserve-3d;
  transition: border-color .35s, box-shadow .35s;
  will-change: transform;
}
.proj:hover {
  border-color: rgba(34, 211, 238, .45);
  box-shadow: 0 30px 80px rgba(5, 6, 15, .8), 0 0 60px rgba(124, 58, 237, .18);
}
.proj-cover { position: relative; aspect-ratio: 5 / 3; overflow: hidden; }
.proj-cover svg { width: 100%; height: 100%; transition: transform .8s var(--ease); }
.proj:hover .proj-cover svg { transform: scale(1.06); }
.proj-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 6, 15, .85));
}
.pill {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 100px;
  backdrop-filter: blur(8px);
}
.pill-cyan { color: var(--cyan); border: 1px solid rgba(34, 211, 238, .5); background: rgba(34, 211, 238, .1); }
.pill-violet { color: #c4a2ff; border: 1px solid rgba(124, 58, 237, .6); background: rgba(124, 58, 237, .16); }

.proj-body { padding: 26px 26px 28px; }
.proj-body h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin-bottom: 10px; }
.proj-body p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }

.bar {
  height: 7px; border-radius: 100px;
  background: rgba(139, 147, 184, .15);
  overflow: hidden; margin-bottom: 16px;
}
.bar i {
  display: block; height: 100%; width: 0;
  background: var(--grad);
  border-radius: 100px;
  box-shadow: 0 0 12px rgba(34, 211, 238, .6);
  transition: width 1.4s var(--ease) .2s;
}
.proj.in .bar i { width: var(--w); }

.proj-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 12px; font-weight: 500; color: var(--muted);
  border: 1px solid rgba(139, 147, 184, .22);
  padding: 5px 12px; border-radius: 100px;
  background: rgba(234, 240, 255, .03);
  transition: color .3s, border-color .3s;
}
.chip:first-child { color: var(--cyan); border-color: rgba(34, 211, 238, .4); }

/* ---------- AI split ---------- */
.ai-split {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
}
.ai-list { display: flex; flex-direction: column; gap: 14px; }
.ai-feat {
  display: flex; gap: 18px; align-items: flex-start;
  border: 1px solid rgba(139, 147, 184, .14);
  background: rgba(9, 11, 26, .45);
  border-radius: 18px; padding: 22px 24px;
  transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.ai-feat:hover {
  transform: translateX(8px);
  border-color: rgba(34, 211, 238, .4);
  background: rgba(9, 11, 26, .8);
}
.ai-ico { font-size: 26px; line-height: 1.3; filter: drop-shadow(0 0 10px rgba(255, 43, 214, .45)); }
.ai-feat h3 { font-family: var(--font-display); font-weight: 600; font-size: .98rem; margin-bottom: 6px; }
.ai-feat p { color: var(--muted); font-size: 14.5px; }

.ai-visual {
  position: relative; aspect-ratio: 1 / 1; max-width: 520px; margin: 0 auto; width: 100%;
  border-radius: 28px;
  border: 1px solid rgba(139, 147, 184, .16);
  background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, .12), rgba(5, 6, 15, .4) 70%);
  overflow: hidden;
}
#neuralCanvas { width: 100%; height: 100%; }
.f-chip {
  position: absolute;
  font-size: 12px; font-weight: 600; letter-spacing: .1em;
  padding: 8px 16px; border-radius: 100px;
  border: 1px solid rgba(34, 211, 238, .45);
  background: rgba(5, 6, 15, .65);
  color: var(--cyan);
  backdrop-filter: blur(8px);
  animation: floaty 5s ease-in-out infinite;
}
.f1 { top: 9%; left: 8%; animation-delay: 0s; }
.f2 { top: 22%; right: 7%; animation-delay: .8s; color: #ff8ae8; border-color: rgba(255, 43, 214, .5); }
.f3 { bottom: 24%; left: 6%; animation-delay: 1.6s; }
.f4 { bottom: 9%; right: 12%; animation-delay: 2.4s; color: #c4a2ff; border-color: rgba(124, 58, 237, .55); }
.f5 { top: 48%; left: 42%; animation-delay: 3.2s; color: #ff8ae8; border-color: rgba(255, 43, 214, .5); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Stack cloud ---------- */
.stack-cloud {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  max-width: 860px; margin: 0 auto;
}
.chip-lg {
  font-size: 14px; padding: 11px 22px; border-radius: 100px;
  color: var(--ink); border: 1px solid rgba(139, 147, 184, .25);
  background: rgba(234, 240, 255, .04);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  cursor: default;
}
.chip-lg:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: transparent;
  background:
    linear-gradient(rgba(9, 11, 26, .9), rgba(9, 11, 26, .9)) padding-box,
    var(--grad) border-box;
  box-shadow: 0 10px 30px rgba(124, 58, 237, .25);
}

/* ---------- Roadmap ---------- */
.timeline {
  position: relative; max-width: 720px; margin: 0 auto;
  padding-left: 30px;
}
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--violet), var(--magenta));
  border-radius: 2px;
  opacity: .5;
}
.tl-item {
  position: relative; padding: 0 0 44px 34px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: -30px; top: 5px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--violet);
  box-shadow: 0 0 14px rgba(124, 58, 237, .6);
}
.tl-item.now .tl-dot {
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(34, 211, 238, .9);
  animation: blink 2s infinite;
}
.tl-date {
  font-size: 12.5px; font-weight: 700; letter-spacing: .22em;
  color: var(--cyan); margin-bottom: 8px;
}
.tl-item.now .tl-date { color: var(--magenta); }
.tl-body {
  border: 1px solid rgba(139, 147, 184, .14);
  background: rgba(9, 11, 26, .5);
  border-radius: 18px; padding: 22px 26px;
  transition: border-color .3s, transform .3s var(--ease);
}
.tl-item.now .tl-body { border-color: rgba(34, 211, 238, .4); }
.tl-body:hover { transform: translateX(6px); }
.tl-body h3 { font-family: var(--font-display); font-weight: 600; font-size: 1rem; margin-bottom: 8px; }
.tl-body p { color: var(--muted); font-size: 15px; }

/* ---------- Contact ---------- */
.contact-split {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start;
}
form label { display: block; margin-bottom: 18px; }
form label span {
  display: block; font-size: 13px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
input, select, textarea {
  width: 100%;
  background: rgba(234, 240, 255, .035);
  border: 1px solid rgba(139, 147, 184, .25);
  border-radius: 13px;
  color: var(--ink);
  font-family: var(--font-body); font-size: 15.5px;
  padding: 14px 18px;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .12);
  background: rgba(234, 240, 255, .055);
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
select option { background: var(--bg-3); color: var(--ink); }
textarea { resize: vertical; min-height: 120px; }
::placeholder { color: rgba(139, 147, 184, .5); }
.honey { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status {
  margin-top: 16px; font-size: 14.5px; min-height: 22px;
  transition: opacity .3s;
}
.form-status.ok { color: #4ade80; }
.form-status.err { color: #fb7185; }
.form-status.sending { color: var(--cyan); }

.contact-side { display: flex; flex-direction: column; gap: 16px; }
.side-card {
  border: 1px solid rgba(139, 147, 184, .14);
  background: rgba(9, 11, 26, .5);
  border-radius: 18px; padding: 24px 26px;
  transition: transform .3s var(--ease), border-color .3s;
}
.side-card:hover { transform: translateY(-4px); border-color: rgba(255, 43, 214, .35); }
.side-ico { font-size: 26px; margin-bottom: 12px; filter: drop-shadow(0 0 10px rgba(34, 211, 238, .4)); }
.side-card h3 { font-family: var(--font-display); font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.side-card a { color: var(--cyan); font-weight: 500; }
.side-card a:hover { text-decoration: underline; }
.side-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid rgba(139, 147, 184, .12);
  padding: 44px 0;
  background: var(--bg);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 14px; transition: color .3s; }
.footer-links a:hover { color: var(--cyan); }
.footer-note { color: rgba(139, 147, 184, .55); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-split { grid-template-columns: 1fr; gap: 48px; }
  .ai-visual { max-width: 440px; }
  .contact-split { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .sec { padding: 88px 0; }
  .nav-links {
    position: fixed; inset: 0;
    background: rgba(5, 6, 15, .92);
    backdrop-filter: blur(24px);
    flex-direction: column; justify-content: center; gap: 34px;
    font-size: 22px;
    opacity: 0; visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
    z-index: 110;
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a { font-size: 20px; }
  .nav-cta { font-size: 16px !important; }
  .burger { display: block; }
  .hero-inner { padding: 120px 22px 130px; }
  .hero-stats { gap: 22px 34px; }
  .proj-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .scroll-hint { display: none; }
}

@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
