/* =============================================
   INFERNEST — AI FUTURISTIC DESIGN SYSTEM
   ============================================= */

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@property --bg-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

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

:root {
  --bg:       #070d1a;
  --bg2:      #0c1628;
  --surface:  rgba(255, 255, 255, 0.05);
  --surface2: rgba(255, 255, 255, 0.08);
  --cyan:     #38bdf8;
  --purple:   #6366f1;
  --pink:     #60a5fa;
  --green:    #93c5fd;
  --amber:    #bfdbfe;
  --txt:      #f1f5f9;
  --txt2:     #94a3b8;
  --txt3:     #64748b;
  --border:   rgba(255, 255, 255, 0.08);
  --border2:  rgba(255, 255, 255, 0.16);
  --font:     'Inter', sans-serif;
  --fhead:    'Space Grotesk', sans-serif;
  --mono:     'JetBrains Mono', monospace;
  --r:        12px;
  --r-sm:     8px;
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --t:        0.25s;
}

/* ── Custom scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(56,189,248,0.2); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(56,189,248,0.5); }

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--txt);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
* { min-width: 0; }

/* ── Global utility ── */
.mono { font-family: var(--mono); }
.cyan { color: var(--cyan); }
.purple { color: var(--purple); }
.green { color: var(--green); }
.pink { color: var(--pink); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }

/* ── Neural canvas BG ── */
#neural-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0.18;
}

/* ── Grain overlay ── */
.grain {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none; opacity: 0.012;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ── Scanlines ── */
.scanlines {
  position: fixed; inset: 0; z-index: 2;
  pointer-events: none; opacity: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(56,189,248,0.5) 3px,
    rgba(56,189,248,0.5) 4px
  );
}

/* ── Scroll progress ── */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 9999;
  background: linear-gradient(90deg, #2563eb, #6366f1);
  transition: width 0.1s linear;
}

/* ══════════════ LOADER ══════════════ */
#loader {
  position: fixed; inset: 0; z-index: 9998;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 40px;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
#loader.out { opacity: 0; visibility: hidden; }

.loader-core {
  position: relative; width: 120px; height: 120px;
  display: flex; align-items: center; justify-content: center;
}
.loader-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid transparent;
  animation: spin linear infinite;
}
.r1 { inset: 0;  border-top-color: var(--cyan);   animation-duration: 2s; }
.r2 { inset: 12px; border-top-color: var(--purple); animation-duration: 3s; animation-direction: reverse; }
.r3 { inset: 24px; border-top-color: var(--pink);   animation-duration: 4s; }

.loader-hex {
  width: 56px; height: 56px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
}
.loader-hex span {
  font-family: var(--fhead); font-weight: 800; font-size: 22px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.loader-bar-wrap { text-align: center; }
.loader-label {
  font-family: var(--mono); font-size: 11px; color: var(--txt3);
  letter-spacing: 2px; margin-bottom: 12px;
}
.loader-bar {
  width: 240px; height: 2px;
  background: rgba(56,189,248,0.1);
  border-radius: 99px; overflow: hidden; margin: 0 auto 10px;
}
.loader-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #2563eb, #6366f1);
  border-radius: 99px;
  animation: load 2s var(--ease) forwards;
}
.loader-pct {
  font-family: var(--mono); font-size: 13px; color: var(--cyan);
}
@keyframes load { to { width: 100%; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════ NAVBAR ══════════════ */
#navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 28px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
#navbar.solid .nav-inner {
  background: rgba(7, 13, 26, 0.92);
  backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.logo-img {
  width: 38px; height: 38px;
  display: block; flex-shrink: 0;
}
.logo span {
  font-family: var(--fhead); font-weight: 800; font-size: 17px;
  letter-spacing: 1.5px;
  background: linear-gradient(90deg, #2563eb, #14b8a6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-list {
  display: flex; align-items: center; gap: 2px; list-style: none;
}
.nav-a {
  display: block; padding: 8px 14px;
  color: var(--txt2); text-decoration: none; font-size: 14px; font-weight: 500;
  border-radius: 8px;
  transition: color var(--t), background var(--t);
}
.nav-a:hover { color: var(--cyan); background: rgba(56,189,248,0.06); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px;
  background: linear-gradient(135deg, rgba(56,189,248,0.15), rgba(99,102,241,0.15));
  border: 1px solid rgba(56,189,248,0.25);
  color: var(--cyan); font-size: 14px; font-weight: 600;
  text-decoration: none; border-radius: 10px;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.nav-cta:hover {
  background: linear-gradient(135deg, rgba(56,189,248,0.25), rgba(99,102,241,0.25));
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(56,189,248,0.2);
}
.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--txt2); border-radius: 99px;
  transition: var(--t);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  display: flex; flex-direction: column;
  background: rgba(7,13,26,0.98); backdrop-filter: blur(24px);
  border-bottom: 1px solid transparent;
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease), border-color 0.4s;
}
.mobile-nav.open { max-height: 400px; border-color: var(--border); }
.mobile-nav a {
  display: block; padding: 15px 20px;
  color: var(--txt2); text-decoration: none; font-weight: 500; font-size: 15px;
  border-bottom: 1px solid var(--border);
  transition: color var(--t), background var(--t);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--cyan); background: rgba(56,189,248,0.04); }
.mobile-nav a:active { color: var(--cyan); }

/* ══════════════ HERO ══════════════ */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 28px 80px;
  z-index: 3;
}
.hero-aurora {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(56,189,248,0.06), transparent),
    radial-gradient(ellipse 60% 80% at 20% 30%, rgba(99,102,241,0.07), transparent),
    radial-gradient(ellipse 50% 50% at 50% 100%, rgba(56,189,248,0.03), transparent);
}
.hero-grid-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(56,189,248,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 40%, transparent);
}
.hero-wrap {
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: flex; align-items: center;
  gap: 60px; position: relative; z-index: 2;
}
.hero-left { flex: 1; min-width: 0; }

