/* ==========================================================
   CODUVISION — MAIN STYLESHEET
   01. Variables & Reset
   02. Base & Typography
   03. Navigation
   04. Hero
   05. Clients Marquee
   06. Services
   07. How It Works
   08. Why Coduvision (CODO Lab)
   09. Testimonials Slider
   10. About
   11. Contact Form (Multi-step)
   12. Quote Modal
   13. Footer
   14. Tweaks Panel
   15. Keyframes
   16. Responsive
   ========================================================== */

/* ── 01. VARIABLES & RESET ── */
:root {
  --deep-space: #0A0F1C;
  --slate:      #111827;
  --blue:       #3B82F6;
  --indigo:     #6366F1;
  --cyan:       #22D3EE;
  --gray:       #94A3B8;
  --grad:       linear-gradient(135deg, #3B82F6, #6366F1);
  --grad3:      linear-gradient(135deg, #3B82F6, #6366F1, #22D3EE);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--deep-space);
  color: #E2E8F0;
  overflow-x: hidden;
}

/* ── 02. BASE TYPOGRAPHY ── */
.section-label {
  font-size: 12px; font-weight: 600; letter-spacing: 3px;
  color: var(--cyan); text-transform: uppercase; margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 4vw, 52px); font-weight: 800;
  line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 16px;
}
.section-sub {
  font-size: 17px; color: var(--gray); line-height: 1.7; max-width: 560px;
}
.grad-text {
  background: var(--grad3);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
section { padding: 100px 60px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── 03. NAVIGATION ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 200;
  padding: 18px 60px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,15,28,.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s;
}
.logo-img { height: 36px; width: auto; display: block; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--gray); text-decoration: none;
  font-size: 14px; font-weight: 500; transition: color .2s;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--grad); color: #fff; border: none;
  padding: 10px 24px; border-radius: 8px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: opacity .2s, transform .2s;
}
.nav-cta:hover { opacity: .85; transform: translateY(-1px); }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; cursor: pointer; background: none; border: none;
  padding: 6px; z-index: 201; flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #E2E8F0; border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-6px); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu overlay */
.nav-mobile-menu {
  display: none; position: fixed; inset: 0;
  background: rgba(8,12,22,.98); backdrop-filter: blur(24px);
  z-index: 199; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; opacity: 0; transition: opacity .3s ease;
}
.nav-mobile-menu.open   { display: flex; }
.nav-mobile-menu.visible{ opacity: 1; }
.nav-mobile-menu a {
  font-size: 26px; font-weight: 700; color: rgba(226,232,240,.85);
  text-decoration: none; letter-spacing: -.5px;
  padding: 12px 0; transition: color .2s;
}
.nav-mobile-menu a:hover { color: var(--cyan); }
.nav-mobile-menu .mobile-cta {
  margin-top: 24px; background: var(--grad); color: #fff;
  border: none; padding: 14px 40px; border-radius: 10px;
  font-size: 16px; font-weight: 700; cursor: pointer; transition: opacity .2s;
}
.nav-mobile-menu .mobile-cta:hover { opacity: .85; }
.nav-mobile-menu-close {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  color: var(--gray); width: 36px; height: 36px; border-radius: 8px;
  font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.nav-mobile-menu-close:hover { background: rgba(255,255,255,.13); color: #fff; }

/* ── 04. HERO ── */
#hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 120px 60px 80px;
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  animation: drift 12s ease-in-out infinite alternate;
  pointer-events: none;
}
.orb1 { width: 600px; height: 600px; background: rgba(99,102,241,.25); top: -100px; left: -150px; }
.orb2 { width: 500px; height: 500px; background: rgba(34,211,238,.18); bottom: -50px; right: -100px; animation-delay: -4s; }
.orb3 { width: 350px; height: 350px; background: rgba(59,130,246,.2); top: 40%; left: 50%; animation-delay: -8s; }

.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(99,102,241,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero-content { position: relative; text-align: center; max-width: 900px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,.15); border: 1px solid rgba(99,102,241,.3);
  border-radius: 100px; padding: 6px 16px; font-size: 13px;
  color: var(--cyan); font-weight: 500; margin-bottom: 32px;
  animation: fadeUp .8s ease both;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--cyan); border-radius: 50%;
}
h1 {
  font-size: clamp(44px, 7vw, 82px); font-weight: 900;
  line-height: 1.05; letter-spacing: -2px; margin-bottom: 24px;
  animation: fadeUp .8s .1s ease both;
}
.hero-sub {
  font-size: 18px; color: var(--gray); max-width: 600px;
  margin: 0 auto 40px; line-height: 1.7; font-weight: 400;
  animation: fadeUp .8s .2s ease both;
}
.hero-actions {
  display: flex; gap: 16px; justify-content: center;
  flex-wrap: wrap; animation: fadeUp .8s .3s ease both;
}
.btn-primary {
  background: var(--grad); color: #fff; border: none;
  padding: 14px 32px; border-radius: 10px;
  font-size: 16px; font-weight: 600; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 0 40px rgba(99,102,241,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 60px rgba(99,102,241,.6); }
.btn-ghost {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  padding: 14px 32px; border-radius: 10px;
  font-size: 16px; font-weight: 600; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.05); }

