/* ==========================================================================
   PRAJAPATI NEXATECH GLOBAL — Design System
   Premium corporate technology theme
   ==========================================================================
   Palette:  deep space navy · electric blue · cyan · subtle violet
   UI:       glassmorphism · layered depth · cinematic gradients
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Backgrounds */
  --bg-void: #05070f;
  --bg-deep: #080b16;
  --bg-panel: #0c1122;
  --bg-elevated: #101731;

  /* Brand */
  --blue: #2f7bff;
  --blue-bright: #4d94ff;
  --cyan: #22d3ee;
  --cyan-soft: #67e8f9;
  --violet: #8b5cf6;
  --violet-soft: #a78bfa;

  /* Text */
  --text: #f2f5fb;
  --text-dim: #aab4c8;
  --text-faint: #6b7690;

  /* Glass */
  --glass-bg: rgba(17, 24, 45, 0.55);
  --glass-bg-strong: rgba(13, 19, 38, 0.82);
  --glass-border: rgba(140, 170, 255, 0.14);
  --glass-border-strong: rgba(140, 190, 255, 0.28);
  --glass-glow: rgba(47, 123, 255, 0.12);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #2f7bff 0%, #22d3ee 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(47,123,255,.18), rgba(34,211,238,.14));
  --grad-violet: linear-gradient(135deg, #8b5cf6 0%, #2f7bff 100%);
  --grad-text: linear-gradient(120deg, #7fb2ff 0%, #22d3ee 50%, #a78bfa 100%);

  /* Effects */
  --shadow-sm: 0 2px 10px rgba(2, 6, 18, .35);
  --shadow-md: 0 12px 40px rgba(2, 6, 18, .5);
  --shadow-lg: 0 30px 80px rgba(2, 6, 18, .65);
  --shadow-glow: 0 0 40px rgba(47, 123, 255, .25);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-fast: .25s;
  --dur: .45s;
  --dur-slow: .8s;

  /* Layout */
  --container: 1240px;
  --header-h: 76px;
  --section-pad: clamp(72px, 9vw, 130px);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-void);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

::selection { background: rgba(47, 123, 255, .45); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #24406e, #1a2c50); border-radius: 8px; border: 2px solid var(--bg-deep); }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #2f7bff, #22d3ee); }

/* Skip link (a11y) */
.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 10000;
  background: var(--blue); color: #fff; padding: 10px 22px;
  border-radius: 0 0 12px 12px; font-weight: 600;
  transition: top .3s;
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}

.display {
  font-size: clamp(2.6rem, 6.2vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.h4 { font-size: 1.15rem; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--text-dim); max-width: 640px; }

/* Section eyebrow label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cyan-soft);
  padding: 8px 18px;
  border: 1px solid rgba(34, 211, 238, .25);
  border-radius: 100px;
  background: rgba(34, 211, 238, .06);
  backdrop-filter: blur(8px);
}
.eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.7); }
}

.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(44px, 5vw, 72px); }
.section-head .lead { margin: 18px auto 0; }

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.container { width: min(var(--container), calc(100% - 44px)); margin-inline: auto; }
.container-wide { width: min(1440px, calc(100% - 44px)); margin-inline: auto; }

.section { position: relative; padding: var(--section-pad) 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(12, 17, 34, .6) 15%, rgba(12, 17, 34, .6) 85%, transparent); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Ambient page background layers */
.bg-fx { position: fixed; inset: 0; z-index: -2; pointer-events: none; background: var(--bg-void); }
.bg-fx::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 70% 0%, rgba(47, 123, 255, .14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 30%, rgba(139, 92, 246, .08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 90%, rgba(34, 211, 238, .07), transparent 60%);
}
.bg-fx::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(140, 170, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 170, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 0%, transparent 70%);
}

/* --------------------------------------------------------------------------
   5. GLASSMORPHISM SYSTEM
   -------------------------------------------------------------------------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.glass-card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: transform var(--dur) var(--ease-out), border-color var(--dur), box-shadow var(--dur);
  overflow: hidden;
}

.glass-card::before {
  /* top sheen line */
  content: '';
  position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(140, 200, 255, .5), transparent);
  opacity: .7;
}

.glass-card:hover {
  border-color: var(--glass-border-strong);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(47, 123, 255, .1), 0 18px 60px rgba(47, 123, 255, .14);
  transform: translateY(-6px);
}

/* 3D tilt wrapper — JS sets --rx / --ry */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt .tilt-depth { transform: translateZ(34px); }

/* Spotlight follow effect on cards — JS sets --mx/--my */
.spotlight::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(77, 148, 255, .12), transparent 45%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.spotlight:hover::after { opacity: 1; }

/* --------------------------------------------------------------------------
   6. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s, border-color .35s, color .3s;
  will-change: transform;
  isolation: isolate;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .35s var(--ease-out); }

.btn-primary {
  background: var(--grad-brand);
  color: #04121f;
  box-shadow: 0 8px 30px rgba(47, 123, 255, .35), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 46px rgba(47, 123, 255, .5), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-primary:hover svg { transform: translateX(3px); }
.btn-primary:active { transform: translateY(-1px) scale(.99); }

/* animated sheen sweep */
.btn-primary::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.4) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease-out);
}
.btn-primary:hover::after { transform: translateX(120%); }