/* Hero Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(56,189,248,0.07);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: 99px;
  font-size: 12px; font-weight: 500; color: var(--txt2);
  margin-bottom: 32px;
  letter-spacing: 0.3px;
}
.badge-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: bpulse 2s ease-in-out infinite;
}
@keyframes bpulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }
.badge-sep { color: var(--txt3); }
.hero-badge .mono { color: var(--cyan); letter-spacing: 1px; font-size: 11px; }

/* Hero Title */
.hero-title {
  font-family: var(--fhead);
  margin-bottom: 24px;
  line-height: 1.02;
}
.title-line {
  display: block;
  font-size: clamp(72px, 9.5vw, 128px);
  font-weight: 800;
  letter-spacing: -4px;
  background: linear-gradient(160deg, #ffffff 0%, #e2e8f0 60%, #94a3b8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.title-line::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  background: inherit; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  filter: blur(6px) opacity(0.15);
  z-index: -1;
}
.title-sub {
  display: block;
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 400; letter-spacing: -0.3px;
  color: var(--txt3); margin-top: 10px;
}
.tw-text { color: var(--cyan); font-weight: 600; }
.tw-cursor {
  color: var(--cyan); font-weight: 300;
  animation: blink 0.7s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-desc {
  font-size: 16px; color: var(--txt3); line-height: 1.8;
  max-width: 540px; margin-bottom: 44px;
  border-left: 2px solid rgba(56,189,248,0.25);
  padding-left: 18px;
}
.hero-btns {
  display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px;
}

/* Buttons */
.btn-neo {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff; font-weight: 600; font-size: 15px;
  text-decoration: none; border-radius: 10px;
  box-shadow: 0 4px 20px rgba(37,99,235,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: transform var(--t), box-shadow var(--t);
  position: relative; overflow: hidden;
}
.btn-neo::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
  opacity: 0; transition: opacity var(--t);
}
.btn-neo:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(37,99,235,0.5); }
.btn-neo:hover::before { opacity: 1; }

.btn-glass {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(56,189,248,0.2);
  color: var(--txt); font-weight: 500; font-size: 15px;
  text-decoration: none; border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.btn-glass:hover {
  background: rgba(56,189,248,0.08);
  border-color: rgba(56,189,248,0.4);
  box-shadow: 0 0 20px rgba(56,189,248,0.1);
}

/* Hero Stats */
.hero-stats {
  display: flex; align-items: center; gap: 0; flex-wrap: wrap;
}
.hstat { padding: 0 32px; }
.hstat:first-child { padding-left: 0; }
.hstat-num {
  font-family: var(--fhead);
  font-size: 38px; font-weight: 800;
  background: linear-gradient(135deg, var(--txt), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1.1;
}
.hstat-label {
  font-size: 12px; color: var(--txt3); font-weight: 500; margin-top: 2px;
}
.hstat-div {
  width: 1px; height: 36px; background: var(--border2); flex-shrink: 0;
}

/* ── AI Orb ── */
.hero-right {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  width: 480px; height: 480px;
}
.ai-orb-container {
  position: relative; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.orb-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid transparent;
}
.orb-ring-1 {
  width: 180px; height: 180px;
  border-color: rgba(56,189,248,0.15);
  animation: spin 6s linear infinite;
}
.orb-ring-2 {
  width: 280px; height: 280px;
  border-top-color: rgba(99,102,241,0.3);
  border-bottom-color: rgba(56,189,248,0.1);
  animation: spin 10s linear infinite reverse;
}
.orb-ring-3 {
  width: 370px; height: 370px;
  border-left-color: rgba(56,189,248,0.12);
  border-right-color: rgba(99,102,241,0.12);
  animation: spin 16s linear infinite;
}
.orb-ring-4 {
  width: 460px; height: 460px;
  border-top-color: rgba(56,189,248,0.06);
  animation: spin 24s linear infinite reverse;
}
.orb-core {
  position: relative; z-index: 3;
  width: 110px; height: 110px;
}
.orb-inner {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(56,189,248,0.2), rgba(99,102,241,0.3));
  border: 1px solid rgba(56,189,248,0.4);
  border-radius: 28px;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 60px rgba(56,189,248,0.3), inset 0 0 40px rgba(56,189,248,0.1);
  position: relative; overflow: hidden;
}
.orb-inner::before {
  content: '';
  position: absolute; inset: 0;
  background: conic-gradient(from var(--angle), transparent 80%, rgba(56,189,248,0.3));
  animation: spin 3s linear infinite;
}
.orb-logo {
  width: 60px; height: 60px;
  display: block; position: relative; z-index: 1;
  filter: drop-shadow(0 0 12px rgba(56,189,248,0.6));
}
.orb-pulse {
  position: absolute; inset: -2px; border-radius: inherit;
  border: 2px solid rgba(56,189,248,0.5);
  animation: oPulse 2s ease-in-out infinite;
}
@keyframes oPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.3; }
}
.o-node {
  position: absolute; z-index: 4;
  width: 44px; height: 44px;
  background: rgba(4,16,36,0.9);
  border: 1px solid var(--border2);
  border-radius: 12px; backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  transition: transform 0.3s;
}
.o-node:hover { transform: scale(1.15) !important; }
.n1 { top: 20px; left: 50%; transform: translateX(-50%); }
.n2 { top: 50%; right: 20px; transform: translateY(-50%); }
.n3 { bottom: 20px; left: 50%; transform: translateX(-50%); }
.n4 { top: 50%; left: 20px; transform: translateY(-50%); }
.n5 { top: 80px; right: 60px; }
.n6 { bottom: 80px; left: 60px; }

.data-stream {
  position: absolute; border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: dStream linear infinite;
}
.ds1 { width: 120px; height: 1px; top: 50%; left: 50%; animation-duration: 3s; transform-origin: left; }
.ds2 { width: 80px; height: 1px; top: 40%; left: 50%; animation-duration: 4s; transform-origin: left; transform: rotate(60deg); }
@keyframes dStream { 0%{opacity:0;} 30%,70%{opacity:0.6;} 100%{opacity:0;} }

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 2;
}
.scroll-track {
  width: 22px; height: 36px;
  border: 1px solid rgba(56,189,248,0.3);
  border-radius: 99px;
  display: flex; justify-content: center; padding: 6px 0;
}
.scroll-dot {
  width: 4px; height: 8px;
  background: var(--cyan); border-radius: 99px;
  box-shadow: 0 0 8px var(--cyan);
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0.2; }
  100% { transform: translateY(0); opacity: 1; }
}
.scroll-hint span { font-size: 10px; color: var(--txt3); letter-spacing: 3px; }

