/* ═══════════════════════════════════════════════════════════════
   MONOMORPH MINDS — GLOBAL DESIGN SYSTEM v2.0
   Aurora Dark · Glassmorphism · 3D Spatial · Enterprise AI
════════════════════════════════════════════════════════════════ */

/* ─── ANIMATED CSS PROPERTIES ─── */
@property --aurora-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@property --shimmer-pos {
  syntax: '<percentage>';
  inherits: false;
  initial-value: -100%;
}

/* ─── CSS TOKENS ─── */
:root {
  --bg:        #04040a;
  --bg-2:      #080812;
  --bg-3:      #0c0c18;
  --bg-card:   #0a0a14;
  --bg-glass:  rgba(10, 10, 20, 0.6);
  --border:    rgba(255,255,255,0.06);
  --border-glass: rgba(255,255,255,0.1);
  --border-hover: rgba(0,217,255,0.4);

  --cyan:      #00D9FF;
  --cyan-dim:  rgba(0,217,255,0.12);
  --cyan-glow: rgba(0,217,255,0.08);
  --cyan-2:    #00FFCC;
  --purple:    #8B5CF6;
  --purple-dim: rgba(139, 92, 246, 0.1);
  --pink:      #EC4899;
  --blue:      #3B82F6;

  --white:     #FFFFFF;
  --gray-1:    #E8E8F0;
  --gray-2:    #A8A8C0;
  --gray-3:    #606080;
  --gray-4:    #303048;

  --green:     #00E676;
  --red:       #FF4466;

  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-sharp:  cubic-bezier(0.4, 0, 0.2, 1);
  --ease-expo:   cubic-bezier(0.87, 0, 0.13, 1);

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --max-w: 1440px;
  --gap:   2rem;

  /* Glow system */
  --glow-cyan:   0 0 30px rgba(0,217,255,0.2), 0 0 60px rgba(0,217,255,0.1);
  --glow-purple: 0 0 30px rgba(139,92,246,0.2), 0 0 60px rgba(139,92,246,0.1);
  --glow-pink:   0 0 30px rgba(236,72,153,0.2), 0 0 60px rgba(236,72,153,0.1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--gray-2);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
}

/* ─── GLOBAL NOISE TEXTURE ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.008) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.008) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: -3;
}

/* ─── AURORA AMBIENT GLOW ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 10%, rgba(139,92,246,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0,217,255,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(236,72,153,0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: -2;
  animation: auroraPulse 12s ease-in-out infinite alternate;
}

@keyframes auroraPulse {
  0%   { opacity: 0.6; }
  50%  { opacity: 1; }
  100% { opacity: 0.7; }
}

.hero-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  opacity: 1;
}

/* ─── AMBIENT AURORA BLOB BACKGROUND ─── */
.aurora-blob {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -2;
  filter: blur(140px);
  opacity: 0.12;
  transition: opacity 1s ease-in-out;
}
.blob-cyan {
  background: var(--cyan);
  top: -100px;
  left: -100px;
  animation: floatBlob1 28s ease-in-out infinite alternate;
}
.blob-purple {
  background: var(--purple);
  bottom: -150px;
  right: -100px;
  animation: floatBlob2 36s ease-in-out infinite alternate;
}

@keyframes floatBlob1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(120px, 80px) scale(1.15); opacity: 0.16; }
  100% { transform: translate(-40px, 160px) scale(0.9); }
}
@keyframes floatBlob2 {
  0% { transform: translate(0, 0) scale(0.95); }
  50% { transform: translate(-150px, -100px) scale(1.1); opacity: 0.14; }
  100% { transform: translate(80px, 50px) scale(1.05); }
}

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

/* ─── SCROLL PROGRESS BAR ─── */
.scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan), var(--cyan-2));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(0,217,255,0.6), 0 0 24px rgba(139,92,246,0.4);
}

