/* ============================================
   GoalsOS Marketing Site — Design System
   ============================================ */

:root {
  /* Colors */
  --bg: #1e1e2e;
  --bg-surface: #242436;
  --shadow-dark: #161624;
  --shadow-light: #2a2a40;
  --text-primary: #e8e8f0;
  --text-secondary: #8888a4;
  --accent: #7b9bd8;
  --accent-2: #a78bfa;
  --accent-hover: #6a8ac7;
  --success: #7cb88a;
  --warning: #c9956b;

  /* Gradients */
  --gradient-accent: linear-gradient(135deg, var(--accent), var(--accent-2));
  --gradient-accent-subtle: linear-gradient(135deg, rgba(123, 155, 216, 0.12), rgba(167, 139, 250, 0.08));

  /* Neumorphic shadows */
  --neu-raised: 6px 6px 14px var(--shadow-dark), -6px -6px 14px var(--shadow-light);
  --neu-raised-sm: 3px 3px 7px var(--shadow-dark), -3px -3px 7px var(--shadow-light);
  --neu-inset: inset 3px 3px 7px var(--shadow-dark), inset -3px -3px 7px var(--shadow-light);
  --neu-raised-hover: 8px 8px 20px var(--shadow-dark), -8px -8px 20px var(--shadow-light);
  --glow-accent: 0 0 24px rgba(123, 155, 216, 0.15);
  --glow-accent-strong: 0 0 40px rgba(123, 155, 216, 0.25);

  /* Typography */
  --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-hero: 64px;
  --font-size-h2: 38px;
  --font-size-body: 17px;
  --font-size-label: 11px;

  /* Spacing */
  --section-gap: 140px;
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--font-size-h2);
  font-weight: 700;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

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

