/* ==========================================================================
   SavedTrips Marketing Site — main.css
   ========================================================================== */

/* 1. Reset
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

button, input, select, textarea {
  font: inherit;
}

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

ul, ol {
  list-style: none;
}

/* 2. Custom Properties
   ========================================================================== */

:root {
  /* Primary */
  --coral-50: #fef3f0;
  --coral-100: #fde4dd;
  --coral-200: #fcc8b8;
  --coral-300: #f9a68a;
  --coral-400: #f0795b;
  --coral-500: #E8634A;
  --coral-600: #d14e35;
  --coral-700: #b03c28;
  --coral-800: #8e3222;
  --coral-900: #742d20;

  /* Secondary */
  --sage-50: #f0f7f0;
  --sage-100: #dceede;
  --sage-200: #bde0bf;
  --sage-300: #96cb99;
  --sage-400: #7BAE7F;
  --sage-500: #5a9360;
  --sage-600: #467549;
  --sage-700: #395e3c;
  --sage-800: #304c33;
  --sage-900: #293f2c;

  /* Neutrals */
  --charcoal: #1A1A1A;
  --cream: #FAFAF8;
  --surface: #ffffff;
  --warmgray-50: #FAF9F7;
  --warmgray-100: #F3F2EF;
  --warmgray-200: #E8E6E1;
  --warmgray-300: #D4D1CA;
  --warmgray-400: #B5B0A8;
  --warmgray-500: #8E8E8E;
  --warmgray-600: #6E6E6E;
  --warmgray-700: #4A4A4A;
  --warmgray-800: #333333;
  --warmgray-900: #1A1A1A;

  /* Functional */
  --background: #FAFAF8;
  --text-primary: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-muted: #8E8E8E;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26, 26, 26, 0.04), 0 1px 2px rgba(26, 26, 26, 0.06);
  --shadow-md: 0 4px 12px rgba(26, 26, 26, 0.08), 0 2px 4px rgba(26, 26, 26, 0.04);
  --shadow-lg: 0 12px 40px rgba(26, 26, 26, 0.12), 0 4px 12px rgba(26, 26, 26, 0.06);
  --shadow-xl: 0 24px 60px rgba(26, 26, 26, 0.16), 0 8px 20px rgba(26, 26, 26, 0.08);
  --shadow-glow: 0 0 40px rgba(232, 99, 74, 0.15);

  /* Spacing & Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --section-padding: clamp(4rem, 8vw, 8rem);
  --content-padding: clamp(1rem, 3vw, 2rem);
  --card-radius: 16px;
  --card-radius-lg: 24px;
  --button-radius: 9999px;
  --button-radius-sm: 12px;
}

/* 3. Base Typography
   ========================================================================== */

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--charcoal);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.65;
  color: var(--text-secondary);
}

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

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

/* 4. Layout
   ========================================================================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--content-padding);
  padding-right: var(--content-padding);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding-left: var(--content-padding);
  padding-right: var(--content-padding);
}

.section-intro {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.5rem;
  background: var(--coral-500);
  color: var(--surface);
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--button-radius);
  transition: top 0.2s;
}

.skip-link:focus-visible {
  top: 1rem;
}

/* 5. Components
   ========================================================================== */

/* --- Navigation --- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem var(--content-padding);
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.nav.scrolled {
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(26, 26, 26, 0.06);
  padding: 0.75rem var(--content-padding);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.nav-logo svg {
  width: 32px;
  height: 32px;
}

.nav-logo .logo-saved {
  color: var(--charcoal);
}

.nav-logo .logo-trips {
  color: var(--coral-500);
}

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

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral-500);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--charcoal);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

.nav-links a:focus-visible {
  outline: 2px solid var(--coral-500);
  outline-offset: 4px;
  border-radius: 2px;
}

.nav-cta {
  flex-shrink: 0;
}

/* Hamburger */

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-hamburger:focus-visible {
  outline: 2px solid var(--coral-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Mobile menu */

.nav-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--cream);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--charcoal);
}

.nav-mobile-menu a:focus-visible {
  outline: 2px solid var(--coral-500);
  outline-offset: 4px;
  border-radius: 2px;
}

/* --- Buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn:focus-visible {
  outline: 2px solid var(--coral-500);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--coral-500);
  color: var(--surface);
  border-radius: var(--button-radius);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--coral-600);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--coral-50);
  color: var(--coral-600);
  border-radius: var(--button-radius);
}

.btn-secondary:hover {
  background: var(--coral-100);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--warmgray-300);
  border-radius: var(--button-radius);
}

.btn-outline:hover {
  border-color: var(--warmgray-400);
  background: var(--warmgray-50);
}

.btn-white {
  background: var(--surface);
  color: var(--charcoal);
  border-radius: var(--button-radius);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn-arrow::after {
  content: '\2192';
  transition: transform 0.2s ease;
}

.btn-arrow:hover::after {
  transform: translateX(3px);
}

/* --- Cards --- */

