/* ================================================================
   BumpBond Design System — styles.css
   Brand: Teal (#5BBFBA) + Peach/Salmon (#F4A68A)
   Fonts: Nunito (headings) + DM Sans (body)
================================================================ */

/* ── Brand Tokens ─────────────────────────────────────────────── */
:root {
  --teal:          #5BBFBA;
  --teal-dark:     #3FA09B;
  --teal-light:    rgba(91,191,186,0.12);
  --peach:         #F4A68A;
  --peach-dark:    #E08A6C;
  --peach-light:   rgba(244,166,138,0.12);
  --sage:          #8BBFB0;
  --sage-light:    rgba(139,191,176,0.15);

  /* Light mode surfaces */
  --light:         #ffffff;
  --light-bg:      #F9FFFE;
  --cream:         #FFF8F2;
  --mint-bg:       #EEF9F8;

  /* Text */
  --text-primary:  #2D3748;
  --text-secondary:#718096;
  --text-muted:    #A0AEC0;

  /* Borders */
  --border:        rgba(91,191,186,0.2);
  --border-light:  rgba(0,0,0,0.06);

  /* Dark mode surfaces */
  --dark:          #1A2332;
  --dark-surface:  #243044;
  --dark-card:     #2D3A50;

  /* Shadows */
  --shadow-sm:     0 2px 8px rgba(91,191,186,0.12);
  --shadow-md:     0 4px 20px rgba(91,191,186,0.18);
  --shadow-lg:     0 8px 40px rgba(91,191,186,0.22);

  /* Radius */
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     32px;
  --radius-full:   9999px;
}

html.dark {
  --text-primary:  #E2E8F0;
  --text-secondary:rgba(226,232,240,0.65);
  --text-muted:    rgba(226,232,240,0.4);
  --border:        rgba(91,191,186,0.18);
  --border-light:  rgba(255,255,255,0.07);
  --light-bg:      var(--dark);
  --cream:         var(--dark-surface);
  --mint-bg:       var(--dark-surface);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
}

html.dark body {
  background: var(--dark);
  color: var(--text-primary);
}

/* ── Typography ───────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', 'DM Sans', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }

p { color: var(--text-secondary); line-height: 1.7; }

a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal-dark); }

html.dark h1, html.dark h2, html.dark h3, html.dark h4 { color: var(--text-primary); }

/* ── Layout ───────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

/* ── Navigation ───────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.2s;
}

html.dark .site-nav {
  background: rgba(26,35,50,0.95);
  border-bottom-color: var(--border);
}

.site-nav.scrolled {
  box-shadow: 0 2px 20px rgba(91,191,186,0.15);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-logo img { height: 40px; width: auto; }

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

.nav-links a {
  display: block;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
  background: var(--teal-light);
}

html.dark .nav-links a { color: var(--text-secondary); }
html.dark .nav-links a:hover,
html.dark .nav-links a.active {
  color: var(--teal);
  background: var(--teal-light);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.nav-hamburger:hover { background: var(--teal-light); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border-light);
  background: rgba(255,255,255,0.98);
  gap: 4px;
}

html.dark .nav-mobile {
  background: rgba(26,35,50,0.98);
  border-top-color: var(--border);
}

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

.nav-mobile a {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.nav-mobile a:hover { color: var(--teal); background: var(--teal-light); }

/* ── Language Switcher ────────────────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-right: 4px;
}

.lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  overflow: hidden;
  opacity: 0.75;
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}

.lang-flag img {
  display: block;
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}

.lang-flag:hover {
  opacity: 1;
  transform: scale(1.15);
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.lang-switcher-mobile {
  justify-content: flex-start;
  gap: 10px;
}

.lang-switcher-mobile .lang-flag img {
  width: 28px;
  height: 19px;
}

/* ── Theme Toggle ─────────────────────────────────────────────── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.theme-toggle:hover {
  background: var(--teal-light);
  color: var(--teal);
  border-color: var(--teal);
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--teal);
  color: #fff !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(91,191,186,0.35);
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(91,191,186,0.45);
  color: #fff !important;
}

html.dark .btn-primary { color: #fff !important; }
html.dark .btn-primary:hover { color: #fff !important; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--teal) !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid var(--teal);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
}

.btn-peach {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--peach);
  color: #fff !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(244,166,138,0.35);
}

.btn-peach:hover {
  background: var(--peach-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(244,166,138,0.45);
  color: #fff !important;
}

html.dark .btn-peach { color: #fff !important; }

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #fff;
  color: var(--teal) !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  color: var(--teal-dark) !important;
}

html.dark .btn-white { color: var(--teal) !important; }

.btn-nav-ghost {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background: transparent;
  color: var(--text-secondary) !important;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.2s;
}

.btn-nav-ghost:hover {
  color: var(--teal) !important;
  border-color: var(--teal);
  background: var(--teal-light);
}

.btn-nav-primary {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background: var(--teal);
  color: #fff !important;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-nav-primary:hover {
  background: var(--teal-dark);
  color: #fff !important;
}

html.dark .btn-nav-primary { color: #fff !important; }
html.dark .btn-nav-ghost { color: var(--text-secondary) !important; }
html.dark .btn-nav-ghost:hover { color: var(--teal) !important; }

/* ── Cards ────────────────────────────────────────────────────── */
.card {
  background: var(--light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--teal);
}