/* ─── CUSTOM CURSOR ─── */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease-bounce), height 0.2s var(--ease-bounce), opacity 0.2s;
  mix-blend-mode: screen;
  box-shadow: 0 0 10px var(--cyan), 0 0 20px rgba(0,217,255,0.5);
}
.cursor-follower {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(0,217,255,0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: all 0.14s var(--ease-smooth);
  background: rgba(0,217,255,0.02);
}
body:has(a:hover) .cursor { width: 16px; height: 16px; box-shadow: 0 0 20px var(--cyan); }
body:has(a:hover) .cursor-follower { width: 56px; height: 56px; border-color: var(--cyan); background: rgba(0,217,255,0.04); }
body:has(button:hover) .cursor { background: var(--purple); box-shadow: 0 0 20px var(--purple); }

/* ─── CONTAINER ─── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all 0.5s var(--ease-smooth);
}
.nav.scrolled {
  background: rgba(4,4,10,0.85);
  backdrop-filter: blur(24px) saturate(1.5) brightness(1.1);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 1px 0 rgba(0,217,255,0.06), 0 8px 32px rgba(0,0,0,0.4);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  transition: all 0.3s;
}
.nav-logo:hover { opacity: 0.85; }

.logo-text-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
.logo-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.03em;
}
.logo-tagline {
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 600;
  color: rgba(0, 217, 255, 0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 1px;
}
.logo-pulse-dot { animation: pulseDot 2.5s ease-in-out infinite; }
@keyframes pulseDot {
  0%, 100% { opacity: 0.5; r: 2.5px; }
  50% { opacity: 1; r: 3.5px; fill: #fff; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-3);
  border-radius: var(--radius-sm);
  transition: all 0.25s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-2));
  border-radius: 2px;
  box-shadow: 0 0 8px var(--cyan);
}

.nav-cta {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  color: var(--bg);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-bounce);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,217,255,0.25);
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.nav-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(0,217,255,0.4), 0 0 0 1px rgba(0,217,255,0.3);
}
.nav-cta:hover::before { opacity: 1; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s var(--ease-smooth);
}

/* ─── GLASSMORPHISM CARD SYSTEM ─── */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Holographic rainbow border on hover */
.glass-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from var(--aurora-angle), #00D9FF, #8B5CF6, #EC4899, #00FFCC, #00D9FF);
  --aurora-angle: 0deg;
  animation: spinBorder 4s linear infinite;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
}
@keyframes spinBorder {
  to { --aurora-angle: 360deg; }
}
.glass-card:hover::after { opacity: 0.6; }

/* ─── HOLOGRAPHIC SHIMMER ─── */
@keyframes shimmerMove {
  0% { --shimmer-pos: -100%; }
  100% { --shimmer-pos: 200%; }
}
.shimmer-text {
  background: linear-gradient(
    90deg,
    var(--white) 0%,
    var(--cyan) 40%,
    var(--purple) 60%,
    var(--white) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  animation: shimmerFlow 4s linear infinite;
}
@keyframes shimmerFlow {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ─── SECTION BASE ─── */
section { position: relative; }
.section-head {
  margin-bottom: 4rem;
}
.section-head.centered { text-align: center; }
.section-head.centered .section-intro { margin: 0 auto; }
.section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}
.section-intro {
  font-size: 1.05rem;
  color: var(--gray-2);
  max-width: 600px;
  line-height: 1.7;
}

/* ─── EYEBROW LABELS ─── */
.eyebrow-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.2rem;
  padding: 0.3rem 0.8rem 0.3rem 0.5rem;
  background: rgba(0,217,255,0.06);
  border: 1px solid rgba(0,217,255,0.15);
  border-radius: 100px;
}
.eyebrow-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  flex-shrink: 0;
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ─── TEXT UTILITIES ─── */
.text-cyan { color: var(--cyan); }
.text-white { color: var(--white); }
.text-muted { color: var(--gray-3); }
.text-gradient {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-purple {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── MAGNETIC BUTTON SYSTEM ─── */
.btn-magnetic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s var(--ease-bounce);
}

/* ─── BUTTONS ─── */
.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  color: var(--bg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease-smooth);
  box-shadow: 0 4px 24px rgba(0,217,255,0.3), 0 0 0 0 rgba(0,217,255,0);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-primary-glow::before {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 30%; height: 200%;
  background: rgba(255,255,255,0.3);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease-expo);
}
.btn-primary-glow:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0,217,255,0.45), 0 0 0 3px rgba(0,217,255,0.1);
}
.btn-primary-glow:hover::before { left: 130%; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  background: rgba(255,255,255,0.04);
  color: var(--gray-1);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  text-decoration: none;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: rgba(0,217,255,0.4);
  color: var(--cyan);
  background: rgba(0,217,255,0.06);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(0,217,255,0.1);
}

.btn-outline-cyan {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border: 1px solid rgba(0,217,255,0.4);
  color: var(--cyan);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-smooth);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  background: rgba(0,217,255,0.04);
}
.btn-outline-cyan::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-outline-cyan:hover {
  color: var(--bg);
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,217,255,0.3);
}
.btn-outline-cyan:hover::before { opacity: 1; }
.btn-outline-cyan span, .btn-outline-cyan svg { position: relative; z-index: 1; }

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  color: var(--bg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease-smooth);
  box-shadow: 0 4px 24px rgba(0,217,255,0.3);
  width: 100%;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.btn-submit::before {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 30%; height: 200%;
  background: rgba(255,255,255,0.25);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease-expo);
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,217,255,0.45);
}
.btn-submit:hover::before { left: 130%; }

/* ─── LINK ARROWS ─── */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  transition: all 0.25s var(--ease-smooth);
  position: relative;
}
.link-arrow::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-smooth);
}
.link-arrow:hover { gap: 0.8rem; }
.link-arrow:hover::after { transform: scaleX(1); }

.link-arrow-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan);
  transition: gap 0.25s var(--ease-smooth);
}
.link-arrow-sm:hover { gap: 0.7rem; }

/* ─── REVEAL ANIMATIONS ─── */
.reveal-section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s var(--ease-smooth), transform 1s var(--ease-smooth);
}
.reveal-section.visible {
  opacity: 1;
  transform: none;
}
.reveal-card {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}
.reveal-card.visible {
  opacity: 1;
  transform: none;
}
.reveal-step {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}
.reveal-step.visible {
  opacity: 1;
  transform: none;
}
.reveal-float {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-smooth), transform 0.9s var(--ease-smooth);
}
.reveal-float.visible {
  opacity: 1;
  transform: none;
}

