/* ═══════════════════════════════════════════════════════
   EPISTEME — Cyberpunk Marketing Website
   ═══════════════════════════════════════════════════════ */

/* ── CSS Variables ─────────────────────────────────── */
:root {
  --cyan: #00f5ff;
  --purple: #7c3aed;
  --purple-light: #a78bfa;
  --green: #00ff88;
  --red: #ff2d55;
  --orange: #ff9500;

  --bg: #050810;
  --bg-card: rgba(8, 14, 30, 0.85);
  --bg-card-hover: rgba(12, 20, 42, 0.95);
  --border: rgba(0, 245, 255, 0.08);
  --border-hover: rgba(0, 245, 255, 0.3);

  --text: #e2e8f0;
  --text-muted: #64748b;
  --text-dim: #334155;

  --font-mono: 'Share Tech Mono', monospace;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;

  --glow-cyan: 0 0 30px rgba(0, 245, 255, 0.15);
  --glow-purple: 0 0 30px rgba(124, 58, 237, 0.2);
}

.light {
  --bg: #f0f4ff;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: rgba(240, 248, 255, 0.98);
  --border: rgba(99, 102, 241, 0.12);
  --border-hover: rgba(99, 102, 241, 0.4);
  --text: #0f172a;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --glow-cyan: 0 4px 20px rgba(99, 102, 241, 0.12);
  --glow-purple: 0 4px 20px rgba(124, 58, 237, 0.12);
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body, .nav, .feature-card, .pipeline-step, .stack-card, .download-card, .btn, .theme-toggle, .code-block, .hero-terminal {
  transition: background 0.4s ease, background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── Animated Grid Background ────────────────────── */
.cyber-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 245, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPulse 8s ease infinite;
}
.light .cyber-grid {
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
}
@keyframes gridPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ── Scanlines ─────────────────────────────────────── */
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  opacity: 0.4;
}
.light .scanlines { opacity: 0.1; }