html.dark .card {
  background: var(--dark-card);
  border-color: var(--border);
}

html.dark .card:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(91,191,186,0.2);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--teal);
}

.card-icon.peach {
  background: var(--peach-light);
  color: var(--peach);
}

/* ── Hero Section ─────────────────────────────────────────────── */
.section-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  background: linear-gradient(135deg, var(--mint-bg) 0%, var(--cream) 100%);
}

html.dark .section-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-surface) 100%);
}

/* ── Feature Grid ─────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--teal);
}

html.dark .feature-card {
  background: var(--dark-card);
  border-color: var(--border);
}

/* ── Section Labels ───────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-label.peach {
  background: var(--peach-light);
  color: var(--peach-dark);
}

/* ── Pricing Cards ────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--light);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  transition: all 0.3s;
}

.pricing-card.featured {
  border-color: var(--teal);
  background: linear-gradient(135deg, var(--teal-light) 0%, rgba(244,166,138,0.08) 100%);
  position: relative;
}

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

html.dark .pricing-card {
  background: var(--dark-card);
  border-color: var(--border);
}

html.dark .pricing-card.featured {
  background: linear-gradient(135deg, rgba(91,191,186,0.15) 0%, rgba(244,166,138,0.1) 100%);
  border-color: var(--teal);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: var(--radius-full);
}

.price-amount {
  font-family: 'Nunito', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.price-currency {
  font-size: 1.5rem;
  vertical-align: super;
  font-weight: 600;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-feature .check {
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-feature .cross {
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── FAQ Accordion ────────────────────────────────────────────── */
.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open { border-color: var(--teal); }

html.dark .faq-item { border-color: var(--border); }
html.dark .faq-item.open { border-color: var(--teal); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: var(--light);
  transition: background 0.2s;
  gap: 16px;
}

.faq-question:hover { background: var(--mint-bg); }

html.dark .faq-question { background: var(--dark-card); }
html.dark .faq-question:hover { background: var(--dark-surface); }

.faq-question h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.faq-icon {
  color: var(--teal);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  background: var(--light);
}

html.dark .faq-answer { background: var(--dark-card); }

.faq-item.open .faq-answer { display: block; }

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Testimonials ─────────────────────────────────────────────── */
.testimonial-card {
  background: var(--light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
}

html.dark .testimonial-card {
  background: var(--dark-card);
  border-color: var(--border);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--peach);
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--teal);
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

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

/* ── Chat UI ──────────────────────────────────────────────────── */
.chat-bubble {
  max-width: 75%;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.chat-bubble.user {
  background: var(--teal);
  color: #fff;
  border-bottom-right-radius: 4px;
  margin-left: auto;
}

.chat-bubble.assistant {
  background: var(--light);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  border-bottom-left-radius: 4px;
}

html.dark .chat-bubble.assistant {
  background: var(--dark-card);
  border-color: var(--border);
  color: var(--text-primary);
}

/* ── Message Bubble (baby message) ───────────────────────────── */
.baby-message-card {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.baby-message-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
}

/* ── Stats / Metrics ──────────────────────────────────────────── */
.stat-item {
  text-align: center;
  padding: 24px;
}

.stat-number {
  font-family: 'Nunito', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 8px;
}

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

/* ── Steps / How It Works ─────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

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

.step-number {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--teal);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

/* ── Blog ─────────────────────────────────────────────────────── */
.blog-card {
  background: var(--light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}

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

html.dark .blog-card {
  background: var(--dark-card);
  border-color: var(--border);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--peach-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-body { padding: 24px; }

.blog-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

/* ── Forms ────────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  background: var(--light);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-light);
}

html.dark .form-input,
html.dark .form-textarea,
html.dark .form-select {
  background: var(--dark-card);
  border-color: var(--border);
  color: var(--text-primary);
}

html.dark .form-input:focus,
html.dark .form-textarea:focus,
html.dark .form-select:focus {
  border-color: var(--teal);
}

.form-textarea { min-height: 120px; resize: vertical; }

/* ── Auth Pages ───────────────────────────────────────────────── */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--mint-bg) 0%, var(--cream) 100%);
  padding: 40px 24px;
}

html.dark .auth-container {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-surface) 100%);
}

