/* ======================================================================
   SIGMA TECH INDIA — Premium Enterprise Redesign
   Color: #050507 base, #0C0C10 surfaces, cyan #00D4FF → purple #8B5CF6
   ====================================================================== */

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ── Variables — Deep Steel palette (true dark) ── */
:root {
  --bg: #03050A;
  --surface: #0A0D14;
  --surface-elevated: #11151E;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --text: #ECEDF2;
  --text-muted: #8A8F9C;
  --text-secondary: #B5B9C2;
  /* Single primary accent — refined steel blue, NOT neon */
  --accent-cyan: #6FA8D6;          /* aliased for legacy compat */
  --accent-cyan-soft: #8FBFE0;
  --accent-purple: #B5C9DD;        /* aliased — silver-blue, no purple */
  --accent-purple-soft: #C7D6E5;
  --accent-warm: #C9AB7A;          /* champagne — editorial only */
  --accent-steel: #6FA8D6;
  --accent-silver: #B5C9DD;
  --accent-gradient:   linear-gradient(135deg, #6FA8D6 0%, #B5C9DD 50%, #C9AB7A 100%);
  --accent-gradient-h: linear-gradient(90deg,  #6FA8D6 0%, #B5C9DD 50%, #C9AB7A 100%);
  --accent-gradient-luxe: linear-gradient(115deg, #6FA8D6 0%, #C7D6E5 45%, #C9AB7A 100%);
  --glow-cyan: rgba(111, 168, 214, 0.18);
  --glow-purple: rgba(181, 201, 221, 0.12);
  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --max-w: 1200px;
  --nav-h: 72px;
  --promo-h: 38px;
  --radius: 16px;
  --radius-sm: 10px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Noise Texture Overlay ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
}

/* ── Grid Background ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  z-index: 0;
}

/* ── Utility ── */
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Scroll Reveal — confident easing, slight blur lift ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(4px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Staggered children — denser cadence, more cinematic */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.06s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.12s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.18s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.24s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.30s; }

/* ── Gradient Line Divider ── */
.gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-purple), transparent);
  opacity: 0.2;
  margin: 0 auto;
  max-width: 900px;
}

