/* ============================================================
   INTELLYFT — Dark futuristic theme
   Performance rules: animate only transform & opacity,
   GPU-friendly, prefers-reduced-motion respected.
   ============================================================ */

:root {
  --bg: #05060f;
  --bg-2: #0a0c1c;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef0ff;
  --muted: #9aa0c3;
  --c1: #6c5ce7;
  --c2: #00d2ff;
  --c3: #ff4d8d;
  --grad: linear-gradient(120deg, var(--c1), var(--c2) 55%, var(--c3));
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

::selection { background: var(--c1); color: #fff; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: flex; flex-direction: column; gap: 22px;
  align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 700; letter-spacing: 0.35em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: loaderPulse 1.2s ease-in-out infinite alternate;
}
@keyframes loaderPulse { from { opacity: 0.55; } to { opacity: 1; } }
.loader-bar {
  width: min(260px, 60vw); height: 3px; border-radius: 3px;
  background: rgba(255,255,255,0.08); overflow: hidden;
}
.loader-bar span {
  display: block; height: 100%; width: 40%;
  border-radius: 3px; background: var(--grad);
  animation: loaderSlide 1s var(--ease) infinite;
}
@keyframes loaderSlide {
  from { transform: translateX(-110%); }
  to   { transform: translateX(280%); }
}

/* ---------- Background ---------- */
#bg-canvas {
  position: fixed; inset: 0; z-index: -2;
  width: 100%; height: 100%;
}
.bg-glow {
  position: fixed; z-index: -1; border-radius: 50%;
  filter: blur(110px); opacity: 0.35; pointer-events: none;
  will-change: transform;
}
.bg-glow--1 {
  width: 55vmax; height: 55vmax; top: -20vmax; left: -15vmax;
  background: radial-gradient(circle, #4631b8 0%, transparent 65%);
  animation: drift1 26s ease-in-out infinite alternate;
}
.bg-glow--2 {
  width: 50vmax; height: 50vmax; bottom: -22vmax; right: -15vmax;
  background: radial-gradient(circle, #064d6b 0%, transparent 65%);
  animation: drift2 32s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate3d(10vmax, 6vmax, 0) scale(1.1); } }
@keyframes drift2 { to { transform: translate3d(-8vmax, -6vmax, 0) scale(1.15); } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(5, 6, 15, 0.72);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.25rem; letter-spacing: 0.12em;
}
.nav-logo span {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 0.93rem; color: var(--muted); font-weight: 500;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-cta {
  padding: 9px 20px; border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text) !important;
  transition: border-color 0.3s, transform 0.3s var(--ease) !important;
}
.nav-cta:hover { border-color: var(--c2); transform: translateY(-2px); }
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px; z-index: 102;
}
.nav-burger span {
  width: 24px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  position: relative;
  max-width: 1180px; margin: 0 auto;
  padding: 120px 24px 80px;
  gap: 40px;
}
.hero-content { flex: 1.2; }
.hero-badge {
  display: inline-block; padding: 8px 18px; border-radius: 99px;
  border: 1px solid var(--border); background: var(--surface);
  font-size: 0.85rem; color: var(--muted); margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.2vw, 5rem);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .word {
  display: inline-block;
  transform: translateY(110%);
  animation: wordUp 0.9s var(--ease) forwards;
}
.line:nth-child(1) .word { animation-delay: 0.15s; }
.line:nth-child(2) .word { animation-delay: 0.3s; }
.line:nth-child(3) .word { animation-delay: 0.45s; }
@keyframes wordUp { to { transform: translateY(0); } }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
#typed-word { min-width: 1ch; }
.hero-sub {
  max-width: 560px; color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 32px; border-radius: 99px; border: 0;
  font-weight: 600; font-size: 1rem; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  will-change: transform;
}
.btn span { position: relative; z-index: 1; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 30px rgba(108, 92, 231, 0.35); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s var(--ease);
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(108, 92, 231, 0.5); }
.btn-ghost {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--c2); }
.btn-block { width: 100%; }

.hero-stats { display: flex; gap: clamp(20px, 4vw, 48px); flex-wrap: wrap; }
.hstat strong {
  display: block; font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700;
}
.hstat span { font-size: 0.82rem; color: var(--muted); }