.btn-ghost {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--glass-border-strong);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  transform: translateY(-3px);
  background: rgba(77, 148, 255, .1);
  border-color: rgba(103, 232, 249, .5);
  box-shadow: 0 12px 36px rgba(47, 123, 255, .22);
}

.btn-outline-cyan {
  border: 1px solid rgba(34, 211, 238, .45);
  color: var(--cyan-soft);
  background: rgba(34, 211, 238, .05);
}
.btn-outline-cyan:hover {
  background: rgba(34, 211, 238, .12);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(34, 211, 238, .2);
}

.btn-sm { padding: 10px 22px; font-size: .86rem; }
.btn-lg { padding: 17px 42px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn:disabled { opacity: .55; pointer-events: none; }

.btn:focus-visible, .nav-link:focus-visible, a:focus-visible, button:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   7. HEADER / NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .45s, box-shadow .45s, border-color .45s, height .45s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  height: 64px;
  background: rgba(6, 9, 20, .78);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom-color: var(--glass-border);
  box-shadow: 0 10px 40px rgba(2, 6, 18, .5);
}

.header-inner {
  width: min(1400px, calc(100% - 40px));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.15rem; color: #04121f;
  box-shadow: 0 6px 22px rgba(47, 123, 255, .4), inset 0 1px 0 rgba(255,255,255,.4);
  position: relative;
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.06); box-shadow: 0 10px 30px rgba(47, 123, 255, .55); }
.logo-mark::after {
  content: ''; position: absolute; inset: -3px; border-radius: 15px;
  border: 1px solid rgba(103, 232, 249, .3);
  mask-image: linear-gradient(135deg, #000 30%, transparent 60%);
  -webkit-mask-image: linear-gradient(135deg, #000 30%, transparent 60%);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong {
  font-family: 'Space Grotesk', sans-serif; font-size: .98rem; font-weight: 700;
  letter-spacing: .04em; color: #fff;
}
.logo-text span { font-size: .62rem; letter-spacing: .34em; text-transform: uppercase; color: var(--cyan-soft); font-weight: 600; }

/* Desktop nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  padding: 9px 14px;
  font-size: .88rem; font-weight: 500; color: var(--text-dim);
  border-radius: 10px;
  transition: color .3s, background .3s;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.nav-link::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: #fff; }

.header-cta { display: flex; align-items: center; gap: 14px; }

/* Hamburger */
.hamburger {
  display: none;
  width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  position: relative; z-index: 1102;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--text);
  transition: transform .4s var(--ease-out), opacity .3s, width .4s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(5, 7, 15, .92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  opacity: 0; visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem; font-weight: 600; color: var(--text-dim);
  padding: 12px 28px; border-radius: 14px;
  opacity: 0; transform: translateY(22px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), color .3s, background .3s;
}
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu.open a:nth-child(1) { transition-delay: .06s; }
.mobile-menu.open a:nth-child(2) { transition-delay: .1s; }
.mobile-menu.open a:nth-child(3) { transition-delay: .14s; }
.mobile-menu.open a:nth-child(4) { transition-delay: .18s; }
.mobile-menu.open a:nth-child(5) { transition-delay: .22s; }
.mobile-menu.open a:nth-child(6) { transition-delay: .26s; }
.mobile-menu.open a:nth-child(7) { transition-delay: .3s; }
.mobile-menu.open a:nth-child(8) { transition-delay: .34s; }
.mobile-menu.open a:nth-child(9) { transition-delay: .38s; }
.mobile-menu.open a:nth-child(10) { transition-delay: .42s; }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--cyan-soft); background: rgba(34, 211, 238, .07); }
.mobile-menu .mobile-cta { margin-top: 22px; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad-brand);
  z-index: 1200;
  box-shadow: 0 0 12px rgba(47, 123, 255, .8);
  transition: width .1s linear;
}

/* --------------------------------------------------------------------------
   8. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
}

.hero-canvas-wrap {
  position: absolute; inset: 0; z-index: 0;
}
.hero-canvas-wrap canvas { width: 100% !important; height: 100% !important; }

/* CSS fallback art when WebGL unavailable / 3D disabled */
.hero-fallback {
  position: absolute; inset: 0; display: none;
  background:
    radial-gradient(circle at 68% 42%, rgba(47, 123, 255, .22), transparent 42%),
    radial-gradient(circle at 30% 70%, rgba(139, 92, 246, .14), transparent 40%);
}
.no-webgl .hero-fallback, .no-3d .hero-fallback { display: block; }
.no-webgl .hero-canvas-wrap, .no-3d .hero-canvas-wrap { display: none; }

/* Static globe fallback (injected by three-globe-mini.js when 3D is off) */
.globe-static-fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.globe-static-fallback::before {
  content: '';
  width: min(64%, 320px); aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(103, 232, 249, .3), transparent 45%),
    radial-gradient(circle at 62% 68%, rgba(139, 92, 246, .22), transparent 50%),
    radial-gradient(circle at 50% 50%, #0d1730, #070b18);
  border: 1px solid rgba(103, 232, 249, .3);
  box-shadow: 0 0 70px rgba(47, 123, 255, .28), inset 0 0 40px rgba(47, 123, 255, .18);
}
.globe-static-fallback::after {
  content: '';
  position: absolute;
  width: min(92%, 460px); aspect-ratio: 2.4/1;
  border-radius: 50%;
  border: 1px solid rgba(103, 232, 249, .25);
  transform: rotate(-8deg);
}

