/* ===========================
   Bipolara Landing Page Styles
   =========================== */

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

:root {
  --primary: #02915e;
  --secondary: #efa702;
  --primary-light: #56b494;
  --primary-dark: #016946;
  --accent: #799c30;
  --blue: #efa702;
  --blue-light: #f5cd6a;
  --teal: #41a56a;
  --bg: #f5f8ee;
  --bg-alt: #eff4df;
  --white: #FFFFFF;
  --text: #17372a;
  --text-muted: #4f655b;
  --text-light: #7e9188;
  --border: #d7e4d8;
  --shadow: 0 4px 24px rgba(2, 145, 94, 0.10);
  --shadow-lg: 0 12px 40px rgba(2, 145, 94, 0.16);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p { color: var(--text-muted); line-height: 1.75; }

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

/* --- Utilities --- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(2, 145, 94, 0.12), rgba(239, 167, 2, 0.12));
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  margin-bottom: 16px;
  color: var(--text);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 60px;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(2, 145, 94, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), #c88b02);
  box-shadow: 0 8px 28px rgba(2, 145, 94, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: linear-gradient(135deg, rgba(2, 145, 94, 0.08), rgba(239, 167, 2, 0.08));
  transform: translateY(-2px);
}

/* ===========================
   Navigation
   =========================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

nav.scrolled {
  background: rgba(245, 248, 238, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

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

.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.nav-cta {
  padding: 10px 24px;
  font-size: 0.95rem;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===========================
   Hero Section
   =========================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f8ee 0%, #eff4df 50%, #fff7e8 100%);
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--primary-light);
  top: -100px;
  right: -150px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--blue-light);
  bottom: -80px;
  left: -80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(2, 145, 94, 0.10), rgba(239, 167, 2, 0.10));
  border: 1px solid rgba(2, 145, 94, 0.2);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

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

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 48px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-avatars {
  display: flex;
}

.hero-avatars span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: linear-gradient(135deg, var(--primary-light), var(--blue-light));
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.hero-avatars span:first-child { margin-left: 0; }

.hero-proof-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-proof-text strong {
  color: var(--text);
  font-weight: 700;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-mockup {
  position: relative;
  width: 320px;
}

.phone-frame {
  background: var(--white);
  border-radius: 40px;
  box-shadow: var(--shadow-lg), 0 0 0 8px rgba(2, 145, 94, 0.08);
  overflow: hidden;
  padding: 24px 20px;
  position: relative;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.app-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.app-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.app-header-text .name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.app-header-text .status {
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 500;
}

.mood-card {
  background: linear-gradient(135deg, #eef4df, #fff6e6);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}

.mood-card .label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.mood-emojis {
  display: flex;
  gap: 8px;
}

.mood-emojis span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.mood-emojis span.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(2, 145, 94, 0.10), rgba(239, 167, 2, 0.10));
  transform: scale(1.15);
}

.insight-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
}

.insight-card .icon {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.insight-card .title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.insight-card .desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.sleep-card {
  background: linear-gradient(135deg, var(--primary), var(--blue));
  border-radius: 14px;
  padding: 14px;
  color: white;
}

.sleep-card .label {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-bottom: 4px;
}

.sleep-card .value {
  font-size: 1.5rem;
  font-weight: 800;
}

.sleep-card .trend {
  font-size: 0.75rem;
  opacity: 0.9;
  margin-top: 4px;
}

/* Floating badges */
.floating-badge {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  animation: float 3s ease-in-out infinite;
}

.floating-badge .badge-icon { font-size: 1rem; }

.badge-1 {
  top: 240px;
  right: 200px;
  animation-delay: 0s;
}

.badge-2 {
  top: 300px;
  right: 280px;
  animation-delay: 1.5s;
}

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

/* ===========================
   Section Shared Styles
   =========================== */
section {
  padding: 96px 0;
}

/* ===========================
   Problem Section
   =========================== */
#problem {
  background: var(--white);
}

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