/* Hero orbit visual */
.hero-orbit {
  flex: 1; position: relative;
  min-height: 380px;
  display: flex; align-items: center; justify-content: center;
}
.orbit-core {
  width: 110px; height: 110px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.7rem;
  background: var(--grad);
  box-shadow: 0 0 60px rgba(108, 92, 231, 0.55), 0 0 120px rgba(0, 210, 255, 0.25);
  animation: corePulse 3.2s ease-in-out infinite alternate;
}
@keyframes corePulse { to { transform: scale(1.08); } }
.orbit {
  position: absolute; top: 50%; left: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.14); border-radius: 50%;
  animation: spin linear infinite;
  will-change: transform;
}
.orbit-1 { width: 220px; height: 220px; margin: -110px 0 0 -110px; animation-duration: 14s; }
.orbit-2 { width: 320px; height: 320px; margin: -160px 0 0 -160px; animation-duration: 22s; animation-direction: reverse; }
.orbit-3 { width: 420px; height: 420px; margin: -210px 0 0 -210px; animation-duration: 30s; }
@keyframes spin { to { transform: rotate(360deg); } }
.chip {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  font-style: normal; font-size: 0.8rem; font-weight: 600;
  padding: 6px 14px; border-radius: 99px;
  background: var(--bg-2); border: 1px solid var(--border);
  white-space: nowrap;
}

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%;
  width: 26px; height: 42px; margin-left: -13px;
  border: 2px solid var(--border); border-radius: 14px;
}
.scroll-hint span {
  position: absolute; top: 8px; left: 50%; margin-left: -2px;
  width: 4px; height: 8px; border-radius: 4px; background: var(--c2);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; padding: 22px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.marquee-track {
  display: flex; gap: 38px; align-items: center;
  width: max-content;
  animation: marquee 28s linear infinite;
  will-change: transform;
}
.marquee-track span {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.1rem; color: var(--muted); white-space: nowrap;
}
.marquee-track em { color: var(--c2); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 140px) 0; position: relative; }
.section-tag {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--c2); margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: clamp(40px, 6vw, 64px);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
  will-change: transform, opacity;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- About / Mission & Vision ---------- */
.about-lead {
  max-width: 680px; color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  margin: clamp(-28px, -3vw, -40px) 0 clamp(40px, 6vw, 56px);
}
.about-lead strong { color: var(--text); font-weight: 600; }

.mv-grid {
  display: grid; gap: 26px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 26px;
}
.mv-card {
  position: relative; overflow: hidden;
  padding: clamp(32px, 4vw, 46px) clamp(26px, 3.5vw, 40px);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(108, 92, 231, 0.12), rgba(0, 210, 255, 0.04));
  border: 1px solid rgba(108, 92, 231, 0.35);
  transition: transform 0.45s var(--ease), border-color 0.4s;
  transform-style: preserve-3d;
}
.mv-card--alt {
  background: linear-gradient(160deg, rgba(0, 210, 255, 0.1), rgba(255, 77, 141, 0.05));
  border-color: rgba(0, 210, 255, 0.3);
}
.mv-card:hover { border-color: rgba(0, 210, 255, 0.55); }
.mv-orb {
  position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.35) 0%, transparent 70%);
  filter: blur(30px); pointer-events: none;
  animation: orbFloat 7s ease-in-out infinite alternate;
  will-change: transform;
}
.mv-card--alt .mv-orb {
  background: radial-gradient(circle, rgba(0, 210, 255, 0.3) 0%, transparent 70%);
}
@keyframes orbFloat { to { transform: translate3d(-24px, 24px, 0) scale(1.15); } }
.mv-icon {
  font-size: 2rem; margin-bottom: 18px;
  width: 60px; height: 60px; display: grid; place-items: center;
  border-radius: 16px; background: var(--surface-2);
  border: 1px solid var(--border);
}
.mv-label {
  display: inline-block; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c2); margin-bottom: 12px;
}
.mv-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  line-height: 1.2; margin-bottom: 16px;
}
.mv-card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 20px; }
.mv-line {
  display: block; font-family: var(--font-display); font-size: 1.02rem;
  padding-left: 14px; border-left: 3px solid transparent;
  border-image: var(--grad) 1;
}

.about-strip {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  text-align: center;
  padding: clamp(28px, 4vw, 40px) clamp(20px, 3vw, 36px);
  margin-bottom: clamp(40px, 6vw, 56px);
  border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.astat strong {
  display: block; font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.astat > span:last-child { color: var(--muted); font-size: 0.86rem; }

.values-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.value-item {
  padding: 26px 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), border-color 0.35s,
              opacity 0.8s var(--ease);
}
.value-item:hover { transform: translateY(-6px); border-color: rgba(255, 77, 141, 0.45); }
.value-icon { font-size: 1.7rem; margin-bottom: 12px; }
.value-item h4 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 8px; }
.value-item p { font-size: 0.86rem; color: var(--muted); }

