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

:root {
  --bg:          #FBF0E6;
  --card:        #F0E6D3;
  --accent:      #7A8C3A;
  --primary:     #2D1200;
  --secondary:   #7A5535;
  --muted:       #B09070;
  --terracotta:  #C4622D;
  --amber:       #C9973A;
  --font:        'EB Garamond', Georgia, 'Times New Roman', serif;
}

body {
  background: var(--bg);
  color: var(--primary);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── Utilities ── */
.section-label {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 16px;
}

.pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(255,255,255,0.45);
  color: var(--primary);
  white-space: nowrap;
}

.img-placeholder {
  background: var(--card);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
  user-select: none;
}

/* ── Fade-up animation ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.22s; }
.delay-3 { transition-delay: 0.34s; }
.delay-4 { transition-delay: 0.46s; }
.delay-5 { transition-delay: 0.58s; }

/* ════════════════════════════════
   NAV
════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s;
}
nav.scrolled {
  background: rgba(251, 240, 230, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(196, 98, 45, 0.12);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img {
  height: 56px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.nav-link {
  color: var(--secondary);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--primary); }

/* Hamburger — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 36px;
  height: 36px;
  justify-self: end;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--secondary);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay — hidden by default */
#mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  z-index: 99;
  background: rgba(251, 240, 230, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(196, 98, 45, 0.12);
  flex-direction: column;
  padding: 8px 0 16px;
}
#mobile-menu.open { display: flex; }

.mobile-menu-link {
  color: var(--secondary);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 28px;
  transition: color 0.2s;
}
.mobile-menu-link:hover { color: var(--primary); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; grid-column: 3; justify-self: end; }
}

/* ════════════════════════════════
   HERO
════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  text-align: center;
  overflow: hidden;
}

/* Decorative orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.orb-terra {
  width: 520px; height: 520px;
  background: rgba(196, 98, 45, 0.22);
  top: -100px; left: -120px;
}
.orb-olive {
  width: 440px; height: 440px;
  background: rgba(122, 140, 58, 0.18);
  bottom: 80px; right: -100px;
}
.orb-amber {
  width: 300px; height: 300px;
  background: rgba(201, 151, 58, 0.15);
  top: 200px; right: 100px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(122, 140, 58, 0.12);
  border: 1px solid rgba(122, 140, 58, 0.3);
  border-radius: 99px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero-badge .pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

.hero-h1 {
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 10px;
}
.hero-h1 em {
  color: var(--terracotta);
  font-style: italic;
}

.hero-subtagline {
  font-size: 13px;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 24px;
  opacity: 0.85;
}

.hero-body {
  font-size: 19px;
  color: var(--secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--terracotta);
  color: #fff;
  border: none;
  border-radius: 99px;
  padding: 15px 32px;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(196, 98, 45, 0.3);
}
.btn-primary:hover { background: #b3561f; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(196, 98, 45, 0.4); }

.btn-ghost {
  color: var(--secondary);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--primary); }
.btn-ghost .arrow { font-style: normal; transition: transform 0.2s; }
.btn-ghost:hover .arrow { transform: translateX(3px); }

.hero-phones {
  margin-top: 60px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
}
.hero-phones img {
  height: auto;
  display: block;
  border-radius: 28px;
}
.hero-phones .phone-main,
.hero-phones .phone-secondary {
  width: 280px;
  box-shadow: 0 32px 80px rgba(45, 18, 0, 0.18), 0 8px 24px rgba(196, 98, 45, 0.15);
}
@media (max-width: 480px) {
  .hero-phones .phone-main,
  .hero-phones .phone-secondary { width: 180px; }
}

/* ════════════════════════════════
   PROBLEM
════════════════════════════════ */
#problem {
  padding: 60px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.problem-h2 {
  font-size: clamp(32px, 4.5vw, 50px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.problem-body {
  font-size: 18px;
  color: var(--secondary);
  line-height: 1.75;
  margin-bottom: 40px;
}

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

.stat-block {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  color: var(--terracotta);
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 14px;
  color: var(--secondary);
  max-width: 180px;
  line-height: 1.4;
  margin-top: 6px;
}

.contrast-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contrast-card {
  border-radius: 14px;
  padding: 22px 26px;
  font-size: 16px;
  line-height: 1.5;
}
.contrast-card.old {
  background: var(--card);
  color: var(--muted);
  border: 1px solid rgba(176, 144, 112, 0.25);
}
.contrast-card.old .card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--muted);
}
.contrast-card.old .card-text {
  text-decoration: line-through;
  opacity: 0.7;
}
.contrast-card.new {
  background: rgba(122, 140, 58, 0.1);
  border: 1px solid rgba(122, 140, 58, 0.35);
  color: var(--primary);
}
.contrast-card.new .card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--accent);
}
.contrast-card .card-text { font-weight: 600; }

.vs-divider {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 0;
}

.carousel-slides { position: relative; min-height: 80px; }
.carousel-slide {
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: static;
}
.carousel-dots {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(122, 140, 58, 0.25);
  cursor: pointer;
  transition: background 0.2s;
}
.carousel-dot.active { background: var(--accent); }

/* ════════════════════════════════
   HOW IT WORKS
════════════════════════════════ */
#how-it-works {
  padding: 100px 40px;
  background: linear-gradient(180deg, transparent 0%, rgba(240,230,211,0.4) 100%);
}

.hiw-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.hiw-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--card);
  border-radius: 20px;
  padding: 36px 28px 32px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(176, 144, 112, 0.2);
}

.step-number-bg {
  position: absolute;
  top: -20px; right: 16px;
  font-size: 140px;
  font-weight: 800;
  color: rgba(196, 98, 45, 0.07);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.04em;
}