/* ══════════════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════════════ */
/* Free-consultancy promo bar — fixed at very top, above nav */
.promo-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: var(--promo-h);
  padding: 0 20px;
  background: linear-gradient(90deg, rgba(111,168,214,0.16), rgba(201,171,122,0.14) 50%, rgba(111,168,214,0.16)), #05080F;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #E8ECF1;
  font: 500 13px/1.3 'Inter', system-ui, sans-serif;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  transition: background 0.25s ease;
}
.promo-bar:hover {
  background: linear-gradient(90deg, rgba(111,168,214,0.24), rgba(201,171,122,0.22) 50%, rgba(111,168,214,0.24)), #05080F;
}
.promo-bar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 12px rgba(74,222,128,0.7);
  animation: promo-pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes promo-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.82); }
}
.promo-bar-tag {
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  padding: 3px 8px;
  border-radius: 4px;
  background: linear-gradient(135deg, #C9AB7A, #B5C9DD);
  color: #03050A;
  flex-shrink: 0;
}
.promo-bar-text {
  color: #C9CED6;
  overflow: hidden;
  text-overflow: ellipsis;
}
.promo-bar-text strong {
  color: #FFFFFF;
  font-weight: 600;
}
.promo-bar-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: #6FA8D6;
  flex-shrink: 0;
}
.promo-bar:hover .promo-bar-cta { color: #B5C9DD; }
.promo-bar-text-mobile { display: none; }
@media (max-width: 768px) {
  .promo-bar { font-size: 12px; gap: 10px; padding: 0 14px; }
  .promo-bar-text { display: none; }
  .promo-bar-text-mobile { display: inline; color: #C9CED6; }
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--nav-h);
  background: rgba(5, 5, 8, 0);
  backdrop-filter: blur(0) saturate(1);
  -webkit-backdrop-filter: blur(0) saturate(1);
  border-bottom: 1px solid transparent;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 32px;
  /* Always visible — brand + Login + CTA must be reachable above the fold */
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition:
    background 0.4s ease,
    backdrop-filter 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

nav.scrolled {
  background: rgba(5, 5, 8, 0.92);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  border-bottom-color: var(--border-hover);
  box-shadow: 0 10px 40px rgba(0,0,0,0.55), 0 1px 0 rgba(0, 212, 255, 0.06);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Full-width backdrop so content doesn't peek around the floating pill */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 104px;
  background: linear-gradient(to bottom, rgba(5,5,7,0.92) 0%, rgba(5,5,7,0.78) 55%, rgba(5,5,7,0) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.nav-backdrop.visible {
  opacity: 1;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}

.nav-logo {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo svg {
  color: var(--accent-cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s ease;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--bg) !important;
  background: var(--accent-gradient-h);
  padding: 9px 22px;
  border-radius: 8px;
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.nav-login {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--accent-cyan) !important;
  background: transparent;
  padding: 8px 18px;
  border: 1px solid rgba(0, 212, 255, 0.45);
  border-radius: 8px;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.nav-login:hover {
  color: var(--text) !important;
  border-color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.08);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.18);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 110;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s ease;
}

/* ══════════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  overflow: hidden;
  padding: 0 24px;
}

/* Neural-network particle canvas */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 60%, transparent 100%);
}

/* Floating gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
}

.hero-orb--cyan {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.18), transparent 70%);
  top: 10%;
  left: 15%;
  animation: orb-drift-1 20s ease-in-out infinite;
}

.hero-orb--purple {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18), transparent 70%);
  bottom: 15%;
  right: 10%;
  animation: orb-drift-2 25s ease-in-out infinite;
}

@keyframes orb-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(60px, -40px) scale(1.05); }
  50% { transform: translate(-30px, 50px) scale(0.95); }
  75% { transform: translate(40px, 20px) scale(1.02); }
}

@keyframes orb-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-50px, 30px) scale(0.97); }
  50% { transform: translate(40px, -60px) scale(1.04); }
  75% { transform: translate(-20px, -20px) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
}

/* Hero label with pulsing dot */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: pulse-dot 2s ease-in-out infinite;
  box-shadow: 0 0 12px var(--accent-cyan);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Hero headline - stagger load */
.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: hero-line-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-line:nth-child(1) { animation-delay: 0.2s; }
.hero-line:nth-child(2) { animation-delay: 0.4s; }

@keyframes hero-line-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 28px;
}

.hero-gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple), var(--accent-cyan));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(30px);
  animation: hero-line-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.hero-cta-row {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  animation: hero-line-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent-steel);
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 24px rgba(111, 168, 214, 0.32),
    0 8px 28px rgba(0, 0, 0, 0.45);
  animation: glow-pulse 3s ease-in-out infinite;
}
.hero-cta:hover {
  background: #84B5DD;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.10) inset,
    0 0 36px rgba(111, 168, 214, 0.45),
    0 10px 32px rgba(0, 0, 0, 0.55);
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 15px 28px;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-sm);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  background: rgba(255, 255, 255, 0.02);
}

.hero-cta-secondary:hover {
  color: var(--text);
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.04);
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset, 0 0 24px rgba(111, 168, 214, 0.30), 0 8px 28px rgba(0,0,0,0.45); }
  50%      { box-shadow: 0 0 0 1px rgba(255,255,255,0.10) inset, 0 0 36px rgba(111, 168, 214, 0.50), 0 10px 32px rgba(0,0,0,0.55); }
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.10) inset,
    0 0 50px rgba(111, 168, 214, 0.50),
    0 12px 36px rgba(0, 0, 0, 0.55);
}

