:root {
  --bg: #0a0a0f;
  --surface: #111118;
  --surface-alt: #1a1a24;
  --surface-elevated: #1a1a24;
  --border: #2a2a3a;
  --text: #c8c8d8;
  --text-muted: #9494b0;
  --text-dim: #8888a0;
  --text-bright: #e8e8f0;
  --accent: #00d4ff;
  --red: #ff4444;
  --orange: #ff8c00;
  --yellow: #ffd700;
  --green: #44ff88;
  --surface-marketing: #0f0f17;
  --terminal-bg: #0d0d14;
  --terminal-border: #1e1e2e;
  --terminal-green: #44ff88;
  --terminal-cyan: #00d4ff;
  --terminal-dim: #555577;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.85;
}

img {
  max-width: 100%;
}

/* ─── Navigation ─── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: var(--surface);
  box-shadow: 0 1px 0 var(--border);
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
}

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

.nav-link {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text-bright);
  opacity: 1;
}

.nav-cta {
  display: inline-block;
  padding: 8px 20px;
  background: var(--accent);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: opacity 0.2s, transform 0.2s;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ─── Hero ─── */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 160px 24px 100px;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--bg);
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--text-bright);
  opacity: 1;
}

/* ─── Fade-in Items ─── */

.fade-in-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ─── Hero Terminal ─── */

.hero-terminal {
  max-width: 600px;
  width: 100%;
  margin: 0 auto 40px;
  background: var(--terminal-bg);
  border: 1px solid var(--terminal-border);
  border-radius: 10px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  text-align: left;
}

.hero-terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  background: #09090e;
  border-bottom: 1px solid var(--terminal-border);
}

.term-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.term-dot.red { background: #ff5f57; }
.term-dot.yellow { background: #febc2e; }
.term-dot.green { background: #28c840; }

.term-bar-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--terminal-dim);
  margin-right: 36px;
}

.hero-terminal-body {
  padding: 16px 20px;
  min-height: 160px;
  overflow-x: auto;
}

.term-line {
  opacity: 0;
  white-space: pre-wrap;
  word-break: break-all;
}

.term-line.typed {
  opacity: 1;
}

.term-prompt {
  color: var(--terminal-green);
}

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

.term-output {
  color: var(--terminal-dim);
}

.term-highlight {
  color: var(--terminal-cyan);
}

.term-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--terminal-green);
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
  margin-left: 2px;
}

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

/* ─── Sections ─── */

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.section-alt {
  background: var(--surface-marketing);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-bright);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ─── Problem Grid ─── */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color 0.3s, transform 0.2s;
}

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

.problem-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--accent);
}

.problem-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Steps (How It Works) ─── */

.steps {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  position: relative;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  font-size: 18px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.step-icon {
  width: 56px;
  height: 56px;
  color: var(--accent);
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.step-connector {
  display: none;
}

@media (min-width: 769px) {
  .step-connector {
    display: block;
    position: absolute;
    top: 20px;
    right: -16px;
    width: 32px;
    height: 2px;
    background: var(--border);
  }

  .step:last-child .step-connector {
    display: none;
  }
}

/* ─── Token Cards ─── */

.token-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.token-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 28px 24px;
  transition: transform 0.2s;
}

.token-card:hover {
  transform: translateY(-2px);
}

.token-card.extraction {
  border-left-color: var(--orange);
}

.token-card.canary {
  border-left-color: var(--red);
}

.token-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.token-card:nth-child(1) .token-badge {
  background: rgba(0, 212, 255, 0.12);
  color: var(--accent);
}

.token-card:nth-child(2) .token-badge {
  background: rgba(255, 140, 0, 0.12);
  color: var(--orange);
}

.token-card:nth-child(3) .token-badge {
  background: rgba(255, 68, 68, 0.12);
  color: var(--red);
}

.token-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 10px;
}

.token-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── Demo CTA ─── */

.demo-cta-wrapper {
  max-width: 600px;
  margin: 48px auto 0;
}

.demo-cta-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  text-decoration: none;
  transition: border-color 0.3s, transform 0.2s;
}

.demo-cta-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  opacity: 1;
}

.demo-cta-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.demo-cta-label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 4px;
}

.demo-cta-desc {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.demo-cta-arrow {
  font-size: 24px;
  color: var(--accent);
  margin-left: auto;
  flex-shrink: 0;
}

/* ─── Dashboard Preview ─── */

.dashboard-preview-wrapper {
  position: relative;
  max-width: 900px;
  margin: 48px auto 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.dashboard-preview-img {
  width: 100%;
  height: auto;
  display: block;
}

.dashboard-annotations {
  position: absolute;
  inset: 0;
}

.dashboard-annotation {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
}

.annotation-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

.annotation-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-bright);
  background: rgba(10, 10, 15, 0.85);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
  white-space: nowrap;
}

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

/* ─── Comparison Table ─── */

.table-wrapper {
  overflow-x: auto;
  margin-top: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  position: relative;
}

.table-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 32px;
  background: linear-gradient(to right, transparent, var(--bg));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 14px;
}

.comparison-table th {
  background: var(--surface-alt);
  color: var(--text-bright);
  font-weight: 600;
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.comparison-table th.highlight-col {
  color: var(--accent);
  position: relative;
}

.comparison-table th.highlight-col::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.comparison-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--surface-alt);
}

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  white-space: nowrap;
  transition: background 0.2s;
}

.comparison-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.01);
}

.comparison-table tbody tr:hover td {
  background: rgba(0, 212, 255, 0.03);
}

.comparison-table tbody tr:hover td:first-child {
  background: rgba(0, 212, 255, 0.03);
}

