/* ═══════════════════════════════════════════════════════════════════════════
   ZONERAILS — Railway Control Room Aesthetic
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --bg:         #0f1117;
  --bg-surface: #151821;
  --bg-card:    #1a1e2a;
  --bg-hover:   #1f2435;
  --border:     rgba(255,255,255,0.06);
  --border-glow: rgba(245,158,11,0.25);
  --text:       #e4e4e7;
  --text-dim:   #71717a;
  --text-muted: #52525b;
  --amber:      #f59e0b;
  --amber-dim:  rgba(245,158,11,0.15);
  --teal:       #14b8a6;
  --teal-dim:   rgba(20,184,166,0.15);
  --red:        #ef4444;
  --green:      #22c55e;
  --mono:       'JetBrains Mono', monospace;
  --sans:       'DM Sans', -apple-system, sans-serif;
  --radius:     10px;
  --radius-sm:  6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Utility ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.text-amber { color: var(--amber); }
.text-teal { color: var(--teal); }

/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,17,23,0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; height: 64px; gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-wordmark { font-family: var(--mono); font-weight: 700; font-size: 18px; color: var(--text); letter-spacing: -0.02em; }

/* Signal Icon */
.signal-icon { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.signal-dot { width: 8px; height: 8px; border-radius: 50%; }
.signal-dot.signal-teal { background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.signal-dot.signal-amber { background: var(--amber); box-shadow: 0 0 8px var(--amber); opacity: 0.4; }
.signal-arm { width: 2px; height: 6px; background: var(--text-muted); }

.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-link {
  font-family: var(--mono); font-size: 13px; color: var(--text-dim);
  text-decoration: none; padding: 8px 14px; border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-cta {
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  color: #000; background: var(--amber); text-decoration: none;
  padding: 8px 18px; border-radius: var(--radius-sm);
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(245,158,11,0.35); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; transition: 0.2s; }

/* ═══════════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; padding: 120px 24px 60px;
  overflow: hidden;
}
.hero-tracks {
  position: absolute; inset: 0; opacity: 0.03;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 119px, var(--text) 119px, var(--text) 120px),
    repeating-linear-gradient(0deg, transparent, transparent 39px, var(--text) 39px, var(--text) 40px);
}
.hero-noise {
  position: absolute; inset: 0; opacity: 0.015;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}
.hero-content { display: flex; align-items: center; gap: 60px; position: relative; z-index: 1; max-width: 1000px; }
.hero-signal { flex-shrink: 0; }
.hero-semaphore { filter: drop-shadow(0 0 30px rgba(20,184,166,0.15)); }
.semaphore-pulse { animation: blink-teal 2s step-start infinite; }
.semaphore-blink-amber { animation: blink-amber 3s step-start infinite 1s; }
@keyframes blink-teal {
  0%, 100% { fill: var(--teal); }
  50% { fill: #0d3d38; }
}
@keyframes blink-amber {
  0%, 100% { fill: var(--amber); fill-opacity: 0.6; }
  50% { fill: #3d2e0d; fill-opacity: 0.1; }
}

.hero-eyebrow {
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  color: var(--teal); letter-spacing: 0.05em; margin-bottom: 16px;
}
.hero-headline {
  font-family: var(--mono); font-size: clamp(42px, 6vw, 72px); font-weight: 800;
  line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 20px;
}
.hero-top-line { font-size: 0.42em; letter-spacing: 0.06em; }
.hero-accent { color: var(--amber); }
.hero-sub { font-size: 18px; color: var(--text-dim); max-width: 500px; line-height: 1.7; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 0; margin-top: 80px; position: relative; z-index: 1;
  background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.stat { padding: 20px 36px; text-align: center; }
.stat-num { display: block; font-family: var(--mono); font-size: 28px; font-weight: 800; color: var(--amber); }
.stat-label { display: block; font-family: var(--mono); font-size: 11px; color: var(--text-dim); letter-spacing: 0.05em; margin-top: 4px; text-transform: uppercase; }
.stat-divider { width: 1px; background: var(--border); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 14px; font-weight: 600;
  padding: 12px 24px; border-radius: var(--radius-sm); text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s; border: none; cursor: pointer;
}
.btn-primary { background: var(--amber); color: #000; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(245,158,11,0.35); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.03); }
.btn-block { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════════════════ */
.section { padding: 120px 0; position: relative; }
.section-alt { background: var(--bg-surface); }
.section-alt::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-signal { display: flex; justify-content: center; margin-bottom: 16px; }
.section-eyebrow {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  color: var(--teal); letter-spacing: 0.1em; margin-bottom: 12px;
}
.section-title {
  font-family: var(--mono); font-size: clamp(28px, 4vw, 42px); font-weight: 800;
  line-height: 1.15; letter-spacing: -0.03em;
}
.section-sub { font-size: 16px; color: var(--text-dim); max-width: 560px; margin: 16px auto 0; line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURE CARDS
   ═══════════════════════════════════════════════════════════════════════════ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.2s, box-shadow 0.3s;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--teal));
  opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover { border-color: var(--border-glow); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.icon-lock { background: var(--teal-dim); color: var(--teal); }
.icon-alert { background: var(--amber-dim); color: var(--amber); }
.icon-diff { background: rgba(139,92,246,0.15); color: #8b5cf6; }
.icon-globe { background: rgba(59,130,246,0.15); color: #3b82f6; }
.icon-tunnel { background: var(--teal-dim); color: var(--teal); }
.icon-history { background: var(--amber-dim); color: var(--amber); }

.feature-name { font-family: var(--mono); font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.feature-desc { font-size: 14px; color: var(--text-dim); line-height: 1.65; }
.feature-tag {
  display: inline-block; font-family: var(--mono); font-size: 9px; font-weight: 700;
  letter-spacing: 0.1em; color: var(--text-muted);
  border: 1px solid var(--border); border-radius: 3px;
  padding: 2px 8px; margin-top: 16px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DEPLOYMENT PIPELINE
   ═══════════════════════════════════════════════════════════════════════════ */
.pipeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pipeline-track {
  position: absolute; top: 28px; left: 60px; right: 60px; height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--teal));
  opacity: 0.3;
}
.pipeline-step { position: relative; text-align: center; }
.pipeline-dot {
  width: 16px; height: 16px; border-radius: 50%; margin: 20px auto 20px;
  background: var(--amber); border: 3px solid var(--bg);
  box-shadow: 0 0 12px rgba(245,158,11,0.4);
  position: relative; z-index: 1;
}
.pipeline-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 20px;
}
.pipeline-num { font-family: var(--mono); font-size: 11px; color: var(--amber); font-weight: 700; letter-spacing: 0.1em; margin-bottom: 8px; }
.pipeline-card h3 { font-family: var(--mono); font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.pipeline-card p { font-size: 13px; color: var(--text-dim); line-height: 1.65; }

/* ═══════════════════════════════════════════════════════════════════════════
   SERVER MODE
   ═══════════════════════════════════════════════════════════════════════════ */
/* Architecture Diagram */
.arch-diagram {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-bottom: 60px; padding: 40px 24px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow-x: auto;
}
.arch-node { text-align: center; flex-shrink: 0; }
.arch-icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px; color: var(--text-dim);
  background: var(--bg); border: 1px solid var(--border);
}
.arch-icon-server { background: var(--amber-dim); color: var(--amber); border-color: rgba(245,158,11,0.3); }
.arch-label { font-family: var(--mono); font-size: 13px; font-weight: 700; }
.arch-detail { font-family: var(--mono); font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.arch-arrow { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; }
.arch-proto { font-family: var(--mono); font-size: 9px; color: var(--text-muted); letter-spacing: 0.05em; }

/* Server Feature Grid */
.server-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }

/* Deployment Options */
.deploy-options {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; margin-bottom: 24px;
}
.deploy-options-title { font-family: var(--mono); font-size: 14px; font-weight: 700; margin-bottom: 20px; text-align: center; }
.deploy-options-grid { display: flex; justify-content: center; gap: 40px; }
.deploy-option {
  display: flex; align-items: center; gap: 12px;
}
.deploy-option-icon { width: 28px; height: 28px; color: var(--text-dim); flex-shrink: 0; }
.deploy-option strong { display: block; font-family: var(--mono); font-size: 14px; }
.deploy-option span { display: block; font-size: 12px; color: var(--text-muted); }

.server-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.server-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: border-color 0.3s;
}
.server-card:hover { border-color: var(--border-glow); }
.server-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--teal); }
.server-card-header h3 { font-family: var(--mono); font-size: 16px; font-weight: 700; color: var(--text); }
.server-card p { font-size: 14px; color: var(--text-dim); line-height: 1.65; margin-bottom: 16px; }

.role-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.role-badge {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 3px; letter-spacing: 0.03em;
}
.role-admin { background: rgba(245,158,11,0.15); color: var(--amber); border: 1px solid rgba(245,158,11,0.3); }
.role-operator { background: rgba(20,184,166,0.15); color: var(--teal); border: 1px solid rgba(20,184,166,0.3); }
.role-deployer { background: rgba(59,130,246,0.15); color: #60a5fa; border: 1px solid rgba(59,130,246,0.3); }
.role-viewer { background: rgba(156,163,175,0.1); color: #9ca3af; border: 1px solid rgba(156,163,175,0.2); }

.code-line {
  font-family: var(--mono); font-size: 12px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.code-dim { color: var(--text-muted); }
.code-str { color: var(--teal); }

.server-callout {
  display: flex; align-items: center; gap: 16px; margin-top: 40px;
  background: var(--bg-card); border: 1px solid var(--teal-dim);
  border-left: 3px solid var(--teal); border-radius: var(--radius);
  padding: 20px 28px;
}
.server-callout p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }
.server-callout strong { color: var(--text); }
.callout-signal { flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   SCREENSHOTS
   ═══════════════════════════════════════════════════════════════════════════ */
.screenshots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.screenshot-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.3s, box-shadow 0.3s;
}
.screenshot-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.screenshot-card img { width: 100%; height: auto; display: block; border-bottom: 1px solid var(--border); }
.screenshots-grid-3x2 { grid-template-columns: repeat(3, 1fr); }
.screenshot-card { cursor: pointer; }
.screenshot-label {
  font-family: var(--mono); font-size: 12px; color: var(--text-dim);
  padding: 14px 16px; text-align: center;
}

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.92); backdrop-filter: blur(8px);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 16px; padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw; max-height: 80vh; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  object-fit: contain;
}
.lightbox-caption {
  font-family: var(--mono); font-size: 13px; color: var(--text-dim); text-align: center;
}
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: var(--text-dim); font-size: 32px;
  cursor: pointer; transition: color 0.2s; z-index: 1001;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { color: var(--text); }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  color: var(--text-dim); font-size: 28px; cursor: pointer;
  width: 44px; height: 60px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.1); color: var(--text); }