.hero-cta svg {
  transition: transform 0.3s ease;
}
.hero-cta:hover svg {
  transform: translateX(4px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0;
  animation: hero-line-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards, scroll-bounce 2s ease-in-out 2s infinite;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  opacity: 0.4;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ══════════════════════════════════════════════════════════════════════
   METRICS / STATS BAR
   ══════════════════════════════════════════════════════════════════════ */
.metrics {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.metric-number {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════════════════════════════════
   SECTION COMMON
   ══════════════════════════════════════════════════════════════════════ */
section {
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: 64px;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  background: var(--accent-gradient-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 560px;
  line-height: 1.8;
}

/* ══════════════════════════════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════════════════════════════ */
.services {
  padding: 140px 0;
}

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

.service-card {
  background: rgba(12, 12, 16, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, transparent, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: background 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 212, 255, 0.06);
  border-color: var(--border-hover);
}

.service-card:hover::before {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(139, 92, 246, 0.3));
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.06);
  border-radius: 12px;
  margin-bottom: 28px;
  color: var(--accent-cyan);
  position: relative;
}

.service-icon::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 18px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08), transparent 70%);
  pointer-events: none;
}

/* Distinct accent per card */
.service-card--accent-2 .service-icon {
  background: rgba(139, 92, 246, 0.08);
  color: #A78BFA;
}
.service-card--accent-2 .service-icon::after {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 70%);
}

.service-card--accent-3 .service-icon {
  background: rgba(16, 185, 129, 0.08);
  color: #34D399;
}
.service-card--accent-3 .service-icon::after {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12), transparent 70%);
}

.service-card--accent-4 .service-icon {
  background: rgba(244, 114, 182, 0.08);
  color: #F472B6;
}
.service-card--accent-4 .service-icon::after {
  background: radial-gradient(circle, rgba(244, 114, 182, 0.12), transparent 70%);
}

.service-card--accent-5 .service-icon {
  background: rgba(251, 191, 36, 0.08);
  color: #FBBF24;
}
.service-card--accent-5 .service-icon::after {
  background: radial-gradient(circle, rgba(251, 191, 36, 0.12), transparent 70%);
}

.service-card--accent-6 .service-icon {
  background: rgba(99, 102, 241, 0.08);
  color: #818CF8;
}
.service-card--accent-6 .service-icon::after {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12), transparent 70%);
}

/* Service badge (e.g. "Ships in 7 days") */
.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  color: #050507;
  background: linear-gradient(90deg, #FBBF24, #F472B6);
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.25);
}

/* "Request a quote" link at bottom of card */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.01em;
  margin-top: 22px;
  opacity: 0.75;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-card:hover .service-link {
  opacity: 1;
  transform: translateX(2px);
}

a.service-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ══════════════════════════════════════════════════════════════════════
   PRODUCTS
   ══════════════════════════════════════════════════════════════════════ */
.products {
  padding: 140px 0;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.product-info {
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.12);
  padding: 6px 14px;
  border-radius: 24px;
  width: fit-content;
  margin-bottom: 24px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.product-info h3 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: var(--text);
}

.product-info > p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.feature-chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255,255,255, 0.03);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 8px;
  letter-spacing: 0.01em;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.feature-chip:hover {
  border-color: var(--border-hover);
  background: rgba(255,255,255, 0.05);
}

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent-gradient-h);
  padding: 13px 28px;
  border-radius: 8px;
  width: fit-content;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.15);
}

.product-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(0, 212, 255, 0.25);
}

.product-cta svg { transition: transform 0.3s ease; }
.product-cta:hover svg { transform: translateX(3px); }

.product-cta-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.product-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 12px 20px;
  border: 1px solid var(--border-hover);
  border-radius: 8px;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  background: rgba(255, 255, 255, 0.02);
}

.product-cta-ghost:hover {
  color: var(--text);
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.04);
}

.product-cta-ghost svg {
  color: var(--accent-cyan);
}

/* Product orbital visual */
.product-visual {
  background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.03), transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px;
  position: relative;
  border-left: 1px solid var(--border);
  overflow: hidden;
}

.orbital-system {
  width: 320px;
  height: 320px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Core glow */
.orbital-core {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.25), rgba(139, 92, 246, 0.15), transparent 70%);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.2), 0 0 80px rgba(139, 92, 246, 0.1);
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.orbital-core-inner {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-gradient);
  opacity: 0.8;
}

/* Orbital rings */
.orbital-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.orbital-ring--1 {
  width: 140px;
  height: 140px;
  animation: orbit-spin 30s linear infinite;
}