/* Static neural fallback */
.neural-static-fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 40%, rgba(47, 123, 255, .16), transparent 30%),
    radial-gradient(circle at 50% 60%, rgba(139, 92, 246, .12), transparent 32%),
    radial-gradient(circle at 75% 38%, rgba(34, 211, 238, .14), transparent 30%);
}

.hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,7,15,.35) 0%, transparent 30%, transparent 60%, var(--bg-void) 100%),
    radial-gradient(ellipse 90% 70% at 50% 50%, transparent 40%, rgba(5, 7, 15, .55) 100%);
}

.hero-content { position: relative; z-index: 2; max-width: 780px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 100px;
  border: 1px solid rgba(103, 232, 249, .3);
  background: rgba(34, 211, 238, .07);
  backdrop-filter: blur(10px);
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--cyan-soft);
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34d399; box-shadow: 0 0 10px #34d399;
  animation: pulse-dot 2s infinite;
}

.hero h1 { margin-bottom: 22px; }
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--text-dim);
  max-width: 620px;
  margin-bottom: 14px;
}
.hero-stack {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(.85rem, 1.3vw, 1rem);
  letter-spacing: .12em;
  color: var(--cyan-soft);
  margin-bottom: 40px;
}
.hero-stack .sep { color: var(--text-faint); margin: 0 6px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: flex; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap;
  padding-top: 34px;
  border-top: 1px solid var(--glass-border);
  max-width: 640px;
}
.hero-stat .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-stat .lbl { font-size: .8rem; color: var(--text-faint); letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }

.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-faint); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
}
.scroll-hint .mouse {
  width: 24px; height: 38px; border: 2px solid var(--text-faint); border-radius: 14px;
  position: relative;
}
.scroll-hint .mouse::after {
  content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 8px; border-radius: 3px; background: var(--cyan);
  animation: scroll-wheel 1.8s ease-in-out infinite;
}
@keyframes scroll-wheel {
  0% { opacity: 1; transform: translate(-50%, 0); }
  70% { opacity: 0; transform: translate(-50%, 12px); }
  100% { opacity: 0; }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(60px, 8vw, 110px)) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 55% 60% at 50% 0%, rgba(47, 123, 255, .16), transparent 65%),
    radial-gradient(ellipse 40% 45% at 85% 30%, rgba(139, 92, 246, .1), transparent 60%);
}
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero .lead { margin-inline: auto; }
.breadcrumb {
  display: flex; justify-content: center; gap: 10px; align-items: center;
  font-size: .82rem; color: var(--text-faint); margin-top: 26px;
}
.breadcrumb a:hover { color: var(--cyan-soft); }
.breadcrumb .sep { opacity: .5; }

/* --------------------------------------------------------------------------
   9. CARDS — SERVICES / FEATURES
   -------------------------------------------------------------------------- */