/* ══════════════ SECTIONS ══════════════ */
.section {
  position: relative; z-index: 3;
  padding: 110px 0;
  background: var(--bg);
}
.section-alt { background: var(--bg2); }
.section-aurora {
  position: absolute; inset: 0; pointer-events: none;
}
.aurora-purple {
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(99,102,241,0.08), transparent),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(56,189,248,0.05), transparent);
}
.aurora-cyan {
  background:
    radial-gradient(ellipse 70% 60% at 10% 50%, rgba(56,189,248,0.07), transparent),
    radial-gradient(ellipse 50% 50% at 90% 30%, rgba(99,102,241,0.05), transparent);
}
.aurora-green {
  background:
    radial-gradient(ellipse 60% 60% at 60% 30%, rgba(56,189,248,0.05), transparent),
    radial-gradient(ellipse 50% 50% at 30% 80%, rgba(99,102,241,0.04), transparent);
}
.aurora-pink {
  background:
    radial-gradient(ellipse 60% 50% at 70% 60%, rgba(99,102,241,0.06), transparent),
    radial-gradient(ellipse 50% 60% at 10% 30%, rgba(56,189,248,0.04), transparent);
}
.aurora-multi {
  background:
    radial-gradient(ellipse 50% 50% at 20% 30%, rgba(56,189,248,0.05), transparent),
    radial-gradient(ellipse 50% 50% at 80% 70%, rgba(99,102,241,0.05), transparent),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(56,189,248,0.03), transparent);
}

.section-head {
  text-align: center; margin-bottom: 60px;
}
.chip {
  display: inline-block;
  padding: 4px 0;
  background: none;
  border: none;
  border-bottom: 1.5px solid rgba(56,189,248,0.35);
  border-radius: 0;
  font-family: var(--font); font-size: 10px; font-weight: 700;
  color: var(--txt3); letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: 20px;
}
.s-title {
  font-family: var(--fhead);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800; letter-spacing: -2px;
  color: var(--txt); margin-bottom: 16px; line-height: 1.05;
}
.s-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: none;
}
.s-sub {
  font-size: 17px; color: var(--txt2);
  max-width: 520px; margin: 0 auto; line-height: 1.7;
}
.s-desc { font-size: 16px; color: var(--txt2); line-height: 1.8; margin-bottom: 16px; }

/* ── Reveal animation ── */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
[data-reveal].revealed { opacity: 1; transform: none; }

/* ══════════════ ABOUT ══════════════ */
.about-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-pillars { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.pillar-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: border-color var(--t), background var(--t);
}
.pillar-item:hover { border-color: var(--border2); background: rgba(56,189,248,0.03); }
.pi-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 10px currentColor; }
.pillar-item strong { display: block; font-size: 14px; font-weight: 600; color: var(--txt); }
.pillar-item span { font-size: 13px; color: var(--txt2); }

/* HUD Card */
.about-hud {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r); padding: 36px;
  backdrop-filter: blur(20px);
}
.hud-corner {
  position: absolute; width: 14px; height: 14px;
  border-color: var(--cyan); border-style: solid;
}
.hud-corner.tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-radius: 2px 0 0 0; }
.hud-corner.tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; border-radius: 0 2px 0 0; }
.hud-corner.bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; border-radius: 0 0 0 2px; }
.hud-corner.br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-radius: 0 0 2px 0; }
.hud-label {
  font-size: 10px; color: var(--txt3); letter-spacing: 2px;
  margin-bottom: 24px;
}
.hud-metrics {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 16px; margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.hud-m { text-align: center; }
.hud-m-value {
  font-family: var(--fhead); font-size: 24px; font-weight: 800;
  line-height: 1; margin-bottom: 6px;
}
.hud-m-value.cyan { color: var(--cyan); }
.hud-m-value.purple { color: var(--purple); }
.hud-m-value.green { color: var(--green); }
.hud-m-value.pink { color: var(--pink); }
.hud-m-label { font-size: 11px; color: var(--txt3); }
.chart-label { font-size: 10px; color: var(--txt3); letter-spacing: 2px; margin-bottom: 16px; }
.chart-bars { display: flex; flex-direction: column; gap: 12px; }
.cbar {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--txt2);
  width: 100%;
}
.cbar > span:first-child { min-width: 90px; max-width: 90px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cbar > .mono {
  min-width: 40px; text-align: right; font-size: 13px; font-weight: 700;
  color: var(--c, var(--cyan)); flex-shrink: 0;
  text-shadow: 0 0 10px var(--c, var(--cyan));
  letter-spacing: 0.3px;
}
.cbar-track {
  flex: 1; height: 4px; min-width: 0;
  background: rgba(255,255,255,0.06);
  border-radius: 99px; overflow: hidden;
}
.cbar-fill {
  height: 100%; border-radius: 99px;
  background: var(--c, var(--cyan));
  box-shadow: 0 0 8px var(--c, var(--cyan));
  width: 0%;
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ══════════════ SERVICES ══════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}
.svc-card {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r); padding: 32px;
  backdrop-filter: blur(16px);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  cursor: default;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 0 1px var(--border2);
  border-color: var(--border2);
}
.svc-card:hover .svc-glow { opacity: 1; }
.svc-card:hover .svc-border { opacity: 1; }
.svc-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--gc, #38bdf8) 12%, transparent), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.svc-border {
  position: absolute; inset: 0;
  border-radius: var(--r);
  padding: 1px; /* border thickness */
  background: conic-gradient(from var(--angle), transparent 30%, var(--gc, #38bdf8) 50%, transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 4s linear infinite;
  opacity: 0; transition: opacity 0.3s;
  pointer-events: none;
}
.rotating-border { opacity: 1 !important; }
.featured-card {
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(56,189,248,0.05));
}
.featured-tag {
  position: absolute; top: 18px; right: 18px;
  padding: 5px 12px;
  background: #2563eb;
  border-radius: 4px; font-size: 10px; font-weight: 700;
  color: #fff; letter-spacing: 1.5px;
}
.svc-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ic, var(--cyan));
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  transition: box-shadow var(--t), border-color var(--t);
}
.svc-card:hover .svc-icon {
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 0 24px color-mix(in srgb, var(--ic, #38bdf8) 25%, transparent);
}
.svc-card h3 {
  font-family: var(--fhead);
  font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--txt);
}
.svc-card p { font-size: 14px; color: var(--txt2); line-height: 1.7; margin-bottom: 18px; }
.svc-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px;
}
.svc-tags span {
  padding: 3px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 5px; font-size: 11px; color: var(--txt3);
  transition: color var(--t), border-color var(--t);
}
.svc-card:hover .svc-tags span { color: var(--txt2); border-color: var(--border2); }
.svc-arrow {
  font-size: 18px; color: var(--txt3);
  transition: color var(--t), transform var(--t);
}
.svc-card:hover .svc-arrow { color: var(--cyan); transform: translateX(4px); }

