@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0D1B2A;
  --accent: #00D4AA;
  --accent-glow: rgba(0, 212, 170, 0.15);
  --accent-dark: #00B894;
  --surface: #1B2838;
  --surface-light: #243447;
  --surface-border: rgba(255,255,255,0.06);
  --text: #E8EDF2;
  --text-muted: #8B9DB5;
  --text-dim: #5A6F87;
  --gradient-accent: linear-gradient(135deg, #00D4AA, #00B4D8);
  --gradient-hero: linear-gradient(180deg, #0D1B2A 0%, #152238 50%, #0D1B2A 100%);
  --shadow-lg: 0 24px 48px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(0, 212, 170, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--primary);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== VIEW SWITCHING ===== */
.view { display: none; }
.view.active { display: block; }

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 27, 42, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--surface-border);
  transition: all 0.3s ease;
}
nav.scrolled {
  background: rgba(13, 27, 42, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.logo-img {
  height: 30px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
  background: var(--accent-glow);
}
.nav-links .nav-cta {
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 8px;
  padding: 8px 20px;
  font-weight: 600;
}
.nav-links .nav-cta:hover {
  background: var(--accent);
  color: var(--primary);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
  z-index: 10;
  position: relative;
}

/* ===== HERO BADGE ===== */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-glow);
  border: 1px solid rgba(0, 212, 170, 0.2);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

/* ===== TYPOGRAPHY ===== */
h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
h1 .accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* ===== BUTTONS ===== */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-accent);
  color: var(--primary);
  padding: 16px 36px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 8px 32px rgba(0, 212, 170, 0.3);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 212, 170, 0.4);
}
.hero-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}
.hero-cta:hover svg {
  transform: translateX(4px);
}
.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text);
  padding: 16px 36px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid var(--surface-border);
}
.hero-cta-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
section {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-full {
  max-width: 100%;
  background: var(--surface);
}
.section-full > .section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-tag::before,
.section-tag::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--text-dim);
}
h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  padding: 100px 32px;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 212, 170, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  margin-bottom: 16px;
}
.cta-section p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 500px;
  margin: 0 auto 36px;
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--surface-border);
  padding: 48px 32px;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}

/* ===== DIVIDER ===== */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--surface-border), transparent);
  max-width: 800px;
  margin: 0 auto;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HOME VIEW — page-specific styles
   ============================================================ */

