/* ============================================
   OMNI Landing Page — Design System
   ============================================ */

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

:root {
  --bg-primary: #030308;
  --bg-secondary: #080814;
  --bg-card: rgba(10, 10, 25, 0.4);
  --bg-card-hover: rgba(15, 15, 40, 0.6);
  --bg-code: #05050f;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-purple: #a855f7;
  --accent-cyan: #22d3ee;
  --accent-blue: #3b82f6;
  --accent-pink: #f472b6;

  --gradient-main: linear-gradient(135deg, #a855f7, #22d3ee);
  --gradient-hero: linear-gradient(135deg, #a855f7 0%, #3b82f6 50%, #22d3ee 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(168, 85, 247, 0.3);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-glow: 0 0 40px rgba(168, 85, 247, 0.15);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.5);

  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --max-width: 1200px;
  --section-padding: 120px 0;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.section-subtitle {
  color: var(--text-secondary);
  text-align: center;
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.reveal-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-children.visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-children.visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-children.visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-children.visible > *:nth-child(5) { transition-delay: 0.33s; }

.reveal-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(6, 6, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-subtle);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  background: var(--gradient-main);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 100px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* Animated background orbs */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.2;
  animation: float 25s infinite ease-in-out;
  z-index: 0;
}

.hero::before {
  width: 600px;
  height: 600px;
  background: var(--accent-purple);
  top: -100px;
  left: -200px;
}

.hero::after {
  width: 500px;
  height: 500px;
  background: var(--accent-cyan);
  bottom: -100px;
  right: -200px;
  animation-delay: -12.5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--accent-purple);
  font-weight: 500;
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  font-size: clamp(3rem, 10vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.hero h1 span {
  display: block;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-install {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.install-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.install-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.install-box {
  background: var(--bg-code);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 4px 4px 4px 20px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  max-width: 100%;
  overflow-x: auto;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.install-box:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.1);
}

.install-box code {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-cyan);
  white-space: nowrap;
}

.install-box .prefix {
  color: var(--text-muted);
  user-select: none;
}

.copy-btn {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--accent-purple);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
}

.copy-btn:hover {
  background: rgba(139, 92, 246, 0.25);
  transform: translateY(-1px);
}

.copy-btn.copied {
  background: rgba(6, 214, 160, 0.15);
  border-color: rgba(6, 214, 160, 0.3);
  color: var(--accent-cyan);
}

/* Hero CTA buttons */
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: rotate(45deg);
  transition: 0.5s;
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.6);
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.2);
}

/* ============================================
   STATS / FEATURE CARDS
   ============================================ */
.stats {
  padding: var(--section-padding);
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-glow);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-purple);
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.3));
}

.stat-icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.5px;
}

.stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ============================================
   HOW IT WORKS — PIPELINE
   ============================================ */
.pipeline {
  padding: var(--section-padding);
}

.pipeline-visual {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  backdrop-filter: blur(12px);
}

.pipeline-step {
  text-align: center;
  flex: 0 0 auto;
}

.pipeline-node {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  min-width: 160px;
  transition: all 0.3s;
}

.pipeline-node.highlight {
  border-color: var(--accent-purple);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
  background: rgba(139, 92, 246, 0.08);
}

.pipeline-node .node-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  color: var(--accent-cyan);
}

.pipeline-node .node-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5px;
}

.pipeline-node .node-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.pipeline-node .node-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.pipeline-arrow {
  color: var(--accent-purple);
  font-size: 1.6rem;
  opacity: 0.6;
}

/* ============================================
   BEFORE / AFTER
   ============================================ */