/* ══════════════ AI SOLUTIONS ══════════════ */
.ai-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.ai-tabs {
  display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 32px;
}
.ai-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: none; border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--txt3); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all var(--t);
  font-family: var(--font);
}
.ai-tab:hover { color: var(--txt); border-color: var(--border2); }
.ai-tab.active {
  background: rgba(56,189,248,0.08);
  border-color: var(--cyan); color: var(--cyan);
  box-shadow: 0 0 16px rgba(56,189,248,0.12);
}
.ai-panel { display: none; }
.ai-panel.active { display: block; animation: panelIn 0.3s var(--ease); }
@keyframes panelIn { from { opacity:0; transform: translateY(8px); } to { opacity:1; transform:none; } }
.ai-panel h3 {
  font-family: var(--fhead);
  font-size: 24px; font-weight: 700; margin-bottom: 12px; color: var(--txt);
}
.ai-panel p { font-size: 15px; color: var(--txt2); line-height: 1.7; margin-bottom: 24px; }
.ai-features { list-style: none; margin-bottom: 28px; }
.ai-features li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--txt2); padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--t);
}
.ai-features li:hover { color: var(--txt); }
.ai-features li:last-child { border-bottom: none; }
.af-check { color: var(--cyan); font-size: 10px; flex-shrink: 0; }
.btn-neo-sm {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px;
  background: linear-gradient(135deg, rgba(56,189,248,0.15), rgba(99,102,241,0.15));
  border: 1px solid rgba(56,189,248,0.3);
  color: var(--cyan); font-size: 14px; font-weight: 600;
  text-decoration: none; border-radius: var(--r-sm);
  transition: background var(--t), box-shadow var(--t);
}
.btn-neo-sm:hover { background: rgba(56,189,248,0.2); box-shadow: 0 0 20px rgba(56,189,248,0.15); }

/* AI Visual Panel */
.ai-visual-panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
  backdrop-filter: blur(16px);
  padding: 16px;
}
.avp-hud-corner { position: absolute; width: 12px; height: 12px; border-color: var(--cyan); border-style: solid; }
.avp-hud-corner.tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.avp-hud-corner.tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.avp-hud-corner.bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.avp-hud-corner.br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
#mini-neural { display: block; width: 100%; border-radius: 10px; }
.avp-label {
  font-size: 10px; color: var(--txt3); letter-spacing: 2px;
  text-align: center; margin-top: 12px; margin-bottom: 8px;
}
.avp-status {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; color: var(--green);
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
  animation: bpulse 1.5s ease-in-out infinite;
}

/* ══════════════ EDUCATION ══════════════ */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px; margin-bottom: 32px;
}
.edu-card {
  position: relative;
  background: var(--surface); border-radius: var(--r); padding: 32px;
  backdrop-filter: blur(16px);
  transition: transform var(--t);
  overflow: hidden;
}
.edu-card:hover { transform: translateY(-4px); }
.edu-card-border {
  position: absolute; inset: 0; border-radius: var(--r); padding: 1px;
  background: conic-gradient(from var(--angle), transparent 60%, rgba(56,189,248,0.3) 80%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 6s linear infinite;
  pointer-events: none; opacity: 0;
  transition: opacity 0.3s;
}
.edu-card:hover .edu-card-border { opacity: 1; }
.edu-num {
  position: absolute; top: 20px; right: 24px;
  font-size: 44px; font-weight: 700; color: rgba(255,255,255,0.03);
  line-height: 1;
}
.edu-icon-wrap {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--ec, var(--cyan));
  transition: box-shadow var(--t);
}
.edu-card:hover .edu-icon-wrap { box-shadow: 0 0 24px rgba(56,189,248,0.2); }
.edu-card h4 { font-family: var(--fhead); font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.edu-card p { font-size: 14px; color: var(--txt2); line-height: 1.7; }
.edu-disclaimer {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(255,214,10,0.06);
  border: 1px solid rgba(255,214,10,0.2);
  border-radius: var(--r-sm); padding: 20px;
}
.disclaimer-icon {
  flex-shrink: 0; width: 32px; height: 32px;
  background: rgba(255,214,10,0.1);
  border: 1px solid rgba(255,214,10,0.3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--amber); font-size: 14px; font-weight: 700;
}
.edu-disclaimer p { font-size: 13px; color: rgba(255,214,10,0.8); line-height: 1.6; }

/* ══════════════ WHY US ══════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}
.why-card {
  position: relative; overflow: hidden;
  background: var(--surface); border-radius: var(--r); padding: 32px;
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--wc, var(--cyan));
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 20px color-mix(in srgb, var(--wc, #38bdf8) 12%, transparent);
}
.wc-num {
  position: absolute; top: 16px; right: 20px;
  font-size: 48px; font-weight: 700; line-height: 1;
  color: rgba(255,255,255,0.03);
}
.wc-icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: box-shadow var(--t), border-color var(--t);
}
.why-card:hover .wc-icon {
  border-color: var(--wc, var(--cyan));
  box-shadow: 0 0 20px color-mix(in srgb, var(--wc, #38bdf8) 22%, transparent);
}
.why-card h4 { font-family: var(--fhead); font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--txt2); line-height: 1.7; }

/* ══════════════ MANIFESTO BAND ══════════════ */
.manifesto-band {
  position: relative; z-index: 3;
  padding: 80px 28px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  text-align: center;
  overflow: hidden;
}
.manifesto-band::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 100% at 50% 50%, rgba(37,99,235,0.04), transparent);
}
.manifesto-inner {
  max-width: 900px; margin: 0 auto;
  position: relative; z-index: 1;
}
.manifesto-label {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--txt3); margin-bottom: 28px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.manifesto-label::before, .manifesto-label::after {
  content: ''; display: block;
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,0.4));
}
.manifesto-label::after { transform: scaleX(-1); }
.manifesto-text {
  font-family: var(--fhead);
  font-size: clamp(28px, 4.5vw, 60px);
  font-weight: 800; letter-spacing: -2px; line-height: 1.1;
  color: var(--txt); margin: 0 0 16px;
}
.manifesto-text em {
  font-style: normal;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.manifesto-sub {
  font-size: clamp(14px, 1.5vw, 17px); color: var(--txt3);
  font-weight: 400; margin: 0;
}
@media (max-width: 768px) {
  .manifesto-band { padding: 56px 24px; }
  .manifesto-text { letter-spacing: -1px; }
}

/* ══════════════ CTA BAND ══════════════ */
.cta-band {
  position: relative; z-index: 3;
  padding: 100px 28px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-band-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 50%, rgba(56,189,248,0.06), rgba(99,102,241,0.04), transparent);
  pointer-events: none;
}
.cta-band-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(56,189,248,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 100% at 50% 50%, black, transparent);
}
.cta-band-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 60px; flex-wrap: wrap;
  position: relative; z-index: 2;
}
.cta-band-text { flex: 1; min-width: 280px; }
.cta-band-text h2 {
  font-family: var(--fhead);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800; letter-spacing: -1.5px;
  color: var(--txt); margin-bottom: 14px; line-height: 1.1;
}
.cta-band-text h2 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cta-band-text p { font-size: 17px; color: var(--txt2); max-width: 480px; }
.cta-band-actions { display: flex; gap: 16px; flex-wrap: wrap; flex-shrink: 0; }
.btn-neo-lg {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff; font-weight: 600; font-size: 16px;
  text-decoration: none; border-radius: 10px;
  box-shadow: 0 4px 24px rgba(37,99,235,0.35);
  transition: transform var(--t), box-shadow var(--t);
}
.btn-neo-lg:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(37,99,235,0.5); }
.btn-glass-lg {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(56,189,248,0.2);
  color: var(--txt); font-weight: 500; font-size: 16px;
  text-decoration: none; border-radius: 14px;
  transition: background var(--t), border-color var(--t);
}
.btn-glass-lg:hover { background: rgba(56,189,248,0.08); border-color: rgba(56,189,248,0.4); }