/* Hero */
#view-home .hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}
#view-home .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800'%3E%3Cdefs%3E%3Cstyle%3Eline%7Bstroke:%2334506e;stroke-width:0.5%7Dcircle%7Bfill:%2334506e%7D%3C/style%3E%3C/defs%3E%3Cline x1='60' y1='40' x2='200' y2='120'/%3E%3Cline x1='200' y1='120' x2='350' y2='60'/%3E%3Cline x1='350' y1='60' x2='500' y2='140'/%3E%3Cline x1='500' y1='140' x2='650' y2='80'/%3E%3Cline x1='650' y1='80' x2='780' y2='160'/%3E%3Cline x1='200' y1='120' x2='150' y2='260'/%3E%3Cline x1='350' y1='60' x2='400' y2='200'/%3E%3Cline x1='500' y1='140' x2='450' y2='300'/%3E%3Cline x1='650' y1='80' x2='700' y2='240'/%3E%3Cline x1='150' y1='260' x2='300' y2='340'/%3E%3Cline x1='300' y1='340' x2='400' y2='200'/%3E%3Cline x1='400' y1='200' x2='550' y2='350'/%3E%3Cline x1='450' y1='300' x2='600' y2='380'/%3E%3Cline x1='700' y1='240' x2='600' y2='380'/%3E%3Cline x1='300' y1='340' x2='200' y2='480'/%3E%3Cline x1='400' y1='200' x2='350' y2='440'/%3E%3Cline x1='550' y1='350' x2='500' y2='500'/%3E%3Cline x1='600' y1='380' x2='700' y2='520'/%3E%3Cline x1='200' y1='480' x2='350' y2='440'/%3E%3Cline x1='350' y1='440' x2='500' y2='500'/%3E%3Cline x1='500' y1='500' x2='700' y2='520'/%3E%3Cline x1='60' y1='40' x2='100' y2='180'/%3E%3Cline x1='100' y1='180' x2='150' y2='260'/%3E%3Cline x1='100' y1='180' x2='40' y2='350'/%3E%3Cline x1='40' y1='350' x2='150' y2='420'/%3E%3Cline x1='150' y1='420' x2='200' y2='480'/%3E%3Cline x1='200' y1='480' x2='120' y2='600'/%3E%3Cline x1='350' y1='440' x2='300' y2='580'/%3E%3Cline x1='500' y1='500' x2='480' y2='640'/%3E%3Cline x1='700' y1='520' x2='750' y2='650'/%3E%3Cline x1='120' y1='600' x2='300' y2='580'/%3E%3Cline x1='300' y1='580' x2='480' y2='640'/%3E%3Cline x1='480' y1='640' x2='620' y2='700'/%3E%3Cline x1='620' y1='700' x2='750' y2='650'/%3E%3Cline x1='120' y1='600' x2='200' y2='750'/%3E%3Cline x1='300' y1='580' x2='350' y2='740'/%3E%3Cline x1='480' y1='640' x2='500' y2='780'/%3E%3Cline x1='750' y1='650' x2='700' y2='780'/%3E%3Ccircle cx='60' cy='40' r='2'/%3E%3Ccircle cx='200' cy='120' r='2.5'/%3E%3Ccircle cx='350' cy='60' r='2'/%3E%3Ccircle cx='500' cy='140' r='2.5'/%3E%3Ccircle cx='650' cy='80' r='2'/%3E%3Ccircle cx='780' cy='160' r='1.5'/%3E%3Ccircle cx='100' cy='180' r='1.5'/%3E%3Ccircle cx='150' cy='260' r='2'/%3E%3Ccircle cx='300' cy='340' r='2.5'/%3E%3Ccircle cx='400' cy='200' r='2'/%3E%3Ccircle cx='450' cy='300' r='1.5'/%3E%3Ccircle cx='550' cy='350' r='2'/%3E%3Ccircle cx='600' cy='380' r='2.5'/%3E%3Ccircle cx='700' cy='240' r='2'/%3E%3Ccircle cx='40' cy='350' r='1.5'/%3E%3Ccircle cx='150' cy='420' r='2'/%3E%3Ccircle cx='200' cy='480' r='2.5'/%3E%3Ccircle cx='350' cy='440' r='2'/%3E%3Ccircle cx='500' cy='500' r='2.5'/%3E%3Ccircle cx='700' cy='520' r='2'/%3E%3Ccircle cx='120' cy='600' r='2'/%3E%3Ccircle cx='300' cy='580' r='2.5'/%3E%3Ccircle cx='480' cy='640' r='2'/%3E%3Ccircle cx='620' cy='700' r='1.5'/%3E%3Ccircle cx='750' cy='650' r='2'/%3E%3Ccircle cx='200' cy='750' r='1.5'/%3E%3Ccircle cx='350' cy='740' r='2'/%3E%3Ccircle cx='500' cy='780' r='1.5'/%3E%3Ccircle cx='700' cy='780' r='1.5'/%3E%3C/svg%3E") center/800px 800px repeat,
    radial-gradient(ellipse at 30% 50%, rgba(0, 212, 170, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 30%, rgba(0, 180, 216, 0.03) 0%, transparent 50%);
  opacity: 0.6;
}
#view-home .hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero-logo {
  margin-bottom: 32px;
}

/* Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--surface-border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 900px;
  margin: 60px auto 0;
}
.stat {
  background: var(--surface);
  padding: 28px 24px;
  text-align: center;
}
.stat-value {
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* Demo Steps */
.demo-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.demo-step.visible {
  opacity: 1;
  transform: translateY(0);
}
.demo-step.reverse {
  direction: rtl;
}
.demo-step.reverse > * {
  direction: ltr;
}
.step-visual {
  position: relative;
}
.step-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.step-visual:hover .step-img {
  transform: scale(1.02);
}
.step-img-glow {
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: var(--gradient-accent);
  opacity: 0;
  z-index: -1;
  filter: blur(20px);
  transition: opacity 0.4s;
}
.step-visual:hover .step-img-glow {
  opacity: 0.15;
}
.step-content {
  padding: 16px 0;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-glow);
  border: 1px solid rgba(0, 212, 170, 0.2);
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 20px;
}
.step-content h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  line-height: 1.3;
}
.step-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.feature-list li::before {
  content: '\2192';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Module Cards */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.module-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.module-card-body {
  padding: 28px;
}
.module-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
  text-decoration: none;
}
.module-card:hover {
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.module-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}
.module-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.module-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Full Screenshot */
.full-screenshot {
  margin: 60px 0;
  text-align: center;
}
.full-screenshot img {
  width: 100%;
  max-width: 1000px;
  border-radius: var(--radius);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-lg);
}
.full-screenshot .caption {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 16px;
  font-style: italic;
}

/* ============================================================
   REPO VIEW — page-specific styles
   ============================================================ */

