/* =============================================
   SwitchStack — CSS Variables & Base
   ============================================= */
:root {
  --bg: #080C10;
  --surface: #0E1419;
  --surface-alt: #141C24;
  --border: rgba(255,255,255,0.06);
  --teal: #00D9A5;
  --teal-dim: rgba(0,217,165,0.12);
  --teal-glow: rgba(0,217,165,0.25);
  --amber: #FF8C35;
  --amber-dim: rgba(255,140,53,0.12);
  --fg: #F0F4F8;
  --fg-dim: rgba(240,244,248,0.55);
  --fg-muted: rgba(240,244,248,0.35);
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* =============================================
   Navigation
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(8,12,16,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

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

.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}

/* =============================================
   Hero
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 48px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,217,165,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(0,217,165,0.04) 0%, transparent 50%);
}

/* Grid lines */
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,217,165,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,217,165,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 0%, transparent 80%);
}

/* Animated network nodes */
.node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal-glow);
  animation: node-pulse 3s ease-in-out infinite;
}

.node-1 { top: 30%; left: 25%; animation-delay: 0s; }
.node-2 { top: 45%; left: 72%; animation-delay: 0.8s; }
.node-3 { top: 65%; left: 18%; animation-delay: 1.6s; }
.node-4 { top: 55%; left: 58%; animation-delay: 2.4s; }
.node-5 { top: 72%; left: 80%; animation-delay: 0.4s; }

@keyframes node-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.6); opacity: 1; }
}

/* Edges */
.edge {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-glow), transparent);
  transform-origin: left center;
  animation: edge-fade 4s ease-in-out infinite;
}

.edge-1 { top: 30%; left: 25%; width: 47%; transform: rotate(-8deg); animation-delay: 0s; }
.edge-2 { top: 45%; left: 18%; width: 40%; transform: rotate(12deg); animation-delay: 1s; }
.edge-3 { top: 55%; left: 58%; width: 22%; transform: rotate(-5deg); animation-delay: 2s; }
.edge-4 { top: 72%; left: 18%; width: 62%; transform: rotate(6deg); animation-delay: 1.5s; }

@keyframes edge-fade {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.5; }
}

/* Hub pulse at center */
.hub-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,217,165,0.08) 0%, transparent 70%);
  animation: hub-breathe 5s ease-in-out infinite;
}

@keyframes hub-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-dim);
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  margin-bottom: 28px;
  font-weight: 400;
}

.eyebrow-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 6px var(--teal);
  animation: node-pulse 2s ease-in-out infinite;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}

.headline-accent {
  color: var(--teal);
  position: relative;
}

.hero-lede {
  font-size: 18px;
  color: var(--fg-dim);
  line-height: 1.65;
  max-width: 540px;
  margin-bottom: 44px;
  font-weight: 300;
}

.hero-pricing {
  display: flex;
  align-items: center;
  gap: 28px;
}

.price-block { display: flex; flex-direction: column; gap: 4px; }
.price-label { font-size: 11px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-body); }
.price-value { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--fg); }
.price-divider { width: 1px; height: 40px; background: var(--border); }

/* =============================================
   Proof
   ============================================= */
.proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 36px 48px;
}

.proof-inner {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.proof-stat { flex: 1; padding: 0 32px; }
.proof-stat:first-child { padding-left: 0; }

.stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.5;
  font-family: var(--font-body);
}

.proof-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* =============================================
   Systems
   ============================================= */
.systems {
  padding: 100px 48px;
}

.section-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: 16px;
}

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--fg-dim);
  line-height: 1.6;
  font-weight: 300;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.system-card {
  background: var(--surface);
  padding: 36px 32px;
  transition: background 0.2s;
}

.system-card:hover { background: var(--surface-alt); }

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-dim);
  border-radius: 10px;
  margin-bottom: 20px;
}

.system-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.system-card p {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.6;
  font-weight: 300;
}

/* =============================================
   Niches
   ============================================= */
.niches {
  background: var(--surface);
  padding: 100px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.niches-inner { max-width: 1100px; margin: 0 auto; }

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

.niches-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--fg);
}

.niches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 64px;
}

.niche-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.niche-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-dim);
  border-radius: 10px;
  margin-top: 2px;
}

.niche-content h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.niche-content p {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.65;
  font-weight: 300;
}

/* =============================================
   Outcomes
   ============================================= */
.outcomes {
  padding: 100px 48px;
}

.outcomes-inner { max-width: 1100px; margin: 0 auto; }

.outcomes-header { margin-bottom: 56px; }

.outcomes-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg);
  line-height: 1.2;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 64px;
}

.outcome-card {
  background: var(--surface);
  padding: 40px 36px;
  transition: background 0.2s;
}

.outcome-card:hover { background: var(--surface-alt); }

.outcome-number {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  opacity: 0.7;
}

.outcome-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.outcome-card p {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.65;
  font-weight: 300;
}

.roi-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.roi-left { max-width: 440px; }

.roi-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: 12px;
}

.roi-headline {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.roi-sub {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.6;
  font-weight: 300;
}

.roi-right {
  display: flex;
  gap: 40px;
}

.roi-metric { text-align: center; }

.roi-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.roi-metric-label {
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-body);
}

/* =============================================
   Closing
   ============================================= */
.closing {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(0,217,165,0.04) 100%);
  padding: 100px 48px 120px;
  text-align: center;
}

.closing-inner { max-width: 700px; margin: 0 auto; }

.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-dim);
  color: var(--teal);
  border: 1px solid rgba(0,217,165,0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: 36px;
  letter-spacing: 0.02em;
}

.closing-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

.closing-body {
  font-size: 17px;
  color: var(--fg-dim);
  line-height: 1.7;
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto 16px;
}

.closing-pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.closing-price-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.cp-amount {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.cp-label {
  font-size: 13px;
  color: var(--fg-muted);
  font-family: var(--font-body);
}

.closing-price-divider {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--fg-muted);
}

/* =============================================
   Footer
   ============================================= */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-family: var(--font-body);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--fg-muted);
  font-family: var(--font-body);
}

.footer-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--fg-muted);
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 900px) {
  .navbar { padding: 16px 24px; }
  .nav-tagline { display: none; }

  .hero { padding: 120px 24px 64px; }
  .hero-headline { font-size: 42px; }
  .hero-lede { font-size: 16px; }

  .proof { padding: 28px 24px; }
  .proof-inner { flex-direction: column; gap: 20px; }
  .proof-divider { width: 60px; height: 1px; }
  .proof-stat { padding: 0; }

  .systems { padding: 72px 24px; }
  .systems-grid { grid-template-columns: 1fr; }

  .niches { padding: 72px 24px; }
  .niches-grid { grid-template-columns: 1fr; gap: 32px; }

  .outcomes { padding: 72px 24px; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .roi-block { flex-direction: column; align-items: flex-start; }
  .roi-right { width: 100%; justify-content: space-between; }

  .closing { padding: 72px 24px 96px; }
  .closing-pricing { flex-direction: column; gap: 16px; }

  .site-footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 480px) {
  .hero-pricing { flex-direction: column; align-items: flex-start; gap: 16px; }
  .price-divider { display: none; }
  .outcomes-grid { gap: 0; }
}
