/* ===================================================================
   Tiny Sleeps — Landing Page Styles
   Brand: Calm, premium, warm wellness aesthetic
   =================================================================== */

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors */
  --color-primary: #A8C5E3;
  --color-bg: #F0F5FA;
  --color-bg-secondary: #D8E7F7;
  --color-text: #3D3935;
  --color-text-secondary: #6B7280;
  --color-card: #FAFCFE;
  --color-border: #E0EAF4;
  --color-amber: #D4A574;
  --color-rose: #E8B4B8;
  --color-white: #FFFFFF;

  /* Event Colors */
  --color-sleep: #A8D5E2;
  --color-feeding: #D4B5E8;
  --color-diaper: #F5C2C7;
  --color-health: #BCE2A8;

  /* Typography */
  --font-heading: 'Raleway', sans-serif;
  --font-body: 'Instrument Sans', sans-serif;
  --font-decorative: 'Playfair Display', serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Borders & Shadows */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 20px 50px -10px rgba(0, 0, 0, 0.08);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background: linear-gradient(135deg, #F0F5FA 0%, #D8E7F7 50%, #E8F0F8 100%);
  background-attachment: fixed;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

p {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--color-text-secondary);
  max-width: 65ch;
}

.section-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  display: block;
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  max-width: 52ch;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-2xl) 0;
  position: relative;
}

/* --- Entrance Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Stagger children */
.stagger-children .fade-up:nth-child(1) { transition-delay: 0ms; }
.stagger-children .fade-up:nth-child(2) { transition-delay: 120ms; }
.stagger-children .fade-up:nth-child(3) { transition-delay: 240ms; }
.stagger-children .fade-up:nth-child(4) { transition-delay: 360ms; }

/* ===================================================================
   NAVIGATION
   =================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-sm) 0;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.nav.scrolled {
  background: rgba(240, 245, 250, 0.85);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo span {
  color: var(--color-primary);
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-base);
}

.nav-links a:hover {
  color: var(--color-text);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.nav-toggle-bar + .nav-toggle-bar {
  margin-top: 6px;
}

/* Mobile nav open state */
.nav-toggle.open .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

/* Decorative background blobs */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(168, 197, 227, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-slow 20s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-slow 25s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(15px, -20px); }
  66% { transform: translate(-10px, 15px); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 540px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: rgba(168, 197, 227, 0.2);
  border: 1px solid rgba(168, 197, 227, 0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-health);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  margin-bottom: var(--space-md);
}

.hero h1 .highlight {
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* App Store badge */
.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  background: var(--color-text);
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  box-shadow: var(--shadow-md);
}

.app-store-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.app-store-badge svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

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

.app-store-badge-text small {
  font-size: 0.6875rem;
  font-weight: 400;
  opacity: 0.8;
}

.app-store-badge-text strong {
  font-size: 1rem;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.hero-social-proof svg {
  color: var(--color-amber);
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  width: 280px;
  position: relative;
  animation: float-device 6s ease-in-out infinite;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 4px;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.08);
}

/* Side button (right) */
.phone-mockup::before {
  content: '';
  position: absolute;
  right: -2px;
  top: 25%;
  width: 3px;
  height: 40px;
  background: #2a2a2a;
  border-radius: 0 2px 2px 0;
}

/* Volume buttons (left) */
.phone-mockup::after {
  content: '';
  position: absolute;
  left: -2px;
  top: 20%;
  width: 3px;
  height: 28px;
  background: #2a2a2a;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 22px 0 #2a2a2a;
}

.phone-mockup-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 36px;
}

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