.service-card {
  padding: 34px 30px 30px;
  display: flex; flex-direction: column; gap: 16px;
  height: 100%;
}
.service-icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--grad-brand-soft);
  border: 1px solid rgba(103, 232, 249, .25);
  color: var(--cyan-soft);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 24px rgba(47, 123, 255, .12);
  transition: transform .5s var(--ease-out), box-shadow .5s, background .5s;
}
.service-icon svg { width: 27px; height: 27px; }
.service-card:hover .service-icon {
  transform: translateY(-4px) rotateX(12deg) rotateY(-8deg) scale(1.08);
  background: var(--grad-brand);
  color: #04121f;
  box-shadow: 0 14px 36px rgba(47, 123, 255, .4);
}
.service-card h3 { font-size: 1.12rem; letter-spacing: 0; }
.service-card p { font-size: .92rem; color: var(--text-dim); flex: 1; }
.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 600; color: var(--cyan-soft);
  transition: gap .3s var(--ease-out), color .3s;
}
.card-link:hover { gap: 13px; color: #fff; }
.card-link svg { width: 15px; height: 15px; }

/* Icon chips (industries, solutions, values) */
.icon-chip {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(47, 123, 255, .1);
  border: 1px solid rgba(103, 232, 249, .2);
  color: var(--cyan-soft);
  transition: transform .45s var(--ease-out), background .45s;
}
.icon-chip svg { width: 24px; height: 24px; }
.glass-card:hover .icon-chip { transform: scale(1.1) rotate(-5deg); background: rgba(47, 123, 255, .2); }

/* --------------------------------------------------------------------------
   10. STATS / COUNTERS
   -------------------------------------------------------------------------- */
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stat-card { padding: 38px 26px; text-align: center; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.1rem, 3.4vw, 2.9rem); font-weight: 700; line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-num .suffix { -webkit-text-fill-color: var(--cyan-soft); font-size: .7em; }
.stat-label { margin-top: 10px; font-size: .84rem; color: var(--text-dim); letter-spacing: .05em; text-transform: uppercase; }
.stat-note { margin-top: 6px; font-size: .72rem; color: var(--text-faint); }

/* --------------------------------------------------------------------------
   11. TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonial-card { padding: 34px 32px; display: flex; flex-direction: column; gap: 20px; }
.testimonial-card .quote-mark {
  font-family: Georgia, serif; font-size: 3.4rem; line-height: .6;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.testimonial-card blockquote { font-size: .98rem; color: var(--text-dim); flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad-violet);
  display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: .95rem; color: #fff;
  border: 1px solid rgba(255,255,255,.15);
}
.testimonial-author .who strong { display: block; font-size: .92rem; color: #fff; }
.testimonial-author .who span { font-size: .78rem; color: var(--text-faint); }
.placeholder-tag {
  display: inline-block; font-size: .62rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--violet-soft);
  border: 1px dashed rgba(167, 139, 250, .5);
  padding: 2px 8px; border-radius: 6px; margin-top: 4px;
}

/* --------------------------------------------------------------------------
   12. PROJECTS / PORTFOLIO
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 44px;
}
.filter-btn {
  padding: 10px 24px; border-radius: 100px;
  font-size: .86rem; font-weight: 600; color: var(--text-dim);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(8px);
  transition: all .35s var(--ease-out);
}
.filter-btn:hover { color: #fff; border-color: var(--glass-border-strong); transform: translateY(-2px); }
.filter-btn.active {
  background: var(--grad-brand); color: #04121f;
  border-color: transparent;
  box-shadow: 0 8px 26px rgba(47, 123, 255, .4);
}

.project-card {
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease-out), opacity .5s, box-shadow .5s, border-color .5s;
}
.project-card.hidden { display: none; }
.project-thumb {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: linear-gradient(135deg, #0d1428, #131d3c);
}
.project-thumb .mock {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  transition: transform .6s var(--ease-out);
}
.project-card:hover .project-thumb .mock { transform: scale(1.06) translateY(-4px); }
.project-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 11, 22, .85));
  pointer-events: none;
}
.project-cat-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px;
  background: rgba(8, 11, 22, .7); border: 1px solid var(--glass-border-strong);
  backdrop-filter: blur(8px); color: var(--cyan-soft);
}
.project-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project-body h3 { font-size: 1.08rem; }
.project-body p { font-size: .88rem; color: var(--text-dim); flex: 1; }
.project-tech { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.tech-tag {
  font-size: .7rem; font-weight: 600; letter-spacing: .04em;
  padding: 4px 12px; border-radius: 100px;
  color: var(--text-dim);
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,.03);
}

/* Device mockups built in pure CSS (no external images) */
.mock-laptop {
  width: 68%; aspect-ratio: 16/10; position: relative;
  border-radius: 10px 10px 4px 4px;
  border: 2px solid rgba(160, 190, 255, .35);
  background: linear-gradient(160deg, #101a38, #0a1024);
  box-shadow: 0 24px 60px rgba(0,0,0,.5), inset 0 0 30px rgba(47, 123, 255, .12);
  overflow: hidden;
}
.mock-laptop::after {
  content: ''; position: absolute; left: -12%; right: -12%; bottom: -14px; height: 12px;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, rgba(160, 190, 255, .3), rgba(160, 190, 255, .08));
}
.mock-laptop .screen { position: absolute; inset: 6px; border-radius: 6px; overflow: hidden; }

.mock-phone {
  width: 30%; max-width: 170px; aspect-ratio: 9/18.5; position: relative;
  border-radius: 22px;
  border: 2px solid rgba(160, 190, 255, .35);
  background: linear-gradient(160deg, #101a38, #0a1024);
  box-shadow: 0 24px 60px rgba(0,0,0,.5), inset 0 0 24px rgba(34, 211, 238, .1);
  overflow: hidden;
}
.mock-phone .notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 7px; border-radius: 6px; background: rgba(160, 190, 255, .3); z-index: 3;
}
.mock-phone .screen { position: absolute; inset: 5px; border-radius: 18px; overflow: hidden; }

/* Fake UI inside mockups */
.ui-line { height: 7px; border-radius: 4px; background: rgba(140, 170, 255, .18); margin: 7px 9%; }
.ui-line.w60 { width: 55%; } .ui-line.w40 { width: 36%; } .ui-line.w80 { width: 74%; }
.ui-line.bright { background: linear-gradient(90deg, rgba(47,123,255,.55), rgba(34,211,238,.4)); }
.ui-block { border-radius: 10px; background: rgba(140, 170, 255, .1); border: 1px solid rgba(140, 170, 255, .14); margin: 9px 9%; height: 26%; }
.ui-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 9px 9%; height: 30%; }
.ui-grid3 div { border-radius: 8px; background: rgba(140, 170, 255, .1); border: 1px solid rgba(140, 170, 255, .12); }
.ui-chart { display: flex; align-items: flex-end; gap: 6px; margin: 9px 9%; height: 32%; }
.ui-chart span { flex: 1; border-radius: 4px 4px 0 0; background: var(--grad-brand); opacity: .7; }

/* --------------------------------------------------------------------------
   13. FORMS
   -------------------------------------------------------------------------- */