/* ══════════════ CONTACT ══════════════ */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start;
}
.contact-info-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r); padding: 36px;
  backdrop-filter: blur(16px);
}
.cic-hud-corner { position: absolute; width: 12px; height: 12px; border-color: var(--cyan); border-style: solid; }
.cic-hud-corner.tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.cic-hud-corner.tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.cic-hud-corner.bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.cic-hud-corner.br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
.cic-label { font-size: 10px; color: var(--txt3); letter-spacing: 2px; margin-bottom: 28px; }
.cinfo {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.ci-icon {
  width: 42px; height: 42px; min-width: 42px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--cc, var(--cyan));
}
.cinfo strong { display: block; font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.cinfo span { font-size: 13px; color: var(--txt3); }
.social-row { display: flex; gap: 10px; align-items: center; margin-top: 24px; flex-wrap: wrap; }
.s-btn {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--txt3); text-decoration: none;
  transition: color var(--t), border-color var(--t), background var(--t), box-shadow var(--t);
}
.s-btn:hover { color: var(--cyan); border-color: rgba(56,189,248,0.3); background: rgba(56,189,248,0.07); box-shadow: 0 0 12px rgba(56,189,248,0.12); }

/* Contact Form */
.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r); padding: 40px;
  backdrop-filter: blur(16px);
}
.cfc-label { font-size: 10px; color: var(--txt3); letter-spacing: 2px; margin-bottom: 28px; }
.c-form { display: flex; flex-direction: column; gap: 20px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cf-group { display: flex; flex-direction: column; gap: 8px; }
.cf-group label { font-size: 13px; font-weight: 600; color: var(--txt2); }
.cf-group input, .cf-group select, .cf-group textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 12px 16px;
  color: var(--txt); font-size: 14px;
  font-family: var(--font); outline: none;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.cf-group input::placeholder, .cf-group textarea::placeholder { color: var(--txt3); }
.cf-group select:not([multiple]) {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a9bbf' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
  cursor: pointer;
}
.cf-group select option { background: #010a18; color: var(--txt); }
.cf-required { color: var(--pink); font-size: 14px; }

/* ── Custom multi-select dropdown ── */
.cf-dropdown { position: relative; }
.cf-dd-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 12px 16px;
  color: var(--txt3); font-size: 14px; font-family: var(--font);
  text-align: left; cursor: pointer; outline: none;
  transition: border-color var(--t), box-shadow var(--t), background var(--t), color var(--t);
}
.cf-dd-trigger:hover { border-color: var(--border2); }
.cf-dd-trigger.open, .cf-dd-trigger:focus {
  border-color: rgba(56,189,248,0.4);
  background: rgba(56,189,248,0.04);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.08);
  color: var(--txt);
}
.cf-dd-trigger svg { flex-shrink: 0; transition: transform 0.3s var(--ease); opacity: 0.6; }
.cf-dd-trigger.open svg { transform: rotate(180deg); }
.cf-dd-trigger span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cf-dd-panel {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 200;
  background: rgba(7,13,26,0.99);
  border: 1px solid var(--border2);
  border-radius: var(--r-sm);
  backdrop-filter: blur(24px);
  max-height: 260px; overflow-y: auto;
  display: none;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 0 1px rgba(56,189,248,0.05);
}
.cf-dd-panel.open { display: block; animation: panelIn 0.2s var(--ease); }
.cf-dd-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px; cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
  user-select: none;
}
.cf-dd-opt:last-child { border-bottom: none; }
.cf-dd-opt:hover { background: rgba(56,189,248,0.06); }
.cf-dd-opt:has(input:checked) { background: rgba(56,189,248,0.04); }
.cf-dd-opt input[type="checkbox"] {
  width: 17px; height: 17px; min-width: 17px; flex-shrink: 0;
  -webkit-appearance: none; appearance: none;
  border: 1.5px solid var(--border2);
  border-radius: 4px;
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.cf-dd-opt input[type="checkbox"]:checked {
  background: var(--cyan); border-color: var(--cyan);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 5L4.5 8.5L10.5 1.5' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 8px;
}
.cf-dd-opt span { font-size: 14px; color: var(--txt2); line-height: 1.4; }
.cf-dd-opt:has(input:checked) span { color: var(--txt); font-weight: 500; }
.cf-dd-trigger.cf-invalid {
  border-color: rgba(248,113,113,0.5);
  box-shadow: 0 0 0 3px rgba(248,113,113,0.1);
}
.cf-group input:focus, .cf-group select:focus, .cf-group textarea:focus {
  border-color: rgba(56,189,248,0.4);
  background: rgba(56,189,248,0.04);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.08);
}
.btn-submit-neo {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px; width: 100%;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff; font-weight: 600; font-size: 15px;
  border: none; border-radius: var(--r-sm); cursor: pointer;
  box-shadow: 0 4px 20px rgba(37,99,235,0.3);
  transition: transform var(--t), box-shadow var(--t);
  font-family: var(--font);
}
.btn-submit-neo:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(37,99,235,0.45); }
.btn-submit-neo:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.cf-success {
  display: none;
  align-items: center; gap: 10px;
  padding: 14px 18px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: var(--r-sm);
  font-size: 14px; color: #22c55e;
}
.cf-success span { font-size: 18px; }
.cf-error {
  display: none;
  align-items: center; gap: 10px;
  padding: 14px 18px;
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.25);
  border-radius: var(--r-sm);
  font-size: 14px; color: #f87171;
}
.cf-error span { font-size: 18px; }