/* ── Particles ─────────────────────────────────────── */
.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0;
  animation: float-particle linear infinite;
}
.light .particle { background: #6366f1; }
@keyframes float-particle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ── Nav ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 8, 16, 0.8);
  backdrop-filter: blur(20px);
  transition: background 0.4s;
}
.light .nav {
  background: rgba(240, 244, 255, 0.85);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-glyph {
  font-size: 22px;
  color: var(--cyan);
  filter: drop-shadow(0 0 8px var(--cyan));
  line-height: 1;
}
.light .logo-glyph { color: #6366f1; filter: drop-shadow(0 0 6px rgba(99,102,241,0.5)); }
.logo-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--text);
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cyan); }
.light .nav-links a:hover { color: #6366f1; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 24px;
}
.theme-toggle {
  background: rgba(0, 245, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.theme-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
.light .theme-toggle:hover { border-color: #6366f1; color: #6366f1; }

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}
.btn-primary {
  background: linear-gradient(135deg, #00e5ff 0%, #7c3aed 100%);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
}
.light .btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-hover);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: var(--glow-cyan);
}
.light .btn-ghost:hover { border-color: #6366f1; color: #6366f1; }
.btn-full { width: 100%; justify-content: center; }
.coming-soon-btn {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
.coming-soon-btn:hover { transform: none; }

/* ── Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  text-align: center;
}

/* Radial glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0, 245, 255, 0.06) 0%, rgba(124, 58, 237, 0.04) 40%, transparent 70%);
  pointer-events: none;
}
.light .hero::before {
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.08) 0%, rgba(124, 58, 237, 0.05) 40%, transparent 70%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 245, 255, 0.06);
  border: 1px solid rgba(0, 245, 255, 0.2);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
  margin-bottom: 32px;
}
.light .hero-badge { background: rgba(99,102,241,0.07); border-color: rgba(99,102,241,0.25); color: #6366f1; }
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
  animation: pulseDot 1.5s ease infinite;
}
.light .badge-dot { background: #6366f1; box-shadow: 0 0 6px rgba(99,102,241,0.6); }
@keyframes pulseDot {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* Glitch title */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 96px);
  font-weight: 900;
  letter-spacing: 12px;
  margin-bottom: 8px;
  line-height: 1;
}
.glitch {
  position: relative;
  color: var(--text);
  text-shadow: 0 0 40px rgba(0, 245, 255, 0.2);
}
.light .glitch { text-shadow: 0 0 30px rgba(99,102,241,0.15); }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.glitch::before {
  color: var(--cyan);
  clip: rect(0, 900px, 0, 0);
  animation: glitch-a 3s infinite linear alternate-reverse;
}
.glitch::after {
  color: #ff2d55;
  clip: rect(0, 900px, 0, 0);
  animation: glitch-b 3s infinite linear alternate-reverse;
}
@keyframes glitch-a {
  0%   { clip: rect(42px, 9999px, 44px, 0); transform: skew(0.3deg); opacity: 0; }
  5%   { clip: rect(12px, 9999px, 59px, 0); transform: skew(0.5deg); opacity: 0.8; }
  10%  { clip: rect(85px, 9999px, 99px, 0); transform: skew(-0.2deg); opacity: 0; }
  20%  { clip: rect(56px, 9999px, 60px, 0); transform: skew(0.1deg); opacity: 0.9; }
  30%  { clip: rect(0, 0, 0, 0); opacity: 0; }
  100% { clip: rect(0, 0, 0, 0); opacity: 0; }
}
@keyframes glitch-b {
  0%   { clip: rect(65px, 9999px, 100px, 0); transform: skew(-0.3deg); opacity: 0; }
  5%   { clip: rect(15px, 9999px, 42px, 0); transform: skew(0.4deg); opacity: 0.7; }
  15%  { clip: rect(0, 0, 0, 0); opacity: 0; }
  25%  { clip: rect(80px, 9999px, 88px, 0); transform: skew(-0.1deg); opacity: 0.85; }
  100% { clip: rect(0, 0, 0, 0); opacity: 0; }
}

.hero-sub {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--cyan);
  letter-spacing: 4px;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.light .hero-sub { color: #6366f1; }

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}

/* ── Terminal Widget ───────────────────────────────── */
.hero-terminal {
  width: 100%;
  max-width: 600px;
  background: rgba(5, 8, 16, 0.9);
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 245, 255, 0.08), inset 0 1px 0 rgba(0, 245, 255, 0.1);
  margin-bottom: 56px;
  text-align: left;
}
.light .hero-terminal {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.1);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0, 245, 255, 0.08);
  background: rgba(0, 0, 0, 0.3);
}
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 8px;
}
.terminal-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.t-line {
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
}
.t-prompt { color: var(--cyan); font-weight: 700; }
.light .t-prompt { color: #6366f1; }
.t-cmd { color: #e2e8f0; }
.t-output { padding-left: 16px; }
.t-tag {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.tag-ok { background: rgba(0, 255, 136, 0.12); color: #00ff88; border: 1px solid rgba(0, 255, 136, 0.25); }
.tag-warn { background: rgba(255, 149, 0, 0.12); color: #ff9500; border: 1px solid rgba(255, 149, 0, 0.25); }
.tag-info { background: rgba(0, 245, 255, 0.1); color: var(--cyan); border: 1px solid rgba(0, 245, 255, 0.2); }
.t-cursor {
  display: inline-block;
  animation: blink 1s step-end infinite;
  color: var(--cyan);
}
@keyframes blink { 50% { opacity: 0; } }

/* ── Hero Stats ────────────────────────────────────── */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 1px;
}
.light .stat-num { color: #6366f1; }
.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ── Sections ──────────────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 24px;
}
.section-alt {
  background: rgba(0, 245, 255, 0.015);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.light .section-alt { background: rgba(99, 102, 241, 0.025); }
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.light .section-label { color: #6366f1; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 60px;
  letter-spacing: 1px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.light .gradient-text {
  background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Feature Grid ──────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  cursor: default;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--glow-cyan);
}
.feature-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.06) 0%, transparent 70%);
  transition: opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}
.feature-card:hover .feature-glow { opacity: 1; }
.light .feature-glow { background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%); }
.feature-icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}
.feature-body h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.feature-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Pipeline ──────────────────────────────────────── */
.pipeline-container {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
}
.pipeline-step {
  flex: 1;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.pipeline-step:hover {
  border-color: var(--border-hover);
  box-shadow: var(--glow-cyan);
}
.pipeline-arrow {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--cyan);
  opacity: 0.4;
  flex-shrink: 0;
}
.light .pipeline-arrow { color: #6366f1; }
.step-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.step-body h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.step-body p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Stack Grid ────────────────────────────────────── */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.stack-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: default;
}
.stack-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--glow-cyan);
}
.stack-icon { font-size: 28px; margin-bottom: 10px; }
.stack-name {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.stack-role {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

/* ── Download Section ──────────────────────────────── */
.section-download {
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 245, 255, 0.03) 0%, transparent 60%);
}
.light .section-download {
  background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,0.04) 0%, transparent 60%);
}
.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.download-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--glow-cyan);
}
.download-card.featured {
  border-color: rgba(0, 245, 255, 0.25);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.06);
  position: relative;
}
.light .download-card.featured {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08);
}
.download-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.download-badge {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  border: 1px solid rgba(0, 245, 255, 0.25);
  padding: 3px 10px;
  border-radius: 20px;
}
.light .download-badge {
  background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  border-color: rgba(99,102,241,0.3);
}
.download-icon { font-size: 32px; line-height: 1; }
.download-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
}
.download-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.download-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.download-steps-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.d-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.d-step-num {
  width: 22px;
  height: 22px;
  background: rgba(0, 245, 255, 0.08);
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.light .d-step-num { background: rgba(99,102,241,0.08); border-color: rgba(99,102,241,0.2); color: #6366f1; }
.d-step strong { color: var(--text); }
.d-step code {
  font-family: var(--font-mono);
  background: rgba(0,0,0,0.3);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--cyan);
}
.light .d-step code { background: rgba(99,102,241,0.08); color: #6366f1; }
.download-note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-dim);
  text-align: center;
  letter-spacing: 0.5px;
}
.code-block {
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(0, 245, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  font-family: var(--font-mono);
}
.light .code-block { background: rgba(15, 23, 42, 0.95); }
.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(0, 245, 255, 0.08);
  font-size: 11px;
  color: var(--text-muted);
}
.copy-btn {
  background: rgba(0, 245, 255, 0.08);
  border: 1px solid rgba(0, 245, 255, 0.15);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.light .copy-btn { background: rgba(99,102,241,0.08); border-color: rgba(99,102,241,0.2); color: #6366f1; }
.copy-btn:hover { background: rgba(0, 245, 255, 0.16); }
.code-block pre {
  padding: 12px 14px;
  font-size: 12px;
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: auto;
  margin: 0;
}
.backend-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 149, 0, 0.05);
  border: 1px solid rgba(255, 149, 0, 0.2);
  border-radius: 12px;
  padding: 18px 22px;
}
.notice-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.notice-body {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.notice-body strong { color: var(--text); }
.notice-body code {
  font-family: var(--font-mono);
  background: rgba(0,0,0,0.3);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 12px;
  color: var(--orange);
}
.notice-body a { color: var(--cyan); }
.light .notice-body a { color: #6366f1; }

/* ── Footer ────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.footer-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cyan); }
.light .footer-links a:hover { color: #6366f1; }
.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  width: 100%;
  text-align: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.footer-copy a { color: var(--cyan); text-decoration: none; }
.light .footer-copy a { color: #6366f1; }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-cta { flex-direction: column; align-items: center; }
  .pipeline-container { flex-direction: column; }
  .pipeline-arrow { transform: rotate(90deg); padding: 8px 0; justify-content: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { margin-left: 0; justify-content: center; }
}