.form-panel { padding: clamp(28px, 4vw, 46px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .span-2 { grid-column: span 2; }

.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); }
.field label .req { color: var(--cyan); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(8, 12, 26, .65);
  border: 1px solid var(--glass-border);
  color: var(--text);
  font-size: .95rem;
  transition: border-color .3s, box-shadow .3s, background .3s;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2367e8f9' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.field select option { background: #0c1122; color: var(--text); }
.field textarea { resize: vertical; min-height: 120px; }

.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(103, 232, 249, .6);
  box-shadow: 0 0 0 3px rgba(47, 123, 255, .15), 0 6px 20px rgba(2, 6, 18, .4);
  background: rgba(10, 15, 32, .85);
}
.field.invalid input, .field.invalid select, .field.invalid textarea {
  border-color: rgba(248, 113, 113, .7);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, .12);
}
.field .error-msg { font-size: .76rem; color: #f87171; display: none; }
.field.invalid .error-msg { display: block; }

.form-status {
  margin-top: 18px; padding: 14px 18px; border-radius: 12px;
  font-size: .9rem; display: none; align-items: flex-start; gap: 10px;
}
.form-status.show { display: flex; }
.form-status.success { background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .4); color: #6ee7b7; }
.form-status.error { background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .4); color: #fca5a5; }

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: 40px;
  border-top: 1px solid var(--glass-border);
  background: linear-gradient(180deg, rgba(8, 11, 22, .6), rgba(5, 7, 15, .95));
}
.site-footer::before {
  content: ''; position: absolute; top: -1px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, .5), transparent);
}
.footer-main {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px;
  padding: clamp(56px, 7vw, 84px) 0 48px;
}
.footer-brand p { font-size: .92rem; color: var(--text-dim); margin: 18px 0 26px; max-width: 320px; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,.03);
  color: var(--text-dim);
  transition: all .35s var(--ease-out);
}
.footer-social a svg { width: 18px; height: 18px; }
.footer-social a:hover {
  color: #fff; border-color: rgba(103, 232, 249, .5);
  background: rgba(47, 123, 255, .15);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(47, 123, 255, .25);
}

.footer-col h4 {
  font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan-soft); margin-bottom: 22px;
}
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: .92rem; color: var(--text-dim); transition: color .3s, padding-left .3s; display: inline-block; }
.footer-col a:hover { color: #fff; padding-left: 6px; }

.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: .92rem; color: var(--text-dim); }
.footer-contact svg { width: 18px; height: 18px; color: var(--cyan-soft); flex-shrink: 0; margin-top: 3px; }
.footer-contact a:hover { color: var(--cyan-soft); padding-left: 0; }

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 26px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: .84rem; color: var(--text-faint);
}
.footer-bottom a:hover { color: var(--cyan-soft); }

/* --------------------------------------------------------------------------
   15. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding: clamp(56px, 7vw, 88px) clamp(32px, 5vw, 72px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-align: center;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border-strong);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(47, 123, 255, .12);
}
.cta-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 80% at 20% 0%, rgba(47, 123, 255, .22), transparent 60%),
    radial-gradient(ellipse 55% 75% at 85% 100%, rgba(139, 92, 246, .16), transparent 60%);
  animation: cta-drift 12s ease-in-out infinite alternate;
}
@keyframes cta-drift {
  from { transform: scale(1) translateX(0); }
  to { transform: scale(1.15) translateX(-4%); }
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band .lead { margin: 0 auto 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   16. SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.reveal-left { transform: translateX(-40px); }
.reveal.reveal-right { transform: translateX(40px); }
.reveal.reveal-scale { transform: scale(.92); }
.reveal.visible { opacity: 1; transform: none; }

/* Staggered children */
.stagger > * {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.stagger.visible > * { opacity: 1; transform: none; }
.stagger.visible > *:nth-child(1) { transition-delay: .05s; }
.stagger.visible > *:nth-child(2) { transition-delay: .12s; }
.stagger.visible > *:nth-child(3) { transition-delay: .19s; }
.stagger.visible > *:nth-child(4) { transition-delay: .26s; }
.stagger.visible > *:nth-child(5) { transition-delay: .33s; }
.stagger.visible > *:nth-child(6) { transition-delay: .4s; }
.stagger.visible > *:nth-child(7) { transition-delay: .47s; }
.stagger.visible > *:nth-child(8) { transition-delay: .54s; }
.stagger.visible > *:nth-child(9) { transition-delay: .61s; }
.stagger.visible > *:nth-child(10) { transition-delay: .68s; }
.stagger.visible > *:nth-child(n+11) { transition-delay: .75s; }

/* Floating elements */
.float-slow { animation: floaty 7s ease-in-out infinite; }
.float-med { animation: floaty 5s ease-in-out infinite .6s; }
.float-fast { animation: floaty 3.6s ease-in-out infinite 1.2s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* Marquee (clients / tech strip) */
.marquee { overflow: hidden; position: relative; padding: 8px 0; }
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-void), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg-void), transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1rem;
  color: var(--text-faint); white-space: nowrap;
  transition: color .3s;
}
.marquee-item:hover { color: var(--text-dim); }
.marquee-item svg { width: 22px; height: 22px; color: rgba(103, 232, 249, .55); }

/* --------------------------------------------------------------------------
   17. MISC COMPONENTS
   -------------------------------------------------------------------------- */
/* Logo strip (partners placeholder) */
.partner-logo {
  height: 84px; display: grid; place-items: center; padding: 0 18px;
  border-radius: var(--radius);
}
.partner-logo span {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: .95rem;
  letter-spacing: .08em; color: var(--text-faint); text-align: center;
  transition: color .3s;
}
.partner-logo:hover span { color: var(--text-dim); }

