:root {
  /* Colors */
  --bg-dark: #000;
  --bg-card: rgba(15, 15, 15, 0.4);
  --bg-card-hover: rgba(25, 25, 25, 0.6);
  --bg-terminal: #0a0a0a;

  --primary-orange: #FF6B00;
  --primary-orange-dim: rgba(255, 107, 0, 0.15);

  --accent-amber: #FF8C00;
  --accent-amber-dim: rgba(255, 140, 0, 0.15);

  --warning-amber: #ffb300;
  --critical-red: #ff4444;
  --safe-green: #00c853;
  --safe-pale: #b9ffb0;
  --secondary-green: #00ff88;

  --text-main: #f0f0f0;
  --text-muted: #8b8b8b;
  --text-dark: #0a0a0a;

  --border-light: rgba(255, 255, 255, 0.1);

  /* Spacing */
  --s-sm: 0.5rem;
  --s-md: 1rem;
  --s-lg: 2rem;
  --s-xl: 4rem;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-muted {
  color: var(--text-muted);
}

.text-red {
  color: var(--critical-red);
}

.text-green {
  color: var(--safe-green);
}

.text-bold {
  font-weight: 700;
}

.text-white {
  color: var(--text-main);
}

.text-small {
  font-size: 0.875rem;
}

.mt-s {
  margin-top: var(--s-sm);
}

.mt-m {
  margin-top: var(--s-md);
}

.mt-l {
  margin-top: var(--s-lg);
}

.mt-xl {
  margin-top: var(--s-xl);
}

.mb-m {
  margin-bottom: var(--s-md);
}

.hidden {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.5px;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-orange);
  color: var(--text-dark);
  box-shadow: 0 0 15px var(--primary-orange-dim);
}

