/* =============================================
   MOONLIT LANDING — Global Styles
   ============================================= */

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

:root {
  --navy:       #060d1f;
  --navy-light: #080f22;
  --navy-mid:   #0b1429;
  --navy-card:  #0c1530;
  --navy-card2: #0e1933;
  --navy-border: rgba(76,110,245,0.25);
  --navy-border2: rgba(76,110,245,0.4);
  --blue:       #4c6ef5;
  --blue-light: #748ffc;
  --blue-glow:  rgba(76,110,245,0.5);
  --teal:       #10b981;
  --teal-dark:  #059669;
  --teal-glow:  rgba(16,185,129,0.4);
  --cyan:       #0ea5e9;
  --cyan-light: #38bdf8;
  --red:        #f87171;
  --amber:      #fbbf24;
  --text:       #eaf2ff;
  --text-muted: rgba(200,220,255,0.72);
  --text-dim:   rgba(180,205,255,0.38);
  --gradient:   linear-gradient(135deg, #4c6ef5, #0ea5e9);
  --gradient2:  linear-gradient(135deg, #10b981, #0ea5e9);
  --font:       'Inter', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TYPOGRAPHY ─────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #90a8ff;
  background: rgba(76,110,245,0.18);
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(116,143,252,0.45);
  margin-bottom: 16px;
  box-shadow: 0 0 16px rgba(76,110,245,0.2);
}
.section-label.light { color: #a5b4fc; border-color: rgba(165,180,252,0.3); background: rgba(165,180,252,0.08); }

.section-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.gradient-text {
  background: linear-gradient(135deg, #748ffc, #38bdf8, #748ffc);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerBg 4s linear infinite;
}

/* ── BUTTONS ─────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  background-size: 200% 200%;
  color: white;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.25s;
  box-shadow: 0 4px 24px rgba(76,110,245,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 50%; height: 200%;
  background: rgba(255,255,255,0.18);
  transform: skewX(-20deg);
  transition: left 0.5s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(76,110,245,0.55), inset 0 1px 0 rgba(255,255,255,0.15); }
.btn-primary:hover::after { left: 120%; }
.btn-primary.btn-large { padding: 16px 36px; font-size: 16px; width: 100%; justify-content: center; margin-top: 8px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  color: var(--text-muted);
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--navy-border);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-ghost:hover { border-color: rgba(116,143,252,0.5); color: var(--text); }

.btn-ghost-sm {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 8px;
  border: 1px solid var(--navy-border);
  transition: all 0.2s;
}
.btn-ghost-sm:hover { color: var(--text); border-color: rgba(116,143,252,0.4); }

.btn-primary-sm {
  font-size: 14px;
  font-weight: 700;
  color: white;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 8px;
  background: var(--gradient);
  transition: all 0.2s;
  box-shadow: 0 2px 12px rgba(76,110,245,0.3);
}
.btn-primary-sm:hover { transform: translateY(-1px); box-shadow: 0 4px 18px rgba(76,110,245,0.45); }

.play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(116,143,252,0.2);
  font-size: 9px;
}

/* ── NAV ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7,11,22,0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(76,110,245,0.1);
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.nav-scrolled {
  background: rgba(7,11,22,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(76,110,245,0.2);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img { height: 100px; width: auto; display: block; object-fit: contain; flex-shrink: 0; }
.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-brand-name {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1;
  background: linear-gradient(135deg, #eaf2ff 20%, #748ffc 60%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-brand-or {
  background: linear-gradient(135deg, #748ffc, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-brand-tagline {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #748ffc, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  opacity: 0;
  animation: typeReveal 1.6s cubic-bezier(0.4,0,0.2,1) 0.6s forwards;
}
@keyframes typeReveal {
  from { width: 0;     opacity: 0; }
  15%  { width: 0;     opacity: 1; }
  to   { width: 295px; opacity: 1; }
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.15s;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all 0.2s;
}
.nav-mobile {
  display: none;
  background: var(--navy-card);
  border-top: 1px solid var(--navy-border);
  padding: 16px 24px;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  color: var(--text-muted);
  text-decoration: none;
  padding: 10px 8px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--navy-border);
}
.nav-mobile-link:last-child { border-bottom: none; }
.nav-mobile-link:hover { color: var(--text); }

/* ── HERO ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 160px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-rings {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  pointer-events: none;
}
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  top: 50%; left: 50%;
}
.hero-ring:nth-child(1) {
  width: 300px; height: 300px;
  margin: -150px 0 0 -150px;
  border-color: rgba(76,110,245,0.35);
  animation: rotateSlow 16s linear infinite;
  box-shadow: inset 0 0 40px rgba(76,110,245,0.05);
}
.hero-ring:nth-child(2) {
  width: 520px; height: 520px;
  margin: -260px 0 0 -260px;
  border-color: rgba(14,165,233,0.2);
  animation: rotateSlowRev 24s linear infinite;
}
.hero-ring:nth-child(3) {
  width: 750px; height: 750px;
  margin: -375px 0 0 -375px;
  border-color: rgba(76,110,245,0.1);
  animation: rotateSlow 40s linear infinite;
}
.hero-ring-dot {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  top: -3px; left: 50%;
  margin-left: -3px;
  box-shadow: 0 0 10px 3px rgba(116,143,252,0.8);
}
.hero-ring:nth-child(2) .hero-ring-dot {
  background: var(--cyan);
  box-shadow: 0 0 10px 3px rgba(14,165,233,0.8);
}
.hero-beam {
  position: absolute;
  top: 0; left: -20%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(76,110,245,0.04), rgba(116,143,252,0.08), rgba(76,110,245,0.04), transparent);
  animation: beamMove 8s ease-in-out infinite;
}
.hero-beam:nth-child(2) { animation-delay: 4s; width: 25%; background: linear-gradient(90deg, transparent, rgba(14,165,233,0.06), transparent); }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(76,110,245,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76,110,245,0.1) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, black 10%, transparent 80%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
}
.glow-1 {
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(76,110,245,0.5), transparent 65%);
  top: -350px;
  left: -200px;
  animation: glowPulse 8s ease-in-out infinite;
}
.glow-2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(14,165,233,0.4), transparent 65%);
  bottom: -200px;
  right: -150px;
  animation: glowPulse 10s ease-in-out infinite reverse;
}
.glow-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16,185,129,0.2), transparent 65%);
  top: 40%;
  left: 55%;
  animation: glowPulse 12s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.12); }
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

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

@keyframes beamMove {
  0%   { transform: translateX(-100%) skewX(-15deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateX(200vw) skewX(-15deg); opacity: 0; }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-18px); }
}

@keyframes shimmerBg {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-content {
  position: relative;
  text-align: center;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-light);
  background: rgba(76,110,245,0.1);
  border: 1px solid rgba(116,143,252,0.45);
  padding: 7px 18px;
  border-radius: 20px;
  margin-bottom: 32px;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(76,110,245,0.2), inset 0 1px 0 rgba(116,143,252,0.2);
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-title {
  font-size: clamp(40px, 7vw, 82px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  border: 1px solid var(--navy-border);
  border-radius: 16px;
  padding: 20px 32px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  max-width: 520px;
  margin: 0 auto;
  gap: 24px;
}
.stat { text-align: center; }
.stat-value { display: block; font-size: 26px; font-weight: 900; color: var(--text); letter-spacing: -0.5px; }
.stat-label { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }
.stat-divider { width: 1px; height: 36px; background: var(--navy-border); }
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}
.scroll-arrow {
  width: 18px; height: 18px;
  border-right: 2px solid rgba(255,255,255,0.2);
  border-bottom: 2px solid rgba(255,255,255,0.2);
  transform: rotate(45deg);
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── TRUST BAR ───────────────────────────────── */
.trust-bar {
  border-top: 1px solid rgba(76,110,245,0.2);
  border-bottom: 1px solid rgba(76,110,245,0.2);
  background: linear-gradient(180deg, rgba(76,110,245,0.07), rgba(6,13,31,0));
  padding: 32px 0;
}
.trust-label {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.trust-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.tech-badge {
  background: var(--navy-card);
  border: 1px solid var(--navy-border2);
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.2s;
}
.tech-badge:hover {
  border-color: rgba(116,143,252,0.5);
  color: var(--text);
  box-shadow: 0 0 16px rgba(76,110,245,0.2);
  background: rgba(76,110,245,0.08);
}

/* ── PROBLEM ──────────────────────────────────── */
.problem {
  padding: 100px 0;
  background: #07102a;
  position: relative;
}
.problem::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(76,110,245,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.problem::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(76,110,245,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.problem .section-sub { max-width: 680px; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.problem-card {
  background: rgba(12,21,48,0.9);
  border: 1px solid rgba(76,110,245,0.28);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
}
.problem-card.card-red::before   { background: linear-gradient(90deg, #f87171, #fb923c); }
.problem-card.card-amber::before { background: linear-gradient(90deg, #fbbf24, #f97316); }
.problem-card.card-teal::before  { background: linear-gradient(90deg, #10b981, #0ea5e9); }
.problem-card.card-red:hover   { border-color: rgba(248,113,113,0.3); box-shadow: 0 16px 48px rgba(248,113,113,0.1); }
.problem-card.card-amber:hover { border-color: rgba(251,191,36,0.3);  box-shadow: 0 16px 48px rgba(251,191,36,0.1); }
.problem-card.card-teal:hover  { border-color: rgba(16,185,129,0.3);  box-shadow: 0 16px 48px rgba(16,185,129,0.1); }
.problem-card:hover { transform: translateY(-5px); }
.problem-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
}
.problem-card.card-red   .problem-icon { background: rgba(248,113,113,0.12); }
.problem-card.card-amber .problem-icon { background: rgba(251,191,36,0.12);  }
.problem-card.card-teal  .problem-icon { background: rgba(16,185,129,0.12);  }
.problem-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.problem-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── SOLUTION ─────────────────────────────────── */
.solution {
  padding: 100px 0;
  background: #060d1f;
  position: relative;
}
.solution::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 80% 50%, rgba(14,165,233,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.solution-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.solution-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.solution-checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-muted);
}
.check {
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Dashboard Mockup */
.dashboard-mockup {
  background: rgba(8,17,40,0.95);
  border: 1px solid rgba(76,110,245,0.35);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(76,110,245,0.2), 0 0 60px rgba(76,110,245,0.08);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--navy-border);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot.red { background: #ff5f57; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #28ca41; }
.mockup-url { margin-left: 8px; font-size: 11px; color: var(--text-dim); }
.mockup-body { padding: 16px; }
.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.mockup-title { font-size: 14px; font-weight: 700; }
.mockup-status { font-size: 11px; color: var(--teal); font-weight: 600; }
.mockup-devices { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.mockup-device {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--navy-border);
  border-radius: 10px;
  padding: 10px 14px;
  flex-wrap: wrap;
  gap: 8px;
  transition: border-color 0.2s;
}
.mockup-device.active { border-color: rgba(16,185,129,0.3); }
.mdev-left { display: flex; align-items: center; gap: 10px; }
.mdev-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mdev-dot.green { background: #10b981; box-shadow: 0 0 6px rgba(16,185,129,0.6); }
.mdev-dot.blue2 { background: #748ffc; box-shadow: 0 0 6px rgba(116,143,252,0.6); }
.mdev-name { font-size: 12px; font-weight: 700; }
.mdev-loc { font-size: 10px; color: var(--text-dim); }
.mdev-metrics { display: flex; gap: 5px; flex-wrap: wrap; }
.mdev-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 5px;
}
.mdev-badge.wifi { background: rgba(16,185,129,0.15); color: #10b981; }
.mdev-badge.lte { background: rgba(76,110,245,0.15); color: #748ffc; }
.mdev-badge.batt { background: rgba(251,191,36,0.15); color: #fbbf24; }
.mdev-badge.sleep { background: rgba(116,143,252,0.15); color: #748ffc; }
.mdev-badge.ac { background: rgba(16,185,129,0.15); color: #10b981; }
.mockup-chart { background: rgba(0,0,0,0.2); border-radius: 10px; padding: 12px; }
.chart-label { font-size: 10px; color: var(--text-dim); margin-bottom: 10px; }
.chart-bars { display: flex; align-items: flex-end; gap: 4px; height: 48px; }
.bar {
  flex: 1;
  background: linear-gradient(180deg, rgba(76,110,245,0.6), rgba(76,110,245,0.2));
  border-radius: 3px 3px 0 0;
  transition: all 0.2s;
}
.bar.active { background: linear-gradient(180deg, #748ffc, rgba(116,143,252,0.4)); }

/* ── FEATURES ─────────────────────────────────── */
.features {
  padding: 100px 0;
  background: #07102a;
  position: relative;
}
.features::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(76,110,245,0.09) 0%, transparent 70%);
  pointer-events: none;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.feature-card {
  background: rgba(12,22,50,0.9);
  border: 1px solid rgba(76,110,245,0.22);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(76,110,245,0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(76,110,245,0.35);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(76,110,245,0.15);
}
.feature-card:hover::after { opacity: 1; }
.feature-icon-wrap {
  font-size: 22px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(76,110,245,0.12);
  border: 1px solid rgba(76,110,245,0.2);
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ── HOW IT WORKS ─────────────────────────────── */
.how {
  padding: 100px 0;
  background: #060d1f;
  position: relative;
}
.how::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 20% 50%, rgba(16,185,129,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 56px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.how-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.how-connector {
  width: 2px;
  height: 48px;
  background: linear-gradient(180deg, rgba(76,110,245,0.4), rgba(76,110,245,0.1));
  margin-left: 27px;
}
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(76,110,245,0.25), rgba(14,165,233,0.2));
  border: 1px solid rgba(76,110,245,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  color: var(--blue-light);
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(76,110,245,0.25);
}
.step-content { padding-top: 12px; }
.step-content h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.step-content p { font-size: 15px; color: var(--text-muted); line-height: 1.65; }

/* ── WHY MOONLIT ──────────────────────────────── */
.why {
  padding: 100px 0;
  background: #07102a;
  position: relative;
}
.why::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(14,165,233,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 48px 0;
}
.why-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.why-card:hover { transform: translateY(-4px); border-color: rgba(76,110,245,0.3); }
.why-number {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, #748ffc, #38bdf8, #748ffc);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerBg 5s linear infinite;
  margin-bottom: 12px;
}
.why-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

.testimonial {
  background: rgba(76,110,245,0.08);
  border: 1px solid rgba(76,110,245,0.2);
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  padding: 28px 32px;
  font-size: 16px;
  color: var(--text-muted);
  font-style: normal;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto;
}
.testimonial cite {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--blue-light);
  font-weight: 600;
}

/* ── CTA SECTION ─────────────────────────────── */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--navy) 0%, rgba(13, 24, 56, 0.95) 50%, var(--navy) 100%);
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(76,110,245,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-card {
  position: relative;
  background: linear-gradient(135deg, rgba(76,110,245,0.08), rgba(14,165,233,0.06));
  border: 1px solid rgba(76,110,245,0.35);
  border-radius: 24px;
  padding: 64px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(76,110,245,0.1), inset 0 1px 0 rgba(116,143,252,0.15);
}
.cta-glow {
  position: absolute;
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(76,110,245,0.15), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.15;
}
.cta-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.cta-form { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--navy-border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-input::placeholder { color: var(--text-dim); }
.form-input:focus { border-color: rgba(76,110,245,0.5); background: rgba(76,110,245,0.05); }
.form-textarea { min-height: 100px; resize: vertical; }
.cta-footnote { font-size: 12px; color: var(--text-dim); margin-top: 14px; }

/* ── FOOTER ──────────────────────────────────── */
.footer {
  border-top: 1px solid var(--navy-border);
  padding: 64px 0 32px;
  background: #04070f;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  margin-bottom: 48px;
}
.footer-brand { max-width: 300px; }
.footer-logo { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }
.footer-links-social a {
  font-size: 14px;
  color: var(--blue-light);
  text-decoration: none;
}
.footer-links { display: flex; gap: 56px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color 0.15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--navy-border);
  padding-top: 24px;
  font-size: 12px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--text-dim); text-decoration: none; }
.footer-bottom a:hover { color: var(--text-muted); }

/* ── ANIMATIONS ──────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: flex; }
  .hero-title { letter-spacing: -1px; }
  .hero-stats { gap: 16px; padding: 16px 20px; }
  .stat-divider { display: none; }
  .solution-inner { grid-template-columns: 1fr; gap: 40px; }
  .solution-visual { order: -1; }
  .cta-card { padding: 36px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-stats { flex-direction: column; gap: 20px; }
}