.orbital-ring--2 {
  width: 220px;
  height: 220px;
  animation: orbit-spin 20s linear infinite reverse;
  border-color: rgba(139, 92, 246, 0.1);
}

.orbital-ring--3 {
  width: 300px;
  height: 300px;
  animation: orbit-spin 40s linear infinite;
  border-color: rgba(0, 212, 255, 0.06);
}

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Dots on rings */
.orbital-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
}

.orbital-ring--2 .orbital-dot {
  background: var(--accent-purple);
  box-shadow: 0 0 10px var(--accent-purple);
  width: 5px;
  height: 5px;
  top: auto;
  bottom: -2.5px;
  left: 50%;
}

.orbital-ring--3 .orbital-dot {
  width: 4px;
  height: 4px;
  top: 50%;
  left: -2px;
  transform: translateY(-50%);
  opacity: 0.7;
}

/* Product logo image */
.product-logo-img {
  width: 200px;
  height: auto;
  border-radius: 20px;
  filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.12)) drop-shadow(0 0 60px rgba(139, 92, 246, 0.08));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.product-card:hover .product-logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.2)) drop-shadow(0 0 80px rgba(139, 92, 246, 0.14));
}

/* ══════════════════════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════════════════════ */
.about {
  padding: 140px 0;
}

.about-content {
  max-width: 660px;
}

.about-content p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.about-mission {
  margin-top: 40px;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid transparent;
  border-image: var(--accent-gradient) 1;
  border-image-slice: 1;
  position: relative;
}

/* Fix border-radius conflict with border-image */
.about-mission {
  border-left: none;
  border-image: none;
  position: relative;
}

.about-mission::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent-gradient);
  border-radius: 3px 0 0 3px;
}

.about-mission p {
  font-size: 18px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 14px;
}
.about-mission p:last-child { margin-bottom: 0; }
.about-mission-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 14px;
}
.about-mission-sub {
  font-size: 15px !important;
  color: var(--text-soft) !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
}

/* ── Three Engineering Principles ── */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.principle {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.principle:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.4);
}
.principle-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent-warm);
}
.principle-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}
.principle-body {
  font-size: 14px;
  color: var(--text-soft, #B0B6C0);
  line-height: 1.7;
}

/* ── Trust strip (honest, defensible numbers) ── */
.trust-strip {
  margin-top: 56px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(111,168,214,0.05), rgba(201,171,122,0.04));
  border: 1px solid var(--border);
  border-radius: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
  overflow: hidden;
}
.trust-strip::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-steel), var(--accent-warm));
}
.trust-item { display: flex; flex-direction: column; gap: 8px; }
.trust-num {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--accent-steel), var(--accent-warm));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.trust-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════════════
   HOW WE WORK
   ══════════════════════════════════════════════════════════════════════ */
.howwework {
  padding: 110px 0 70px;
}
.hww-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.hww-step {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.hww-step::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-steel), var(--accent-warm));
  border-radius: 18px 18px 0 0;
  opacity: 0.45;
  transition: opacity 0.3s ease;
}
.hww-step:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: 0 22px 60px rgba(0,0,0,0.45);
}
.hww-step:hover::before { opacity: 0.95; }
.hww-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent-steel), var(--accent-warm));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}
.hww-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.018em;
  margin-bottom: 14px;
}
.hww-body {
  font-size: 15px;
  color: var(--text-soft, #B0B6C0);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 18px;
}
.hww-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-steel);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(111,168,214,0.10);
  border: 1px solid rgba(111,168,214,0.22);
}

/* ── Mobile-only hero chip carousel ── */
.hero-mobile-chips {
  display: none;
}
@media (max-width: 768px) {
  .hero-mobile-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 28px 0 0;
    padding: 0 0 12px;
    width: 100%;
    max-width: 100vw;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Soft fade at the right edge to hint at horizontal scrollability */
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%);
            mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%);
  }
  .hero-mobile-chips::-webkit-scrollbar { display: none; }
  .hero-mchip {
    flex-shrink: 0;
    scroll-snap-align: start;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    font-size: 12px;
    color: var(--text-soft, #B0B6C0);
    white-space: nowrap;
    letter-spacing: -0.005em;
  }
  .hero-mchip .hero-chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════════════════════ */
.contact {
  padding: 96px 0;
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}

.contact-text h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.contact-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}