/* ══════════════ FOOTER ══════════════ */
#footer {
  position: relative; z-index: 3;
  background: #000205;
  border-top: 1px solid var(--border);
  padding: 72px 28px 32px;
}
.footer-aurora {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(56,189,248,0.04), transparent);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; max-width: 1280px; margin: 0 auto 48px;
}
.footer-brand p { font-size: 14px; color: var(--txt3); margin-top: 16px; margin-bottom: 20px; max-width: 260px; line-height: 1.7; }
.f-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.f-badge {
  padding: 4px 12px; border-radius: 6px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.5px;
}
.f-badge.cyan { background: rgba(56,189,248,0.08); border: 1px solid rgba(56,189,248,0.15); color: var(--cyan); }
.f-badge.purple { background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.15); color: var(--purple); }
.f-col { display: flex; flex-direction: column; gap: 12px; }
.f-col h5 {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  color: var(--txt2); text-transform: uppercase; margin-bottom: 4px;
  font-family: var(--mono);
}
.f-col a {
  font-size: 14px; color: var(--txt3); text-decoration: none;
  transition: color var(--t);
}
.f-col a:hover { color: var(--cyan); }
.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  padding-top: 28px; border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 11px; color: var(--txt3); letter-spacing: 1px; }
.f-legal { display: flex; gap: 20px; }
.f-legal a { font-size: 13px; color: var(--txt3); text-decoration: none; transition: color var(--t); }
.f-legal a:hover { color: var(--txt2); }

/* ══════════════ RESPONSIVE ══════════════ */