.step-title {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.step-body {
  font-size: 16px;
  color: var(--secondary);
  line-height: 1.7;
  position: relative;
}

.step-img {
  margin-top: 24px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(45, 18, 0, 0.12);
}
.step-img-pair {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.step-img-pair img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(45, 18, 0, 0.12);
}

/* ════════════════════════════════
   SIX ZONES
════════════════════════════════ */
#zones {
  padding: 100px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.zones-header {
  text-align: center;
  margin-bottom: 60px;
}

.zones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.zone-card {
  border-radius: 20px;
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.5);
}

/* Zone gradient backgrounds */
.zone-glow    { background: linear-gradient(135deg, #F5E6A0 0%, #F0D06A 100%); }
.zone-build   { background: linear-gradient(135deg, #C8E6B0 0%, #9ECB78 100%); }
.zone-focus   { background: linear-gradient(135deg, #B8D4F0 0%, #8AB8E8 100%); }
.zone-energy  { background: linear-gradient(135deg, #F5D090 0%, #E8B050 100%); }
.zone-gut     { background: linear-gradient(135deg, #C8E0C0 0%, #9ECC8A 100%); }
.zone-restore { background: linear-gradient(135deg, #D8C8F0 0%, #B8A0E0 100%); }

.zone-emoji {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}
.zone-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}
.zone-desc {
  font-size: 15px;
  color: rgba(45, 18, 0, 0.7);
  line-height: 1.6;
  margin-bottom: 16px;
}
.zone-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ════════════════════════════════
   APP PREVIEW (dark)
════════════════════════════════ */
#app-preview {
  background: var(--primary);
  padding: 100px 40px;
  color: #FBF0E6;
}

.app-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.app-label {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}

.app-h2 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #FBF0E6;
}

.app-body {
  font-size: 18px;
  color: rgba(251, 240, 230, 0.7);
  line-height: 1.75;
  margin-bottom: 36px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 17px;
  color: rgba(251, 240, 230, 0.9);
  line-height: 1.5;
}
.feature-list li::before {
  content: '●';
  color: var(--terracotta);
  font-size: 10px;
  margin-top: 5px;
  flex-shrink: 0;
}

.app-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  border-radius: 28px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.25);
  margin: 0 auto;
}

/* ════════════════════════════════
   MISSION
════════════════════════════════ */
#mission {
  padding: 110px 40px;
  text-align: center;
}

.mission-inner {
  max-width: 720px;
  margin: 0 auto;
}

.mission-h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.mission-h2 em {
  color: var(--terracotta);
  font-style: italic;
}

.mission-body {
  font-size: 19px;
  color: var(--secondary);
  line-height: 1.8;
}

/* ════════════════════════════════
   WAITLIST
════════════════════════════════ */
#waitlist {
  background: var(--card);
  padding: 100px 40px;
  text-align: center;
}

.waitlist-inner {
  max-width: 560px;
  margin: 0 auto;
}

.waitlist-h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.waitlist-body {
  font-size: 18px;
  color: var(--secondary);
  margin-bottom: 36px;
}

.waitlist-form {
  display: flex;
  gap: 0;
  border-radius: 99px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(196, 98, 45, 0.18);
  border: 1.5px solid rgba(196, 98, 45, 0.25);
}

.waitlist-input {
  flex: 1;
  border: none;
  background: #fff;
  padding: 16px 24px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--primary);
  outline: none;
  min-width: 0;
}
.waitlist-input::placeholder { color: var(--muted); }

.waitlist-btn {
  background: var(--terracotta);
  color: #fff;
  border: none;
  padding: 16px 28px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  letter-spacing: 0.01em;
}
.waitlist-btn:hover { background: #b3561f; }
.waitlist-btn:disabled { background: var(--muted); cursor: default; }

.waitlist-success {
  display: none;
  background: rgba(122, 140, 58, 0.12);
  border: 1.5px solid rgba(122, 140, 58, 0.35);
  border-radius: 14px;
  padding: 20px 28px;
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 8px;
}
.waitlist-success.visible { display: block; }

.waitlist-fine {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}

.waitlist-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 14px;
  color: var(--secondary);
  font-weight: 600;
}
.waitlist-count span { color: var(--terracotta); font-size: 20px; font-weight: 800; }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
footer {
  border-top: 1px solid rgba(196, 98, 45, 0.18);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.footer-logo img {
  height: 56px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-size: 15px;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.footer-copy {
  font-size: 14px;
  color: var(--muted);
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 768px) {
  nav { padding: 0 20px; }

  #hero { padding: 100px 24px 64px; }

  #problem { padding: 72px 24px; }
  .problem-grid { grid-template-columns: 1fr; gap: 40px; }

  #how-it-works { padding: 72px 24px; }
  .hiw-grid { grid-template-columns: 1fr; }

  #zones { padding: 72px 24px; }
  .zones-grid { grid-template-columns: 1fr; }

  #app-preview { padding: 72px 24px; }
  .app-inner { grid-template-columns: 1fr; gap: 40px; }

  #mission { padding: 72px 24px; }

  #waitlist { padding: 72px 24px; }
  .waitlist-form { flex-direction: column; border-radius: 16px; overflow: visible; border: none; box-shadow: none; gap: 12px; }
  .waitlist-input { border-radius: 99px; border: 1.5px solid rgba(196, 98, 45, 0.25); padding: 14px 22px; }
  .waitlist-btn { border-radius: 99px; padding: 14px 28px; }

  footer { padding: 24px 20px; flex-direction: column; text-align: center; gap: 8px; }

  .stats-row { gap: 24px; }
}