/* Timeline */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--cyan), var(--violet));
  border-radius: 2px; opacity: .5;
}
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -33px; top: 5px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg-deep);
  border: 3px solid var(--cyan);
  box-shadow: 0 0 14px rgba(34, 211, 238, .6);
}
.timeline-item h4 { margin-bottom: 6px; }
.timeline-item p { font-size: .92rem; color: var(--text-dim); }

/* Value list */
.value-row { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--glass-border); }
.value-row:last-child { border-bottom: none; }
.value-row h4 { margin-bottom: 4px; font-size: 1.02rem; }
.value-row p { font-size: .9rem; color: var(--text-dim); }

/* Founder card */
.founder-card { padding: clamp(30px, 4vw, 52px); display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.founder-portrait {
  position: relative; aspect-ratio: 3/3.6; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, #131d3c, #0a1024);
  border: 1px solid var(--glass-border-strong);
  display: grid; place-items: center;
}
.founder-portrait::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(47, 123, 255, .25), transparent 65%);
}
.founder-portrait .initials {
  font-family: 'Space Grotesk', sans-serif; font-size: 4.2rem; font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  position: relative; z-index: 2;
}
.founder-portrait .portrait-note {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint);
  white-space: nowrap;
}
.founder-info .role-line { display: flex; align-items: center; gap: 10px; margin: 8px 0 20px; }
.founder-info .role-line span { font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-soft); }
.founder-info p { color: var(--text-dim); font-size: .98rem; margin-bottom: 14px; }
.founder-contact { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* Feature list with check */
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: .95rem; color: var(--text-dim); }
.check-list svg { width: 20px; height: 20px; color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.check-list strong { color: var(--text); }

/* Job cards */
.job-card { padding: 28px 30px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.job-card .job-meta { flex: 1; min-width: 240px; }
.job-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.job-meta-row { display: flex; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: var(--text-faint); }
.job-meta-row span { display: inline-flex; align-items: center; gap: 6px; }
.job-meta-row svg { width: 14px; height: 14px; color: var(--cyan-soft); }

/* AI page: holographic panel */
.holo-panel {
  position: relative; padding: 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(47, 123, 255, .12), rgba(139, 92, 246, .08) 60%, rgba(34, 211, 238, .1));
  border: 1px solid rgba(103, 232, 249, .3);
  backdrop-filter: blur(14px);
  box-shadow: 0 0 60px rgba(47, 123, 255, .15), inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden;
}
.holo-panel::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(103, 232, 249, .025) 3px, rgba(103, 232, 249, .025) 4px);
  pointer-events: none;
}
.holo-title { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.holo-title .ai-orb {
  width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #a78bfa, #2f7bff 55%, #0e2a5c);
  box-shadow: 0 0 26px rgba(139, 92, 246, .55), inset 0 0 12px rgba(255,255,255,.25);
  animation: orb-breathe 3.4s ease-in-out infinite;
}
@keyframes orb-breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 0 26px rgba(139, 92, 246, .55), inset 0 0 12px rgba(255,255,255,.25); }
  50% { transform: scale(1.07); box-shadow: 0 0 44px rgba(34, 211, 238, .6), inset 0 0 16px rgba(255,255,255,.3); }
}

/* Chat demo */
.chat-window { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--glass-border); background: rgba(6, 9, 20, .7); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--glass-border); background: rgba(255,255,255,.03); }
.chat-head .status-dot { width: 9px; height: 9px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; }
.chat-head strong { font-size: .9rem; }
.chat-head span { font-size: .72rem; color: var(--text-faint); }
.chat-body { padding: 20px 18px; display: flex; flex-direction: column; gap: 14px; min-height: 260px; }
.bubble {
  max-width: 82%; padding: 12px 16px; border-radius: 16px;
  font-size: .88rem; line-height: 1.5;
  animation: bubble-in .5s var(--ease-out) both;
}
@keyframes bubble-in { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
.bubble.bot { background: rgba(47, 123, 255, .14); border: 1px solid rgba(103, 232, 249, .22); border-bottom-left-radius: 4px; align-self: flex-start; }
.bubble.user { background: rgba(139, 92, 246, .16); border: 1px solid rgba(167, 139, 250, .25); border-bottom-right-radius: 4px; align-self: flex-end; }
.typing-dots { display: inline-flex; gap: 5px; padding: 4px 2px; }
.typing-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-soft); animation: typing 1.3s infinite; }
.typing-dots i:nth-child(2) { animation-delay: .18s; }
.typing-dots i:nth-child(3) { animation-delay: .36s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }

/* Workflow steps */
.workflow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.workflow-step { position: relative; padding: 30px 24px; counter-increment: step; }
.workflow-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: 'Space Grotesk', sans-serif; font-size: 2.6rem; font-weight: 700;
  position: absolute; top: 14px; right: 18px;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  opacity: .28;
}
.workflow-step h4 { margin-bottom: 8px; font-size: 1rem; }
.workflow-step p { font-size: .85rem; color: var(--text-dim); }

