/* =====================================================
   MTR Hub — Landing Page Styles
   Dark glassmorphism · Premium aesthetic
   ===================================================== */

/* --- Variables & Reset --- */
:root {
  --bg-primary: #040d1a;
  --bg-secondary: #071226;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 212, 170, 0.3);

  --teal: #00d4aa;
  --teal-dark: #00b891;
  --teal-glow: rgba(0, 212, 170, 0.15);
  --indigo: #6366f1;
  --indigo-glow: rgba(99, 102, 241, 0.15);

  --text-primary: #e8f0fe;
  --text-secondary: #8faabf;
  --text-muted: #4d6b82;

  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --shadow-glow: 0 0 40px rgba(0, 212, 170, 0.12);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 170, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 170, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

/* --- Floating Orbs --- */
.bg-orbs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: float 8s ease-in-out infinite;
}
.orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, var(--teal), transparent); top: -200px; right: -100px; animation-delay: 0s; }
.orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, var(--indigo), transparent); bottom: 10%; left: -150px; animation-delay: -3s; }
.orb-3 { width: 400px; height: 400px; background: radial-gradient(circle, #0ea5e9, transparent); top: 40%; right: 20%; animation-delay: -6s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

/* --- Layout --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.section { padding: 100px 0; }

/* --- Gradient Text --- */
.gradient-text {
  background: linear-gradient(135deg, var(--teal) 0%, #22d3ee 40%, var(--indigo) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(4, 13, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { flex-shrink: 0; }
.logo-text { font-size: 1.3rem; font-weight: 800; color: var(--text-primary); letter-spacing: -0.5px; }
.logo-accent { color: var(--teal); }

.nav-links { display: flex; list-style: none; gap: 4px; margin-left: auto; }
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text-primary); background: var(--bg-card); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-secondary); border-radius: 2px; transition: var(--transition); }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--teal), #00b891);
  color: #040d1a;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 9px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 0 0 0 var(--teal-glow);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 212, 170, 0.35);
  background: linear-gradient(135deg, #00e8bb, var(--teal));
}
.btn-primary.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: 11px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 9px;
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-outline:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.2); background: var(--bg-card); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: 11px;
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.btn-ghost:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.2); background: var(--bg-card); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.25);
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: fit-content;
}
.stat { text-align: center; }
.stat-number { display: block; font-size: 1.5rem; font-weight: 800; color: var(--teal); line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Terminal */
.hero-visual { position: relative; }
.terminal {
  background: #0b1629;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 60px rgba(0,212,170,0.08);
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.terminal-dots { display: flex; gap: 7px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.terminal-title { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); margin-left: 6px; flex: 1; }
.terminal-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(0,212,170,0.1);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
}
.status-dot { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; animation: pulse-dot 1.5s ease-in-out infinite; }

.terminal-body { padding: 20px; position: relative; overflow: hidden; }
.code-block {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.8;
  color: #a8c8e8;
  white-space: pre-wrap;
  word-break: break-word;
}
.code-keyword { color: #c792ea; }
.code-string { color: #c3e88d; }
.code-comment { color: #546e7a; font-style: italic; }
.code-success { color: var(--teal); font-weight: 600; }
.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--teal);
  animation: blink 1.2s step-end infinite;
  vertical-align: middle;
  margin-left: 2px;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.terminal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.floating-badge {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  animation: badge-float 3s ease-in-out infinite;
}
.floating-badge:nth-child(2) { animation-delay: -1s; }
.floating-badge:nth-child(3) { animation-delay: -2s; }
.floating-badge:nth-child(4) { animation-delay: -1.5s; }
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* =====================================================
   SYSTEMS BANNER
   ===================================================== */
.systems-banner {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  position: relative;
  z-index: 1;
}
.systems-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.systems-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; white-space: nowrap; }
.systems-list { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.system-tag { font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); white-space: nowrap; }
.system-sep { color: var(--text-muted); }

/* =====================================================
   SECTION HEADERS
   ===================================================== */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  background: rgba(0,212,170,0.08);
  border: 1px solid rgba(0,212,170,0.2);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =====================================================
   HOW IT WORKS
   ===================================================== */
.how-it-works { background: var(--bg-secondary); }
.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
}
.step-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: var(--transition);
}
.step-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.step-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  opacity: 0.6;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.step-icon {
  width: 52px; height: 52px;
  background: var(--teal-glow);
  border: 1px solid rgba(0,212,170,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 20px;
}
.step-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }
.step-connector { flex-shrink: 0; padding: 0 16px; opacity: 0.5; }

/* =====================================================
   STATES SECTION
   ===================================================== */
.states-section { background: var(--bg-primary); }
.states-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.section-title-left { font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 800; letter-spacing: -1px; line-height: 1.2; margin-bottom: 16px; margin-top: 12px; }
.section-desc-left { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 32px; }

