@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;600;700;900&family=Outfit:wght@300;400;500;600&display=swap');

/* ─── TOKENS ─────────────────────────────────────────────────────────────── */
:root {
  --bg: #080C08;
  --bg2: #0E140E;
  --card: #111811;
  --card2: #1A2B1A;
  --lime: #C5F135;
  --lime-dim: #9ABF25;
  --white: #FAFAFA;
  --muted: #8A9E8A;
  --border: #1E2E1E;
  --danger: #FF5252;
  --head: 'Unbounded', sans-serif;
  --body: 'Outfit', sans-serif;
  --r: 14px;
  --r-sm: 8px;
  --shadow: 0 4px 40px rgba(0, 0, 0, .6);
  --ease: 0.25s cubic-bezier(.4, 0, .2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  cursor: pointer;
  font-family: var(--body);
  border: none;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: var(--head);
  line-height: 1.1;
}

.display {
  font-family: var(--head);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -2px;
}

.section-label {
  display: block;
  font-family: var(--head);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 14px;
}

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

.section {
  padding: 100px 0;
}

/* ─── NAVBAR ─────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 22px 0;
  transition: var(--ease);
}

.navbar.scrolled {
  background: rgba(8, 12, 8, .9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

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

.nav-logo {
  font-family: var(--head);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -1px;
}

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

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--ease);
}

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

.nav-cta {
  background: var(--lime);
  color: var(--bg);
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  transition: var(--ease);
}

.nav-cta:hover {
  background: var(--white);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  z-index: 101;
}

/* ─── MOBILE FIXES ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .container {
    padding: 0 20px;
  }

  /* Navbar */
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .navbar .nav-inner {
    position: relative;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  /* About section — stack vertically, photo first */
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Make photo shorter on mobile */
  .about-image {
    aspect-ratio: 3/2 !important;
  }

  /* Fix 200+ badge — move it so it doesn't cover face */
  .about-accent-card {
    position: absolute;
    top: 24px;
    right: -24px;
    z-index: 2;
    background: var(--lime);
    border-radius: var(--r);
    padding: 20px;
    text-align: center;
  }

  @media (max-width: 900px) {
    .about-accent-card {
      top: auto !important;
      bottom: 100px !important;
      right: 12px !important;
      left: auto !important;
      padding: 10px 14px !important;
    }

    .about-accent-card .num {
      font-size: 18px !important;
    }

    .about-accent-card .label {
      font-size: 9px !important;
    }
  }

  .about-accent-card .num {
    font-size: 22px !important;
  }

  .about-accent-card .label {
    font-size: 10px !important;
  }

  /* Fix certified diet coach badge */
  .about-badge {
    padding: 10px 16px !important;
    bottom: 16px !important;
    left: 16px !important;
    transform: none !important;
    max-width: 65% !important;
  }

  .about-badge-icon {
    font-size: 18px !important;
  }

  .about-badge-text {
    font-size: 12px !important;
  }

  .about-badge-sub {
    font-size: 10px !important;
  }

  /* Credentials section — stack on mobile */
  .creds-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Plans grid */
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  /* Hero */
  .hero h1 {
    letter-spacing: -2px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 32px;
  }

  /* How it works */
  .how-grid {
    grid-template-columns: 1fr;
  }

  .how-step {
    border-radius: var(--r) !important;
  }

  .how-arrow {
    display: none;
  }

  /* Booking CTA */
  .booking-cta-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .booking-cta-inner h2 {
    font-size: clamp(24px, 5vw, 36px) !important;
  }

  /* Dashboard */
  .dash-sidebar {
    display: none;
  }

  .dash-main {
    margin-left: 0;
  }

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

  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 48px;
  }

  .about-badge {
    display: none;
  }
}

@media (max-width: 900px) {
  #lives-badge {
    top: auto !important;
    bottom: 90px !important;
    right: 12px !important;
    left: auto !important;
    padding: 10px 14px !important;
  }

  #lives-badge .num {
    font-size: 18px !important;
  }

  #lives-badge .label {
    font-size: 9px !important;
  }

  .about-badge {
    bottom: 12px !important;
    left: 12px !important;
    transform: none !important;
    padding: 8px 14px !important;
    max-width: 70% !important;
  }

  .about-badge-icon {
    font-size: 16px !important;
  }

  .about-badge-text {
    font-size: 11px !important;
  }

  .about-badge-sub {
    font-size: 10px !important;
  }

  /* Also reduce photo height on mobile so face shows fully */
  .about-image {
    aspect-ratio: 3/4 !important;
  }
}

/* ─── CTA SECTION FIX ────────────────────────────────────────────────────── */
.booking-cta-section {
  padding: 60px 0;
}

.booking-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.booking-cta-inner h2 {
  font-size: clamp(24px, 3.5vw, 44px);
  color: var(--bg);
  letter-spacing: -1.5px;
  max-width: 640px;
  flex: 1;
}

.btn-dark {
  background: var(--bg);
  color: var(--white);
  flex-shrink: 0;
  white-space: nowrap;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
}

.btn-dark:hover {
  background: #1A2B1A;
  transform: translateY(-2px);
}

/* ─── FOOTER FIX ─────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-social-btns {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer-social-btn {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: all var(--ease);
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}

.footer-social-btn:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
  transition: color var(--ease);
}

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

.footer-col-title {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  font-family: var(--head);
  font-weight: 700;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 16px;
}

.footer-bottom-bar p {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .booking-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .booking-cta-inner h2 {
    font-size: clamp(22px, 5vw, 32px);
    max-width: 100%;
  }

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

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .booking-cta-section {
    padding: 48px 0;
  }
}

/* ─── FORCE DARK INPUTS EVERYWHERE ──────────────────────────────────────── */
input,
textarea,
select {
  background-color: var(--card) !important;
  color: var(--white) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-sm) !important;
  font-family: var(--body) !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--lime) !important;
  outline: none !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted) !important;
}

/* Fix autofill background on iOS/Chrome */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #111811 inset !important;
  -webkit-text-fill-color: var(--white) !important;
  caret-color: var(--white) !important;
}