.label {
  font-size: var(--font-size-label);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Neumorphic card */
.neu-card {
  background: var(--bg-surface);
  border-radius: 24px;
  box-shadow: var(--neu-raised);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.neu-card-sm {
  background: var(--bg-surface);
  border-radius: 16px;
  box-shadow: var(--neu-raised-sm);
  padding: 20px;
}

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

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

.reveal-left {
  transform: translateY(0) translateX(-30px);
}

.reveal-right {
  transform: translateY(0) translateX(30px);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================
   Section Spacing
   ============================================ */
section {
  padding: var(--section-gap) 0;
  position: relative;
}

/* ============================================
   Nav
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(30, 30, 46, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px 0;
  transition: box-shadow 0.4s ease, background 0.4s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo:hover {
  text-decoration: none;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  font-family: var(--font-stack);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  letter-spacing: -0.01em;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #ffffff;
  padding: 14px 28px;
  box-shadow: var(--neu-raised-sm), var(--glow-accent);
}

.btn-primary:hover {
  box-shadow: var(--neu-raised), var(--glow-accent-strong);
  color: #ffffff;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: 80px 0 var(--section-gap);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.5;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(123, 155, 216, 0.2) 0%, transparent 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-70%);
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.15) 0%, transparent 70%);
  top: 0;
  left: 50%;
  transform: translateX(20%);
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  background: var(--gradient-accent-subtle);
  border: 1px solid rgba(123, 155, 216, 0.15);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero-title {
  font-size: var(--font-size-hero);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}

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

.hero-tagline {
  font-size: 21px;
  color: var(--text-secondary);
  margin-bottom: 44px;
  line-height: 1.6;
}

/* ============================================
   Waitlist Form
   ============================================ */
.waitlist-form {
  max-width: 480px;
  margin: 0 auto 64px;
}

.waitlist-input-group {
  display: flex;
  gap: 12px;
}

.waitlist-input {
  flex: 1;
  font-family: var(--font-stack);
  font-size: 15px;
  padding: 15px 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: var(--bg-surface);
  box-shadow: var(--neu-inset);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.waitlist-input:focus {
  border-color: rgba(123, 155, 216, 0.4);
  box-shadow: var(--neu-inset), 0 0 0 3px rgba(123, 155, 216, 0.1);
}

.waitlist-success {
  font-size: 18px;
  color: var(--success);
  font-weight: 600;
  padding: 14px 0;
}

/* ============================================
   Hero Mockup
   ============================================ */
.hero-mockup {
  max-width: 380px;
  margin: 0 auto;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mockup { animation: none; }
}

.mockup-now-card {
  text-align: left;
  position: relative;
}

.mockup-now-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(123, 155, 216, 0.2), rgba(167, 139, 250, 0.1), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.mockup-task-title {
  font-size: 20px;
  font-weight: 600;
  margin: 14px 0 6px;
}

.mockup-task-meta {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ============================================
   Text Sections (Problem / Solution)
   ============================================ */
.text-section {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.text-section h2 {
  margin-bottom: 28px;
}

.text-section p {
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.75;
}

.text-section p:last-child {
  margin-bottom: 0;
}

.text-section strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ============================================
   Feature Sections
   ============================================ */
.feature {
  padding: var(--section-gap) 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.feature-grid.reverse .feature-text {
  order: 2;
}

.feature-grid.reverse .feature-mockup {
  order: 1;
}

.feature-label {
  display: inline-block;
  background: var(--gradient-accent-subtle);
  border: 1px solid rgba(123, 155, 216, 0.1);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  color: var(--accent);
}

.feature-text h2 {
  margin-bottom: 18px;
}

.feature-text p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.75;
}

/* Generic mockup container */
.feature-mockup-inner {
  background: var(--bg-surface);
  border-radius: 24px;
  box-shadow: var(--neu-raised);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-mockup-inner:hover {
  box-shadow: var(--neu-raised-hover), var(--glow-accent);
  transform: translateY(-4px);
}

/* ============================================
   Mockup: Energy Buttons
   ============================================ */
.mockup-energy {
  text-align: center;
}

.energy-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 20px 0;
}

.energy-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--bg);
  box-shadow: var(--neu-raised-sm);
  font-family: var(--font-stack);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: default;
  transition: box-shadow 0.3s ease, color 0.3s ease;
}

.energy-btn.active {
  box-shadow: var(--neu-inset), 0 0 12px rgba(123, 155, 216, 0.2);
  color: var(--accent);
}

.mockup-status {
  font-size: 14px;
  color: var(--success);
  font-weight: 500;
}

/* ============================================
   Mockup: Daily Plan
   ============================================ */
.plan-badge {
  display: inline-block;
  font-size: var(--font-size-label);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--success);
  background: rgba(124, 184, 138, 0.1);
  border: 1px solid rgba(124, 184, 138, 0.15);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  font-weight: 600;
}

.plan-block {
  margin-bottom: 16px;
}

.plan-block:last-child {
  margin-bottom: 0;
}

.plan-block .label {
  display: block;
  margin-bottom: 8px;
}

.plan-task {
  background: var(--bg);
  box-shadow: var(--neu-raised-sm);
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 14px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: transform 0.2s ease;
}

/* ============================================
   Mockup: Now Card (Feature)
   ============================================ */
.mockup-now-card-feature {
  position: relative;
}

.mockup-now-card-feature::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(123, 155, 216, 0.25), rgba(167, 139, 250, 0.12), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.mockup-now-card-feature .mockup-task-title {
  font-size: 22px;
}

.mockup-now-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.mock-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: default;
  transition: transform 0.2s ease;
}

.mock-btn-primary {
  background: var(--gradient-accent);
  color: #ffffff;
  box-shadow: var(--neu-raised-sm), 0 0 12px rgba(123, 155, 216, 0.15);
}

.mock-btn-secondary {
  background: var(--bg);
  color: var(--text-secondary);
  box-shadow: var(--neu-raised-sm);
}

/* ============================================
   Mockup: Weekly Planning
   ============================================ */
.weekly-grid {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 140px;
  margin-bottom: 16px;
}

.weekly-day {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: flex-end;
}

.weekly-label {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
  order: 2;
}

.weekly-bar {
  width: 100%;
  background: var(--gradient-accent);
  border-radius: 6px 6px 0 0;
  opacity: 0.6;
  order: 1;
  transition: opacity 0.3s ease;
}

.weekly-bar-warning {
  background: linear-gradient(to top, var(--warning), #d4a574);
  opacity: 0.8;
}

.mockup-weekly-warning {
  font-size: 13px;
  color: var(--warning);
  font-weight: 500;
  text-align: center;
}

/* ============================================
   Mockup: Voice Brain Dumps
   ============================================ */
.mockup-voice {
  text-align: center;
}

.voice-mic-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: var(--neu-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: pulse-ring 2.5s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { box-shadow: var(--neu-raised); }
  50% { box-shadow: var(--neu-raised), 0 0 0 14px rgba(123, 155, 216, 0.08), 0 0 0 28px rgba(123, 155, 216, 0.03); }
}

@media (prefers-reduced-motion: reduce) {
  .voice-mic-ring { animation: none; }
}

.voice-mic-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(123, 155, 216, 0.25);
}

.voice-waveform {
  display: flex;
  gap: 3px;
  justify-content: center;
  align-items: center;
  height: 40px;
  margin-bottom: 20px;
}

.wave-bar {
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.4;
  animation: wave-pulse 1.5s ease-in-out infinite;
}

.wave-bar:nth-child(2) { animation-delay: 0.1s; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; }
.wave-bar:nth-child(5) { animation-delay: 0.4s; }
.wave-bar:nth-child(6) { animation-delay: 0.5s; }
.wave-bar:nth-child(7) { animation-delay: 0.6s; }
.wave-bar:nth-child(8) { animation-delay: 0.7s; }
.wave-bar:nth-child(9) { animation-delay: 0.8s; }
.wave-bar:nth-child(10) { animation-delay: 0.9s; }

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

@media (prefers-reduced-motion: reduce) {
  .wave-bar { animation: none; opacity: 0.5; }
}

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

/* ============================================
   Mockup: Burnout Detection
   ============================================ */
.burnout-banner {
  text-align: center;
}

.burnout-message {
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.burnout-meter {
  margin-bottom: 20px;
}

.burnout-meter-track {
  height: 8px;
  background: var(--bg);
  box-shadow: var(--neu-inset);
  border-radius: 4px;
  margin-bottom: 8px;
  overflow: hidden;
}

.burnout-meter-fill {
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, var(--warning), #d4a574);
  border-radius: 4px;
}

.burnout-meter-label {
  font-size: 12px;
  color: var(--warning);
  font-weight: 500;
}

/* ============================================
   Mockup: Goals & Themes
   ============================================ */
.goals-theme-title {
  font-size: 20px;
  font-weight: 600;
  margin: 12px 0 16px;
}

.goals-progress-track {
  height: 8px;
  background: var(--bg);
  box-shadow: var(--neu-inset);
  border-radius: 4px;
  margin-bottom: 8px;
  overflow: hidden;
}

.goals-progress-fill {
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 4px;
}

.goals-progress-label {
  font-size: 13px;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 16px;
}

.goals-tasks {
  margin-top: 4px;
}

.goals-task-done {
  text-decoration: line-through;
  color: var(--text-secondary);
  opacity: 0.6;
}

/* ============================================
   Mockup: Habits & Streaks
   ============================================ */
.habit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.habit-row:last-of-type {
  border-bottom: none;
}

.habit-name {
  font-size: 15px;
  font-weight: 500;
}

.habit-check {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--bg);
  box-shadow: var(--neu-raised-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-secondary);
}

.habit-checked {
  box-shadow: var(--neu-inset);
  color: var(--success);
}

.habit-numeric {
  font-size: 13px;
  color: var(--text-secondary);
}

.habit-scale {
  display: flex;
  gap: 6px;
}

.habit-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: var(--neu-raised-sm);
}

.habit-dot-active {
  box-shadow: var(--neu-inset);
  background: var(--accent);
}

.habit-streak {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
}

.habit-streak-flame {
  font-size: 20px;
}

.habit-streak-count {
  font-size: 16px;
  font-weight: 600;
}

.habit-streak-best {
  font-size: 13px;
  color: var(--text-secondary);
  margin-left: auto;
}

/* ============================================
   Daily Flow Timeline
   ============================================ */
.daily-flow h2 {
  text-align: center;
  margin-bottom: 64px;
}

.timeline {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  padding-left: 64px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2), transparent);
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

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