.contact-email {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 14px;
}

.contact-email a {
  color: var(--accent-cyan);
  font-weight: 500;
  transition: color 0.25s ease;
}

.contact-email a:hover {
  color: var(--accent-purple);
}

.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent-gradient-h);
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.15);
  animation: glow-pulse 3s ease-in-out infinite;
}

.contact-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.3), 0 0 80px rgba(139, 92, 246, 0.15);
}

.contact-cta svg { transition: transform 0.3s ease; }
.contact-cta:hover svg { transform: translateX(4px); }

/* ══════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════ */
footer {
  padding: 72px 0 48px;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.footer-brand-tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.footer-social-link:hover {
  color: #FFFFFF;
  background: rgba(111, 168, 214, 0.12);
  border-color: rgba(111, 168, 214, 0.32);
  transform: translateY(-1px);
}

.footer-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

.footer-location svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.footer-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }

  /* Nav */
  nav {
    padding: 0 20px;
    height: 60px;
  }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 8, 12, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 20px;
  }

  /* Hero */
  .hero h1 { font-size: clamp(36px, 10vw, 56px); }
  .hero p { font-size: 16px; }
  .hero-orb--cyan { width: 300px; height: 300px; left: -20%; }
  .hero-orb--purple { width: 280px; height: 280px; right: -20%; }

  /* Metrics */
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .metrics { padding: 48px 0; }

  /* Services */
  .services { padding: 100px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 32px; }

  /* How We Work */
  .howwework { padding: 80px 0 50px; }
  .hww-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
  .hww-step { padding: 28px 24px 24px; }
  .hww-num { font-size: 44px; margin-bottom: 10px; }
  .hww-title { font-size: 20px; }

  /* Principles + Trust */
  .principles-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  .principle { padding: 24px; }
  .trust-strip {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding: 24px;
    margin-top: 40px;
  }
  .trust-num { font-size: 28px; }
  .trust-label { font-size: 12px; }
  .about { padding: 90px 0; }
  .about-mission { padding: 26px; }
  .about-mission p { font-size: 16px; }
  .about-mission-sub { font-size: 14px !important; }

  /* Products */
  .products { padding: 100px 0; }
  .product-card { grid-template-columns: 1fr; }
  .product-visual {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 48px 24px;
    min-height: 300px;
  }
  .product-info { padding: 36px 28px; }
  .product-info h3 { font-size: 26px; }
  .orbital-system { width: 260px; height: 260px; }
  .orbital-ring--3 { width: 240px; height: 240px; }

  /* About */
  .about { padding: 100px 0; }

  /* Contact */
  .contact { padding: 100px 0; }
  .contact-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 34px; }
  .hero { min-height: 100svh; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric-item { padding: 8px 0; }
  .product-info h3 { font-size: 22px; }
  .section-header { margin-bottom: 48px; }
}

/* ══════════════════════════════════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-line {
    opacity: 1;
    transform: none;
  }
  .hero p, .hero-cta {
    opacity: 1;
    transform: none;
  }
  .scroll-indicator {
    opacity: 1;
  }
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent-cyan);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  z-index: 200;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; outline: 2px solid var(--text); outline-offset: 2px; }

/* ══════════════════════════════════════════════════════════════════════
   FUTURISTIC LAYER — aurora, kinetic type, magnetic CTA, terminal
   Phase 1 + 2A. All effects respect prefers-reduced-motion at file end.
   ══════════════════════════════════════════════════════════════════════ */