.problem-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid transparent;
}

.problem-card:hover {
  border-color: rgba(2, 145, 94, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--blue));
  opacity: 0;
  transition: var(--transition);
}

.problem-card:hover::before { opacity: 1; }

.problem-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(2, 145, 94, 0.12), rgba(239, 167, 2, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.problem-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text);
}

.problem-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ===========================
   Solution Section
   =========================== */
#solution {
  background: linear-gradient(135deg, #f5f8ee 0%, #eff4df 100%);
}

.solution-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-end;
  gap: 80px;
}

.solution-visual {
  position: relative;
}

.solution-illustration {
  background: var(--white);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 28px;
  position: relative;
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-light), transparent);
}

.timeline-item:last-child::before { display: none; }

.timeline-dot {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(2, 145, 94, 0.3);
}

.timeline-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.timeline-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.solution-content .section-label { margin-bottom: 16px; }

.solution-content .section-title { margin-bottom: 20px; }

.solution-content > p {
  font-size: 1rem;
  margin-bottom: 32px;
  color: var(--text-muted);
}

.solution-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.solution-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.point-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(2, 145, 94, 0.12), rgba(239, 167, 2, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.point-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.point-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===========================
   Features Section
   =========================== */
#features {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.features-grid > * {
  min-width: 0;
}

/* Slider rechts */
.feature-slider-right,
.feature-slider-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.feature-slider-left .feature-slider-inner,
.feature-slider-right .feature-slider-inner {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
}

.slider-window {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.slider-track {
  display: flex;
  transition: transform 0.35s cubic-bezier(.4, 0, .2, 1);
}

/* Jede Slide-Karte nimmt 100% der Slider-Breite ein */
.feature-slider-right .feature-card,
.feature-slider-left .slide {
  flex: 0 0 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Slider controls */
.slider-arrow-left,
.slider-arrow-right {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: var(--primary);
  font-size: 26px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.15s, border-color 0.15s;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
  z-index: 2;
}
.slider-arrow-left {
  left: 16px;
  transform: translateY(-50%);
}
.slider-arrow-right {
  right: 16px;
  transform: translateY(-50%);
}
.slider-arrow-left:hover,
.slider-arrow-right:hover {
  background: #f0fdf4;
  transform: translateY(-50%) scale(1.05);
  border-color: rgba(0, 0, 0, 0.18);
}
.slider-arrow-left:disabled,
.slider-arrow-right:disabled {
  opacity: 0.35;
  cursor: default;
  transform: translateY(-50%);
}

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.slider-dots .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.2s;
}
.slider-dots .dot.active { background: #333; }

.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(2, 145, 94, 0.2);
}

.feature-card.featured {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-color: transparent;
  color: white;
  grid-row: span 1;
}

.feature-card.featured p { color: rgba(255,255,255,0.8); }

.feature-card.featured .feature-icon {
  background: rgba(255,255,255,0.2);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(2, 145, 94, 0.12), rgba(239, 167, 2, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: inherit;
}

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

.feature-card-visual {
  min-height: 620px;
}

.feature-illustration {
  width: 100%;
  height: 390px;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(2, 145, 94, 0.06), rgba(239, 167, 2, 0.08));
  margin-top: 18px;
  display: block;
}

.feature-slider-left .feature-illustration {
  border-color: transparent;
  background: transparent;
}

.feature-slider-right .feature-illustration {
  border-color: transparent;
  background: transparent;
}

.image-container {
  display: flex;
  gap: 20px;
  margin-top: 18px;
}

.image-container .feature-illustration {
  width: calc(50% - 10px);
  margin-top: 0;
}

/* 1. Collapse the double-h2 gap on the left card */
#featureStatic h2 {
  margin-bottom: 0;
  line-height: 1.1;
}

/* 2. Remove extra space above the slider wrapper */
#featureStatic .feature-slider-left {
  gap: 0;
  margin-top: 18px; /* matches .feature-illustration's margin-top */
}