/* ---------- Cards ---------- */
.cards-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.card {
  position: relative;
  padding: 36px 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.45s var(--ease), border-color 0.4s, background 0.4s;
  transform-style: preserve-3d;
}
.card:hover { border-color: rgba(0, 210, 255, 0.45); background: var(--surface-2); }
.card-featured {
  border-color: rgba(108, 92, 231, 0.5);
  background: linear-gradient(160deg, rgba(108, 92, 231, 0.12), rgba(0, 210, 255, 0.05));
}
.card-badge {
  position: absolute; top: -13px; right: 22px;
  padding: 5px 14px; font-size: 0.74rem; font-weight: 600;
  border-radius: 99px; background: var(--grad); color: #fff;
}
.card-icon {
  font-size: 2.2rem; margin-bottom: 18px;
  width: 64px; height: 64px; display: grid; place-items: center;
  border-radius: 16px; background: var(--surface-2);
  border: 1px solid var(--border);
}
.card h3 { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.card ul { list-style: none; margin-bottom: 22px; }
.card li {
  padding: 6px 0 6px 24px; position: relative;
  color: var(--muted); font-size: 0.92rem;
}
.card li::before {
  content: "✦"; position: absolute; left: 0; color: var(--c2); font-size: 0.8rem;
}
.card-link { font-weight: 600; font-size: 0.95rem; color: var(--c2); transition: opacity 0.25s; }
.card-link:hover { opacity: 0.75; }

/* ---------- Stack ---------- */
.stack-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.stack-item {
  padding: 26px 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), border-color 0.35s,
              opacity 0.8s var(--ease);
}
.stack-item:hover { transform: translateY(-6px); border-color: rgba(108, 92, 231, 0.5); }
.stack-logo { font-size: 1.9rem; margin-bottom: 10px; }
.stack-item h4 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 10px; }
.stack-item p { font-size: 0.84rem; color: var(--muted); margin-top: 10px; }
.meter {
  height: 5px; border-radius: 5px; overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}
.meter span {
  display: block; height: 100%; width: var(--w, 0%);
  border-radius: 5px; background: var(--grad);
  transform: translateX(-101%);
  transition: transform 1.4s var(--ease) 0.3s;
}
.in .meter span { transform: translateX(0); }

/* ---------- Process ---------- */
.process-track {
  position: relative;
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.process-line {
  position: absolute; top: 26px; left: 4%; right: 4%;
  height: 2px; background: rgba(255, 255, 255, 0.08);
  border-radius: 2px; overflow: hidden;
}
.process-line span {
  display: block; height: 100%; width: 100%;
  background: var(--grad);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
  transition: transform 0.2s linear;
}
.pstep { position: relative; padding-top: 64px; }
.pnum {
  position: absolute; top: 0; left: 0;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700;
  background: var(--bg-2); border: 1px solid var(--border);
  color: var(--c2);
}
.pstep h4 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 8px; }
.pstep p { font-size: 0.89rem; color: var(--muted); }