.card {
  background: var(--surface);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-md);
  padding: 2rem;
}

.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--card-radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
}

/* --- Phone Mockup --- */

.phone-mockup {
  position: relative;
  width: 280px;
  border-radius: 36px;
  background: var(--charcoal);
  padding: 12px;
  box-shadow: var(--shadow-xl);
  flex-shrink: 0;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: var(--charcoal);
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone-screen {
  border-radius: 28px;
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 9 / 19.5;
  padding: 2.5rem 1rem 1rem;
}

.phone-mockup-sm {
  width: 200px;
  border-radius: 28px;
  padding: 8px;
}

.phone-mockup-sm::before {
  width: 72px;
  height: 20px;
  top: 8px;
  border-radius: 0 0 12px 12px;
}

.phone-mockup-sm .phone-screen {
  border-radius: 22px;
  padding: 1.75rem 0.75rem 0.75rem;
}

/* Mock UI elements inside phone */

.mock-header {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.mock-card {
  background: var(--surface);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 0.625rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mock-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  flex-shrink: 0;
}

.mock-card-text {
  flex: 1;
  min-width: 0;
}

.mock-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.6875rem;
  color: var(--charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-card-sub {
  font-size: 0.5625rem;
  color: var(--text-muted);
}

.mock-pill {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 600;
}

.mock-vote {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  font-size: 0.5rem;
  color: var(--text-muted);
}

.mock-timeline-item {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 0.625rem;
  font-size: 0.5625rem;
}

.mock-time {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.5rem;
  color: var(--coral-500);
  width: 2rem;
  flex-shrink: 0;
  padding-top: 0.125rem;
}

.mock-timeline-card {
  flex: 1;
  background: var(--surface);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  padding: 0.5rem;
}

.mock-timeline-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.625rem;
  color: var(--charcoal);
}

.mock-timeline-meta {
  font-size: 0.5rem;
  color: var(--text-muted);
}

/* --- Badges --- */

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-coral {
  background: var(--coral-50);
  color: var(--coral-600);
}

.badge-sage {
  background: var(--sage-50);
  color: var(--sage-600);
}

.badge-popular {
  background: var(--coral-500);
  color: var(--surface);
  font-size: 0.6875rem;
}

/* --- Eyebrow --- */

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--coral-500);
  margin-bottom: 1rem;
}

/* --- App Store Buttons --- */

.store-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: var(--charcoal);
  color: var(--surface);
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.store-btn:hover {
  background: var(--warmgray-800);
}

.store-btn:active {
  transform: scale(0.97);
}

.store-btn:focus-visible {
  outline: 2px solid var(--coral-500);
  outline-offset: 3px;
}

.store-btn-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-btn-label {
  font-size: 0.625rem;
  opacity: 0.8;
}

.store-btn-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.store-btn-white {
  background: var(--surface);
  color: var(--charcoal);
  box-shadow: var(--shadow-sm);
}

.store-btn-white:hover {
  background: var(--warmgray-50);
  box-shadow: var(--shadow-md);
}

/* 6. Visual Techniques
   ========================================================================== */

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--coral-500) 0%, var(--coral-400) 40%, var(--sage-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Floating keyframes */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

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

.float { animation: float 6s ease-in-out infinite; }
.float-delayed { animation: float-delayed 7s ease-in-out infinite; animation-delay: 1.5s; }
.float-slow { animation: float 9s ease-in-out infinite; animation-delay: 3s; }

/* Floating decorative icons */
.floating-icon {
  position: absolute;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

/* Scroll animations */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

[data-animate-stagger].is-visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
[data-animate-stagger].is-visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
[data-animate-stagger].is-visible > *:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
[data-animate-stagger].is-visible > *:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
[data-animate-stagger].is-visible > *:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
[data-animate-stagger].is-visible > *:nth-child(6) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-animate],
  [data-animate-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .float, .float-delayed, .float-slow {
    animation: none !important;
  }
}

/* Section dividers */
.wave-divider {
  position: relative;
  overflow: hidden;
}

.wave-divider::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--background);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.wave-divider-top::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--background);
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 1;
}

/* 7. Page: Homepage
   ========================================================================== */

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--coral-50) 0%, var(--cream) 40%, var(--sage-50) 100%);
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-text {
  max-width: 640px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  margin-bottom: 1.5rem;
}

.hero-text .lead {
  max-width: 520px;
  margin-bottom: 2rem;
}

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

