/* ============================================
   From Zero to Claude Code — Landing Page
   about.zero2claude.dev
   ============================================ */

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

/* --- Custom Properties --- */
:root {
  --bg-primary: #09090B;
  --bg-secondary: #0F0F13;
  --bg-card: #141419;
  --bg-elevated: #1C1C24;

  --text-primary: #EAEAEC;
  --text-secondary: #8E8E9E;
  --text-muted: #78788A;

  --accent: #FF6B35;
  --accent-soft: rgba(255, 107, 53, 0.08);
  --accent-glow: rgba(255, 107, 53, 0.15);
  --accent-border: rgba(255, 107, 53, 0.2);

  --green: #22C55E;
  --green-soft: rgba(34, 197, 94, 0.1);
  --blue: #3B82F6;
  --blue-soft: rgba(59, 130, 246, 0.1);
  --teal: #14B8A6;
  --teal-soft: rgba(20, 184, 166, 0.1);
  --yellow: #EAB308;
  --yellow-soft: rgba(234, 179, 8, 0.1);

  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);

  --shadow-card: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-button: 0 0 20px rgba(255, 107, 53, 0.25);
  --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.12);

  --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  --font-mono: 'Monaco', 'Menlo', 'JetBrains Mono', 'Cascadia Code', ui-monospace, monospace;

  --header-height: 64px;
  --container-max: 1120px;
  --section-padding: 80px 20px;
}

/* --- Light Mode --- */
[data-theme="light"] {
  --bg-primary: #FAFAF8;
  --bg-secondary: #F3F1EE;
  --bg-card: #FFFFFF;
  --bg-elevated: #EDECEA;

  --text-primary: #111113;
  --text-secondary: #4A4A52;
  --text-muted: #8A8A96;

  --accent-soft: rgba(255, 107, 53, 0.06);
  --accent-glow: rgba(255, 107, 53, 0.1);
  --accent-border: rgba(255, 107, 53, 0.25);

  --green-soft: rgba(34, 197, 94, 0.08);
  --blue-soft: rgba(59, 130, 246, 0.08);
  --teal-soft: rgba(20, 184, 166, 0.08);
  --yellow-soft: rgba(234, 179, 8, 0.08);

  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);

  --shadow-card: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-button: 0 0 20px rgba(255, 107, 53, 0.2);
  --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.08);
}

[data-theme="light"] .site-header {
  background: rgba(250, 250, 248, 0.85);
}

[data-theme="light"] .mobile-nav {
  background: rgba(250, 250, 248, 0.97);
}

[data-theme="light"] .terminal-mockup {
  background: #1A1A20;
  border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .terminal-titlebar {
  background: #222228;
}

[data-theme="light"] .hero-glow {
  background: radial-gradient(ellipse, rgba(255, 107, 53, 0.04) 0%, transparent 70%);
}

[data-theme="light"] ::selection {
  background-color: rgba(255, 107, 53, 0.2);
  color: #111113;
}

[data-theme="light"] ::-webkit-scrollbar-track { background: var(--bg-secondary); }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.15); }

/* --- Base --- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

::selection {
  background-color: rgba(255, 107, 53, 0.25);
  color: var(--text-primary);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-mono);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.125rem; }

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

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

section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.accent-underline {
  display: inline-block;
  position: relative;
}

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

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  z-index: 100;
  font-size: 0.875rem;
}
.skip-link:focus {
  top: 8px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 20, 25, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.logo svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Desktop nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 32px;
}

.desktop-nav a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--text-primary);
  opacity: 1;
}

.desktop-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* Hamburger */
.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  padding: 0;
}

.hamburger svg {
  width: 24px;
  height: 24px;
}

/* Mobile overlay nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  background: rgba(9, 9, 11, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-close svg {
  width: 24px;
  height: 24px;
}

.mobile-nav a {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 500;
}

.mobile-nav a:hover {
  color: var(--accent);
}

/* Header right (mobile) */
.header-right-mobile {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 0;
  transition: color 0.2s, border-color 0.2s;
}

.theme-toggle:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

/* Show sun in dark mode, moon in light mode */
.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: block; }

[data-theme="light"] .theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }

/* Hide the mobile theme toggle on desktop (nav has its own) */
.desktop-nav .theme-toggle {
  display: none;
}

/* CTA button (header) */
.btn-header-cta {
  display: none;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--accent);
  color: white;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: var(--shadow-button);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(255, 107, 53, 0.35);
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}

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

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s, transform 0.3s;
}

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

/* Icon container */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.icon-box.green {
  background: var(--green-soft);
  border-color: rgba(34, 197, 94, 0.2);
}

.icon-box.blue {
  background: var(--blue-soft);
  border-color: rgba(59, 130, 246, 0.2);
}

.icon-box.teal {
  background: var(--teal-soft);
  border-color: rgba(20, 184, 166, 0.2);
}

.icon-box.yellow {
  background: var(--yellow-soft);
  border-color: rgba(234, 179, 8, 0.2);
}

/* Badge */
.badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-mono);
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 80px 20px 60px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 107, 53, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

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

.hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 14px;
  margin-bottom: 24px;
}