.comparison-table td:first-child {
  position: sticky;
  left: 0;
  background: var(--surface);
  color: var(--text);
  font-weight: 500;
}

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

.comparison-table .check {
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
}

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

.comparison-table .partial {
  color: var(--yellow);
  font-size: 12px;
}

.comparison-table .highlight-col {
  background: rgba(0, 212, 255, 0.08);
}

/* ─── Pricing Grid ─── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

.pricing-card:hover {
  transform: translateY(-2px);
}

.pricing-card.featured {
  border-color: var(--accent);
  position: relative;
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: 4px;
}

.pricing-tier {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2344ff88'%3E%3Cpath d='M6.5 12.5l-4-4 1.4-1.4L6.5 9.7l5.6-5.6 1.4 1.4z'/%3E%3C/svg%3E") no-repeat center;
  flex-shrink: 0;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
  text-align: center;
  width: 100%;
}

/* ─── Social Proof / Testimonials ─── */

.trusted-counter {
  text-align: center;
  margin-bottom: 48px;
}

.trusted-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.trusted-label {
  font-size: 16px;
  color: var(--text-muted);
}

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

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
}

.testimonial-quote {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 28px;
  color: var(--accent);
  font-style: normal;
  line-height: 0;
  vertical-align: -8px;
  margin-right: 4px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-bright);
}

.testimonial-title {
  font-size: 12px;
  color: var(--text-muted);
}

/* ─── Footer ─── */

.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-heading {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-bright);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── Vibe Coder Setup Prompt ─── */

.setup-prompt-section {
  max-width: 640px;
  margin: 56px auto 0;
  text-align: center;
}

.setup-prompt-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
  margin-bottom: 16px;
}

.setup-prompt-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.setup-prompt-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.setup-prompt-block {
  background: var(--terminal-bg);
  border: 1px solid var(--terminal-border);
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
}

.setup-prompt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #09090e;
  border-bottom: 1px solid var(--terminal-border);
}

.setup-prompt-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--terminal-dim);
  font-family: var(--font-mono);
}

.setup-prompt-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 5px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.setup-prompt-copy:hover {
  background: rgba(0, 212, 255, 0.18);
  border-color: rgba(0, 212, 255, 0.4);
}

.setup-prompt-copy.copied {
  color: var(--green);
  border-color: rgba(68, 255, 136, 0.3);
  background: rgba(68, 255, 136, 0.1);
}

.setup-prompt-text {
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}

/* ─── Tech Toggle (Expandable Details) ─── */

.tech-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 0;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: opacity 0.2s;
}

.tech-toggle:hover {
  opacity: 0.8;
}

.tech-toggle svg {
  transition: transform 0.25s ease;
}

.tech-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.tech-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.35s ease;
  opacity: 0;
  margin-top: 0;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
  padding: 0 0 0 0;
  border-left: 2px solid var(--border);
  padding-left: 14px;
}

.tech-details.open {
  max-height: 200px;
  opacity: 1;
  margin-top: 12px;
}

/* ─── Comparison Cards ─── */

.compare-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.compare-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  transition: transform 0.2s;
}

.compare-card:hover {
  transform: translateY(-2px);
}

.compare-card.compare-featured {
  border-color: var(--accent);
}

.compare-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.compare-card-header h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-bright);
  margin: 0;
}

.compare-card-header.compare-dim h3 {
  color: var(--text-muted);
}

.compare-icon {
  font-size: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--surface-alt);
  flex-shrink: 0;
}

.compare-featured .compare-icon {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
}

.compare-list {
  list-style: none;
  padding: 20px 24px;
}

.compare-list li {
  font-size: 14px;
  padding: 7px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.compare-list li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.compare-pro::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2344ff88'%3E%3Cpath d='M6.5 12.5l-4-4 1.4-1.4L6.5 9.7l5.6-5.6 1.4 1.4z'/%3E%3C/svg%3E") no-repeat center;
}

.compare-pro {
  color: var(--text);
}

.compare-con::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff4444'%3E%3Cpath d='M4.5 4.5l7 7M11.5 4.5l-7 7' stroke='%23ff4444' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat center;
}

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

.compare-neutral::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8h8' stroke='%23ffd700' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat center;
}

.compare-neutral {
  color: var(--text);
}

/* ─── Legal Pages ─── */

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.legal-page h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-bright);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-page p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-back {
  display: inline-block;
  margin-top: 40px;
  font-size: 14px;
}

/* ─── Responsive: Tablet ─── */

@media (max-width: 1024px) {
  .problem-grid,
  .compare-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero h1 {
    font-size: 42px;
  }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-burger {
    display: flex;
  }

  .hero {
    padding: 120px 24px 60px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .section {
    padding: 60px 24px;
  }

  .section-title {
    font-size: 26px;
  }

  .steps {
    flex-direction: column;
    gap: 32px;
  }

  .step-connector {
    display: none !important;
  }

  .token-cards,
  .compare-cards {
    grid-template-columns: 1fr;
  }

  .compare-cards {
    max-width: none;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .table-wrapper::after {
    opacity: 1;
  }

  .demo-cta-card {
    flex-direction: column;
    text-align: center;
  }

  .demo-cta-arrow {
    display: none;
  }

  .dashboard-preview-wrapper {
    margin-top: 32px;
  }

  .dashboard-annotation .annotation-label {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .trusted-number {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons a {
    text-align: center;
  }

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

  .hero-terminal {
    font-size: 11px;
  }

  .hero-terminal-body {
    padding: 12px 14px;
    min-height: 140px;
  }

  .demo-cta-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .section-title {
    font-size: 22px;
  }

  .pricing-price {
    font-size: 32px;
  }

  .nav {
    padding: 0 16px;
  }

  .section {
    padding: 48px 16px;
  }
}