/* ── Animated property registration for smooth gradient drift ── */
@property --aurora-1 { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --aurora-2 { syntax: '<angle>'; inherits: false; initial-value: 180deg; }

/* ── Aurora layer behind hero (high-intensity) ── */
.hero {
  isolation: isolate; /* lets the aurora live above bg, below content */
}
/* Aurora kept for atmosphere only — alphas dialed way down so the page reads as truly dark */
.hero::before {
  content: '';
  position: absolute;
  inset: -15%;
  background:
    radial-gradient(48% 58% at 22% 28%, rgba(111, 168, 214, 0.18), transparent 72%),
    radial-gradient(50% 60% at 78% 72%, rgba(181, 201, 221, 0.10), transparent 72%),
    radial-gradient(32% 38% at 85% 18%, rgba(201, 171, 122, 0.12), transparent 72%);
  filter: blur(70px) saturate(0.85);
  z-index: 0;
  pointer-events: none;
  animation: aurora-drift 14s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
  will-change: transform;
  mix-blend-mode: screen;
}
.hero::after {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(38% 42% at 68% 38%, rgba(111, 168, 214, 0.10), transparent 65%);
  filter: blur(90px) saturate(0.85);
  z-index: 0;
  pointer-events: none;
  animation: aurora-drift-2 22s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
  will-change: transform;
  mix-blend-mode: screen;
  opacity: 0.55;
}
@keyframes aurora-drift {
  0%   { transform: translate3d(-3%, -2%, 0) scale(1.08); }
  50%  { transform: translate3d( 5%,  3%, 0) scale(1.18); }
  100% { transform: translate3d(-2%,  5%, 0) scale(1.04); }
}
@keyframes aurora-drift-2 {
  0%   { transform: translate3d( 4%, -3%, 0) scale(1.10) rotate(8deg); }
  100% { transform: translate3d(-5%,  4%, 0) scale(1.20) rotate(-6deg); }
}

/* ── Hero side rails (wide screens only — fills the empty gutters) ── */
.hero-rail {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  flex-direction: column;
  gap: 14px;
  font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
  pointer-events: none;
  opacity: 0;
  animation: hero-rail-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.9s forwards;
}
@media (min-width: 1100px) {
  .hero-rail { display: flex; }
  .hero-rail--left  { left: 20px; align-items: flex-start; }
  .hero-rail--right { right: 20px; align-items: flex-end; }
}
@media (min-width: 1400px) {
  .hero-rail--left  { left: 44px; }
  .hero-rail--right { right: 44px; }
}
@keyframes hero-rail-in {
  from { opacity: 0; transform: translateY(-50%) translateX(0); }
  to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}
.hero-rail--left  { animation-name: hero-rail-in-left; }
.hero-rail--right { animation-name: hero-rail-in-right; }
@keyframes hero-rail-in-left {
  from { opacity: 0; transform: translateY(-50%) translateX(-16px); }
  to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}
@keyframes hero-rail-in-right {
  from { opacity: 0; transform: translateY(-50%) translateX(16px); }
  to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}

.hero-rail-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent-warm);
  margin-bottom: 6px;
  opacity: 1;
  text-transform: uppercase;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px 8px 12px;
  background: rgba(14, 17, 24, 0.92);
  border: 1px solid rgba(181, 201, 221, 0.18);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--text);
  letter-spacing: 0.01em;
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}
.hero-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-chip-dot--cyan   { background: var(--accent-cyan);   box-shadow: 0 0 8px rgba(0,212,255,0.6); animation: chip-pulse 2.4s ease-in-out infinite; }
.hero-chip-dot--purple { background: var(--accent-purple); box-shadow: 0 0 8px rgba(139,92,246,0.55); animation: chip-pulse 2.4s ease-in-out infinite; animation-delay: 0.3s; }
.hero-chip-dot--green  { background: #28C840;             box-shadow: 0 0 8px rgba(40,200,64,0.6); animation: chip-pulse 2.4s ease-in-out infinite; animation-delay: 0.6s; }
.hero-chip-dot--amber  { background: #FFB454;             box-shadow: 0 0 8px rgba(255,180,84,0.55); animation: chip-pulse 2.4s ease-in-out infinite; animation-delay: 0.9s; }
@keyframes chip-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.85); }
}

/* Orbs at low intensity — atmospheric only */
.hero-orb { opacity: 0.35; animation-duration: 18s !important; }
.hero-orb--cyan {
  background: radial-gradient(circle, rgba(111, 168, 214, 0.18), transparent 70%);
}
.hero-orb--purple {
  background: radial-gradient(circle, rgba(201, 171, 122, 0.12), transparent 70%);
}