.hero-visual { margin-top: 64px; position: relative; animation: fadeUp .8s .4s ease both; }
.dashboard-card {
  background: rgba(17,24,39,.8); border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 28px; max-width: 720px; margin: 0 auto;
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 100px rgba(0,0,0,.5), 0 0 0 1px rgba(99,102,241,.1);
  position: relative; overflow: hidden;
}
.dashboard-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,.8), transparent);
  pointer-events: none;
}
.dash-header { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #FF5F57; } .dot-y { background: #FFBD2E; } .dot-g { background: #28C840; }
.dash-title { margin-left: 8px; font-size: 13px; color: var(--gray); font-weight: 500; }
.dash-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.metric {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px; padding: 14px 16px;
}
.metric-label { font-size: 11px; color: var(--gray); margin-bottom: 6px; }
.metric-val { font-size: 22px; font-weight: 700; color: #fff; }
.metric-change { font-size: 11px; color: #34D399; margin-top: 4px; }

/* ── 05. CLIENTS ── */
#clients {
  padding: 48px 60px;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.clients-label {
  text-align: center; font-size: 13px; color: var(--gray);
  margin-bottom: 36px; font-weight: 500; letter-spacing: 1px;
}
.marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}
.marquee { display: flex; gap: 60px; animation: marquee 24s linear infinite; width: max-content; align-items: center; }
.marquee-track { display: flex; gap: 60px; align-items: center; }
.client-logo {
  height: 28px; opacity: .4; filter: grayscale(1) brightness(2);
  font-size: 18px; font-weight: 700; letter-spacing: -.5px; color: #fff;
  transition: opacity .3s; white-space: nowrap;
}
.client-logo:hover { opacity: .8; }

/* ── 06. SERVICES ── */
#services { background: linear-gradient(180deg, var(--deep-space) 0%, rgba(17,24,39,.5) 100%); }
.services-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; margin-top: 56px; align-items: start; }

.svc-tabs { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 100px; }
.svc-tab {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  border-radius: 14px; cursor: pointer; border: 1px solid transparent;
  transition: all .25s ease; position: relative; overflow: hidden;
}
.svc-tab::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--svc-color, var(--indigo));
  transform: scaleY(0); transition: transform .25s ease; pointer-events: none;
}
.svc-tab:hover { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.07); }
.svc-tab.active { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.svc-tab.active::before { transform: scaleY(1); }
.svc-tab-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  transition: background .25s, border-color .25s;
}
.svc-tab.active .svc-tab-icon {
  background: color-mix(in srgb, var(--svc-color, var(--indigo)) 20%, transparent);
  border-color: color-mix(in srgb, var(--svc-color, var(--indigo)) 40%, transparent);
}
.svc-tab-label { font-size: 14px; font-weight: 600; color: var(--gray); transition: color .25s; }
.svc-tab.active .svc-tab-label { color: #fff; }
.svc-tab-num { margin-left: auto; font-size: 11px; color: rgba(255,255,255,.18); font-family: 'Courier New', monospace; }

.svc-stage {
  background: rgba(17,24,39,.7); border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px; overflow: hidden; position: relative;
  min-height: 480px; display: flex; flex-direction: column;
}
.svc-stage-header {
  display: flex; align-items: center; gap: 8px; padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
}
.svc-stage-title { margin-left: 8px; font-size: 12px; color: var(--gray); font-family: 'Courier New', monospace; }
.svc-stage-body { flex: 1; display: grid; grid-template-columns: 1fr 1fr; position: relative; }

.svc-avatar-panel {
  display: flex; align-items: center; justify-content: center;
  position: relative; padding: 40px 20px;
  border-right: 1px solid rgba(255,255,255,.05); overflow: hidden;
}
.svc-avatar-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(99,102,241,.08), transparent);
  transition: background .5s ease;
}
.svc-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.svc-particle {
  position: absolute; border-radius: 6px; font-size: 10px;
  font-family: 'Courier New', monospace; font-weight: 700;
  padding: 3px 7px; opacity: 0; border: 1px solid;
  animation: floatParticle 3s ease-in-out infinite; pointer-events: none;
}