/* ═══════════════════════════════════════════════════════════════════════════
   PROVIDERS
   ═══════════════════════════════════════════════════════════════════════════ */
.providers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 800px; margin: 0 auto; }
.provider-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px; text-align: center; transition: border-color 0.3s;
}
.provider-card:hover { border-color: var(--border-glow); }
.provider-badge {
  display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 800;
  padding: 4px 12px; border-radius: 4px; margin-bottom: 16px;
}
.provider-cf { background: var(--amber); color: #000; }
.provider-ad { background: #3b82f6; color: #fff; }
.provider-card h3 { font-family: var(--mono); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.provider-card > p { font-size: 14px; color: var(--text-dim); line-height: 1.6; margin-bottom: 20px; }
.provider-list { list-style: none; text-align: left; }
.provider-list li {
  font-size: 13px; color: var(--text-dim); padding: 6px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.provider-list li::before { content: '→'; color: var(--teal); font-family: var(--mono); font-weight: 700; }
.provider-list li:last-child { border-bottom: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════════════════════ */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 800px; margin: 0 auto; }
.pricing-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 1000px; }
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px 32px; position: relative;
}
.pricing-featured { border-color: var(--amber); }
.pricing-enterprise { border-color: var(--teal); }
.pricing-enterprise::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
}
.pricing-popular-teal { background: var(--teal); }
.btn-enterprise { background: var(--teal); color: #000; font-family: var(--mono); font-weight: 600; }
.btn-enterprise:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(20,184,166,0.35); }
.pricing-featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--teal));
}
.pricing-popular {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  background: var(--amber); color: #000; padding: 4px 16px; border-radius: 20px;
}
.pricing-tier { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--text-dim); letter-spacing: 0.05em; margin-bottom: 8px; }
.pricing-price { margin-bottom: 12px; }
.pricing-amount { font-family: var(--mono); font-size: 36px; font-weight: 800; }
.pricing-period { font-size: 14px; color: var(--text-muted); margin-left: 4px; }
.pricing-desc { font-size: 14px; color: var(--text-dim); margin-bottom: 24px; line-height: 1.6; }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li {
  font-size: 13px; padding: 7px 0;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.pricing-features li.included { color: var(--text); }
.pricing-features li.excluded { color: var(--text-muted); }
.pricing-features li.included::before { content: '✓'; color: var(--teal); font-weight: 700; font-size: 14px; width: 18px; }
.pricing-features li.excluded::before { content: '—'; color: var(--text-muted); font-size: 14px; width: 18px; }

/* ═══════════════════════════════════════════════════════════════════════════
   DOWNLOAD
   ═══════════════════════════════════════════════════════════════════════════ */
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 640px; margin: 0 auto; }
.download-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px 32px; text-align: center; transition: border-color 0.3s, transform 0.2s;
}
.download-card:hover { border-color: var(--border-glow); transform: translateY(-2px); }
.download-icon { color: var(--text-dim); margin-bottom: 16px; }
.download-card h3 { font-family: var(--mono); font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.download-detail { font-size: 13px; color: var(--text-dim); margin-bottom: 4px; }
.download-version {
  font-family: var(--mono); font-size: 11px; color: var(--text-muted);
  margin-bottom: 24px;
}
.download-requirements {
  text-align: center; margin-top: 40px;
  font-size: 13px; color: var(--text-muted);
}
.download-requirements strong { color: var(--text-dim); }

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border); padding: 60px 0 40px;
  background: var(--bg);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-tagline { font-size: 14px; color: var(--text-muted); margin-top: 12px; }