/* Hero */
#view-repo .hero {
  padding: 144px 32px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--primary) 0%, #152238 40%, #0D2847 100%);
}
#view-repo .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(0, 212, 170, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
#view-repo .hero-content {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
}
#view-repo h1 {
  font-weight: 700;
}
#view-repo .hero-sub {
  font-size: 17px;
  max-width: 680px;
  margin: 0 auto 48px;
  line-height: 1.7;
  font-weight: 300;
}

/* Repo Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.hero-stat-card {
  background: rgba(21, 34, 56, 0.6);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: left;
}
.hero-stat-card .stat-value {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
}
.hero-stat-card .stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 12px;
  margin-top: 8px;
}
.hero-stat-card .stat-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 212, 170, 0.15);
}
.feature-card .card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-glow);
  border: 1px solid rgba(0, 212, 170, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Screenshot Block */
.screenshot-block {
  margin-top: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-lg);
}
.screenshot-block img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* Two Column Layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Formula Box */
.formula-box {
  background: var(--primary);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}
.formula-box .formula-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
}
.formula-box .formula-text {
  font-size: 15px;
  line-height: 1.7;
}
.formula-box .formula-text .hl {
  color: var(--accent);
  font-weight: 600;
}
.formula-box .formula-example {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--surface-border);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  font-family: 'Inter', sans-serif;
}
.formula-box .formula-example strong {
  color: var(--accent);
}

/* Pill Badges */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  background: var(--accent-glow);
  border: 1px solid rgba(0, 212, 170, 0.25);
  color: var(--accent);
}

/* Pricing Card */
.pricing-card {
  background: var(--surface-light);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.pricing-card .terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--surface-border);
}
.terminal-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-bar .dot.red { background: #FF5F57; }
.terminal-bar .dot.yellow { background: #FEBC2E; }
.terminal-bar .dot.green { background: #28C840; }
.pricing-card .pricing-body {
  padding: 24px;
}
.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--surface-border);
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row .label {
  font-size: 14px;
  color: var(--text-muted);
}
.pricing-row .value {
  font-size: 14px;
  font-weight: 600;
}
.pricing-row .value.accent {
  color: var(--accent);
}

/* Flow Steps */
.flow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 140px;
}
.flow-step .step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid rgba(0, 212, 170, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 12px;
}
.flow-step .step-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.flow-step .step-sub {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}
.flow-arrow {
  color: var(--accent);
  font-size: 20px;
  margin-top: 18px;
  padding: 0 8px;
  flex-shrink: 0;
}

/* Styled Table */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--surface-border);
}
.styled-table thead tr {
  background: var(--primary);
  border-bottom: 1px solid var(--surface-border);
}
.styled-table th {
  padding: 16px 20px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
}
.styled-table tbody tr {
  background: var(--surface-light);
  border-bottom: 1px solid var(--surface-border);
  transition: background 0.2s;
}
.styled-table tbody tr:hover {
  background: var(--surface);
}
.styled-table td {
  padding: 12px 20px;
}
.styled-table td:first-child {
  font-weight: 500;
}
.styled-table td:not(:first-child) {
  color: var(--text-muted);
}

/* Network Badges */
.network-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.network-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid rgba(0, 212, 170, 0.2);
  transition: all 0.3s;
  cursor: default;
}
.network-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 212, 170, 0.4);
}

/* Comparison */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.compare-card {
  background: var(--surface-light);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.compare-card.recommended {
  background: linear-gradient(160deg, var(--surface-light) 0%, rgba(0, 212, 170, 0.04) 100%);
  border-color: rgba(0, 212, 170, 0.4);
}
.compare-card .badge-rec {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--gradient-accent);
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-bottom-left-radius: 12px;
}
.compare-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}
.compare-card .compare-sub {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.compare-list {
  list-style: none;
}
.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
  padding: 12px 0;
  border-bottom: 1px solid var(--surface-border);
  line-height: 1.5;
}
.compare-list li:last-child { border-bottom: none; }
.compare-list .icon-x {
  color: var(--text-dim);
  font-weight: 600;
  flex-shrink: 0;
}
.compare-list .icon-check {
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(13, 27, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--surface-border);
    padding: 16px 32px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 12px 16px;
    font-size: 16px;
  }

  /* Home */
  .demo-step, .demo-step.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .modules-grid {
    grid-template-columns: 1fr;
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Repo */
  .hero-stats { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .flow-steps { flex-direction: column; align-items: center; }
  .flow-arrow { transform: rotate(90deg); margin: 4px 0; }
  .compare-grid { grid-template-columns: 1fr; }
}