.hero-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.hero-title {
  font-size: 1.75rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-headline {
  font-size: 1.15rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.5;
}

.hero-subtext {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* Checkmark bullets */
.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: center;
  margin-bottom: 36px;
  list-style: none;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.hero-bullets li svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex-shrink: 0;
}

/* Hero CTAs */
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

/* Terminal mockup */
.terminal-mockup {
  max-width: 480px;
  margin: 0 auto;
  background: #1A1A20;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.terminal-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: #222228;
  border-bottom: 1px solid var(--border);
}

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

.terminal-dot.red { background: #EF4444; }
.terminal-dot.yellow { background: #EAB308; }
.terminal-dot.green { background: #22C55E; }

.terminal-body {
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.8;
}

.terminal-line {
  white-space: nowrap;
  overflow: hidden;
}

.terminal-prompt {
  color: #6ABF69;
}

.terminal-command {
  color: #F0ECE4;
}

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

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

/* Typing animation */
.terminal-line {
  opacity: 0;
  animation: type-line 0.3s ease-out forwards;
}

.terminal-line:nth-child(1) { animation-delay: 0.5s; }
.terminal-line:nth-child(2) { animation-delay: 1.2s; }
.terminal-line:nth-child(3) { animation-delay: 2s; }
.terminal-line:nth-child(4) { animation-delay: 2.7s; }
.terminal-line:nth-child(5) { animation-delay: 3.5s; }
.terminal-line:nth-child(6) { animation-delay: 4.2s; }

@keyframes type-line {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* ============================================
   JOURNEY — Level Cards
   ============================================ */
.journey-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.level-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.level-card .icon-box {
  font-size: 1.5rem;
}

.level-card-content {
  flex: 1;
  min-width: 0;
}

.level-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}

.level-card h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.level-card .subtitle {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.level-card .encouragement {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-style: italic;
}

.level-card .lesson-count {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: var(--bg-elevated);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ============================================
   HOW IT WORKS — Steps
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}

.step-card h3 {
  margin-bottom: 8px;
}

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

.step-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

/* ============================================
   FEATURES — Why It's Fun
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-card .icon-box {
  margin-bottom: 16px;
}

.feature-card h3 {
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================
   PERSONA Cards
   ============================================ */
.persona-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

.persona-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 1.75rem;
  margin-bottom: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
}

.persona-card h3 {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 1rem;
}

.persona-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================
   GETTING STARTED
   ============================================ */
.getting-started-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.signup-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 420px;
}

.signup-steps li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  color: var(--text-secondary);
}

.signup-steps .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

/* Form mockup */
.form-mockup {
  width: 100%;
  max-width: 360px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
}

.form-mockup-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  margin: 0 auto 16px;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent);
  font-weight: 700;
}

.form-mockup h3 {
  text-align: center;
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.form-mockup .form-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 20px;
}

.mock-input {
  display: block;
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--font-sans);
  margin-bottom: 10px;
  pointer-events: none;
}

.mock-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: white;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  margin-top: 16px;
  pointer-events: none;
}

.getting-started-cta {
  text-align: center;
  margin-top: 16px;
}

.getting-started-cta .reassurance {
  display: block;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: 40px 20px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.footer-logo svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

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

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

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

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

/* Stagger children */
.stagger-children .fade-in:nth-child(1) { transition-delay: 0ms; }
.stagger-children .fade-in:nth-child(2) { transition-delay: 60ms; }
.stagger-children .fade-in:nth-child(3) { transition-delay: 120ms; }
.stagger-children .fade-in:nth-child(4) { transition-delay: 180ms; }
.stagger-children .fade-in:nth-child(5) { transition-delay: 240ms; }
.stagger-children .fade-in:nth-child(6) { transition-delay: 300ms; }
.stagger-children .fade-in:nth-child(7) { transition-delay: 360ms; }
.stagger-children .fade-in:nth-child(8) { transition-delay: 420ms; }
.stagger-children .fade-in:nth-child(9) { transition-delay: 480ms; }

/* ============================================
   RESPONSIVE — Tablet (>=640px)
   ============================================ */
@media (min-width: 640px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  .hero-title { font-size: 2.25rem; }
  .hero-headline { font-size: 1.25rem; }

  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }

  .journey-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .persona-grid { grid-template-columns: 1fr 1fr 1fr; }

  .getting-started-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }
}

/* ============================================
   RESPONSIVE — Desktop (>=768px)
   ============================================ */
@media (min-width: 768px) {
  :root {
    --section-padding: 100px 20px;
  }

  .hamburger { display: none; }

  .header-right-mobile .theme-toggle { display: none; }

  .desktop-nav { display: flex; }

  .desktop-nav .theme-toggle { display: flex; }

  .desktop-nav .btn-header-cta {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: var(--accent);
    color: white;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: var(--shadow-glow);
    transition: box-shadow 0.2s, transform 0.2s;
    text-decoration: none;
  }

  .desktop-nav .btn-header-cta:hover {
    box-shadow: var(--shadow-button);
    transform: translateY(-1px);
    color: white;
    opacity: 1;
  }

  .hero { padding: 120px 20px 80px; }
}

/* ============================================
   RESPONSIVE — Large (>=1024px)
   ============================================ */
@media (min-width: 1024px) {
  .hero-title { font-size: 2.75rem; }

  .journey-grid { grid-template-columns: 1fr 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .terminal-line {
    opacity: 1;
    animation: none;
  }

  .terminal-cursor {
    animation: none;
    opacity: 1;
  }
}

/* Touch targets */
@media (pointer: coarse) {
  .btn-primary,
  .btn-secondary,
  .hamburger,
  .mobile-nav-close {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Body scroll lock when mobile nav open */
body.nav-open {
  overflow: hidden;
}