/* ---------- Work ---------- */
.work-grid {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}
.work-card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.45s var(--ease), border-color 0.4s;
}
.work-card:hover { border-color: rgba(255, 77, 141, 0.45); }
.work-visual {
  height: 190px; display: grid; place-items: center;
  font-size: 3.4rem; position: relative; overflow: hidden;
}
.work-visual span { transition: transform 0.5s var(--ease); }
.work-card:hover .work-visual span { transform: scale(1.18) rotate(-6deg); }
.wv-1 { background: linear-gradient(135deg, #2b1d63, #0c3a52); }
.wv-2 { background: linear-gradient(135deg, #44153a, #1c1452); }
.wv-3 { background: linear-gradient(135deg, #0c3d3a, #142a52); }
.wv-4 { background: linear-gradient(135deg, #3d2a0c, #321452); }
.work-body { padding: 26px; }
.work-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.work-tags i {
  font-style: normal; font-size: 0.74rem; font-weight: 600;
  padding: 4px 11px; border-radius: 99px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--muted);
}
.work-body h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 10px; }
.work-body p { color: var(--muted); font-size: 0.93rem; margin-bottom: 16px; }
.work-stat {
  font-family: var(--font-display); font-size: 1rem;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Stats band ---------- */
.band {
  padding: clamp(48px, 7vw, 72px) 0;
  background: linear-gradient(120deg, rgba(108, 92, 231, 0.14), rgba(0, 210, 255, 0.07));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.band-grid {
  display: grid; gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  text-align: center;
}
.bstat strong {
  display: block; font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700;
}
.bstat > span:last-child { color: var(--muted); font-size: 0.9rem; }

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.testi {
  padding: 32px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.45s var(--ease), border-color 0.4s;
}
.testi:hover { border-color: rgba(0, 210, 255, 0.4); }
.testi blockquote { color: var(--text); font-size: 0.99rem; margin-bottom: 22px; }
.testi figcaption { display: flex; gap: 14px; align-items: center; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 0.9rem;
  background: var(--grad); color: #fff; flex-shrink: 0;
}
.testi figcaption strong { display: block; font-size: 0.95rem; }
.testi figcaption span { font-size: 0.82rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; max-width: 860px; }
.faq-item {
  border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color 0.35s, background 0.35s,
              opacity 0.8s var(--ease), transform 0.8s var(--ease);
  overflow: hidden;
}
.faq-item:hover { border-color: rgba(108, 92, 231, 0.5); }
.faq-item[open] {
  background: var(--surface-2);
  border-color: rgba(0, 210, 255, 0.4);
}
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.02rem; line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative; flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), background 0.35s;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 12px; height: 2px; border-radius: 2px;
  background: var(--c2);
  transform: translate(-50%, -50%);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { transform: rotate(135deg); background: rgba(0, 210, 255, 0.12); }
.faq-body { padding: 0 24px; }
.faq-body p {
  color: var(--muted); font-size: 0.95rem;
  padding-bottom: 22px; max-width: 720px;
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.faq-item[open] .faq-body { animation: faqOpen 0.45s var(--ease); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; gap: clamp(40px, 6vw, 80px);
  grid-template-columns: 1fr 1.1fr;
  align-items: start;
}
.contact-copy > p { color: var(--muted); max-width: 420px; margin-bottom: 30px; }
.contact-points { display: grid; gap: 14px; }
.cpoint { color: var(--muted); font-size: 0.97rem; }
.cpoint a { color: var(--c2); }

.contact-form {
  padding: 36px 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  display: grid; gap: 20px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.frow { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.contact-form label {
  display: grid; gap: 8px;
  font-size: 0.86rem; font-weight: 600; color: var(--muted);
}
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 16px;
  border-radius: 12px; border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text); font: inherit; font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--c2);
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.15);
}
.pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  padding: 9px 18px; border-radius: 99px;
  border: 1px solid var(--border); background: transparent;
  color: var(--muted); font-size: 0.88rem; font-weight: 500;
  transition: border-color 0.3s, color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.pill:hover { transform: translateY(-2px); }
.pill.on {
  background: var(--grad); color: #fff; border-color: transparent;
}
.form-note { font-size: 0.88rem; color: var(--c2); min-height: 1.4em; margin: 0; }
.form-note.success { color: #34d399; }
.form-note.error { color: #fb7185; }

/* Per-field validation states */
.field-error {
  font-size: 0.78rem; font-weight: 500; color: #fb7185;
  min-height: 1em; line-height: 1.3;
}
.contact-form input.invalid, .contact-form textarea.invalid {
  border-color: #fb7185;
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.14);
}
.contact-form input.valid, .contact-form textarea.valid {
  border-color: rgba(52, 211, 153, 0.6);
}

/* Submit loading state */
.btn.is-loading { opacity: 0.7; cursor: progress; pointer-events: none; }

/* Honeypot — visually hidden but present in the DOM */
.hp-field {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0;
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding-top: clamp(48px, 7vw, 72px); }
.footer-grid {
  display: grid; gap: 36px;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding-bottom: 48px;
}
.footer-grid p { color: var(--muted); font-size: 0.9rem; margin-top: 14px; }
.footer h5 {
  font-family: var(--font-display); font-size: 0.95rem;
  margin-bottom: 14px; letter-spacing: 0.04em;
}
.footer nav a {
  display: block; padding: 5px 0;
  color: var(--muted); font-size: 0.9rem; transition: color 0.25s;
}
.footer nav a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 22px; padding-bottom: 26px;
  border-top: 1px solid var(--border);
  color: var(--muted); font-size: 0.84rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero { flex-direction: column; justify-content: center; text-align: left; padding-top: 130px; }
  .hero-orbit { display: none; }
  .mv-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-burger { display: flex; }
  .nav-links {
    position: fixed; inset: 0; z-index: 101;
    flex-direction: column; justify-content: center; gap: 26px;
    background: rgba(5, 6, 15, 0.96);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .nav-links.open { opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links a { font-size: 1.3rem; }
  .frow { grid-template-columns: 1fr; }
  .process-line { display: none; }
  .pstep { padding-top: 0; padding-left: 70px; min-height: 56px; }
  .scroll-hint { display: none; }
  /* Lighter blur on mobile = better perf */
  .bg-glow { filter: blur(70px); opacity: 0.3; }
}

@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px; }
  .btn { width: 100%; }
}

/* ============================================================
   REDUCED MOTION — accessibility & battery
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .meter span { transform: none; }
}