/* 3. Remove any top margin the slider-inner or slider-window might add */
#featureStatic .feature-slider-inner,
#featureStatic .slider-window {
  margin-top: 0;
}

/* 4. Match the video's top margin to zero since the wrapper already has margin-top */
#featureStatic .feature-illustration-bear {
  margin-top: 0;
}

.feature-illustration-bear {
  width: 100%;
  height: 420px;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  border: 1px solid var(--border);
  margin: 0 0 20px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.2);
  padding: 5px 12px;
  border-radius: 100px;
}

/* ===========================
   How It Works
   =========================== */
#how-it-works {
  background: linear-gradient(135deg, #f5f8ee 0%, #eff4df 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--blue-light));
}

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

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.step-card:hover .step-number {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(2, 145, 94, 0.3);
}

.step-card:hover .step-number .step-icon-inner { filter: brightness(10); }

.step-icon-inner { font-size: 1.5rem; }

.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

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

/* ===========================
   Impact Section
   =========================== */
#impact {
  background: var(--white);
}

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

.impact-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.stat-card:hover {
  border-color: rgba(2, 145, 94, 0.3);
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.impact-content .section-title { margin-bottom: 20px; }

.impact-content > p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.impact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.impact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

.impact-list .check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: white;
}

/* ===========================
   Vision Section
   =========================== */
#vision {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
  color: white;
  text-align: center;
  overflow: hidden;
  position: relative;
}

#vision::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

#vision::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  bottom: -150px;
  left: -80px;
  pointer-events: none;
}

#vision .section-label {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.2);
}

#vision .section-title { color: white; }

#vision .section-subtitle {
  color: rgba(255,255,255,0.75);
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.vision-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.vision-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}

.vision-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.vision-card h3 {
  font-size: 1.05rem;
  color: white;
  margin-bottom: 10px;
}

.vision-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ===========================
   CTA Section
   =========================== */
#cta {
  background: var(--bg);
  text-align: center;
}

.cta-box {
  background: var(--white);
  border-radius: 28px;
  padding: 80px 60px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
}

.cta-box .section-title { margin-bottom: 16px; }

.cta-box > p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 40px;
}

.waitlist-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 24px;
}

.waitlist-form input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: 100px;
  font-size: 1rem;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  transition: var(--transition);
  outline: none;
}

.waitlist-form input[type="email"]:focus {
  border-color: var(--primary);
  background: var(--white);
}

.waitlist-form input[type="email"]::placeholder { color: var(--text-light); }

.cta-note {
  font-size: 0.85rem;
  color: var(--text-light);
}

.cta-note a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===========================
   Footer
   =========================== */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  color: white;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
}

.footer-brand .nav-logo img {
  width: 28px;
  height: 28px;
}

.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  max-width: 280px;
  line-height: 1.7;
}

.footer-col h4 {
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col ul a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* ===========================
   Toast notification
   =========================== */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--text);
  color: white;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
    padding: 60px 0;
  }

  .hero-content { max-width: 100%; }

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

  .hero-social-proof { justify-content: center; }

  .hero-visual {
    justify-content: center;
    display: none;
  }

  .solution-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .impact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }

  .nav-links { display: none; }

  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(245, 248, 238, 0.98);
    backdrop-filter: blur(16px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

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

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

  .feature-slider {
    width: 100%;
  }

  .slider-controls {
    justify-content: center;
  }

  .feature-illustration {
    height: 320px;
  }

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

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

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

  .impact-stats { grid-template-columns: 1fr 1fr; }

  .cta-box { padding: 48px 28px; }

  .waitlist-form {
    flex-direction: column;
    justify-content: center;
  }

  .waitlist-form input[type="email"] {
    border-radius: 12px;
  }

  .waitlist-form .btn {
    border-radius: 12px;
    justify-content: center;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .impact-stats { grid-template-columns: 1fr; }
}