/* Decorative elements around phone */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(168, 197, 227, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

/* ===================================================================
   SECTION DIVIDER — Wave
   =================================================================== */
.wave-divider {
  position: relative;
  height: 80px;
  overflow: hidden;
  margin-top: -40px;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
}

/* ===================================================================
   PROBLEM SECTION
   =================================================================== */
.problem {
  background: var(--color-card);
  position: relative;
}

.problem-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.problem-card {
  padding: var(--space-lg);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  text-align: left;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.problem-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 197, 227, 0.15);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.problem-card-icon svg {
  width: 24px;
  height: 24px;
}

.problem-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.problem-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ===================================================================
   FEATURES SECTION
   =================================================================== */
.features {
  position: relative;
}

.features-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.feature-card {
  padding: var(--space-lg);
  background: var(--color-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.feature-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

.feature-card-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card-icon.sleep {
  background: rgba(168, 213, 226, 0.2);
  color: #5BA3B5;
}

.feature-card-icon.sync {
  background: rgba(212, 181, 232, 0.2);
  color: #9B7CB8;
}

.feature-card-icon.science {
  background: rgba(188, 226, 168, 0.2);
  color: #7AAF5C;
}

.feature-card-icon.night {
  background: rgba(212, 165, 116, 0.15);
  color: var(--color-amber);
}

.feature-card h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Night mode card special treatment */
.feature-card.night-highlight {
  background: linear-gradient(135deg, #2D2A26 0%, #1A1816 100%);
  border-color: rgba(212, 165, 116, 0.2);
}

.feature-card.night-highlight h3 {
  color: var(--color-amber);
}

.feature-card.night-highlight p {
  color: rgba(255, 255, 255, 0.6);
}

/* ===================================================================
   HOW IT WORKS SECTION
   =================================================================== */
.how-it-works {
  background: var(--color-card);
  position: relative;
}

.how-it-works-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

/* Connecting line */
.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}

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

.step-number {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.step-icon {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.step h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.9375rem;
  margin: 0 auto;
}

/* ===================================================================
   TESTIMONIALS SECTION
   =================================================================== */
.testimonials {
  position: relative;
}

.testimonials-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.testimonial-card {
  padding: var(--space-lg);
  background: var(--color-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-decorative);
  font-size: 4rem;
  color: var(--color-primary);
  opacity: 0.3;
  position: absolute;
  top: 8px;
  left: 20px;
  line-height: 1;
}

.testimonial-quote {
  font-family: var(--font-decorative);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.testimonial-placeholder-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  opacity: 0.6;
  margin-top: var(--space-md);
  font-style: italic;
}

/* ===================================================================
   CTA SECTION
   =================================================================== */
.cta {
  position: relative;
  overflow: hidden;
}

.cta-inner {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--color-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 197, 227, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-inner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta h2 {
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.cta p {
  margin: 0 auto var(--space-lg);
  position: relative;
  z-index: 1;
}

.cta .app-store-badge {
  position: relative;
  z-index: 1;
}

/* ===================================================================
   SUPPORT SECTION
   =================================================================== */
.support {
  padding: var(--space-xl) 0;
  background: var(--color-bg);
  text-align: center;
}

.support-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.support-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
}

.support-text {
  font-size: 1rem;
  color: var(--color-text-secondary);
}

.support-email {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: opacity var(--transition-fast);
}

.support-email:hover {
  opacity: 0.8;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  padding: var(--space-xl) 0 var(--space-lg);
  background: transparent;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-text);
}

.footer-logo span {
  color: var(--color-primary);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

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

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

.footer-copyright {
  width: 100%;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  opacity: 0.7;
  margin-top: var(--space-md);
}

/* ===================================================================
   BUTTONS (shared)
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-fast);
}

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

.btn-primary {
  background: var(--color-text);
  color: var(--color-white);
}

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

/* ===================================================================
   RESPONSIVE — Tablet
   =================================================================== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-xl);
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtitle {
    max-width: 50ch;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .phone-mockup {
    width: 240px;
  }

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

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

  .steps {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 380px;
  }

  .steps::before {
    display: none;
  }

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

/* ===================================================================
   RESPONSIVE — Mobile
   =================================================================== */
@media (max-width: 640px) {
  :root {
    --space-2xl: 4rem;
    --space-3xl: 5rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    flex-direction: column;
    justify-content: center;
    background: rgba(240, 245, 250, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: var(--space-xl);
    gap: var(--space-lg);
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    z-index: 96; /* above .nav-overlay (95) so the open menu's links are tappable */
  }

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

  .nav-links a {
    font-size: 1.125rem;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    padding-top: 6rem;
    padding-bottom: var(--space-xl);
  }

  .phone-mockup {
    width: 200px;
  }

  h1 {
    font-size: clamp(1.875rem, 7vw, 2.5rem);
  }

  .hero-badge {
    font-size: 0.75rem;
  }

  .problem-card {
    padding: var(--space-md);
  }

  .feature-card {
    padding: var(--space-md);
  }

  .cta-inner {
    padding: var(--space-xl) var(--space-md);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* --- Mobile Menu Overlay --- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 95;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.nav-overlay.open {
  display: block;
  opacity: 1;
}

/* ===================================================================
   UTILITY
   =================================================================== */
.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Accessible focus styles */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }
}