/* Two-column split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.split-media { position: relative; min-height: 380px; display: grid; place-items: center; }

/* Info tiles (contact page) */
.info-tile { padding: 28px; display: flex; gap: 18px; align-items: flex-start; }
.info-tile h4 { font-size: .95rem; margin-bottom: 6px; }
.info-tile p, .info-tile a { font-size: .9rem; color: var(--text-dim); word-break: break-word; }
.info-tile a:hover { color: var(--cyan-soft); }

/* Back to top */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 900;
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border-strong);
  backdrop-filter: blur(12px);
  color: var(--cyan-soft);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: all .4s var(--ease-out);
  box-shadow: var(--shadow-md);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--grad-brand); color: #04121f; transform: translateY(-4px); }
.to-top svg { width: 20px; height: 20px; }

/* Page transition curtain */
.page-curtain {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg-void);
  display: grid; place-items: center;
  transition: opacity .55s var(--ease-out), visibility .55s;
}
.page-curtain .loader-ring {
  width: 58px; height: 58px; border-radius: 50%;
  border: 3px solid rgba(103, 232, 249, .15);
  border-top-color: var(--cyan);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.page-curtain.done { opacity: 0; visibility: hidden; pointer-events: none; }

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 40px; }
.hidden-el { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   17b. PRICING
   -------------------------------------------------------------------------- */
.curr-toggle {
  display: inline-flex; padding: 5px; gap: 4px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}
.curr-btn {
  padding: 10px 26px; border-radius: 100px;
  font-size: .88rem; font-weight: 600; color: var(--text-dim);
  transition: all .35s var(--ease-out);
}
.curr-btn:hover { color: #fff; }
.curr-btn.active {
  background: var(--grad-brand); color: #04121f;
  box-shadow: 0 6px 22px rgba(47, 123, 255, .4);
}

.price-card { padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.price-card.popular {
  border-color: rgba(103, 232, 249, .4);
  background: linear-gradient(165deg, rgba(47, 123, 255, .14), rgba(13, 19, 38, .7) 55%);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(47, 123, 255, .18);
}
.popular-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 5px 18px; border-radius: 100px;
  background: var(--grad-brand); color: #04121f;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(47, 123, 255, .45);
  white-space: nowrap;
}
.price-card h3 { font-size: 1.3rem; }
.price-tag { font-size: .85rem; color: var(--text-faint); }
.price-line { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 10px; flex-wrap: wrap; }
.price-line .price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 700; line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.price-line .per, .price-line .price-prefix { font-size: .82rem; color: var(--text-faint); }
.price-features { margin: 6px 0 18px; flex: 1; }
.price-features li { font-size: .9rem; margin-bottom: 11px; }

.rate-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 480px; }
.rate-table th {
  text-align: left; padding: 14px 16px;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-faint); font-weight: 700;
  border-bottom: 1px solid var(--glass-border);
}
.rate-table td { padding: 15px 16px; border-bottom: 1px solid rgba(140, 170, 255, .08); color: var(--text); }
.rate-table tr:last-child td { border-bottom: none; }
.rate-table tbody tr { transition: background .25s; }
.rate-table tbody tr:hover { background: rgba(47, 123, 255, .06); }
.rate-table td.num { text-align: right; font-family: 'Space Grotesk', sans-serif; font-weight: 600; }
.rate-table td.num .price { color: var(--cyan-soft); }
.rate-table td.dim { color: var(--text-faint); font-weight: 400; font-family: 'Inter', sans-serif; font-size: .8rem; }

/* --------------------------------------------------------------------------
   18. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .main-nav { gap: 0; }
  .nav-link { padding: 9px 10px; font-size: .84rem; }
}

@media (max-width: 1100px) {
  .main-nav { display: none; }
  .header-cta .btn { display: none; }
  .hamburger { display: flex; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .workflow { grid-template-columns: repeat(2, 1fr); }
  .founder-card { grid-template-columns: 220px 1fr; }
}

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-media { min-height: 300px; order: -1; }
  .founder-card { grid-template-columns: 1fr; text-align: center; }
  .founder-portrait { max-width: 260px; margin-inline: auto; }
  .founder-info .role-line, .founder-contact { justify-content: center; }
  .hero-stats { gap: 28px; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: span 1; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .workflow { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero-actions .btn { width: 100%; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
  .scroll-hint { display: none; }
}

/* Large desktop — use the full screen width */
@media (min-width: 1440px) {
  :root { --container: 1400px; }
}
@media (min-width: 1600px) {
  :root { --container: 1560px; }
  body { font-size: 16.5px; }
  .container-wide { width: min(1720px, calc(100% - 64px)); }
  .header-inner { width: min(1720px, calc(100% - 48px)); }
}
@media (min-width: 2000px) {
  :root { --container: 1720px; }
}

/* --------------------------------------------------------------------------
   19. REDUCED MOTION & LOW POWER
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .stagger > * { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
  .hero-canvas-wrap { display: none; }
  .hero-fallback { display: block !important; }
}

/* Low-power mode (set by JS on weak devices) */
body.low-power .float-slow, body.low-power .float-med, body.low-power .float-fast { animation: none; }
body.low-power .marquee-track { animation-duration: 70s; }

/* ============================================================
   18. PHOTOGRAPHY & MEDIA
   ============================================================ */