/* SVG Map */
.map-wrapper { position: relative; }
.brazil-map { width: 100%; max-width: 380px; display: block; }
.brazil-bg { fill: #0b1a2e; }
.state-region { fill: rgba(255,255,255,0.04); stroke: rgba(255,255,255,0.1); stroke-width: 1; transition: var(--transition); }
.state-mg { fill: rgba(0,212,170,0.15); stroke: rgba(0,212,170,0.4); }
.state-sp { fill: rgba(99,102,241,0.2); stroke: rgba(99,102,241,0.5); }
.state-rj { fill: rgba(14,165,233,0.2); stroke: rgba(14,165,233,0.5); }
.state-es { fill: rgba(0,212,170,0.12); stroke: rgba(0,212,170,0.3); }
.state-sc { fill: rgba(99,102,241,0.15); stroke: rgba(99,102,241,0.4); }
.state-rs { fill: rgba(0,212,170,0.18); stroke: rgba(0,212,170,0.45); }
.state-pr { fill: rgba(255,255,255,0.02); stroke: rgba(255,255,255,0.06); }
.state-label { fill: rgba(255,255,255,0.5); font-size: 10px; font-family: var(--font-sans); font-weight: 700; text-anchor: middle; }
.state-dot { fill: var(--teal); animation: dot-pulse 2s ease-in-out infinite; }
.glow-sp { fill: rgba(99,102,241,0.15); }
.glow-rj { fill: rgba(14,165,233,0.15); }
.glow-mg, .glow-es, .glow-sc, .glow-rs { fill: rgba(0,212,170,0.1); }
@keyframes dot-pulse {
  0%, 100% { r: 5; opacity: 1; }
  50% { r: 7; opacity: 0.7; }
}

.map-legend {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.legend-item { display: flex; align-items: center; gap: 7px; font-size: 0.78rem; color: var(--text-muted); }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; }
.legend-dot.active { background: var(--teal); }
.legend-dot.sinir { background: var(--indigo); }

/* State Cards */
.states-cards { display: flex; flex-direction: column; gap: 10px; }
.state-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: var(--transition);
  cursor: default;
}
.state-card:hover { border-color: var(--border-glow); background: var(--bg-card-hover); }
.state-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.state-flag {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}
.sp-flag { background: rgba(99,102,241,0.15); color: #818cf8; }
.mg-flag { background: rgba(0,212,170,0.12); color: var(--teal); }
.rj-flag { background: rgba(14,165,233,0.12); color: #38bdf8; }
.rs-flag { background: rgba(0,212,170,0.1); color: var(--teal); }
.sc-flag { background: rgba(99,102,241,0.12); color: #818cf8; }
.es-flag { background: rgba(0,212,170,0.1); color: var(--teal); }
.sinir-flag { background: rgba(255,255,255,0.05); font-size: 1.2rem; }
.state-name { font-size: 0.9rem; font-weight: 700; line-height: 1.2; }
.state-system { font-size: 0.75rem; color: var(--text-muted); }
.state-status { margin-left: auto; }
.status-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.status-badge.active { background: rgba(0,212,170,0.12); color: var(--teal); border: 1px solid rgba(0,212,170,0.25); }
.status-badge.sinir { background: rgba(99,102,241,0.12); color: #818cf8; border: 1px solid rgba(99,102,241,0.25); }
.state-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.55; margin-left: 52px; }
.sinir-card { border-style: dashed; }

/* =====================================================
   FEATURES SECTION
   ===================================================== */
.features-section { background: var(--bg-secondary); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,212,170,0.08);
}
.feature-card.feature-large { grid-column: span 2; }
.feature-icon {
  width: 50px; height: 50px;
  background: var(--teal-glow);
  border: 1px solid rgba(0,212,170,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.87rem; color: var(--text-secondary); line-height: 1.65; }

/* =====================================================
   API DEMO
   ===================================================== */
.api-demo-section { background: var(--bg-primary); }
.api-demo-container {
  background: #080f1e;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.api-tabs {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.api-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 7px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-family: var(--font-sans);
}
.api-tab:hover { color: var(--text-secondary); background: var(--bg-card); }
.api-tab.active { color: var(--teal); background: rgba(0,212,170,0.08); }

.api-panels { display: grid; grid-template-columns: 1fr 1fr; }
.api-panel { display: none; }
.api-panel.active { display: contents; }
.api-request, .api-response { padding: 24px; }
.api-request { border-right: 1px solid var(--border); }
.api-panel-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.resp-status.ok { color: #4ade80; font-size: 0.75rem; }
.resp-status.err { color: #f87171; font-size: 0.75rem; }
.api-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.8;
  color: #8faabf;
  white-space: pre-wrap;
  word-break: break-all;
}
.http-method { font-weight: 700; padding: 2px 8px; border-radius: 5px; margin-right: 8px; }
.http-method.post { background: rgba(0,212,170,0.15); color: var(--teal); }
.http-method.get { background: rgba(14,165,233,0.15); color: #38bdf8; }
.http-header { color: #c792ea; display: block; margin-top: 4px; }
.json-key { color: #c792ea; }
.json-str { color: #c3e88d; }
.json-num { color: #f78c6c; }
.json-null { color: #546e7a; }
.json-str.success { color: var(--teal); font-weight: 700; }
.json-str.warning { color: #fbbf24; font-weight: 700; }

/* =====================================================
   PRICING
   ===================================================== */
.pricing-section { background: var(--bg-secondary); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.pricing-card.featured {
  background: rgba(0,212,170,0.05);
  border-color: rgba(0,212,170,0.3);
  box-shadow: 0 0 40px rgba(0,212,170,0.1);
}
.pricing-card.trial { border-color: rgba(99,102,241,0.3); background: rgba(99,102,241,0.05); }

.plan-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.badge-trial { background: rgba(99,102,241,0.15); color: #818cf8; border: 1px solid rgba(99,102,241,0.3); }
.badge-starter { background: rgba(255,255,255,0.05); color: var(--text-muted); border: 1px solid var(--border); }
.badge-pro { background: rgba(0,212,170,0.12); color: var(--teal); border: 1px solid rgba(0,212,170,0.3); }
.badge-pro::before { content: '⭐ '; }
.badge-enterprise { background: rgba(251,191,36,0.1); color: #fbbf24; border: 1px solid rgba(251,191,36,0.3); }

.plan-name { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.plan-desc { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.5; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 20px; }
.price-amount { font-size: 2.2rem; font-weight: 900; line-height: 1; }
.price-period { font-size: 0.82rem; color: var(--text-muted); }
.price-free { font-size: 1.8rem; font-weight: 900; color: #818cf8; }
.price-custom { font-size: 1.4rem; font-weight: 800; color: #fbbf24; }

.plan-divider { height: 1px; background: var(--border); margin: 20px 0; }

.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.plan-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l4 4 6-7' stroke='%2300d4aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  margin-top: 1px;
}
.plan-features li.crossed { color: var(--text-muted); }
.plan-features li.crossed::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 4l8 8M12 4l-8 8' stroke='%234d6b82' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.plan-cta { width: 100%; text-align: center; justify-content: center; }

.plan-note { font-size: 0.72rem; color: var(--text-muted); text-align: center; margin-top: 10px; }

/* =====================================================
   BETA FORM / CTA
   ===================================================== */
.beta-section { padding: 100px 0; background: var(--bg-primary); }
.beta-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.beta-container .section-title { margin-bottom: 12px; }
.beta-container .section-desc { margin-bottom: 40px; }

.beta-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); }
.form-group input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 11px 14px;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus { border-color: rgba(0,212,170,0.4); box-shadow: 0 0 0 3px rgba(0,212,170,0.08); }
.form-group input::placeholder { color: var(--text-muted); }
.form-submit { width: 100%; justify-content: center; margin-top: 6px; }
.form-terms { font-size: 0.75rem; color: var(--text-muted); margin-top: 14px; line-height: 1.5; }
.form-terms a { color: var(--teal); text-decoration: none; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 48px 24px 28px;
  position: relative;
  z-index: 1;
}
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-text { font-size: 1.2rem; font-weight: 800; }
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); margin-top: 10px; line-height: 1.6; max-width: 220px; }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { font-size: 0.85rem; color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.footer-col ul a:hover { color: var(--text-primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.8rem; color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.footer-legal a:hover { color: var(--text-primary); }

/* =====================================================
   ANIMATIONS & SCROLL
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.feature-large { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-content { margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
  .hero-title { margin-left: auto; margin-right: auto; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; width: 100%; }
  .hero-stats { 
    flex-direction: column; 
    gap: 16px; 
    width: 100%; 
    align-items: center; 
    padding: 28px;
    margin-top: 20px;
  }
  .stat-divider { width: 60px; height: 1px; opacity: 0.3; }

  /* Masted responsive fixes */
  .steps-grid { flex-direction: column; }
  .step-connector { transform: rotate(90deg); }
  .states-grid { grid-template-columns: 1fr; }
  .api-panels { grid-template-columns: 1fr; }
  .api-request { border-right: none; border-bottom: 1px solid var(--border); }
  .pricing-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card.feature-large { grid-column: span 1; }
  .nav-links { display: none; }
  .nav-actions .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Mobile Button Colors (No hover fix) */
  .pricing-card .btn-outline {
    background: rgba(0, 212, 170, 0.08);
    border-color: rgba(0, 212, 170, 0.2);
    color: var(--teal);
    font-weight: 700;
  }
}