.auth-card {
  background: var(--light);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

html.dark .auth-card {
  background: var(--dark-card);
  border-color: var(--border);
}

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: var(--text-secondary);
  padding: 64px 0 32px;
}

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

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(226,232,240,0.6);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(226,232,240,0.6);
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--teal);
  color: #fff;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(226,232,240,0.9);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(226,232,240,0.55);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(226,232,240,0.45);
}

/* ── Decorative Elements ──────────────────────────────────────── */
.deco-img {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.deco-float {
  animation: float 6s ease-in-out infinite;
}

.deco-float-slow {
  animation: float 8s ease-in-out infinite;
}

.deco-float-fast {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(3deg); }
  66% { transform: translateY(-6px) rotate(-2deg); }
}

/* ── Wavy Divider ─────────────────────────────────────────────── */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg { display: block; }

/* ── App Store Badges ─────────────────────────────────────────── */
.app-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid rgba(255,255,255,0.15);
}

.app-badge:hover {
  background: #000;
  transform: translateY(-2px);
  color: #fff !important;
}

.app-badge .badge-icon { font-size: 1.6rem; }
.app-badge .badge-text-sm { font-size: 0.7rem; opacity: 0.8; }
.app-badge .badge-text-lg { font-size: 1rem; font-weight: 700; }

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

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

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in.visible { opacity: 1; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  section { padding: 60px 0; }

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

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

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

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

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .auth-card { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Chat Page Layout ─────────────────────────────────────────── */
.chat-layout {
  display: flex;
  height: calc(100vh - 60px);
  overflow: hidden;
}

.chat-topbar {
  height: 60px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 50;
}

html.dark .chat-topbar {
  background: rgba(26,35,50,0.95);
  border-bottom-color: var(--border);
}

.chat-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: var(--light-bg);
  border-right: 1px solid var(--border-light);
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

html.dark .chat-sidebar {
  background: var(--dark-surface);
  border-right-color: var(--border);
}

.chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-input-area {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  background: var(--light);
}

html.dark .chat-input-area {
  background: var(--dark);
  border-top-color: var(--border);
}

.chat-input-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.chat-input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  resize: none;
  outline: none;
  background: var(--light-bg);
  color: var(--text-primary);
  transition: border-color 0.2s;
  min-height: 48px;
  max-height: 120px;
}

.chat-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-light);
}

html.dark .chat-input {
  background: var(--dark-card);
  border-color: var(--border);
  color: var(--text-primary);
}

.chat-send-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--teal);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.chat-send-btn:hover {
  background: var(--teal-dark);
  transform: scale(1.05);
}

/* ── History Drawer ───────────────────────────────────────────── */
.history-drawer {
  width: 0;
  overflow: hidden;
  background: var(--light-bg);
  border-left: 1px solid var(--border-light);
  transition: width 0.3s ease;
  flex-shrink: 0;
}

.history-drawer.open {
  width: 260px;
}

html.dark .history-drawer {
  background: var(--dark-surface);
  border-left-color: var(--border);
}

/* ── Utility Classes ──────────────────────────────────────────── */
.text-teal { color: var(--teal); }
.text-peach { color: var(--peach); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-left { text-align: left; }

.bg-mint { background: var(--mint-bg); }
.bg-cream { background: var(--cream); }
.bg-dark { background: var(--dark); }
.bg-teal { background: var(--teal); }

html.dark .bg-mint { background: var(--dark-surface); }
html.dark .bg-cream { background: var(--dark-surface); }

.divider {
  height: 1px;
  background: var(--border-light);
  margin: 24px 0;
}

html.dark .divider { background: var(--border); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-teal {
  background: var(--teal-light);
  color: var(--teal);
}

.badge-peach {
  background: var(--peach-light);
  color: var(--peach-dark);
}

/* ── Legal Pages ──────────────────────────────────────────────── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}

.legal-content h1 { margin-bottom: 8px; }
.legal-content .legal-date { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 40px; }
.legal-content h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.legal-content h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal-content p { margin-bottom: 16px; }
.legal-content ul { padding-left: 24px; margin-bottom: 16px; }
.legal-content ul li { margin-bottom: 8px; color: var(--text-secondary); }

/* ── Settings Page ────────────────────────────────────────────── */
.settings-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 24px;
}

.settings-nav {
  background: var(--light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
  height: fit-content;
}

html.dark .settings-nav {
  background: var(--dark-card);
  border-color: var(--border);
}

.settings-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.settings-nav-item:hover,
.settings-nav-item.active {
  background: var(--teal-light);
  color: var(--teal);
}

.settings-panel {
  background: var(--light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
}

html.dark .settings-panel {
  background: var(--dark-card);
  border-color: var(--border);
}

@media (max-width: 768px) {
  .settings-layout { grid-template-columns: 1fr; }
  .chat-sidebar { display: none; }
  .chat-topbar { padding: 0 12px; }
}
