/* ════════════════════════════════════════════════════════════
   ENERGIE³ — Futuristic Energy Solutions Website
   ════════════════════════════════════════════════════════════ */

:root {
  --bg: #03050d;
  --bg-2: #060a18;
  --bg-3: #0a1024;
  --surface: rgba(15, 22, 45, 0.55);
  --surface-2: rgba(25, 35, 70, 0.45);
  --border: rgba(120, 150, 255, 0.12);
  --border-strong: rgba(120, 150, 255, 0.32);
  --text: #f4f6ff;
  --text-2: #b8c0d8;
  --text-3: #6a7493;
  --accent: #2b4dff;
  --accent-2: #5d7dff;
  --accent-3: #8aa0ff;
  --neon: #4d6dff;
  --deep: #0014a8;
  --radius: 18px;
  --radius-sm: 10px;
  --container: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  cursor: none;
}
@media (pointer: coarse) { body { cursor: auto; } }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font-family: inherit; cursor: none; border: 0; background: transparent; color: inherit; }
@media (pointer: coarse) { button { cursor: pointer; } }
input, textarea, select { font-family: inherit; }

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

/* ────────── Typography ────────── */
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }
.h2 { font-size: clamp(2rem, 4.8vw, 4rem); font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-3);
  margin-bottom: 22px;
  padding: 7px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  background: rgba(43, 77, 255, 0.06);
  backdrop-filter: blur(10px);
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: .5; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.2); }
}
.eyebrow.light { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #fff; }
.eyebrow.light::before { background: #fff; box-shadow: 0 0 12px #fff; }

.grad-text {
  background: linear-gradient(120deg, #5d7dff 0%, #8aa0ff 40%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ────────── Custom Cursor ────────── */
.cursor, .cursor-dot {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor {
  width: 36px; height: 36px;
  border: 1px solid var(--accent-3);
  border-radius: 50%;
  transition: width .25s var(--ease), height .25s var(--ease), background .25s var(--ease);
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor.hover {
  width: 64px; height: 64px;
  background: rgba(93, 125, 255, 0.15);
  border-color: var(--accent-3);
}
@media (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

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

/* ────────── Animated Grid Background ────────── */
.grid-bg {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120,150,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,150,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  animation: grid-drift 60s linear infinite;
}
@keyframes grid-drift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 80px 80px, 80px 80px; }
}

/* ────────── Particles canvas ────────── */
.particles {
  position: fixed; inset: 0;
  z-index: 1;
  pointer-events: none;
  width: 100%; height: 100%;
}

/* ────────── Background Blobs ────────── */
.bg-blobs {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  will-change: transform;
}
.blob-1 {
  width: 720px; height: 720px;
  background: radial-gradient(circle, #1d3cff 0%, transparent 70%);
  top: -250px; left: -200px;
  animation: float-blob 18s ease-in-out infinite;
}
.blob-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #4d6dff 0%, transparent 70%);
  top: 40%; right: -200px;
  animation: float-blob 22s ease-in-out infinite reverse;
}
.blob-3 {
  width: 800px; height: 800px;
  background: radial-gradient(circle, #0014a8 0%, transparent 70%);
  bottom: -300px; left: 20%;
  animation: float-blob 26s ease-in-out infinite;
}
@keyframes float-blob {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(80px, -60px) scale(1.1); }
  66% { transform: translate(-60px, 40px) scale(0.95); }
}

/* ────────── Scroll progress bar ────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-3), #fff);
  box-shadow: 0 0 12px var(--accent-2);
  z-index: 60;
  transition: width .1s linear;
}

/* ────────── Navigation ────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 18px 0;
  transition: all .35s var(--ease);
}
.nav.scrolled {
  background: rgba(3, 5, 13, 0.72);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; position: relative; }
.nav-logo-img {
  width: 38px; height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--border-strong), 0 0 24px rgba(43,77,255,0.45);
  transition: transform .4s var(--ease);
}
.nav-logo:hover .nav-logo-img { transform: rotate(8deg) scale(1.08); }
.nav-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.nav-logo-text sup { font-size: 0.6em; color: var(--accent-2); }
.nav-links {
  display: flex; gap: 36px;
  margin-left: auto;
}
.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--accent-2);
  box-shadow: 0 0 8px var(--accent-2);
  transition: width .35s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 4px 24px rgba(43,77,255,0.4);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  position: relative;
}
.nav-cta:hover { box-shadow: 0 8px 36px rgba(43,77,255,0.65); }
.nav-cta-arrow { transition: transform .25s var(--ease); }
.nav-cta:hover .nav-cta-arrow { transform: translateX(4px); }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.45) saturate(1.6) contrast(1.1);
  transform: scale(1.08);
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 60%, transparent 0%, rgba(3,5,13,0.5) 50%, var(--bg) 100%),
    linear-gradient(180deg, rgba(3,5,13,0.4) 0%, transparent 30%, var(--bg) 100%);
}
.hero-scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(120,150,255,0.025) 0px,
    rgba(120,150,255,0.025) 1px,
    transparent 1px,
    transparent 4px
  );
  pointer-events: none;
  opacity: .6;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-3);
  margin-bottom: 36px;
  padding: 8px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  background: rgba(43, 77, 255, 0.08);
  backdrop-filter: blur(12px);
}
.hero-tag .dot {
  width: 8px; height: 8px;
  background: #5d7dff;
  border-radius: 50%;
  box-shadow: 0 0 14px var(--accent-2);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 9.5vw, 8.5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 40px;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .accent {
  background: linear-gradient(120deg, #5d7dff 0%, #8aa0ff 50%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title .cube {
  font-size: 0.55em;
  color: var(--accent-2);
  vertical-align: super;
  display: inline-block;
  animation: cube-float 3s ease-in-out infinite;
}
@keyframes cube-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.char-anim {
  display: inline-block;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 44px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 80px; }

.hero-meta {
  display: flex; gap: 48px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
}
.meta-item { display: flex; flex-direction: column; gap: 4px; }
.meta-label { color: var(--text-3); }
.meta-val { color: var(--accent-3); font-weight: 600; }

/* ────────── Buttons ────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.02em;
  cursor: none;
  transition: all .3s var(--ease);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
@media (pointer: coarse) { .btn { cursor: pointer; } }
.btn::before {
  content: '';
  position: absolute;
  top: 50%; left: -100%;
  width: 60%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateY(-50%) skewX(-20deg);
  transition: left .6s var(--ease);
}
.btn:hover::before { left: 150%; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 32px rgba(43,77,255,0.45), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(43,77,255,0.7), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary .arr { transition: transform .25s var(--ease); position: relative; z-index: 2; }
.btn-primary:hover .arr { transform: translateX(6px); }
.btn-primary span { position: relative; z-index: 2; }
.btn-ghost {
  border-color: var(--border-strong);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }
.btn-large { padding: 20px 40px; font-size: 15px; }

/* ────────── Hero scroll indicator ────────── */
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.3em;
  color: var(--text-3);
  z-index: 2;
}
.hero-scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(180deg, var(--accent-2), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

/* ────────── Marquee ────────── */
.marquee {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
  background: rgba(6, 10, 24, 0.6);
  backdrop-filter: blur(10px);
  z-index: 2;
}
.marquee-track {
  display: flex; gap: 40px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--text-2);
  padding: 4px 0;
}
.marquee-track.reverse {
  animation: marquee-rev 40s linear infinite;
  color: var(--accent-3);
  opacity: .5;
  font-size: 11px;
  letter-spacing: 0.3em;
  margin-top: 4px;
}
.marquee-track .dot-sep { color: var(--accent-2); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-rev {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ════════════════════════════════════════════════════════════
   VISION — pinned scroll text reveal
   ════════════════════════════════════════════════════════════ */
.vision {
  position: relative;
  height: 200vh;
  z-index: 2;
}
.vision-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.vision-container {
  max-width: var(--container);
  padding: 0 32px;
  text-align: center;
}
.vision-container .eyebrow { margin-bottom: 40px; }
.vision-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 6vw, 5.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 1100px;
  margin: 0 auto;
}
.vision-text .word {
  display: inline-block;
  margin: 0 .25em;
  opacity: 0.15;
  transition: opacity .4s var(--ease), color .4s var(--ease);
}
.vision-text .word.active { opacity: 1; }
.vision-text .word.grad.active {
  background: linear-gradient(120deg, #5d7dff 0%, #8aa0ff 50%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ────────── Sections ────────── */
.section {
  position: relative;
  padding: 140px 0;
  z-index: 2;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 80px; }
.section-head .eyebrow { margin-bottom: 24px; }

/* ────────── Services ────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  padding: 40px 32px 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  transition: all .5s var(--ease);
  overflow: hidden;
  min-height: 260px;
  display: flex; flex-direction: column;
}
.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(93,125,255,0.18), transparent 60%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 60px rgba(43,77,255,0.2);
}
.service-card:hover .card-glow { opacity: 1; }
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(43,77,255,0.2), rgba(43,77,255,0.04));
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
  color: var(--accent-3);
  transition: transform .4s var(--ease);
}
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.08); }
.service-icon svg { width: 24px; height: 24px; }
.service-num {
  position: absolute; top: 28px; right: 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.1em;
}
.service-card h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.service-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--accent-3);
  letter-spacing: 0.05em;
  margin-top: auto;
  transition: color .3s var(--ease), letter-spacing .3s var(--ease);
}
.service-card:hover .service-tag { color: #fff; letter-spacing: 0.08em; }

/* ────────── Process ────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-step {
  position: relative;
  padding: 40px 28px;
  text-align: left;
  border-left: 1px solid var(--border);
}
.process-step:first-child { border-left: 0; }
.step-line {
  position: absolute;
  top: 64px; right: -1px;
  width: 2px; height: 0;
  background: linear-gradient(180deg, var(--accent-2), transparent);
  box-shadow: 0 0 12px var(--accent-2);
  transition: height 1s var(--ease) .2s;
}
.process-step.in .step-line { height: calc(100% - 80px); }
.step-num {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 600;
  color: var(--accent-2);
  letter-spacing: 0.12em;
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: rgba(43,77,255,0.06);
  margin-bottom: 24px;
}
.process-step h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.process-step p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

/* ════════════════════════════════════════════════════════════
   MANIFEST
   ════════════════════════════════════════════════════════════ */
.manifest {
  position: relative;
  padding: 120px 0;
  z-index: 2;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(6, 10, 24, 0.4);
  backdrop-filter: blur(10px);
}
.manifest-rows { display: flex; flex-direction: column; gap: 16px; }
.manifest-row {
  display: flex;
  align-items: baseline;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: padding .4s var(--ease);
}
.manifest-row:last-child { border-bottom: 0; }
.manifest-row:hover { padding-left: 16px; }
.m-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--accent-2);
  letter-spacing: 0.1em;
  flex-shrink: 0;
}
.m-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.2rem, 2.8vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.m-text em {
  font-style: italic;
  background: linear-gradient(120deg, #5d7dff 0%, #8aa0ff 50%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* ────────── CTA ────────── */
.cta { padding: 100px 0 140px; }
.cta-card {
  position: relative;
  padding: 80px 48px;
  background: linear-gradient(135deg, #08102e 0%, #0014a8 100%);
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  overflow: hidden;
  text-align: center;
}
.cta-glow {
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(93,125,255,0.45) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  animation: pulse-glow 6s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}
.cta-orbit {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.orbit-ring {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  animation: orbit 30s linear infinite;
}
.orbit-ring::before {
  content: '';
  position: absolute;
  top: -3px; left: 50%;
  width: 6px; height: 6px;
  background: var(--accent-3);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--accent-3);
}
.orbit-ring.r2 { width: 600px; height: 600px; animation-duration: 50s; animation-direction: reverse; opacity: .5; }
.orbit-ring.r3 { width: 800px; height: 800px; animation-duration: 70s; opacity: .3; }
@keyframes orbit {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

.cta-content { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.cta-card .h2 { color: #fff; margin: 20px 0 16px; }
.cta-card p { color: rgba(255,255,255,0.75); margin-bottom: 36px; font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 0.05em; }
.cta-form {
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 32px;
  text-align: left;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cta-form input, .cta-form textarea {
  padding: 16px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  transition: all .25s var(--ease);
  width: 100%;
  resize: vertical;
}
.cta-form input::placeholder, .cta-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.cta-form input:focus, .cta-form textarea:focus {
  outline: none;
  border-color: var(--accent-3);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 4px rgba(93,125,255,0.2);
}
.cta-form .btn { align-self: center; margin-top: 8px; }
.form-success {
  display: none;
  text-align: center;
  padding: 14px;
  color: #6dffb0;
  font-weight: 600;
  background: rgba(109, 255, 176, 0.1);
  border-radius: 10px;
  margin-top: 8px;
}
.form-success.show { display: block; animation: pop-in .4s var(--ease); }
@keyframes pop-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ────────── Footer ────────── */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 64px;
  background: rgba(3, 5, 13, 0.7);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--border-strong);
}
.footer-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
}
.footer-logo-text sup { color: var(--accent-2); font-size: 0.6em; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.footer-cols h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-3);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-cols a, .footer-cols span {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 8px;
  line-height: 1.6;
}
.footer-cols a:hover { color: var(--accent-3); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 32px;
  border-top: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.08em;
}
.footer-sig { color: var(--accent-3); }

/* ════════════════════════════════════════════════════════════
   Reveal Animations
   ════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease-expo), transform .9s var(--ease-expo);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.in:nth-child(2) { transition-delay: .08s; }
.reveal.in:nth-child(3) { transition-delay: .16s; }
.reveal.in:nth-child(4) { transition-delay: .24s; }
.reveal.in:nth-child(5) { transition-delay: .32s; }
.reveal.in:nth-child(6) { transition-delay: .4s; }

/* Char split animation for hero title */
.char-anim .char {
  display: inline-block;
  transform: translateY(120%);
  opacity: 0;
  animation: char-up 1s var(--ease-expo) forwards;
}
@keyframes char-up {
  to { transform: translateY(0); opacity: 1; }
}

/* ════════════════════════════════════════════════════════════
   Responsive
   ════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step { border-left: 0; border-top: 1px solid var(--border); }
  .process-step:nth-child(-n+2) { border-top: 0; }
  .step-line { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 100px 0; }
  .cta-card { padding: 56px 28px; }
  .form-row { grid-template-columns: 1fr; }
  .orbit-ring.r3 { display: none; }
  .hero-meta { gap: 28px; }
}
@media (max-width: 600px) {
  .container, .nav-inner, .hero-content { padding-left: 20px; padding-right: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-left: 0 !important; border-top: 1px solid var(--border) !important; }
  .process-step:first-child { border-top: 0 !important; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .hero-meta { gap: 20px; flex-wrap: wrap; }
  .vision { height: 150vh; }
  .orbit-ring, .orbit-ring.r2 { width: 320px; height: 320px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  body { cursor: auto; }
  .cursor, .cursor-dot { display: none; }
}