.timeline-marker {
  position: absolute;
  left: -64px;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  box-shadow: var(--neu-raised-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid rgba(123, 155, 216, 0.1);
}

.timeline-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-content p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* ============================================
   Comparison Table
   ============================================ */
.comparison h2 {
  text-align: center;
  margin-bottom: 48px;
}

.comparison-table {
  max-width: 800px;
  margin: 0 auto;
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 12px;
}

.comparison-header .comparison-col {
  font-size: var(--font-size-label);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-secondary);
  font-weight: 600;
  padding: 12px 20px;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 8px;
}

.comparison-col {
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 15px;
}

.comparison-row .comparison-col:first-child {
  color: var(--text-secondary);
  text-decoration: line-through;
  opacity: 0.6;
}

.comparison-col-highlight {
  background: var(--bg-surface);
  box-shadow: var(--neu-raised-sm);
  color: var(--text-primary);
  font-weight: 500;
  border: 1px solid rgba(123, 155, 216, 0.06);
}

/* ============================================
   Final CTA
   ============================================ */
.final-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  width: 600px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(123, 155, 216, 0.1) 0%, rgba(167, 139, 250, 0.05) 40%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.final-cta .waitlist-form {
  margin-top: 32px;
  margin-bottom: 0;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.footer-links {
  display: flex;
  gap: 24px;
}

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

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

.footer-copy {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ============================================
   Responsive: Tablet (768-1024px)
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-gap: 100px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-grid.reverse .feature-text {
    order: 1;
  }

  .feature-grid.reverse .feature-mockup {
    order: 2;
  }

  .reveal-left,
  .reveal-right {
    transform: translateY(24px) translateX(0);
  }
}

/* ============================================
   Responsive: Mobile (<768px)
   ============================================ */
@media (max-width: 768px) {
  :root {
    --section-gap: 80px;
    --font-size-hero: 40px;
    --font-size-h2: 28px;
    --font-size-body: 16px;
  }

  .container {
    padding: 0 20px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-tagline {
    font-size: 17px;
  }

  .hero-tagline br {
    display: none;
  }

  .hero-glow-1 { width: 300px; height: 300px; }
  .hero-glow-2 { width: 250px; height: 250px; }

  .waitlist-input-group {
    flex-direction: column;
  }

  .waitlist-input,
  .waitlist-form .btn {
    width: 100%;
  }

  .text-section p {
    font-size: 16px;
  }

  /* Comparison: stack columns */
  .comparison-header,
  .comparison-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .comparison-header .comparison-col:first-child {
    display: none;
  }

  .comparison-row .comparison-col:first-child {
    font-size: 14px;
    padding: 8px 16px;
  }

  /* Footer: stack */
  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Timeline adjust */
  .timeline {
    padding-left: 52px;
  }

  .timeline-marker {
    left: -52px;
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .timeline::before {
    left: 17px;
  }
}

/* ============================================
   Legal Pages (Terms, Privacy)
   ============================================ */
.legal-page {
  padding: 80px 0 var(--section-gap);
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: var(--font-size-h2);
  font-weight: 700;
  margin-bottom: 8px;
}

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

.legal-content h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