/* --- Project thumbnails (real imagery) --- */
.thumb-img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center;
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.01);
  transition: transform .8s var(--ease-out), filter .8s var(--ease-out);
}
.project-card:hover .thumb-img,
.project-card:focus-within .thumb-img { transform: scale(1.08); filter: saturate(1.15) contrast(1.06); }
.project-thumb::after { z-index: 1; }
.project-cat-badge { z-index: 3; }

/* --- Generic cinematic media frame --- */
.media-frame {
  position: relative; width: 100%; overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border-strong);
  background: linear-gradient(160deg, #131d3c, #0a1024);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8), 0 0 60px -20px rgba(47, 123, 255, .35);
  isolation: isolate;
}
.media-frame img { width: 100%; height: 100%; display: block; object-fit: cover; }
.media-frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 7, 15, .12) 0%, transparent 32%, transparent 62%, rgba(5, 7, 15, .72) 100%);
}
.media-frame::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(103, 232, 249, .022) 3px, rgba(103, 232, 249, .022) 4px);
}
.media-frame .media-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 18px 22px; display: flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif; font-size: .72rem;
  letter-spacing: .26em; text-transform: uppercase; color: var(--cyan-soft);
}
.media-frame .media-caption::before {
  content: ''; width: 26px; height: 1px; background: var(--cyan-soft); opacity: .7; flex: none;
}
.media-frame.frame-square { aspect-ratio: 1 / 1; }
.media-frame.frame-tall { aspect-ratio: 4 / 5; }
.media-frame.frame-wide { aspect-ratio: 16 / 9; }

/* --- Founder portrait with photo --- */
.founder-portrait.has-photo { background: #0a1024; }
.founder-portrait.has-photo img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center 18%;
  transition: transform 1s var(--ease-out);
}
.founder-card:hover .founder-portrait.has-photo img { transform: scale(1.04); }
.founder-portrait.has-photo::after {
  background:
    linear-gradient(180deg, transparent 45%, rgba(6, 9, 20, .78) 100%),
    radial-gradient(circle at 50% 22%, rgba(47, 123, 255, .16), transparent 62%);
}
.founder-portrait .portrait-tag {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 16px 18px; text-align: center;
  font-family: 'Space Grotesk', sans-serif; font-size: .68rem;
  letter-spacing: .24em; text-transform: uppercase; color: var(--cyan-soft);
}

/* --- Aira Nexa visual --- */
.aira-visual {
  position: relative; width: 100%; aspect-ratio: 4 / 5;
  max-height: 460px; overflow: hidden;
  border-radius: var(--radius); margin-bottom: 20px;
  border: 1px solid rgba(103, 232, 249, .3);
  background: radial-gradient(circle at 50% 30%, #0d1a3a, #05070f 70%);
}
.aira-visual img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center 12%;
  animation: aira-drift 9s ease-in-out infinite;
}
.aira-visual::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, transparent 58%, rgba(5, 7, 15, .85) 100%),
    repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(103, 232, 249, .03) 3px, rgba(103, 232, 249, .03) 4px);
}
.aira-visual .aira-badge {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 100px;
  background: rgba(6, 9, 20, .72); border: 1px solid rgba(103, 232, 249, .35);
  backdrop-filter: blur(8px);
  font-size: .68rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cyan-soft);
}
.aira-visual .aira-badge i {
  width: 7px; height: 7px; border-radius: 50%; background: #34d399;
  box-shadow: 0 0 8px #34d399; animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes aira-drift {
  0%, 100% { transform: scale(1.02) translateY(0); }
  50%      { transform: scale(1.06) translateY(-6px); }
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* --- Circular AI avatar (replaces plain orb where a face is shown) --- */
.ai-avatar {
  position: relative; flex: none;
  width: 52px; height: 52px; border-radius: 50%; overflow: hidden;
  border: 1px solid rgba(103, 232, 249, .55);
  box-shadow: 0 0 22px rgba(34, 211, 238, .45);
  animation: orb-breathe 3.4s ease-in-out infinite;
}
.ai-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chat-head .ai-avatar { width: 30px; height: 30px; box-shadow: 0 0 12px rgba(34, 211, 238, .4); animation: none; }

/* --- Page hero banner strip --- */
.hero-banner {
  position: relative; margin-top: 34px;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--glass-border-strong);
  aspect-ratio: 21 / 7; max-height: 340px;
  box-shadow: 0 30px 70px -34px rgba(0, 0, 0, .85);
}
.hero-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-banner::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 7, 15, .85) 0%, rgba(5, 7, 15, .35) 45%, transparent 75%);
}

/* --- Motion / low-power respect --- */
@media (prefers-reduced-motion: reduce) {
  .aira-visual img { animation: none; }
  .ai-avatar { animation: none; }
  .thumb-img, .founder-portrait.has-photo img { transition: none; }
}
body.no-3d .aira-visual img { animation: none; }

@media (max-width: 760px) {
  .aira-visual { max-height: 360px; aspect-ratio: 1 / 1; }
  .hero-banner { aspect-ratio: 16 / 9; max-height: 220px; margin-top: 26px; }
  .media-frame.frame-square, .media-frame.frame-tall { aspect-ratio: 4 / 3; }
  .media-frame .media-caption { padding: 14px 16px; font-size: .64rem; letter-spacing: .2em; }
}