.hero-visual {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}

.hero-phone-wrapper {
  position: relative;
  transform: rotate(3deg);
}

.hero-phone-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(232, 99, 74, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

/* Social Proof Bar */
.social-proof-bar {
  background: var(--warmgray-100);
  padding: 1.5rem 0;
}

.proof-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.proof-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--warmgray-200);
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--charcoal);
  background: var(--surface);
}

.proof-stat-icon {
  font-size: 1rem;
}

/* How It Works */
.how-it-works {
  background: var(--cream);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
  position: relative;
}

.how-steps::before {
  content: '';
  position: absolute;
  top: 3rem;
  left: 15%;
  right: 15%;
  height: 2px;
  border-top: 2px dashed var(--warmgray-200);
  z-index: 0;
}

.step-card {
  background: var(--surface);
  border-radius: var(--card-radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

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

.step-icon {
  display: block;
  margin: 0 auto 1rem;
  width: 48px;
  height: 48px;
  color: var(--coral-500);
}

.step-card h3 {
  margin-bottom: 0.75rem;
}

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

.step-card .phone-mockup-sm {
  margin: 1.25rem auto 0;
}

/* Feature Deep Dive */
.features {
  background: var(--cream);
}

.feature-block {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 6rem;
}

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

.feature-block.reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
}

.feature-text h3 {
  margin-bottom: 1rem;
}

.feature-text p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.feature-visual {
  flex: 0 0 auto;
  position: relative;
}

.feature-visual-bg {
  position: absolute;
  inset: -20px;
  background: var(--coral-50);
  border-radius: var(--card-radius-lg);
  z-index: 0;
}

.feature-block.reverse .feature-visual-bg {
  background: var(--sage-50);
}

.feature-visual .phone-mockup {
  position: relative;
  z-index: 1;
}

/* Use Case Gallery */
.use-cases {
  background: var(--warmgray-50);
}

.use-case-grid {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
}

.use-case-grid::-webkit-scrollbar {
  display: none;
}

.use-case-card {
  flex: 0 0 280px;
  height: 220px;
  border-radius: var(--card-radius-lg);
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: default;
}

.use-case-card-inner {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 1;
}

.use-case-card h4 {
  color: var(--surface);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.use-case-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
}

.use-case-pills {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  z-index: 1;
}

.use-case-pill {
  padding: 0.2rem 0.625rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--surface);
}

.use-case-1 { background: linear-gradient(135deg, var(--coral-500) 0%, var(--coral-700) 100%); }
.use-case-2 { background: linear-gradient(135deg, var(--sage-400) 0%, var(--sage-700) 100%); }
.use-case-3 { background: linear-gradient(135deg, var(--coral-300) 0%, var(--coral-600) 100%); }
.use-case-4 { background: linear-gradient(135deg, var(--warmgray-600) 0%, var(--warmgray-900) 100%); }

/* Pricing Teaser */
.pricing-teaser {
  background: linear-gradient(135deg, var(--coral-50) 0%, var(--sage-50) 100%);
}

.pricing-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-teaser-card {
  padding: 2.5rem;
}

.pricing-teaser-card h3 {
  margin-bottom: 0.25rem;
}

.pricing-teaser-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.pricing-teaser-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-teaser-features {
  margin-bottom: 2rem;
}

.pricing-teaser-features li {
  padding: 0.375rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.pricing-teaser-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.625rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sage-400);
  opacity: 0.6;
}

.pricing-teaser-highlight {
  position: relative;
}

.pricing-teaser-highlight .badge-popular {
  position: absolute;
  top: -12px;
  right: 24px;
}

.pricing-teaser-more {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.pricing-teaser-more a {
  color: var(--coral-500);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.pricing-teaser-more a:hover {
  border-color: var(--coral-500);
}

.pricing-teaser-more a:focus-visible {
  outline: 2px solid var(--coral-500);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Testimonials */
.testimonials {
  background: var(--cream);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  padding: 2rem;
}

.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: var(--coral-100);
  line-height: 1;
  margin-bottom: -0.5rem;
}

.testimonial-card blockquote {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.testimonial-author {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--charcoal);
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Download CTA */
.download-cta {
  background: linear-gradient(135deg, var(--coral-500) 0%, var(--coral-600) 60%, var(--sage-500) 100%);
  color: var(--surface);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download-cta h2 {
  color: var(--surface);
  margin-bottom: 1rem;
}

.download-cta .lead {
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

.download-cta .store-buttons {
  justify-content: center;
  margin-bottom: 3rem;
}

.download-cta .phone-mockup {
  margin: 0 auto;
}

/* 8. Page: Footer
   ========================================================================== */

.site-footer {
  background: var(--warmgray-50);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--warmgray-200);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo {
  margin-bottom: 1rem;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  padding: 0.3rem 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--coral-500);
}

.footer-col a:focus-visible {
  outline: 2px solid var(--coral-500);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--warmgray-200);
}

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

/* 9. Page: About
   ========================================================================== */

.page-hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
  background: var(--cream);
}

.page-hero h1 {
  max-width: 640px;
  margin-bottom: 1.5rem;
}

.page-hero .lead {
  max-width: 600px;
}

.about-story {
  background: var(--cream);
}

.about-story-content {
  max-width: 640px;
  margin: 0 auto;
}

.about-story-content p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.about-list {
  margin: 2rem 0;
}

.about-list li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral-500);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
}