.avatar-wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.av-monitor { width: 210px; position: relative; animation: avFloat 4s ease-in-out infinite; margin-bottom: -6px; }
.av-monitor-shell {
  background: #0d1117; border-radius: 10px;
  border: 1.5px solid var(--svc-color, #6366F1);
  box-shadow: 0 0 20px color-mix(in srgb, var(--svc-color,#6366F1) 30%, transparent), inset 0 0 12px rgba(0,0,0,.6);
  overflow: hidden;
}
.av-monitor-bar {
  display: flex; align-items: center; gap: 5px; padding: 6px 10px;
  border-bottom: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.03);
}
.av-monitor-dot { width: 7px; height: 7px; border-radius: 50%; }
.av-monitor-dot:nth-child(1){background:#FF5F57} .av-monitor-dot:nth-child(2){background:#FFBD2E} .av-monitor-dot:nth-child(3){background:#28C840}
.av-monitor-label { margin-left: 4px; font-family: 'Courier New', monospace; font-size: 9px; color: rgba(255,255,255,.3); }
.av-screen { padding: 10px 12px; min-height: 90px; font-family: 'Courier New', monospace; font-size: 10px; line-height: 1.7; position: relative; overflow: hidden; }
.av-screen::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.08) 2px, rgba(0,0,0,.08) 4px); }
.av-code-line { display: flex; gap: 8px; opacity: 0; animation: avLineFade 2.4s ease-in-out infinite; white-space: nowrap; }
.av-code-line:nth-child(1){animation-delay:0s} .av-code-line:nth-child(2){animation-delay:.3s} .av-code-line:nth-child(3){animation-delay:.6s} .av-code-line:nth-child(4){animation-delay:.9s} .av-code-line:nth-child(5){animation-delay:1.2s}
.av-ln { color: rgba(255,255,255,.18); min-width: 14px; user-select: none; }
.av-kw { color: #6366F1; } .av-fn { color: #22D3EE; } .av-st { color: #34D399; } .av-cm { color: #4B5563; } .av-num { color: #FB923C; }
.av-cursor { display: inline-block; width: 6px; height: 11px; background: var(--svc-color,#6366F1); animation: avCur .7s step-end infinite; vertical-align: middle; margin-left: 2px; }
.av-stand { width: 4px; height: 16px; background: linear-gradient(180deg,#334155,#1e293b); margin: 0 auto; border-radius: 0 0 2px 2px; }
.av-stand-base { width: 48px; height: 5px; background: linear-gradient(90deg, transparent, #334155 20%, #334155 80%, transparent); border-radius: 3px; margin: 0 auto; }

.av-character { position: relative; display: flex; flex-direction: column; align-items: center; }
.av-headphones { width: 74px; height: 34px; border: 3px solid #334155; border-bottom: none; border-radius: 37px 37px 0 0; position: absolute; top: -2px; z-index: 3; }
.av-headphones::before, .av-headphones::after { content: ''; position: absolute; bottom: -4px; width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, #475569, #1e293b); border: 1.5px solid #64748b; }
.av-headphones::before { left: -6px; } .av-headphones::after { right: -6px; }
.av-head { width: 68px; height: 72px; border-radius: 50% 50% 44% 44% / 46% 46% 54% 54%; background: linear-gradient(160deg, #2d3f55 0%, #1a2535 60%, #151e2d 100%); border: 1.5px solid rgba(255,255,255,.12); position: relative; z-index: 2; animation: avNod 5s ease-in-out infinite; }
.av-visor { position: absolute; top: 20px; left: 10px; right: 10px; height: 22px; background: linear-gradient(135deg, color-mix(in srgb, var(--svc-color,#6366F1) 18%, transparent), color-mix(in srgb, var(--svc-color,#6366F1) 8%, transparent)); border: 1px solid color-mix(in srgb, var(--svc-color,#6366F1) 40%, transparent); border-radius: 4px; box-shadow: 0 0 10px color-mix(in srgb, var(--svc-color,#6366F1) 25%, transparent); overflow: hidden; transition: all .5s ease; }
.av-visor::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(255,255,255,.04) 3px, rgba(255,255,255,.04) 4px); }
.av-eye { position: absolute; width: 14px; height: 8px; border-radius: 3px; background: var(--svc-color,#22D3EE); box-shadow: 0 0 8px var(--svc-color,#22D3EE); top: 7px; animation: avBlink 5s ease-in-out infinite; transition: background .4s, box-shadow .4s; }
.av-eye.l { left: 6px; } .av-eye.r { right: 6px; }
.av-grille { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); width: 30px; height: 6px; border-radius: 3px; display: flex; gap: 3px; align-items: center; justify-content: center; }
.av-grille-bar { width: 3px; border-radius: 2px; background: rgba(255,255,255,.25); animation: avTalk .3s ease-in-out infinite alternate; }
.av-grille-bar:nth-child(1){height:3px;animation-delay:0s} .av-grille-bar:nth-child(2){height:6px;animation-delay:.05s} .av-grille-bar:nth-child(3){height:4px;animation-delay:.1s} .av-grille-bar:nth-child(4){height:6px;animation-delay:.15s} .av-grille-bar:nth-child(5){height:3px;animation-delay:.2s}
.av-hoodie { width: 100px; height: 62px; margin-top: -2px; background: linear-gradient(160deg, #1e3a5f 0%, #172032 60%, #111827 100%); border: 1.5px solid rgba(59,130,246,.2); border-top: none; border-radius: 4px 4px 14px 14px; position: relative; z-index: 1; overflow: hidden; }
.av-hoodie::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 2px; height: 100%; background: rgba(255,255,255,.08); pointer-events: none; }
.av-hoodie::after { content: '</>'; font-family: 'Courier New', monospace; font-size: 9px; font-weight: 700; color: color-mix(in srgb, var(--svc-color,#6366F1) 80%, transparent); position: absolute; right: 12px; top: 10px; transition: color .5s; }
.av-body-row { display: flex; align-items: flex-start; justify-content: center; position: relative; z-index: 1; }
.av-arm { width: 22px; height: 58px; border-radius: 11px; background: linear-gradient(180deg, #1e3a5f, #172032); border: 1.5px solid rgba(59,130,246,.15); transform-origin: top center; position: relative; transition: transform .5s cubic-bezier(.34,1.56,.64,1); flex-shrink: 0; }
.av-arm.l { transform: rotate(14deg); margin-top: 6px; }
.av-arm.r { transform: rotate(-14deg); margin-top: 6px; }
.av-hand { width: 20px; height: 14px; border-radius: 6px; background: #2d3f55; border: 1px solid rgba(255,255,255,.1); position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); }
.av-keyboard-wrap { margin-top: 8px; position: relative; z-index: 2; }
.av-keyboard { width: 160px; height: 36px; border-radius: 6px; background: linear-gradient(180deg, #1e293b, #0f172a); border: 1.5px solid rgba(255,255,255,.1); padding: 6px 8px; display: grid; grid-template-columns: repeat(14,1fr); gap: 2px; box-shadow: 0 4px 16px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.04); }
.av-key { border-radius: 2px; height: 10px; background: linear-gradient(180deg, #2d3f55, #1e293b); border: 1px solid rgba(255,255,255,.08); animation: avKeyPulse 1.2s ease-in-out infinite; }
.av-key:nth-child(odd)  { animation-delay: 0s; }
.av-key:nth-child(even) { animation-delay: .15s; }
.av-key-space { grid-column: span 5; border-radius: 2px; height: 10px; background: linear-gradient(180deg, #334155, #1e293b); border: 1px solid rgba(255,255,255,.12); }

/* Service arm animations */
.svc-stage[data-svc="0"] .av-arm.l { transform: rotate(10deg) translateY(-6px); animation: typeL .25s ease-in-out infinite alternate; }
.svc-stage[data-svc="0"] .av-arm.r { transform: rotate(-10deg) translateY(-6px); animation: typeR .25s ease-in-out infinite alternate; }
.svc-stage[data-svc="1"] .av-arm.l { transform: rotate(5deg) translateY(-4px); animation: clickL .5s ease-in-out infinite alternate; }
.svc-stage[data-svc="1"] .av-arm.r { transform: rotate(-22deg); }
.svc-stage[data-svc="2"] .av-arm.l { transform: rotate(-8deg) translateY(-8px); animation: nodeL .7s ease-in-out infinite alternate; }
.svc-stage[data-svc="2"] .av-arm.r { transform: rotate(8deg) translateY(-8px); animation: nodeR .7s ease-in-out infinite alternate; }
.svc-stage[data-svc="3"] .av-arm.l { transform: rotate(-5deg) translateY(-10px); animation: drawL .6s ease-in-out infinite alternate; }
.svc-stage[data-svc="4"] .av-arm.l { transform: rotate(22deg); animation: thinkL 1.4s ease-in-out infinite alternate; }
.svc-stage[data-svc="4"] .av-arm.r { transform: rotate(-22deg); animation: thinkR 1.4s ease-in-out infinite alternate; }
.svc-stage[data-svc="5"] .av-arm.l { transform: rotate(12deg) translateY(-8px); animation: devopsL .2s ease-in-out infinite alternate; }
.svc-stage[data-svc="5"] .av-arm.r { transform: rotate(-12deg) translateY(-8px); animation: devopsR .2s ease-in-out infinite alternate; }

.svc-info-panel { padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; }
.svc-cmd { font-family: 'Courier New', monospace; font-size: 12px; color: var(--gray); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.svc-cmd-prompt { color: var(--svc-color, var(--indigo)); font-weight: 700; }
.svc-cmd-text { color: rgba(255,255,255,.5); }
.svc-name { font-size: 26px; font-weight: 800; letter-spacing: -.5px; margin-bottom: 12px; line-height: 1.2; }
.svc-desc { color: var(--gray); font-size: 14px; line-height: 1.75; margin-bottom: 24px; min-height: 90px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-pill { font-size: 11px; font-weight: 600; letter-spacing: .5px; padding: 5px 12px; border-radius: 100px; background: color-mix(in srgb, var(--svc-color, var(--indigo)) 12%, transparent); border: 1px solid color-mix(in srgb, var(--svc-color, var(--indigo)) 30%, transparent); color: var(--svc-color, var(--cyan)); transition: background .2s; }
.svc-pill:hover { background: color-mix(in srgb, var(--svc-color, var(--indigo)) 22%, transparent); }
.svc-progress { height: 2px; background: rgba(255,255,255,.05); position: absolute; bottom: 0; left: 0; right: 0; }
.svc-progress-bar { height: 100%; background: var(--svc-color, var(--indigo)); width: 0%; transition: width .1s linear; box-shadow: 0 0 8px var(--svc-color, var(--indigo)); }

/* ── 07. HOW IT WORKS ── */
#how { position: relative; }
.how-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 56px; }
.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.06); cursor: pointer; }
.step:last-child { border-bottom: none; }
.step-num { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; background: rgba(99,102,241,.1); border: 1px solid rgba(99,102,241,.2); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--indigo); transition: background .3s; }
.step.active .step-num { background: var(--grad); border-color: transparent; color: #fff; }
.step h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--gray); font-size: 14px; line-height: 1.6; }
.step-visual { background: rgba(17,24,39,.8); border: 1px solid rgba(255,255,255,.1); border-radius: 24px; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.code-anim { padding: 32px; font-family: 'Courier New', monospace; font-size: 13px; line-height: 2; }
.code-line { display: flex; gap: 12px; opacity: 0; animation: codeFade 3s ease infinite; }
.code-line:nth-child(2){animation-delay:.4s} .code-line:nth-child(3){animation-delay:.8s} .code-line:nth-child(4){animation-delay:1.2s} .code-line:nth-child(5){animation-delay:1.6s}
.ln { color: rgba(255,255,255,.2); min-width: 20px; }
.kw { color: #6366F1; } .fn { color: #22D3EE; } .str { color: #34D399; } .cm { color: #4B5563; }

/* ── 08. WHY CODUVISION (CODO LAB) ── */
.why-section { background: var(--deep-space); overflow: hidden; }
.why-header { text-align: center; max-width: 680px; margin: 0 auto; }
.why-arena { display: grid; grid-template-columns: 1fr 180px 1fr; gap: 28px; align-items: center; margin-top: 56px; position: relative; }

.why-col { display: flex; flex-direction: column; gap: 10px; }
.why-col-l { align-items: flex-end; }
.why-col-r { align-items: flex-start; }

.why-node {
  width: 100%; max-width: 300px;
  background: rgba(17,24,39,.8); border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px; padding: 16px 18px; cursor: pointer;
  position: relative; overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s, background .3s;
  user-select: none; touch-action: manipulation;
}
/* BUG FIX: pseudo-element must not intercept pointer events */
.why-node::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 20% 0%, color-mix(in srgb, var(--nc,#6366F1) 10%, transparent), transparent);
  opacity: 0; transition: opacity .3s;
}
.why-node:hover { transform: scale(1.02); border-color: color-mix(in srgb, var(--nc,#6366F1) 40%, transparent); }
.why-node:hover::before, .why-node.active::before { opacity: 1; }
.why-node.active {
  border-color: var(--nc, #6366F1);
  background: color-mix(in srgb, var(--nc,#6366F1) 8%, rgba(17,24,39,.95));
  box-shadow: 0 0 28px color-mix(in srgb, var(--nc,#6366F1) 18%, transparent);
}
.why-node-badge {
  position: absolute; top: 10px; right: 12px;
  font-family: 'Courier New', monospace; font-size: 10px; font-weight: 700;
  color: rgba(255,255,255,.18); letter-spacing: 1px; transition: color .3s;
  pointer-events: none;
}
.why-node.active .why-node-badge { color: var(--nc, #6366F1); }

/* BUG FIX: ensure body content stacks above ::before overlay */
.why-node-body { display: flex; align-items: flex-start; gap: 12px; position: relative; z-index: 1; }

.why-node-icon {
  font-size: 20px; width: 34px; height: 34px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  color: rgba(255,255,255,.25); transition: all .3s; line-height: 1;
}
.why-node:hover .why-node-icon,
.why-node.active .why-node-icon {
  color: var(--nc, #6366F1);
  background: color-mix(in srgb, var(--nc,#6366F1) 14%, transparent);
  border-color: color-mix(in srgb, var(--nc,#6366F1) 32%, transparent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--nc,#6366F1) 25%, transparent);
}
.why-node-text { position: relative; z-index: 1; }
.why-node-title { font-size: 13px; font-weight: 700; color: rgba(226,232,240,.65); margin-bottom: 5px; transition: color .3s; }
.why-node:hover .why-node-title,
.why-node.active .why-node-title { color: #fff; }
.why-node-desc { font-size: 12px; color: var(--gray); line-height: 1.6; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s ease, opacity .35s ease; }
.why-node.active .why-node-desc { max-height: 80px; opacity: 1; }

.why-node-beam {
  position: absolute; top: 50%; right: -28px; width: 28px; height: 2px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--nc,#6366F1) 40%, transparent), var(--nc,#6366F1));
  transform: translateY(-50%) scaleX(0); transform-origin: left;
  transition: transform .45s ease .1s; pointer-events: none;
}
.why-col-r .why-node-beam {
  left: -28px; right: auto;
  background: linear-gradient(270deg, color-mix(in srgb, var(--nc,#6366F1) 40%, transparent), var(--nc,#6366F1));
  transform-origin: right;
}
.why-node.active .why-node-beam { transform: translateY(-50%) scaleX(1); }

.why-node-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: 16px; }
.why-particle {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: var(--pc, #6366F1); pointer-events: none;
  animation: whyPart .7s ease-out forwards;
}

/* CODO Avatar */
.why-center-col { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.codo-wrap { position: relative; display: flex; flex-direction: column; align-items: center; animation: codoFloat 4s ease-in-out infinite; }
.codo-aura { position: absolute; width: 170px; height: 170px; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(99,102,241,.12), transparent 70%); pointer-events: none; animation: codoAuraPulse 3s ease-in-out infinite; transition: background .5s; }
.codo-antenna { display: flex; flex-direction: column; align-items: center; margin-bottom: -2px; }
.codo-antenna-ball { width: 10px; height: 10px; border-radius: 50%; background: #6366F1; box-shadow: 0 0 10px #6366F1, 0 0 20px #6366F166; animation: antPulse 1.4s ease-in-out infinite; transition: background .4s, box-shadow .4s; }
.codo-antenna-stem { width: 3px; height: 22px; background: linear-gradient(180deg,#6366F1,rgba(30,41,59,.8)); border-radius: 2px; transition: background .4s; }
.codo-head { width: 92px; background: linear-gradient(160deg,#1e3a5f 0%,#0f1f35 60%,#081525 100%); border: 2px solid #6366F1; border-radius: 14px 14px 10px 10px; box-shadow: 0 0 20px #6366F144,inset 0 0 12px rgba(0,0,0,.5); position: relative; overflow: hidden; transition: border-color .4s, box-shadow .4s, transform .5s cubic-bezier(.34,1.56,.64,1); }
.codo-head::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg,transparent,#6366F1,transparent); pointer-events: none; transition: background .4s; }
.codo-head-top { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px; border-bottom: 1px solid rgba(255,255,255,.06); }
.codo-cv-badge { font-family: 'Courier New', monospace; font-size: 9px; font-weight: 900; color: #6366F1; letter-spacing: 2px; transition: color .4s; }
.codo-head-dots { display: flex; gap: 3px; }
.codo-head-dots span { width: 5px; height: 5px; border-radius: 50%; }
.codo-head-dots span:nth-child(1){background:#FF5F57} .codo-head-dots span:nth-child(2){background:#FFBD2E} .codo-head-dots span:nth-child(3){background:#28C840}
.codo-visor { padding: 8px 10px; position: relative; overflow: hidden; background: rgba(99,102,241,.08); border-top: 1px solid rgba(99,102,241,.2); border-bottom: 1px solid rgba(99,102,241,.2); transition: background .4s; }
.codo-eye-wrap { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.codo-eye { width: 17px; height: 11px; border-radius: 4px; background: #6366F1; box-shadow: 0 0 8px #6366F1, 0 0 16px #6366F188; transition: background .4s, box-shadow .4s; animation: codoBlink 5s ease-in-out infinite; }
.codo-scan { position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg,transparent,#6366F1,transparent); opacity: .5; animation: codoScan 2s linear infinite; transition: background .4s; pointer-events: none; }
.codo-grille { display: flex; justify-content: center; gap: 3px; align-items: center; padding: 6px 10px; }
.codo-grille-bar { width: 3px; border-radius: 2px; background: rgba(255,255,255,.2); animation: codoGrille .4s ease-in-out infinite alternate; }
.codo-grille-bar:nth-child(1){height:3px;animation-delay:0s} .codo-grille-bar:nth-child(2){height:7px;animation-delay:.07s} .codo-grille-bar:nth-child(3){height:5px;animation-delay:.14s} .codo-grille-bar:nth-child(4){height:7px;animation-delay:.21s} .codo-grille-bar:nth-child(5){height:3px;animation-delay:.28s}
.codo-neck { width: 22px; height: 10px; background: linear-gradient(180deg,#1e3a5f,#0f1f35); border-left: 1px solid rgba(255,255,255,.08); border-right: 1px solid rgba(255,255,255,.08); margin: 0 auto; }
.codo-body-row { display: flex; align-items: flex-start; }
.codo-arm { width: 16px; height: 48px; background: linear-gradient(180deg,#1e3a5f,#0a1525); border: 1.5px solid rgba(255,255,255,.09); position: relative; transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.codo-arm.l { border-radius: 8px 3px 3px 8px; transform: rotate(18deg); transform-origin: top center; }
.codo-arm.r { border-radius: 3px 8px 8px 3px; transform: rotate(-18deg); transform-origin: top center; }
.codo-hand { width: 14px; height: 10px; border-radius: 4px; background: #2d3f55; border: 1px solid rgba(255,255,255,.1); position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); }
.codo-body { width: 76px; background: linear-gradient(160deg,#1e3a5f 0%,#0f1f35 70%,#081525 100%); border: 1.5px solid rgba(255,255,255,.09); border-top: none; border-radius: 0 0 10px 10px; padding: 8px 7px; }
.codo-chest { background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 7px; min-height: 58px; display: flex; flex-direction: column; box-shadow: inset 0 0 8px rgba(0,0,0,.5); position: relative; overflow: hidden; }
/* BUG FIX: scanline must not block chest interactions */
.codo-chest::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.08) 2px, rgba(0,0,0,.08) 4px); }
.codo-chest-inner { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.codo-chest-idle { text-align: center; }
.codo-chest-logo { font-family: 'Courier New', monospace; font-size: 15px; font-weight: 900; background: var(--grad3); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: 3px; animation: chestPulse 2s ease-in-out infinite; }
.codo-chest-hint { font-family: 'Courier New', monospace; font-size: 7px; color: rgba(255,255,255,.22); letter-spacing: 1px; text-transform: uppercase; margin-top: 3px; }
.codo-chest-active { text-align: center; display: none; }
.codo-chest-act-icon { font-size: 20px; line-height: 1; margin-bottom: 3px; }
.codo-chest-act-label { font-family: 'Courier New', monospace; font-size: 7px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; transition: color .4s; }
.codo-chest-lights { display: flex; justify-content: center; gap: 5px; margin-top: 5px; position: relative; z-index: 1; }
.codo-cl { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.1); transition: background .3s, box-shadow .3s; }
.codo-cl.on { background: #6366F1; box-shadow: 0 0 6px #6366F1; }
.codo-body-lines { margin-top: 6px; display: flex; flex-direction: column; gap: 3px; }
.codo-body-line { height: 2px; border-radius: 1px; background: rgba(255,255,255,.06); }
.codo-body-line.short { width: 55%; }
.codo-base { display: flex; gap: 14px; justify-content: center; }
.codo-leg { width: 14px; height: 12px; background: linear-gradient(180deg,#1e3a5f,#081525); border: 1px solid rgba(255,255,255,.07); border-top: none; border-radius: 0 0 4px 4px; }
.codo-speech { position: absolute; top: 12px; right: -98px; background: rgba(10,15,28,.96); border: 1px solid rgba(255,255,255,.12); border-radius: 0 10px 10px 10px; padding: 7px 10px; font-size: 10px; font-family: 'Courier New', monospace; color: rgba(255,255,255,.6); max-width: 90px; line-height: 1.5; white-space: pre-line; opacity: 0; transition: opacity .4s; pointer-events: none; }

/* Progress ring */
.why-ring-wrap { position: relative; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; }
.why-ring-svg { width: 80px; height: 80px; transform: rotate(-90deg); position: absolute; inset: 0; }
.why-ring-bg  { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 5; }
.why-ring-fill { fill: none; stroke: #6366F1; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 213.6; stroke-dashoffset: 213.6; transition: stroke-dashoffset .6s cubic-bezier(.4,0,.2,1), stroke .4s ease; }
.why-ring-label { font-size: 15px; font-weight: 700; display: flex; align-items: baseline; gap: 1px; z-index: 1; position: relative; }
.why-ring-total { font-size: 11px; color: var(--gray); }

/* Completion banner */
.why-complete { display: none; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin: 32px auto 0; max-width: 600px; padding: 18px 28px; background: rgba(17,24,39,.8); border: 1px solid rgba(99,102,241,.35); border-radius: 16px; font-size: 15px; font-weight: 600; }
.why-complete.visible { display: flex; animation: completeIn .6s cubic-bezier(.34,1.56,.64,1) both; }
.why-complete-spark { font-size: 20px; animation: sparkSpin 2s linear infinite; display: inline-block; }
.why-complete-cta { background: var(--grad); color: #fff; border: none; padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; transition: opacity .2s, transform .2s; flex-shrink: 0; }
.why-complete-cta:hover { opacity: .85; transform: translateY(-1px); }

/* ── 09. TESTIMONIALS SLIDER ── */
.testi-slider-wrap { margin-top: 56px; position: relative; }
.testi-slider-track-outer { overflow: hidden; border-radius: 24px; }
.testi-slider-track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); will-change: transform; }
.testi-card { background: rgba(17,24,39,.7); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 40px 44px; flex: 0 0 100%; min-width: 0; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; transition: border-color .3s; }
.testi-card:hover { border-color: rgba(99,102,241,.3); }
.stars { color: #FBBF24; font-size: 16px; margin-bottom: 24px; letter-spacing: 4px; }
.testi-card blockquote { font-size: 18px; line-height: 1.8; color: #CBD5E1; margin-bottom: 32px; font-style: italic; font-weight: 300; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.author-name { font-weight: 600; font-size: 15px; }
.author-role { font-size: 12px; color: var(--gray); margin-top: 2px; }

.testi-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.testi-arrow { height: 44px; border-radius: 100px; padding: 0 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s; flex-shrink: 0; touch-action: manipulation; }
.testi-arrow:hover { background: rgba(99,102,241,.15); border-color: rgba(99,102,241,.4); }
.testi-arrow:disabled { opacity: .3; cursor: not-allowed; pointer-events: none; }
.arr-code { font-family: 'Courier New', monospace; font-size: 13px; font-weight: 700; letter-spacing: .5px; color: var(--cyan); transition: color .2s; }
.testi-arrow:hover .arr-code { color: #fff; }
.testi-dots { display: flex; gap: 8px; align-items: center; }
.testi-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.15); cursor: pointer; transition: background .3s, transform .3s; touch-action: manipulation; }
.testi-dot.active { background: var(--indigo); transform: scale(1.3); box-shadow: 0 0 8px rgba(99,102,241,.6); }

/* ── 10. ABOUT ── */
#about { background: linear-gradient(180deg, var(--deep-space), rgba(17,24,39,.5)); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.stat-box .num { font-size: 48px; font-weight: 900; letter-spacing: -2px; background: var(--grad3); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.stat-box .lbl { font-size: 14px; color: var(--gray); margin-top: 6px; }
.about-visual { background: rgba(17,24,39,.7); border: 1px solid rgba(255,255,255,.1); border-radius: 24px; padding: 40px; position: relative; overflow: hidden; }
.about-visual::after { content: ''; position: absolute; bottom: -60px; right: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(99,102,241,.3), transparent); pointer-events: none; }
.team-row { display: flex; gap: 16px; margin-bottom: 20px; }
.team-card { flex: 1; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 18px; text-align: center; transition: border-color .3s; }
.team-card:hover { border-color: rgba(99,102,241,.4); }
.team-avatar { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 10px; background: var(--grad); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.team-card .name { font-size: 13px; font-weight: 600; }
.team-card .role { font-size: 11px; color: var(--gray); margin-top: 2px; }

/* ── 11. CONTACT FORM (MULTI-STEP) ── */
#contact {
  background: linear-gradient(135deg, rgba(59,130,246,.08), rgba(99,102,241,.1));
  position: relative; overflow: hidden;
}
#contact::before {
  content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.2), transparent);
  pointer-events: none;
}
.contact-inner { max-width: 680px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.contact-inner .section-sub { margin: 0 auto 40px; }

.cf-shell {
  background: rgba(13,17,23,.9); border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px; overflow: hidden; text-align: left;
  box-shadow: 0 40px 100px rgba(0,0,0,.5), 0 0 0 1px rgba(99,102,241,.1);
  position: relative;
}
.cf-shell::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,.8), transparent);
  pointer-events: none;
}
.cf-progress-wrap { padding: 20px 28px 0; position: relative; z-index: 1; }
.cf-dots-row { display: flex; gap: 6px; margin-bottom: 8px; }
.cf-dot { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.07); transition: background .4s ease; }
.cf-dot.done   { background: #6366F1; }
.cf-dot.active { background: linear-gradient(90deg,#6366F1,#22D3EE); }
.cf-step-label { font-size: 11px; color: rgba(255,255,255,.3); font-family: 'Courier New', monospace; }

/* BUG FIX: use display:none for hidden slides — no absolute overlay blocking */
.cf-body { padding: 28px 28px 0; position: relative; z-index: 1; }
.cf-slide { display: none; }
.cf-slide.active { display: block; }
.cf-step-title { font-size: 20px; font-weight: 800; letter-spacing: -.5px; margin-bottom: 6px; }
.cf-step-sub { font-size: 13px; color: var(--gray); margin-bottom: 22px; line-height: 1.6; }

.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 0; }
/* BUG FIX: explicit z-index ensures fields are always interactive */
.cf-field {
  width: 100%; background: rgba(255,255,255,.04);
  border: 1.5px solid rgba(255,255,255,.09); border-radius: 12px;
  padding: 13px 16px; color: #fff; font-family: 'Inter', sans-serif; font-size: 15px;
  outline: none; transition: border-color .2s, box-shadow .2s;
  display: block; margin-bottom: 14px; box-sizing: border-box;
  position: relative; z-index: 2;
}
.cf-field:focus { border-color: rgba(99,102,241,.6); box-shadow: 0 0 0 3px rgba(99,102,241,.12); }
.cf-field::placeholder { color: rgba(148,163,184,.5); }
textarea.cf-field { height: 120px; resize: none; line-height: 1.6; }

.cf-review { display: flex; flex-direction: column; gap: 8px; }
.cf-review-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); gap: 16px; }
.cf-review-key { font-size: 11px; color: var(--gray); font-weight: 600; letter-spacing: .5px; white-space: nowrap; margin-top: 1px; }
.cf-review-val { font-size: 13px; color: #fff; text-align: right; line-height: 1.5; word-break: break-word; }

.cf-footer { padding: 20px 28px 24px; display: flex; gap: 12px; border-top: 1px solid rgba(255,255,255,.06); margin-top: 20px; position: relative; z-index: 2; }
.cf-btn-back { padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 600; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: var(--gray); cursor: pointer; transition: all .2s; flex-shrink: 0; touch-action: manipulation; }
.cf-btn-back:hover { color: #fff; background: rgba(255,255,255,.1); }
.cf-btn-next { flex: 1; padding: 14px 24px; border-radius: 10px; font-size: 15px; font-weight: 700; background: linear-gradient(135deg,#3B82F6,#6366F1); border: none; color: #fff; cursor: pointer; transition: opacity .2s, transform .2s; box-shadow: 0 0 28px rgba(99,102,241,.35); display: flex; align-items: center; justify-content: center; gap: 10px; touch-action: manipulation; }
.cf-btn-next:hover { opacity: .88; transform: translateY(-1px); }
.cf-wa-btn { flex: 1; padding: 14px 24px; border-radius: 10px; font-size: 15px; font-weight: 700; background: linear-gradient(135deg,#25D366,#128C7E); border: none; color: #fff; cursor: pointer; transition: opacity .2s, transform .2s; box-shadow: 0 0 28px rgba(37,211,102,.3); display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; touch-action: manipulation; }
.cf-wa-btn:hover { opacity: .88; transform: translateY(-1px); }

/* Shared chip styles (used by both forms) */
.gq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.gq-chip { padding: 8px 16px; border-radius: 100px; font-size: 13px; font-weight: 500; border: 1.5px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: var(--gray); cursor: pointer; transition: all .2s; user-select: none; white-space: nowrap; touch-action: manipulation; position: relative; z-index: 2; }
.gq-chip:hover { border-color: rgba(99,102,241,.4); color: #fff; }
.gq-chip.selected { background: rgba(99,102,241,.18); border-color: rgba(99,102,241,.6); color: #fff; box-shadow: 0 0 12px rgba(99,102,241,.2); }

/* ── 12. QUOTE MODAL ── */
.gq-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(5,8,16,.85); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.gq-overlay.open { opacity: 1; pointer-events: all; }

.gq-modal {
  background: #0d1117; border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px; width: 560px;
  max-width: calc(100vw - 32px);
  max-height: min(calc(100vh - 48px), 90dvh);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 0 1px rgba(99,102,241,.15);
  transform: translateY(24px) scale(.97);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
  position: relative;
}
.gq-overlay.open .gq-modal { transform: none; }

.gq-topbar { display: flex; align-items: center; justify-content: space-between; padding: 20px 28px 0; flex-shrink: 0; }
.gq-logo-row { display: flex; align-items: center; gap: 10px; }
.gq-logo-dot { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg,#3B82F6,#6366F1); display: flex; align-items: center; justify-content: center; font-family: 'Courier New', monospace; font-size: 11px; font-weight: 700; color: #fff; }
.gq-brand { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.8); }
.gq-close { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: var(--gray); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; touch-action: manipulation; }
.gq-close:hover { background: rgba(255,255,255,.12); color: #fff; }

.gq-progress-wrap { padding: 16px 28px 0; flex-shrink: 0; }
.gq-steps-row { display: flex; gap: 6px; margin-bottom: 8px; }
.gq-step-dot { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.08); transition: background .4s ease; }
.gq-step-dot.done   { background: #6366F1; }
.gq-step-dot.active { background: linear-gradient(90deg,#6366F1,#22D3EE); }
.gq-step-label { font-size: 11px; color: rgba(255,255,255,.3); font-family: 'Courier New', monospace; }

/* BUG FIX: scrollable body so keyboard doesn't hide content */
.gq-body {
  padding: 24px 28px 0; flex: 1;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  position: relative;
}
/* BUG FIX: active slide is in-flow (no absolute positioning blocking) */
.gq-slide { display: none; }
.gq-slide.active { display: block; }

.gq-step-title { font-size: 22px; font-weight: 800; letter-spacing: -.5px; margin-bottom: 6px; }
.gq-step-sub { font-size: 13px; color: var(--gray); margin-bottom: 20px; line-height: 1.6; }

.gq-field {
  width: 100%; background: rgba(255,255,255,.04);
  border: 1.5px solid rgba(255,255,255,.09); border-radius: 12px;
  padding: 13px 16px; color: #fff; font-family: 'Inter', sans-serif; font-size: 15px;
  outline: none; transition: border-color .2s, box-shadow .2s;
  display: block; margin-bottom: 14px; box-sizing: border-box;
  position: relative; z-index: 2;
}
.gq-field:focus { border-color: rgba(99,102,241,.6); box-shadow: 0 0 0 3px rgba(99,102,241,.12); }
.gq-field::placeholder { color: rgba(148,163,184,.5); }
textarea.gq-field { height: 110px; resize: none; line-height: 1.6; }
.gq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.gq-review { display: flex; flex-direction: column; gap: 10px; }
.gq-review-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); gap: 16px; }
.gq-review-key { font-size: 11px; color: var(--gray); font-weight: 600; letter-spacing: .5px; white-space: nowrap; margin-top: 1px; }
.gq-review-val { font-size: 13px; color: #fff; text-align: right; line-height: 1.5; }

.gq-footer { padding: 16px 28px 20px; display: flex; gap: 12px; flex-shrink: 0; border-top: 1px solid rgba(255,255,255,.06); margin-top: 16px; }
.gq-btn-back { padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 600; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: var(--gray); cursor: pointer; transition: all .2s; touch-action: manipulation; }
.gq-btn-back:hover { color: #fff; background: rgba(255,255,255,.1); }
.gq-btn-next { flex: 1; padding: 13px 24px; border-radius: 10px; font-size: 15px; font-weight: 700; background: linear-gradient(135deg,#3B82F6,#6366F1); border: none; color: #fff; cursor: pointer; transition: opacity .2s, transform .2s; box-shadow: 0 0 30px rgba(99,102,241,.35); display: flex; align-items: center; justify-content: center; gap: 10px; touch-action: manipulation; }
.gq-btn-next:hover { opacity: .88; transform: translateY(-1px); }
.gq-wa-btn { flex: 1; padding: 13px 24px; border-radius: 10px; font-size: 15px; font-weight: 700; background: linear-gradient(135deg,#25D366,#128C7E); border: none; color: #fff; cursor: pointer; transition: opacity .2s, transform .2s; box-shadow: 0 0 30px rgba(37,211,102,.3); display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; touch-action: manipulation; }
.gq-wa-btn:hover { opacity: .88; transform: translateY(-1px); }

/* ── 13. FOOTER ── */
footer { background: var(--slate); border-top: 1px solid rgba(255,255,255,.06); padding: 48px 60px; display: flex; align-items: center; justify-content: space-between; }
.footer-copy { color: var(--gray); font-size: 14px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { color: var(--gray); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: #fff; }

/* ── 14. TWEAKS PANEL ── */
#tweaks-panel { display: none; position: fixed; bottom: 24px; right: 24px; z-index: 9999; background: rgba(17,24,39,.97); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 24px; width: 280px; flex-direction: column; gap: 16px; backdrop-filter: blur(20px); box-shadow: 0 24px 60px rgba(0,0,0,.6); }

/* ── 15. KEYFRAMES ── */
@keyframes drift { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(30px,40px) scale(1.1)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes floatParticle { 0%{opacity:0;transform:translateY(20px) scale(.8)} 20%{opacity:1;transform:translateY(0) scale(1)} 80%{opacity:1;transform:translateY(-10px) scale(1)} 100%{opacity:0;transform:translateY(-30px) scale(.9)} }
@keyframes avFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes avLineFade { 0%,85%{opacity:0;transform:translateX(-6px)} 15%,70%{opacity:1;transform:none} }
@keyframes avCur { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes avNod { 0%,100%{transform:rotate(0deg)} 45%{transform:rotate(-3deg)} 55%{transform:rotate(3deg)} }
@keyframes avBlink { 0%,92%,100%{transform:scaleY(1)} 95%,97%{transform:scaleY(0.08)} }
@keyframes avTalk { to{height:2px;opacity:.4} }
@keyframes avKeyPulse { 0%,100%{background:linear-gradient(180deg,#2d3f55,#1e293b)} 50%{background:linear-gradient(180deg,color-mix(in srgb,var(--svc-color,#6366F1) 20%,#2d3f55),#1e293b)} }
@keyframes typeL { to{transform:rotate(16deg) translateY(-10px)} }
@keyframes typeR { to{transform:rotate(-16deg) translateY(-10px)} }
@keyframes clickL { to{transform:rotate(18deg) translateY(-12px)} }
@keyframes nodeL { to{transform:rotate(6deg) translateY(-4px)} }
@keyframes nodeR { to{transform:rotate(-6deg) translateY(-4px)} }
@keyframes drawL { to{transform:rotate(20deg) translateX(6px) translateY(-6px)} }
@keyframes thinkL { to{transform:rotate(16deg) translateY(-4px)} }
@keyframes thinkR { to{transform:rotate(-16deg) translateY(-4px)} }
@keyframes devopsL { to{transform:rotate(18deg) translateY(-12px)} }
@keyframes devopsR { to{transform:rotate(-18deg) translateY(-12px)} }
@keyframes codeFade { 0%,80%{opacity:0;transform:translateX(-8px)} 20%,60%{opacity:1;transform:none} }
@keyframes codoFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }
@keyframes codoAuraPulse { 0%,100%{opacity:.6;transform:translate(-50%,-50%) scale(1)} 50%{opacity:1;transform:translate(-50%,-50%) scale(1.1)} }
@keyframes antPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.35)} }
@keyframes codoBlink { 0%,90%,100%{transform:scaleY(1)} 93%,97%{transform:scaleY(0.08)} }
@keyframes codoScan { 0%{top:0} 100%{top:100%} }
@keyframes codoGrille { to{height:2px;opacity:.3} }
@keyframes chestPulse { 0%,100%{opacity:.7} 50%{opacity:1} }
@keyframes iconPop { from{transform:scale(0);opacity:0} to{transform:scale(1);opacity:1} }
@keyframes whyPart { 0%{transform:translate(0,0) scale(1);opacity:1} 100%{transform:translate(var(--px),var(--py)) scale(0);opacity:0} }
@keyframes completeIn { from{opacity:0;transform:translateY(20px) scale(.96)} to{opacity:1;transform:none} }
@keyframes sparkSpin { to{transform:rotate(360deg)} }
@keyframes gqShake { 0%,100%{transform:translateX(0)} 20%{transform:translateX(-8px)} 40%{transform:translateX(8px)} 60%{transform:translateX(-6px)} 80%{transform:translateX(6px)} }

/* ── 16. RESPONSIVE ── */

/* Large tablet ≤1100px */
@media (max-width: 1100px) {
  nav { padding: 16px 32px; }
  section { padding: 80px 32px; }
  #clients { padding: 40px 32px; }
  footer { padding: 40px 32px; }
  .services-layout { grid-template-columns: 1fr; gap: 24px; }
  .svc-tabs { flex-direction: row; flex-wrap: wrap; position: static; gap: 8px; }
  .svc-tab { flex: 1 1 calc(33% - 8px); min-width: 140px; }
  .svc-tab-num { display: none; }
  .how-layout { gap: 48px; }
  .about-layout { gap: 48px; }
  .why-arena { grid-template-columns: 1fr 160px 1fr; gap: 16px; }
  .why-node { max-width: 240px; }
}

/* Tablet ≤900px */
@media (max-width: 900px) {
  .how-layout { grid-template-columns: 1fr; gap: 36px; }
  .step-visual { aspect-ratio: 16/9; min-height: 200px; }
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .svc-stage-body { grid-template-columns: 1fr; }
  .svc-avatar-panel { border-right: none; border-bottom: 1px solid rgba(255,255,255,.05); padding: 28px 20px; min-height: 260px; }
  .why-arena { grid-template-columns: 1fr; gap: 24px; }
  .why-col-l, .why-col-r { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: stretch; }
  .why-col-l { order: 2; } .why-center-col { order: 1; } .why-col-r { order: 3; }
  .why-node { max-width: calc(50% - 6px); min-width: 160px; flex: 1 1 calc(50% - 6px); }
  .why-node-beam { display: none; }
  .codo-speech { display: none; }
}

/* Mobile ≤768px */
@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  section { padding: 64px 20px; }
  #clients { padding: 32px 20px; }
  #hero { padding: 96px 20px 56px; }
  h1 { letter-spacing: -1px; }
  .hero-sub { font-size: 16px; max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
  .btn-primary, .btn-ghost { width: 100%; max-width: 340px; text-align: center; }
  .dashboard-card { padding: 16px; border-radius: 14px; }
  .dash-metrics { grid-template-columns: 1fr 1fr; gap: 8px; }
  .metric { padding: 10px 12px; }
  .metric-val { font-size: 18px; }
  .services-layout { grid-template-columns: 1fr; gap: 20px; }
  .svc-tabs { flex-direction: column; position: static; gap: 6px; }
  .svc-tab { flex: none; min-width: 0; }
  .svc-stage { min-height: auto; }
  .svc-stage-body { grid-template-columns: 1fr; }
  .svc-avatar-panel { border-right: none; border-bottom: 1px solid rgba(255,255,255,.05); padding: 24px 16px; min-height: 240px; }
  .svc-info-panel { padding: 22px 18px; }
  .svc-name { font-size: 20px; }
  .svc-desc { font-size: 13px; min-height: auto; }
  .how-layout { grid-template-columns: 1fr; gap: 36px; }
  .step { gap: 16px; padding: 22px 0; }
  .step h4 { font-size: 15px; }
  .step p { font-size: 13px; }
  .testi-card { padding: 28px 24px; }
  .testi-card blockquote { font-size: 15px; }
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-box .num { font-size: 38px; letter-spacing: -1.5px; }
  .about-visual { padding: 28px 20px; }
  .team-row { gap: 12px; }
  .contact-inner { padding: 0; }
  .cf-row { grid-template-columns: 1fr; gap: 0; }
  .cf-shell { border-radius: 18px; }
  .cf-progress-wrap { padding: 16px 20px 0; }
  .cf-body { padding: 20px 20px 0; }
  .cf-footer { padding: 16px 20px 20px; gap: 10px; }
  footer { flex-direction: column; align-items: center; gap: 20px; text-align: center; padding: 32px 20px; }
  .footer-links { justify-content: center; gap: 20px; flex-wrap: wrap; }
  .section-title { letter-spacing: -1px; }
  .section-sub { font-size: 15px; }

  /* Quote modal: slide up as sheet on mobile */
  .gq-overlay { align-items: flex-end; }
  .gq-modal {
    width: 100%; max-width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: min(92vh, 92dvh);
    transform: translateY(100%);
  }
  .gq-overlay.open .gq-modal { transform: translateY(0); }
  .gq-body { max-height: 52vh; }
  .gq-row { grid-template-columns: 1fr; }
  .gq-step-title { font-size: 19px; }
  .gq-field { padding: 12px 14px; font-size: 14px; }
  textarea.gq-field { height: 90px; }

  /* Why lab on mobile */
  .why-node { max-width: 100%; flex: 1 1 100%; }
  .why-col-l, .why-col-r { flex-direction: column; align-items: stretch; }
}

/* Small mobile ≤480px */
@media (max-width: 480px) {
  nav { padding: 12px 16px; }
  .logo-img { height: 28px; }
  section { padding: 52px 16px; }
  #hero { padding: 84px 16px 48px; }
  #clients { padding: 24px 16px; }
  footer { padding: 28px 16px; }
  .hero-badge { font-size: 11px; padding: 5px 12px; margin-bottom: 24px; }
  .btn-primary, .btn-ghost { padding: 13px 20px; font-size: 15px; }
  .dashboard-card { padding: 12px; border-radius: 12px; }
  .dash-metrics { grid-template-columns: 1fr; gap: 8px; }
  .svc-tab { padding: 12px 14px; }
  .svc-tab-label { font-size: 13px; }
  .svc-avatar-panel { min-height: 200px; padding: 16px; }
  .av-monitor { width: 160px; }
  .av-keyboard { width: 140px; }
  .stat-box .num { font-size: 32px; }
  .stats-grid { gap: 12px; }
  .about-visual { padding: 20px 16px; }
  .team-row { gap: 10px; }
  .team-card { padding: 14px; }
  .team-avatar { width: 44px; height: 44px; font-size: 14px; }
  .clients-label { font-size: 11px; letter-spacing: .5px; }
  .marquee { gap: 36px; }
  .marquee-track { gap: 36px; }
  .client-logo { font-size: 15px; }
  .section-sub { font-size: 14px; }
  .hero-visual { margin-top: 40px; }
  .testi-card blockquote { font-size: 14px; }
  .gq-chips { gap: 6px; }
  .gq-chip { font-size: 12px; padding: 7px 12px; }
}