/* ─── STATS BAR ─── */
.stats-bar {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, transparent, rgba(0,217,255,0.02), transparent);
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(139,92,246,0.04) 0%, transparent 70%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.stat-item {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.stat-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.stat-item:hover { background: rgba(0,217,255,0.03); }
.stat-item:hover::before { opacity: 1; }
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--white), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--gray-3);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.stat-sub {
  font-size: 0.75rem;
  color: var(--cyan);
  font-weight: 600;
}

/* ─── TECH GRID ─── */
.tech-section { padding: 80px 0; border-bottom: 1px solid var(--border); }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.tech-item {
  background: var(--bg-card);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all 0.3s var(--ease-smooth);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.tech-item::before {
  content: attr(data-label);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-3);
}
.tech-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-smooth);
}
.tech-item span {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  transition: color 0.3s;
}
.tech-item:hover {
  background: rgba(0,217,255,0.03);
}
.tech-item:hover::after { transform: scaleX(1); }
.tech-item:hover span { color: var(--cyan); }

/* ─── MARQUEE STRIP ─── */
.marquee-section {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  background: rgba(0,217,255,0.012);
}
.marquee-section::before, .marquee-section::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.marquee-section::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 30%, transparent 100%);
}
.marquee-section::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg) 30%, transparent 100%);
}
.marquee-inner {
  display: flex;
  width: max-content;
  animation: marqueeScroll 38s linear infinite;
}
.marquee-inner:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.35rem 1.8rem;
  color: var(--gray-3);
  white-space: nowrap;
  border-right: 1px solid var(--border);
  transition: all 0.25s;
  flex-shrink: 0;
}
.marquee-item:hover { color: var(--white); }
.marquee-item img {
  height: 22px;
  width: auto;
  filter: grayscale(1) brightness(0.6);
  transition: filter 0.25s;
}
.marquee-item:hover img { filter: grayscale(0) brightness(1); }
.marquee-item span {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.marquee-logo-svg {
  opacity: 0.45;
  transition: opacity 0.25s;
}
.marquee-item:hover .marquee-logo-svg { opacity: 1; }

/* ─── PAGE HEADER (inner pages) ─── */
.page-hero {
  padding: 160px 0 100px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(0,217,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(139,92,246,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.008) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.008) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}
.page-hero p {
  font-size: 1.1rem;
  color: var(--gray-2);
  max-width: 640px;
  line-height: 1.7;
}

/* ─── FOOTER ─── */
.footer {
  background: #020208;
  border-top: 1px solid var(--border);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.4;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 60px;
}
.footer-logo { margin-bottom: 1.2rem; }
.footer-desc {
  font-size: 0.88rem;
  color: var(--gray-3);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 2rem;
}
.footer-socials {
  display: flex;
  gap: 0.8rem;
}
.footer-socials a {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--gray-3);
  transition: all 0.3s var(--ease-smooth);
}
.footer-socials a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
  box-shadow: 0 0 16px rgba(0,217,255,0.15);
  transform: translateY(-2px);
}
.footer-col h5 {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--gray-3);
  margin-bottom: 0.8rem;
  transition: all 0.2s;
}
.footer-col a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.8rem 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom-inner p { font-size: 0.82rem; color: var(--gray-3); }
.footer-philosophy {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--gray-2) !important;
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a {
  font-size: 0.82rem;
  color: var(--gray-3);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--white); }

/* ─── FORM ELEMENTS ─── */
input, select, textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  color: var(--white);
  font-size: 0.92rem;
  outline: none;
  transition: all 0.3s var(--ease-smooth);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--cyan);
  background: rgba(0,217,255,0.04);
  box-shadow: 0 0 0 3px rgba(0,217,255,0.08), inset 0 1px 0 rgba(0,217,255,0.05);
}
input::placeholder, textarea::placeholder { color: var(--gray-4); }
select option { background: var(--bg-3); color: var(--white); }
textarea { resize: vertical; }
.form-note {
  font-size: 0.78rem;
  color: var(--gray-3);
  text-align: center;
  margin-top: 0.5rem;
}
.form-success {
  display: none;
  font-size: 0.9rem;
  color: var(--green);
  text-align: center;
  padding: 1rem;
  background: rgba(0,230,118,0.06);
  border: 1px solid rgba(0,230,118,0.2);
  border-radius: var(--radius-sm);
  margin-top: 1rem;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 1.5rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(4,4,10,0.98);
    backdrop-filter: blur(24px);
    padding: 2rem 1.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }
  .nav-links.open a {
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .container { padding: 0 1rem; }
  .page-hero { padding: 120px 0 70px; }
  .page-hero h1 { font-size: clamp(2rem, 7vw, 3rem); }
  .marquee-section::before, .marquee-section::after { width: 60px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav-inner { padding: 0 1rem; }
}