.value-card h3 {
  margin-bottom: 0.75rem;
  color: var(--coral-500);
}

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

.about-contact {
  background: var(--warmgray-50);
  text-align: center;
}

.about-contact p {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.about-contact a {
  color: var(--coral-500);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.about-contact a:hover {
  border-color: var(--coral-500);
}

/* 10. Page: Pricing
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  align-items: start;
}

.pricing-card {
  padding: 2.5rem;
  text-align: left;
}

.pricing-card-highlight {
  position: relative;
  transform: scale(1.03);
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(254,243,240,0.8));
}

.pricing-card-highlight .badge-popular {
  position: absolute;
  top: -12px;
  right: 24px;
}

.pricing-card h3 {
  margin-bottom: 0.5rem;
}

.pricing-card-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.1;
}

.pricing-card-period {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.pricing-card-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.pricing-features {
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.4rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sage-400);
  opacity: 0.5;
}

.pricing-card-highlight .pricing-features li::before {
  opacity: 0.8;
}

.pricing-card-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.5;
}

/* Upload explainer */
.upload-explainer {
  background: var(--warmgray-50);
  border-radius: var(--card-radius-lg);
  padding: 2.5rem;
  margin-top: 4rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.upload-explainer h3 {
  margin-bottom: 1rem;
}

.upload-explainer li {
  padding: 0.375rem 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* FAQ */
.faq-section {
  background: var(--cream);
}

.faq-list {
  max-width: 720px;
  margin: 3rem auto 0;
}

details summary {
  cursor: pointer;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--charcoal);
  border-bottom: 1px solid var(--warmgray-200);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--warmgray-400);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

details[open] summary::after {
  content: '\2212';
  transform: rotate(180deg);
}

details summary:focus-visible {
  outline: 2px solid var(--coral-500);
  outline-offset: 2px;
  border-radius: 2px;
}

.faq-answer {
  padding: 0.75rem 0 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
}

/* 11. Page: Legal (Privacy + Terms)
   ========================================================================== */

.legal-page {
  padding-top: 8rem;
  padding-bottom: 4rem;
  background: var(--cream);
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 3rem;
}

.legal-content h2 {
  font-size: 1.375rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-size: 1.125rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.legal-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content li {
  color: var(--text-secondary);
  padding: 0.25rem 0;
  position: relative;
  padding-left: 0.75rem;
}

.legal-content li::before {
  content: '\2022';
  color: var(--coral-500);
  position: absolute;
  left: 0;
}

.legal-content a {
  color: var(--coral-500);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.legal-content a:hover {
  border-color: var(--coral-500);
}

.legal-content a:focus-visible {
  outline: 2px solid var(--coral-500);
  outline-offset: 2px;
  border-radius: 2px;
}

/* 12. Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-inner {
    gap: 2rem;
  }

  .hero-phone-wrapper {
    transform: rotate(0);
  }

  .phone-mockup {
    width: 240px;
  }

  .feature-block {
    gap: 2.5rem;
    margin-bottom: 4rem;
  }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-mobile-menu {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 3rem;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-text .lead {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-phone-wrapper {
    transform: none;
  }

  .phone-mockup {
    width: 240px;
    margin: 0 auto;
  }

  /* How it works */
  .how-steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .how-steps::before {
    display: none;
  }

  /* Features */
  .feature-block,
  .feature-block.reverse {
    flex-direction: column;
    text-align: center;
  }

  .feature-text {
    order: 1;
  }

  .feature-visual {
    order: 2;
  }

  /* Pricing */
  .pricing-teaser-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

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

  .pricing-card-highlight {
    transform: none;
  }

  /* Testimonials */
  .testimonial-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  /* About values */
  .values-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    text-align: center;
  }

  .proof-stats {
    flex-direction: column;
    gap: 0.75rem;
  }

  .store-buttons {
    flex-direction: column;
  }

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

  .use-case-card {
    flex: 0 0 260px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
