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

:root {
  --white:        #ffffff;
  --off-white:    #f4f4f0;
  --ink:          #0a0a12;
  --ink-mid:      #1a1a2e;
  --neon-blue:    #2979ff;
  --neon-cyan:    #00e5ff;
  --neon-purple:  #aa00ff;
  --neon-violet:  #7c4dff;
  --glass-bg:     rgba(255,255,255,0.55);
  --glass-border: rgba(255,255,255,0.75);
  --glass-shadow: 0 8px 40px rgba(41,121,255,0.12);

  --font-display: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --font-body:    Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --font-mono:    Arial, 'Helvetica Neue', Helvetica, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
}

/* ─── CANVAS ─── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.92;
}

/* ─── GRADIENT OVERLAY ─── */
.gradient-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%,   rgba(255,255,255,0.72) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 100%,  rgba(41,121,255,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 100%,  rgba(170,0,255,0.06) 0%, transparent 70%),
    linear-gradient(to bottom, rgba(255,255,255,0.55) 0%, rgba(244,244,240,0.35) 100%);
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 4rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(41,121,255,0.1);
}

.nav-logo {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.04em;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }

.nav-cta {
  padding: 0.55rem 1.4rem;
  background: var(--neon-blue) !important;
  color: #fff !important;
  border-radius: 100px;
  opacity: 1 !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  transition: box-shadow 0.3s, transform 0.2s !important;
}
.nav-cta:hover {
  box-shadow: 0 0 20px rgba(41,121,255,0.45);
  transform: translateY(-1px);
}

/* ─── SECTIONS ─── */
.section {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

/* ─── HERO ─── */
.hero-section {
  flex-direction: column;
  justify-content: center;
  padding: 0 4rem;
  min-height: 100vh;
}

.hero-content {
  max-width: 820px;
  padding-top: 7rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-blue);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.8rem;
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 60%, var(--neon-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(41,121,255,0.3));
}

.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(10,10,18,0.65);
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 4rem;
}

/* BUTTONS */
.btn-primary {
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-violet));
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: box-shadow 0.3s, transform 0.2s;
}
.btn-primary:hover {
  box-shadow: 0 0 30px rgba(41,121,255,0.5), 0 0 60px rgba(124,77,255,0.3);
  transform: translateY(-2px);
}
.btn-primary.large { padding: 1rem 2.4rem; font-size: 1rem; }

.btn-ghost {
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(10,10,18,0.2);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: border-color 0.3s, color 0.3s, transform 0.2s;
}
.btn-ghost:hover {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  transform: translateY(-2px);
}
.btn-ghost.large { padding: 1rem 2.4rem; font-size: 1rem; }

/* STATS */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--ink);
}

.stat-unit {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--neon-blue);
  letter-spacing: 0.1em;
  margin-left: 0.2rem;
  text-transform: uppercase;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(10,10,18,0.45);
  margin-top: 0.3rem;
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(41,121,255,0.3), transparent);
}

/* SCROLL HINT */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.scroll-hint span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(10,10,18,0.35);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, rgba(41,121,255,0.5), transparent);
  animation: pulse-line 2s ease-in-out infinite;
}

@keyframes pulse-line {
  0%, 100% { opacity: 0.4; width: 40px; }
  50%       { opacity: 1;   width: 70px; }
}

/* ─── FEATURES ─── */
.features-section { background: transparent; }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 0.8rem;
}

/* CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(41,121,255,0.04) 0%, rgba(170,0,255,0.04) 100%);
  border-radius: inherit;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 60px rgba(41,121,255,0.2), inset 0 1px 0 rgba(255,255,255,0.9);
}

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.glass-card h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  color: var(--ink);
}

.glass-card p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(10,10,18,0.6);
  margin-bottom: 1.2rem;
}

.card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon-blue);
  border: 1px solid rgba(41,121,255,0.25);
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  background: rgba(41,121,255,0.06);
}

/* ─── METRICS ─── */
.metrics-section { background: transparent; }

.metrics-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.metrics-body {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(10,10,18,0.6);
  margin: 1.5rem 0 2.5rem;
  max-width: 400px;
}

.metric-bar-item {
  margin-bottom: 2rem;
}

.metric-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.metric-label span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon-blue);
}

.bar-track {
  width: 100%;
  height: 5px;
  background: rgba(10,10,18,0.07);
  border-radius: 100px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 100px;
  background: linear-gradient(to right, var(--neon-blue), var(--neon-purple));
  box-shadow: 0 0 10px rgba(41,121,255,0.5);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bar-fill.animated { width: var(--w); }

/* ─── CTA ─── */
.cta-section { background: transparent; }

.cta-box {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 5rem 4rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 20px 80px rgba(41,121,255,0.14), inset 0 1px 0 rgba(255,255,255,0.9);
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(41,121,255,0.18) 0%, rgba(170,0,255,0.1) 50%, transparent 70%);
  pointer-events: none;
  animation: cta-pulse 4s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scaleY(1); }
  50%       { opacity: 1;   transform: translateX(-50%) scaleY(1.2); }
}

.cta-title {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0.8rem auto 1.5rem;
}

.cta-box p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(10,10,18,0.55);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── FOOTER ─── */
.footer {
  position: relative;
  z-index: 10;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(41,121,255,0.1);
  padding: 2rem 4rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(10,10,18,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--neon-blue); }

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(10,10,18,0.3);
  letter-spacing: 0.05em;
}

/* ─── ANIMATIONS ─── */
.animate-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.32s; }
.delay-4 { transition-delay: 0.44s; }
.delay-5 { transition-delay: 0.6s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav { padding: 1rem 1.5rem; }
  .nav-links a:not(.nav-cta) { display: none; }

  .hero-section { padding: 0 1.5rem; }
  .hero-content { padding-top: 6rem; }
  .hero-title { font-size: clamp(3.5rem, 15vw, 5rem); }
  .hero-stats { gap: 1.5rem; }
  .stat-val { font-size: 2rem; }
  .scroll-hint { left: 1.5rem; }

  .cards-grid { grid-template-columns: 1fr; }
  .metrics-layout { grid-template-columns: 1fr; gap: 3rem; }
  .metrics-body { max-width: 100%; }

  .section-inner { padding: 4rem 1.5rem; }
  .cta-box { padding: 3rem 1.5rem; }
  .footer { padding: 1.5rem; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 600px) {
  .hero-actions { flex-direction: column; }
  .hero-stats { flex-direction: column; gap: 1.2rem; }
  .stat-divider { width: 60px; height: 1px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .section-title { font-size: 2.8rem; }
  .cta-title { font-size: 2.8rem; }
}