/* ── Hero brand block — compact editorial mark ── */
.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(8px);
  animation: hero-brand-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}
.hero-brand-mark {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 2px 18px rgba(111, 168, 214, 0.35));
}
.hero-brand-wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(17px, 1.6vw, 21px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  line-height: 1;
  background-image: var(--accent-gradient-luxe) !important;
  background-color: transparent !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  background-size: 220% 100%;
  animation: brand-shimmer 6s ease-in-out infinite alternate;
}
@keyframes brand-shimmer {
  0%   { background-position:   0% 50%; }
  100% { background-position: 100% 50%; }
}
.hero-brand-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  color: var(--accent-warm);
  letter-spacing: 0.06em;
  opacity: 0.85;
}
@keyframes hero-brand-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Italic-serif stats row (Yashikaa-style editorial numerals) ── */
.metric-number {
  font-family: var(--serif) !important;
  font-style: italic !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  background-image: var(--accent-gradient-luxe) !important;
  background-color: transparent !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}
.metric-label {
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--text-muted) !important;
}

/* ── Kinetic type entrance — mask sweep on hero h1 lines ── */
.hero h1 .hero-line {
  /* override the existing translate-Y with a richer mask reveal */
  opacity: 1 !important;
  transform: none !important;
  background-image: linear-gradient(95deg,
    var(--text) 0%, var(--text) 38%,
    rgba(244,244,245,0.35) 50%, var(--text) 62%, var(--text) 100%);
  background-size: 220% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hero-line-sweep 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero h1 .hero-line:nth-child(1) { animation-delay: 0.25s; }
.hero h1 .hero-line:nth-child(2) { animation-delay: 0.45s; }
@keyframes hero-line-sweep {
  0%   { background-position: 100% 0; opacity: 0; transform: translateY(18px); }
  60%  { opacity: 1; transform: translateY(0); }
  100% { background-position: 0 0; opacity: 1; transform: translateY(0); }
}
/* keep the gradient text colorful by overriding the sweep */
.hero h1 .hero-line .hero-gradient-text {
  background: var(--accent-gradient-luxe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-size: 220% 100%;
  animation: hero-gradient-pan 5s ease-in-out infinite alternate;
}
@keyframes hero-gradient-pan {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
/* nested span inherits the sweep wrapper, so reset its background-size */
.hero h1 .hero-line:nth-child(2) {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: inherit;
  animation: hero-line-rise 1.0s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}
@keyframes hero-line-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Magnetic CTA shimmer ── */
.hero-cta {
  position: relative;
  overflow: hidden;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease, opacity 0.25s ease;
  will-change: transform;
}
.hero-cta-label, .hero-cta svg { position: relative; z-index: 2; }
.hero-cta-shimmer {
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 50%;
  background: linear-gradient(115deg,
    transparent 0%,
    rgba(255,255,255,0.0) 35%,
    rgba(255,255,255,0.45) 50%,
    rgba(255,255,255,0.0) 65%,
    transparent 100%);
  transform: skewX(-18deg);
  z-index: 1;
  pointer-events: none;
  transition: left 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-cta:hover .hero-cta-shimmer { left: 130%; }

/* ── Live intelligence terminal — sits below the CTAs as a "live demo" tile ── */
.hero-terminal {
  display: none; /* mobile: hidden */
}
@media (min-width: 768px) {
  .hero-terminal {
    display: block;
    position: relative;
    width: min(520px, 92%);
    margin: 56px auto 0;
    background: linear-gradient(180deg, rgba(12,12,18,0.92), rgba(8,8,14,0.92));
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 14px;
    box-shadow:
      0 30px 80px rgba(0,0,0,0.55),
      0 0 0 1px rgba(0, 212, 255, 0.04),
      0 0 60px rgba(0, 212, 255, 0.08);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    overflow: hidden;
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    animation: hero-terminal-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards;
  }
}
@keyframes hero-terminal-in {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.hero-terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.hero-terminal-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.hero-terminal-dot:nth-child(1) { background: #FF5F57; }
.hero-terminal-dot:nth-child(2) { background: #FEBC2E; }
.hero-terminal-dot:nth-child(3) { background: #28C840; }
.hero-terminal-title {
  margin-left: 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
}
.hero-terminal-body {
  padding: 18px 18px 22px;
  font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text);
  min-height: 200px;
  position: relative;
}
.hero-terminal-stream { white-space: pre-wrap; word-break: break-word; }
.hero-terminal-stream .t-prompt { color: var(--accent-cyan); }
.hero-terminal-stream .t-cmd    { color: var(--text); }
.hero-terminal-stream .t-ok     { color: #28C840; }
.hero-terminal-stream .t-meta   { color: var(--text-muted); }
.hero-terminal-stream .t-key    { color: #FFB454; }
.hero-terminal-stream .t-val    { color: #B5E853; }
.hero-terminal-stream .t-warn   { color: #FFB454; }
.hero-terminal-caret {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--accent-cyan);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: hero-terminal-blink 1.05s steps(1, end) infinite;
  box-shadow: 0 0 8px rgba(0,212,255,0.6);
}
@keyframes hero-terminal-blink {
  50% { opacity: 0; }
}


/* ── Ambient drifting accent for non-hero sections (atmospheric only) ── */
.products,
.about,
.contact,
.metrics {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.products::before,
.about::before,
.contact::before {
  content: '';
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 720px;
  max-height: 720px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  will-change: transform;
}
.products::before {
  background: radial-gradient(circle, rgba(111, 168, 214, 0.14), transparent 65%);
  top: -20%;
  right: -15%;
  animation: ambient-drift-a 22s ease-in-out infinite alternate;
}
.about::before {
  background: radial-gradient(circle, rgba(201, 171, 122, 0.10), transparent 65%);
  bottom: -20%;
  left: -15%;
  animation: ambient-drift-b 26s ease-in-out infinite alternate;
}
.contact::before {
  background: radial-gradient(circle, rgba(111, 168, 214, 0.10), transparent 65%);
  top: 30%;
  right: -10%;
  animation: ambient-drift-a 20s ease-in-out infinite alternate;
}
@keyframes ambient-drift-a {
  0%   { transform: translate3d(  0%,  0%, 0) scale(1.0); }
  50%  { transform: translate3d(-10%, 12%, 0) scale(1.12); }
  100% { transform: translate3d(  6%, -6%, 0) scale(1.05); }
}
@keyframes ambient-drift-b {
  0%   { transform: translate3d(  0%,  0%, 0) scale(1.0); }
  50%  { transform: translate3d( 12%, -8%, 0) scale(1.10); }
  100% { transform: translate3d( -6%, 10%, 0) scale(1.06); }
}
.products .container,
.about .container,
.contact .container,
.metrics .container { position: relative; z-index: 1; }

/* Floating ambient sparkle dots — pure CSS, very low cost */
.section-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.section-sparkle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px rgba(111, 168, 214, 0.55);
  opacity: 0;
  animation: sparkle-drift 14s linear infinite;
}
@keyframes sparkle-drift {
  0%   { opacity: 0; transform: translateY(20px) scale(0.5); }
  20%  { opacity: 0.7; }
  80%  { opacity: 0.7; }
  100% { opacity: 0; transform: translateY(-80px) scale(1.2); }
}

/* ── Reduced motion: kill the noisy animations, keep static end-states ── */
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .hero h1 .hero-line {
    animation: none;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: var(--text);
    opacity: 1 !important;
    transform: none !important;
  }
  .hero h1 .hero-line .hero-gradient-text { animation: none; }
  .hero-cta-shimmer { display: none; }
  .hero-terminal { animation: none; opacity: 1; }
  .hero-terminal-caret { animation: none; }
  .hero-rail { animation: none; opacity: 1; }
  .hero-chip-dot { animation: none !important; }
  .reveal { transition: opacity 0.2s linear; transform: none; filter: none; }
  .products::before, .about::before, .contact::before { animation: none; }
  .section-sparkle { animation: none !important; opacity: 0.5; }
}