.footer-links h4 { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--text-dim); letter-spacing: 0.05em; margin-bottom: 12px; }
.footer-links a { display: block; font-size: 13px; color: var(--text-muted); text-decoration: none; padding: 4px 0; transition: color 0.2s; }
.footer-links a:hover { color: var(--amber); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border); padding-top: 24px;
  font-size: 12px; color: var(--text-muted);
}
.footer-bottom a { color: var(--amber); text-decoration: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */
.pulse { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .pipeline-track { display: none; }
  .server-grid { grid-template-columns: 1fr; }
  .server-features-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshots-grid { grid-template-columns: 1fr; }
  .pricing-grid-3 { grid-template-columns: 1fr; max-width: 400px; }
  .deploy-options-grid { flex-direction: column; gap: 16px; align-items: flex-start; }
  .arch-diagram { flex-direction: column; }
  .arch-arrow svg { transform: rotate(90deg); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(15,17,23,0.97); border-bottom: 1px solid var(--border);
    padding: 16px 24px; gap: 4px;
    backdrop-filter: blur(20px);
  }
  .nav-toggle { display: block; }

  .hero-content { flex-direction: column; text-align: center; }
  .hero-sub { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-stats { flex-wrap: wrap; }
  .stat { flex: 1; min-width: 120px; }
  .stat-divider { display: none; }

  .feature-grid { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; }
  .pricing-grid, .pricing-grid-3 { grid-template-columns: 1fr; max-width: 100%; }
  .server-features-grid { grid-template-columns: 1fr; }
  .providers-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