.comparison {
  padding: var(--section-padding);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.comparison-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.comparison-header {
  padding: 14px 20px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.comparison-block.before .comparison-header {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-bottom: 1px solid rgba(239, 68, 68, 0.15);
}

.comparison-block.after .comparison-header {
  background: rgba(6, 214, 160, 0.1);
  color: var(--accent-cyan);
  border-bottom: 1px solid rgba(6, 214, 160, 0.15);
}

.comparison-block pre {
  padding: 20px;
  background: var(--bg-code);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.8;
  overflow-x: auto;
  margin: 0;
  color: var(--text-secondary);
}

.comparison-block pre .highlight-line {
  color: var(--text-primary);
}

.token-badge {
  margin-left: auto;
  background: rgba(255,255,255,0.08);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.table-section {
  padding: var(--section-padding);
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comparison-table thead {
  background: rgba(139, 92, 246, 0.08);
}

.comparison-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.comparison-table th:first-child {
  color: var(--text-secondary);
}

.comparison-table th.omni-col {
  color: var(--accent-purple);
}

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.07);
  color: var(--text-secondary);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
}

.comparison-table td.omni-col {
  color: var(--accent-cyan);
  font-weight: 600;
}

.comparison-table tbody tr {
  transition: background 0.2s;
}

.comparison-table tbody tr:hover {
  background: rgba(139, 92, 246, 0.04);
}

/* ============================================
   INTEGRATION
   ============================================ */
.integration {
  padding: var(--section-padding);
}

.integration-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.integration-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  backdrop-filter: blur(12px);
  transition: all 0.3s;
}

.integration-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-glow);
}

.integration-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
}

.integration-card h3 svg {
  width: 24px;
  height: 24px;
  color: var(--accent-purple);
  stroke-width: 1.5px;
}

.integration-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.code-block {
  background: var(--bg-code);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-cyan);
  overflow-x: auto;
  position: relative;
}

.code-block .code-copy {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(139, 92, 246, 0.15);
  border: none;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.72rem;
  font-family: var(--font-sans);
  transition: all 0.2s;
}

/* Agent Autopilot Banner */
.autopilot-banner {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.05), rgba(168, 85, 247, 0.05));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-top: 60px;
  text-align: center;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.autopilot-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-main);
}

.autopilot-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--accent-cyan);
}

.autopilot-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.autopilot-banner p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 24px;
}

.instruction-box {
  background: var(--bg-code);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
}

.instruction-box code {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
}

.copy-btn.mini {
  padding: 8px 16px;
  font-size: 0.75rem;
}

/* ============================================
   CLI COMMANDS
   ============================================ */
.cli-section {
  padding: var(--section-padding);
}

.cli-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cli-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.3s;
}

.cli-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.cli-card .cli-name {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-purple);
  margin-bottom: 8px;
}

.cli-card .cli-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   ROADMAP
   ============================================ */
.roadmap {
  padding: var(--section-padding);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.roadmap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
}

.roadmap-card:hover {
  border-color: var(--border-medium);
}

.roadmap-card .phase-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.phase-badge.completed {
  background: rgba(6, 214, 160, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 214, 160, 0.25);
}

.phase-badge.in-progress {
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.phase-badge.planned {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.roadmap-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.roadmap-card ul {
  list-style: none;
  padding: 0;
}

.roadmap-card li {
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.6;
}

.roadmap-card li::before {
  content: '→';
  color: var(--accent-purple);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cli-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-padding: 60px 0; }

  .nav-links { display: none; }
  .mobile-toggle { display: block; }

  .hero h1 { font-size: 2.5rem; }
  .hero-description { font-size: 1.05rem; }

  .stats-grid { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .integration-cards { grid-template-columns: 1fr; }
  .cli-grid { grid-template-columns: 1fr; }
  .roadmap-grid { grid-template-columns: 1fr; }

  .pipeline-visual {
    flex-direction: column;
    padding: 28px 20px;
  }

  .pipeline-arrow {
    transform: rotate(90deg);
  }

  .section-title { font-size: 2rem; }

  .install-box {
    flex-direction: column;
    padding: 16px;
    gap: 12px;
  }

  .install-box code { font-size: 0.75rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}

/* ============================================
   STARFIELD BACKGROUND
   ============================================ */
.starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: twinkle var(--duration) infinite ease-in-out;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.4); }
}