.btn-primary:hover {
  background-color: #FF8C00;
  box-shadow: 0 0 25px rgba(255, 107, 0, 0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--text-muted);
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.3s ease;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 130px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav-icon {
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.nav-icon:hover {
  color: var(--primary-orange);
}

/* Hero Section */
.hero {
  position: relative;
  z-index: 1;
  padding: 8rem 0 3rem;
}

.hero-centered {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.hero-centered .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.hero-centered .hero-ctas {
  justify-content: center;
}

.hero-content {
  text-align: center;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
  color: #ffffff;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
}

/* Hero orchestrated entrance */
.hero-subtitle,
.hero-ctas,
.hero-terminal {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-subtitle.anim-hidden,
.hero-ctas.anim-hidden,
.hero-terminal.anim-hidden {
  opacity: 0;
  transform: translateY(12px);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
}

.hero-terminal {
  max-width: 600px;
  margin: 2.5rem auto 0;
}

/* Terminal Window */
.terminal-window {
  background-color: var(--bg-terminal);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.glow-effect {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 30px rgba(255, 107, 0, 0.05);
  position: relative;
}

.glow-effect::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
  opacity: 0.3;
}

.terminal-header {
  background: #111;
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid #222;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background-color: #ff5f56;
}

.dot.yellow {
  background-color: #ffbd2e;
}

.dot.green {
  background-color: #27c93f;
}

.terminal-body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-main);
  overflow-x: auto;
  line-height: 1.5;
}

.terminal-line {
  min-height: 1.5em;
}

.terminal-prompt {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.terminal-prompt span {
  color: var(--text-main);
}

.typing-text::after {
  content: '▋';
  animation: blink 0.8s step-end infinite;
  color: var(--primary-orange);
}

@keyframes blink {
  50% { opacity: 0; }
}

.terminal-output .terminal-line {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.terminal-output.is-revealed .terminal-line {
  opacity: 1;
  transform: translateY(0);
}

.prompt {
  color: var(--primary-orange);
  font-weight: bold;
  margin-right: 0.5rem;
}

.comment {
  color: var(--text-muted);
}

.command {
  color: var(--text-main);
}

.grade-c {
  color: var(--warning-amber);
  font-weight: bold;
}

.grade-d {
  color: #ff8800;
  font-weight: bold;
}

.yaml-key {
  color: var(--primary-orange);
}

/* Tab Bar */
.tab-bar {
  background: #000;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  z-index: 999;
  transition: box-shadow 0.3s ease;
}

.tab-bar.is-sticky {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.tab-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 0;
  position: relative;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 1.5rem;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.tab-btn:hover {
  color: var(--text-main);
}

.tab-btn.active {
  color: var(--text-main);
}

.tab-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--primary-orange);
  transition: transform 0.3s ease, width 0.3s ease;
  pointer-events: none;
}

/* Tab spacer to prevent content jump when tab bar becomes fixed */
.tab-spacer {
  height: 54px;
  display: none;
}

.tab-spacer.is-active {
  display: block;
}

/* Tab Content */
.tab-content {
  display: none;
  padding: 4rem 0;
}

.tab-content.active {
  display: block;
}

/* Context Comparison */
.comparison-boxes {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

.comparison-box {
  flex: 1;
  max-width: 340px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.3s ease;
}

.comparison-box.good {
  border: 1px solid var(--safe-green);
}

.comparison-box.bad {
  border: 1px solid var(--critical-red);
}

.comparison-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.comparison-pkg {
  font-weight: 700;
  font-size: 1.1rem;
}

.comparison-dl {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.comparison-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.comparison-grades {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.comparison-arrow {
  color: var(--text-muted);
}

.comparison-new-grade {
  font-weight: 700;
}

.comparison-vs {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex-shrink: 0;
  padding: 0 0.5rem;
}

/* Package Results Table */
.results-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
}

.results-table th,
.results-table td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.results-table th {
  background-color: var(--bg-card);
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

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

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

.results-table tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.pkg-name {
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* TLS Result Cards */
.tls-cards {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.tls-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: border-color 0.3s ease;
}

.tls-card:hover {
  border-color: var(--primary-orange);
}

.tls-name {
  font-weight: 600;
  font-size: 1rem;
}

/* Site grade badges (reused from marquee) */
.site-grade {
  font-family: var(--font-mono);
  font-weight: 700;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.8rem;
  white-space: nowrap;
}

.site-grade.c-plus {
  color: var(--text-dark);
  background: var(--primary-orange);
  border: 1px solid var(--primary-orange);
  box-shadow: 0 0 10px var(--primary-orange-dim);
}

.site-grade.c-plain {
  color: var(--text-dark);
  background: #d46a00;
  border: 1px solid #d46a00;
  box-shadow: 0 0 10px rgba(212, 106, 0, 0.15);
}

.site-grade.c-minus {
  color: var(--text-dark);
  background: var(--warning-amber);
  border: 1px solid var(--warning-amber);
  box-shadow: 0 0 10px rgba(255, 179, 0, 0.15);
}

/* Grade Badges (tables) */
.grade-badge {
  display: inline-flex;
  font-family: var(--font-mono);
  font-weight: 700;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.grade-badge.a-plus {
  background: var(--safe-pale);
  color: #000;
  box-shadow: 0 0 10px rgba(185, 255, 176, 0.5);
}

.grade-badge.a {
  background: rgba(0, 200, 83, 0.2);
  color: var(--safe-green);
  border: 1px solid var(--safe-green);
}

.grade-badge.b {
  background: rgba(0, 255, 136, 0.1);
  color: var(--secondary-green);
  border: 1px solid var(--secondary-green);
}

.grade-badge.c-plus-badge {
  background: var(--primary-orange);
  color: var(--text-dark);
  border: 1px solid var(--primary-orange);
  width: auto;
  padding: 0 8px;
}

.grade-badge.c-reg {
  background: #d46a00;
  color: var(--text-dark);
  border: 1px solid #d46a00;
}

.grade-badge.c-minus-badge {
  background: var(--warning-amber);
  color: var(--text-dark);
  border: 1px solid var(--warning-amber);
  width: auto;
  padding: 0 8px;
}

.grade-badge.d {
  background: rgba(255, 136, 0, 0.15);
  color: #ff8800;
  border: 1px solid #ff8800;
  width: auto;
  padding: 0 8px;
}

.grade-badge.d-minus {
  background: rgba(255, 68, 68, 0.15);
  color: var(--critical-red);
  border: 1px solid var(--critical-red);
  width: auto;
  padding: 0 8px;
}

.grade-badge.f {
  background: rgba(255, 68, 68, 0.15);
  color: var(--critical-red);
  border: 1px solid var(--critical-red);
}

/* Pipeline */
.pipeline {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  justify-content: center;
}

.pipeline-step {
  flex: 1;
  max-width: 300px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.3s ease;
}

.pipeline-step:hover {
  border-color: var(--primary-orange);
}

.pipeline-number {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-orange);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.pipeline-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.pipeline-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pipeline-arrow {
  display: flex;
  align-items: center;
  padding-top: 3rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Grading Scale Table */
.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.table-container {
  overflow-x: auto;
}

.grading-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
}

.grading-table th,
.grading-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.grading-table th {
  background-color: var(--bg-card);
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

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

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

.grading-table tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

/* NIST Callout */
.nist-callout {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--bg-card);
}

.nist-callout p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* Cards */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.hover-glow:hover {
  border-color: var(--primary-orange);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--primary-orange-dim);
}

/* Trust Badge */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(0, 200, 83, 0.25);
  background: rgba(0, 200, 83, 0.06);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--safe-green);
}

.trust-badge .badge-grade {
  font-weight: 700;
}

/* Quick Start Terminals */
.quickstart-terminals {
  display: flex;
  gap: 1.5rem;
}

.quickstart-terminals .terminal-window {
  flex: 1;
  min-width: 0;
}

/* CI/CD Section */
.cicd-card {
  max-width: 700px;
  margin: 0 auto;
}

/* CLI Flags */
.cli-flags {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cli-flag {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.cli-flag code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--primary-orange);
  white-space: nowrap;
  font-weight: 600;
}

.cli-flag span {
  font-size: 0.9rem;
}

.badges {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  align-items: center;
}

/* Code Block */
.code-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Timeline */
.roadmap-section {
  padding: 6rem 0 4rem;
  border-top: 1px solid var(--border-light);
  background: #000;
}

.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding-top: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Track line */
.timeline::before {
  content: '';
  position: absolute;
  top: calc(2rem + 7px);
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--border-light);
  transform: scaleX(0);
  transform-origin: left;
}

.fade-in.is-visible .timeline::before {
  animation: drawLine 0.8s ease-out both;
}

@keyframes drawLine {
  to { transform: scaleX(1); }
}

/* Node container */
.timeline-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Dot on the line */
.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--border-light);
  margin-bottom: 1.25rem;
  transform: scale(0);
}

.fade-in.is-visible .timeline-dot {
  animation: popIn 0.3s ease-out both;
}

.fade-in.is-visible .timeline-node:nth-child(1) .timeline-dot { animation-delay: 0.3s; }
.fade-in.is-visible .timeline-node:nth-child(2) .timeline-dot { animation-delay: 0.5s; }
.fade-in.is-visible .timeline-node:nth-child(3) .timeline-dot { animation-delay: 0.7s; }
.fade-in.is-visible .timeline-node:nth-child(4) .timeline-dot { animation-delay: 0.9s; }
.fade-in.is-visible .timeline-node:nth-child(5) .timeline-dot { animation-delay: 1.1s; }
.fade-in.is-visible .timeline-node:nth-child(6) .timeline-dot { animation-delay: 1.3s; }

@keyframes popIn {
  0% { transform: scale(0); }
  70% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Completed dot — green */
.timeline-node.completed .timeline-dot {
  border-color: var(--safe-green);
  box-shadow: 0 0 8px rgba(0, 200, 83, 0.3);
}

/* In-progress dot — orange with pulse */
.timeline-node.in-progress .timeline-dot {
  border-color: var(--primary-orange);
}

.fade-in.is-visible .timeline-node.in-progress .timeline-dot {
  animation: popIn 0.3s ease-out both, orangePulse 2s ease-in-out 1.5s infinite;
}

@keyframes orangePulse {
  0%, 100% { box-shadow: 0 0 6px rgba(255, 107, 0, 0.2); }
  50% { box-shadow: 0 0 16px rgba(255, 107, 0, 0.5); }
}

/* Planned dot — muted */
.timeline-node.planned .timeline-dot {
  border-color: rgba(255, 255, 255, 0.15);
}

/* Card below the dot */
.timeline-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.75rem;
  width: 100%;
  max-width: 130px;
  opacity: 0;
  transform: translateY(20px);
  text-align: center;
}

.fade-in.is-visible .timeline-card {
  animation: fadeUp 0.4s ease-out both;
}

.fade-in.is-visible .timeline-node:nth-child(1) .timeline-card { animation-delay: 0.4s; }
.fade-in.is-visible .timeline-node:nth-child(2) .timeline-card { animation-delay: 0.6s; }
.fade-in.is-visible .timeline-node:nth-child(3) .timeline-card { animation-delay: 0.8s; }
.fade-in.is-visible .timeline-node:nth-child(4) .timeline-card { animation-delay: 1.0s; }
.fade-in.is-visible .timeline-node:nth-child(5) .timeline-card { animation-delay: 1.2s; }
.fade-in.is-visible .timeline-node:nth-child(6) .timeline-card { animation-delay: 1.4s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline-card h4 {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.timeline-card p {
  font-size: 0.8rem;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

/* Status badges */
.timeline-status {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.timeline-status.completed {
  color: var(--safe-green);
  background: rgba(0, 200, 83, 0.1);
  border: 1px solid rgba(0, 200, 83, 0.2);
}

.timeline-status.in-progress {
  color: var(--primary-orange);
  background: var(--primary-orange-dim);
  border: 1px solid rgba(255, 107, 0, 0.2);
}

.timeline-status.planned {
  color: var(--text-muted);
  background: rgba(139, 139, 139, 0.1);
  border: 1px solid rgba(139, 139, 139, 0.15);
}

/* Waitlist */
.waitlist-section {
  padding: 4rem 0;
}

.waitlist-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 3rem 2.5rem;
}

.waitlist-form {
  display: flex;
  gap: 0.75rem;
}

.waitlist-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.waitlist-input::placeholder {
  color: var(--text-muted);
}

.waitlist-input:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 2px var(--primary-orange-dim);
}

.waitlist-btn {
  white-space: nowrap;
  font-family: var(--font-sans);
  border: none;
}

/* Footer */
.footer {
  padding: 3rem 0;
  border-top: none;
  background: var(--primary-orange);
}

.footer-text {
  color: #000;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  color: #000;
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: #2A1A00;
}

/* Animations & Particle Canvas */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 6rem 0 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .btn {
    width: 100%;
  }

  .terminal-body {
    font-size: 0.8rem;
    padding: 1rem;
  }

  .tab-bar-inner {
    gap: 0;
  }

  .tab-btn {
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
    flex: 1;
    text-align: center;
  }

  .tab-content {
    padding: 2rem 0;
  }

  /* Context comparison stacks on mobile */
  .comparison-boxes {
    flex-direction: column;
  }

  .comparison-box {
    max-width: none;
  }

  .comparison-vs {
    padding: 0.5rem 0;
  }

  .comparison-vs span br {
    display: none;
  }

  .comparison-vs span::after {
    content: ' ';
  }

  /* TLS cards scroll horizontally on mobile */
  .tls-cards {
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }

  .tls-card {
    min-width: 140px;
    padding: 1rem;
    flex-shrink: 0;
  }

  /* Pipeline stacks */
  .pipeline {
    flex-direction: column;
    align-items: center;
  }

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

  .pipeline-step {
    max-width: none;
    width: 100%;
  }

  /* Quick start terminals stack */
  .quickstart-terminals {
    flex-direction: column;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  /* Results table scrollable */
  .results-table th,
  .results-table td {
    padding: 0.625rem 0.75rem;
    font-size: 0.85rem;
  }

  .grading-table th,
  .grading-table td {
    padding: 0.75rem 1rem;
  }

  /* Timeline vertical */
  .timeline {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0;
    padding-left: 2rem;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 7px;
    right: auto;
    height: auto;
    width: 2px;
  }

  .fade-in.is-visible .timeline::before {
    animation-name: drawLineVertical;
  }

  @keyframes drawLineVertical {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
  }

  .timeline-node {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .timeline-node:last-child {
    margin-bottom: 0;
  }

  .timeline-dot {
    margin-bottom: 0;
    margin-top: 0.25rem;
    flex-shrink: 0;
  }

  .timeline-card {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .waitlist-form {
    flex-direction: column;
  }

  .waitlist-card {
    padding: 2rem 1.5rem;
  }

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