/* ─────────────────────────────────────
   ≤1280px  Container breathing room
───────────────────────────────────── */
@media (max-width: 1280px) {
  .hero-wrap { gap: 40px; }
  .hero-right { width: 420px; height: 420px; }
  .orb-ring-3 { width: 340px; height: 340px; }
  .orb-ring-4 { width: 410px; height: 410px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
}

/* ─────────────────────────────────────
   ≤1100px  Large tablet / small laptop
───────────────────────────────────── */
@media (max-width: 1100px) {
  .container { padding: 0 24px; }
  .section { padding: 90px 0; }
  .section-head { margin-bottom: 56px; }

  /* Hero */
  #hero { padding: 100px 24px 64px; }
  .hero-wrap { gap: 32px; }
  .hero-right { width: 340px; height: 340px; }
  .orb-ring-3 { width: 300px; height: 300px; }
  .orb-ring-4 { display: none; }
  .n5, .n6 { display: none; }
  .hero-btns { margin-bottom: 48px; }

  /* Layouts → single col */
  .about-layout  { grid-template-columns: 1fr; gap: 36px; }
  .ai-layout     { grid-template-columns: 1fr; gap: 36px; }
  .contact-layout{ grid-template-columns: 1fr; gap: 36px; }

  /* Grids → 2 col */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .why-grid      { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  /* HUD */
  .about-hud { padding: 28px; }
  .hud-metrics { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* AI visual */
  .ai-visual-panel { padding: 14px; }
  #mini-neural { height: 300px; }

  /* CTA */
  .cta-band { padding: 80px 24px; }
  .cta-band-inner { flex-direction: column; text-align: center; gap: 32px; }
  .cta-band-text p { margin: 0 auto; }
  .cta-band-actions { justify-content: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
  #footer { padding: 60px 24px 28px; }
  .footer-grid  { margin-bottom: 40px; }

  /* Contact cards */
  .contact-info-card { padding: 28px; }
  .contact-form-card { padding: 32px; }
}

/* ─────────────────────────────────────
   ≤900px  Tablet portrait
───────────────────────────────────── */
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 44px; }

  /* Chip + title */
  .s-title { font-size: clamp(28px, 5vw, 44px); letter-spacing: -1px; }
  .s-sub   { font-size: 16px; }

  /* Hero – stack with orb below */
  #hero { padding: 88px 20px 56px; }
  .hero-wrap { flex-direction: column; align-items: center; gap: 36px; }
  .hero-left { width: 100%; text-align: left; }
  .hero-right { width: 260px; height: 260px; }
  .orb-ring-1 { width: 130px; height: 130px; }
  .orb-ring-2 { width: 196px; height: 196px; }
  .orb-ring-3 { width: 255px; height: 255px; }
  .orb-core   { width: 80px;  height: 80px; }
  .orb-logo   { width: 46px; height: 46px; }
  .n1,.n2,.n3,.n4 { width: 36px; height: 36px; }
  .hero-title { margin-bottom: 18px; }
  .hero-desc  { font-size: 16px; margin-bottom: 28px; }
  .hero-btns  { gap: 12px; margin-bottom: 36px; }

  /* Hero stats – scrollable strip */
  .hero-stats { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; gap: 0;
                -webkit-overflow-scrolling: touch; }
  .hstat      { padding: 0 22px; flex-shrink: 0; }
  .hstat:first-child { padding-left: 0; }
  .hstat-num  { font-size: 30px; }
  .hstat-div  { height: 28px; }

  /* About */
  .about-pillars { gap: 10px; }
  .pillar-item   { padding: 12px 14px; gap: 10px; }
  .about-hud     { padding: 22px; }
  .hud-metrics   { gap: 12px; margin-bottom: 24px; padding-bottom: 22px; }
  .hud-m-value   { font-size: 22px; }
  .cbar          { gap: 8px; }
  .cbar > span:first-child { min-width: 80px; max-width: 80px; font-size: 12px; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .svc-card      { padding: 26px; }
  .svc-icon      { width: 50px; height: 50px; margin-bottom: 16px; }
  .svc-card h3   { font-size: 17px; }

  /* AI Solutions */
  .ai-tabs { gap: 6px; }
  .ai-tab  { padding: 9px 14px; font-size: 13px; }
  .ai-panel h3 { font-size: 22px; }
  #mini-neural { height: 260px; }

  /* Why Us */
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .why-card { padding: 26px; }

  /* CTA */
  .cta-band { padding: 64px 20px; }
  .cta-band-text h2 { font-size: clamp(28px, 5vw, 44px); }
  .cta-band-text p  { font-size: 16px; }
  .btn-neo-lg, .btn-glass-lg { padding: 14px 28px; font-size: 15px; }

  /* Contact */
  .contact-info-card { padding: 24px; }
  .contact-form-card { padding: 28px; }
  .c-form { gap: 18px; }
  .cinfo { padding: 13px 0; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 36px; }
  #footer { padding: 52px 20px 24px; }
  .footer-brand p { max-width: 320px; }
}

/* ─────────────────────────────────────
   ≤768px  Mobile landscape / large phone
───────────────────────────────────── */
@media (max-width: 768px) {
  :root { --r: 14px; --r-sm: 10px; }
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }

  /* Navbar */
  .nav-list { display: none; }
  .burger   { display: flex; }
  .nav-inner { padding: 0 16px; height: 62px; }
  .logo span  { font-size: 15px; }
  .logo-img   { width: 32px; height: 32px; }

  /* Hero */
  #hero { padding: 84px 16px 48px; min-height: 100svh; }
  .hero-wrap { flex-direction: column; gap: 0; }
  .hero-right { display: none; }
  .scroll-hint { display: none; }

  .hero-badge   { font-size: 11px; padding: 6px 12px; margin-bottom: 18px; gap: 8px; }
  .badge-sep    { display: none; }
  .hero-badge .mono { display: none; }

  .title-line  { font-size: clamp(40px, 11vw, 62px); letter-spacing: -2px; }
  .title-sub   { font-size: clamp(15px, 4.2vw, 20px); margin-top: 6px; }
  .hero-title  { margin-bottom: 16px; }
  .hero-desc   { font-size: 15px; line-height: 1.7; margin-bottom: 24px; max-width: 100%; }
  .hero-btns   { flex-direction: column; gap: 10px; margin-bottom: 28px; }
  .btn-neo, .btn-glass { width: 100%; justify-content: center; padding: 14px 20px; font-size: 15px; }

  /* Hero stats → 2×2 card grid */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 0;
    padding: 18px 14px;
    background: rgba(56,189,248,0.04);
    border: 1px solid var(--border);
    border-radius: var(--r);
  }
  .hstat-div   { display: none; }
  .hstat       { padding: 0; }
  .hstat-num   { font-size: 26px; }
  .hstat-label { font-size: 11px; }

  /* Section text */
  .s-title { font-size: clamp(24px, 6.5vw, 36px); letter-spacing: -0.7px; }
  .s-sub   { font-size: 15px; max-width: 100%; }
  .chip    { font-size: 10px; letter-spacing: 1.5px; margin-bottom: 12px; }

  /* About */
  .about-layout  { grid-template-columns: 1fr; gap: 28px; }
  .about-pillars { gap: 8px; margin-top: 24px; }
  .pillar-item   { padding: 11px 12px; gap: 10px; }
  .pi-dot        { width: 7px; height: 7px; }
  .pillar-item strong { font-size: 13px; }
  .pillar-item span   { font-size: 12px; }

  .about-hud   { padding: 18px; }
  .hud-label   { margin-bottom: 16px; }
  .hud-metrics { grid-template-columns: repeat(2, 1fr); gap: 10px;
                 margin-bottom: 18px; padding-bottom: 16px; }
  .hud-m-value { font-size: 20px; }
  .hud-m-label { font-size: 10px; }
  .chart-label { margin-bottom: 12px; }
  .chart-bars  { gap: 10px; }
  .cbar        { gap: 8px; }
  .cbar > span:first-child { min-width: 76px; max-width: 76px; font-size: 11px; }
  .cbar > .mono { font-size: 11px; min-width: 30px; }

  /* Services → 1 col */
  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .svc-card  { padding: 22px; }
  .svc-icon  { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px; }
  .svc-card h3  { font-size: 16px; margin-bottom: 8px; }
  .svc-card p   { font-size: 13px; margin-bottom: 14px; }
  .svc-tags     { gap: 5px; margin-bottom: 14px; }
  .featured-tag { font-size: 9px; padding: 3px 8px; top: 14px; right: 14px; }

  /* AI Solutions */
  .ai-layout { gap: 24px; }
  .ai-tabs   { overflow-x: auto; flex-wrap: nowrap; gap: 6px;
               padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .ai-tab    { flex-shrink: 0; padding: 8px 12px; font-size: 13px; gap: 6px; }
  .ai-panel h3 { font-size: 19px; margin-bottom: 10px; }
  .ai-panel p  { font-size: 14px; margin-bottom: 18px; }
  .ai-features { margin-bottom: 20px; }
  .ai-features li { font-size: 13px; padding: 9px 0; }
  .ai-visual-panel { padding: 12px; }
  #mini-neural  { height: 200px; }
  .avp-label    { font-size: 9px; margin-top: 8px; margin-bottom: 6px; }

  /* Why Us → 1 col */
  .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .why-card  { padding: 22px; }
  .wc-icon   { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px; }
  .why-card h4 { font-size: 15px; margin-bottom: 8px; }
  .why-card p  { font-size: 13px; }

  /* CTA Band */
  .cta-band { padding: 56px 16px; }
  .cta-band-inner { flex-direction: column; gap: 24px; text-align: center; }
  .cta-band-text h2 { font-size: clamp(24px, 6.5vw, 38px); letter-spacing: -0.7px; margin-bottom: 10px; }
  .cta-band-text p  { font-size: 15px; }
  .cta-band-actions { flex-direction: column; width: 100%; gap: 10px; }
  .btn-neo-lg, .btn-glass-lg { width: 100%; justify-content: center;
                                padding: 14px 20px; font-size: 15px; border-radius: 12px; }

  /* Contact */
  .contact-layout    { grid-template-columns: 1fr; gap: 20px; }
  .contact-info-card { padding: 20px; }
  .cic-label         { margin-bottom: 18px; }
  .cinfo             { padding: 12px 0; gap: 12px; }
  .cinfo strong      { font-size: 13px; }
  .cinfo span        { font-size: 12px; }
  .ci-icon           { width: 38px; height: 38px; min-width: 38px; border-radius: 9px; }
  .social-row        { gap: 8px; margin-top: 16px; }
  .s-btn             { width: 38px; height: 38px; border-radius: 9px; }

  .contact-form-card { padding: 20px; }
  .cfc-label         { margin-bottom: 20px; }
  .c-form            { gap: 14px; }
  .cf-row            { grid-template-columns: 1fr; gap: 14px; }
  .cf-group label    { font-size: 12px; }
  .cf-group input, .cf-group select, .cf-group textarea { font-size: 15px; padding: 11px 13px; }
  .cf-group textarea { min-height: 100px; }
  .btn-submit-neo    { padding: 13px; font-size: 15px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
  #footer { padding: 48px 16px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p  { max-width: 100%; margin-top: 12px; margin-bottom: 14px; font-size: 13px; }
  .f-col h5   { margin-bottom: 8px; }
  .f-col      { gap: 10px; }
  .f-col a    { font-size: 13px; }
  .footer-bottom { flex-direction: column; align-items: flex-start;
                   gap: 10px; padding-top: 18px; }
  .footer-bottom p { font-size: 10px; letter-spacing: 0.5px; }
  .f-legal    { gap: 14px; }
  .f-legal a  { font-size: 12px; }
}

/* ─────────────────────────────────────
   ≤480px  Small phone
───────────────────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 28px; }

  /* Navbar */
  .nav-inner { padding: 0 14px; height: 58px; }

  /* Hero */
  #hero { padding: 76px 14px 40px; }
  .title-line  { font-size: clamp(34px, 10vw, 48px); letter-spacing: -1.5px; }
  .title-sub   { font-size: clamp(14px, 4vw, 18px); }
  .hero-desc   { font-size: 14px; margin-bottom: 20px; }
  .hero-badge  { font-size: 10px; padding: 5px 10px; margin-bottom: 14px; }
  .hero-btns   { gap: 9px; margin-bottom: 22px; }
  .btn-neo, .btn-glass { padding: 13px 18px; font-size: 14px; border-radius: 11px; }

  .hero-stats  { gap: 10px; padding: 14px 12px; border-radius: 12px; }
  .hstat-num   { font-size: 22px; }
  .hstat-label { font-size: 10px; }

  /* Typography */
  .s-title { font-size: clamp(20px, 6vw, 30px); letter-spacing: -0.5px; }
  .s-sub   { font-size: 14px; }
  .chip    { font-size: 9px; padding: 4px 10px; }

  /* About HUD */
  .about-hud    { padding: 14px; }
  .hud-metrics  { grid-template-columns: repeat(2, 1fr); gap: 8px;
                  margin-bottom: 14px; padding-bottom: 14px; }
  .hud-m-value  { font-size: 18px; }
  .hud-m-label  { font-size: 9px; }

  /* Hide AI neural canvas (too small to be useful) */
  .ai-visual-panel { display: none; }

  /* Card padding */
  .svc-card  { padding: 18px; }
  .why-card  { padding: 18px; }
  .svc-icon  { width: 42px; height: 42px; margin-bottom: 12px; }
  .wc-icon   { width: 42px; height: 42px; margin-bottom: 12px; }
  .svc-card h3 { font-size: 15px; }
  .why-card h4 { font-size: 14px; }

  /* AI tabs */
  .ai-tab { padding: 7px 10px; font-size: 12px; }
  .ai-panel h3 { font-size: 17px; }
  .ai-panel p  { font-size: 13px; }
  .ai-features li { font-size: 12px; padding: 8px 0; }

  /* CTA Band */
  .cta-band { padding: 44px 14px; }
  .cta-band-text h2 { font-size: clamp(20px, 6vw, 30px); }
  .cta-band-text p  { font-size: 14px; }
  .btn-neo-lg, .btn-glass-lg { padding: 13px 18px; font-size: 14px; border-radius: 11px; }

  /* Contact */
  .contact-info-card { padding: 16px; }
  .contact-form-card { padding: 16px; }
  .cf-group input, .cf-group select, .cf-group textarea { padding: 10px 12px; font-size: 14px; }
  .btn-submit-neo { padding: 12px; font-size: 14px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 22px; }
  #footer { padding: 40px 14px 18px; }
}

/* ─────────────────────────────────────
   ≤360px  Very small phone
───────────────────────────────────── */
@media (max-width: 360px) {
  .container { padding: 0 12px; }
  .section { padding: 36px 0; }

  .title-line  { font-size: 32px; letter-spacing: -1px; }
  .title-sub   { font-size: 13px; }
  .hero-desc   { font-size: 13px; }
  .hero-stats  { gap: 8px; padding: 12px 10px; }
  .hstat-num   { font-size: 20px; }

  .s-title { font-size: 20px; }
  .cta-band-text h2 { font-size: 20px; }

  .svc-card, .why-card { padding: 16px; }
  .contact-info-card, .contact-form-card { padding: 14px; }
}
