/* ===================== ROOT / RESET ===================== */
:root {
  --bg: #f4f0e7;
  --bg-alt: #efeadf;
  --surface: #ebe6d9;
  --surface-2: #e3ddcd;
  --border: #d9d2bf;
  --text: #1b1a16;
  --text-dim: #55503f;
  --text-faint: #8a8471;
  --green: #1c3d2e;
  --green-hover: #24503c;
  --green-soft: #1c3d2e14;
  --ink-on-green: #f4f0e7;
  --radius: 18px;
  --radius-sm: 12px;
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

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

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== TAG / EYEBROW ===================== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 22px;
}
.tag__bar {
  width: 3px;
  height: 14px;
  background: var(--green);
  border-radius: 2px;
  display: inline-block;
}
.tag__icon { font-size: 12px; }

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.accent-word { color: var(--green); }

/* ===================== TYPOGRAPHY ===================== */
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--green);
  color: var(--ink-on-green);
}
.btn--primary:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn--outline:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn--ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--green); color: var(--green); }

.btn--small { padding: 10px 20px; font-size: 14px; }

/* ===================== NAV ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(244, 240, 231, 0.82);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
/* ===================== LOGO ===================== */
.logo-wrap {
  position: relative;
  display: inline-block;
  padding-bottom: 7px;
  color: var(--green);
}
.logo-wordmark {
  font-family: 'Bricolage Grotesque', 'Manrope', sans-serif;
  font-weight: 700;
  font-optical-sizing: auto;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1;
}
.logo-wordmark--small { font-size: 19px; }
.logo-swoosh {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 8px;
}
.footer .logo-wrap { display: block; margin-bottom: 6px; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
  padding-top: 0px;
  padding-bottom: 0px;
  min-height: 70vh;
}

.hero__headline {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 22px;
}

.hero__subheadline {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.hero__microcopy {
  font-size: 13px;
  color: var(--text-faint);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__visual-glow {
  display: none;
}

/* ===================== PHONE MOCKUP ===================== */
.phone {
  width: 320px;
  height: 660px;
  background: #ffffff;
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 30px 70px rgba(27, 26, 22, 0.18),
    0 8px 24px rgba(27, 26, 22, 0.10);
  position: relative;
}

.phone__screen {
  width: 100%;
  height: 100%;
  background: #0b141a;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* WhatsApp header */
.wa-header {
  background: #1f2c26;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 14px 10px;
  color: #e9edef;
  flex-shrink: 0;
}
.wa-header__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #3a4a41;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #e9edef;
  flex-shrink: 0;
}
.wa-header__info { flex: 1; min-width: 0; }
.wa-header__name {
  font-size: 15px;
  font-weight: 700;
}
.wa-header__status {
  font-size: 12px;
  color: #8fa79c;
}
.wa-header__icons {
  display: flex;
  gap: 16px;
  color: #d3d9d6;
}

/* Chat body */
.wa-body {
  flex: 1;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: hidden;
  background: #0b141a;
}

.wa-bubble-row {
  display: flex;
  width: 100%;
  animation: bubbleIn 0.35s ease;
}
.wa-bubble-row.out { justify-content: flex-end; }
.wa-bubble-row.in { justify-content: flex-start; }

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.wa-bubble {
  max-width: 78%;
  padding: 8px 10px 6px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.4;
  position: relative;
  color: #e9edef;
}
.wa-bubble-row.out .wa-bubble {
  background: #2b3b31;
  border-top-right-radius: 2px;
}
.wa-bubble-row.in .wa-bubble {
  background: #1f2c26;
  border-top-left-radius: 2px;
}

.wa-bubble__time {
  display: block;
  text-align: right;
  font-size: 10px;
  color: #91a099;
  margin-top: 2px;
}

/* typing indicator */
.wa-typing {
  background: #1f2c26;
  border-top-left-radius: 2px;
  padding: 11px 14px;
  border-radius: 10px;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  animation: bubbleIn 0.3s ease;
}
.wa-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8fa79c;
  animation: typingBounce 1.1s infinite ease-in-out;
}
.wa-typing span:nth-child(2) { animation-delay: 0.15s; }
.wa-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.wa-inputbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 16px;
  background: #1f2c26;
}
.wa-inputbar__field {
  flex: 1;
  background: #2a3942;
  color: #8696a0;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 20px;
}
.wa-inputbar__mic {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b141a;
  flex-shrink: 0;
}

/* ===================== DEMO LABEL SECTION ===================== */
.demo-label {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 24px 8px;
  scroll-margin-top: 90px;
}

/* ===================== HOW IT WORKS ===================== */
.how {
  position: relative;
  z-index: 1;
  padding: 96px 24px;
}
.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.how__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.how__card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: 0 12px 28px rgba(27, 26, 22, 0.08);
}
.how__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.how__card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}
.how__card p {
  color: var(--text-dim);
  font-size: 15px;
}

/* ===================== WHY IT MATTERS ===================== */
.why {
  position: relative;
  z-index: 1;
  padding: 40px 24px 100px;
}
.why__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 40px;
  position: relative;
  overflow: hidden;
}
.why__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--green);
}
.why .section-title { text-align: center; }
.why__body {
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.6;
  position: relative;
}

/* ===================== FEATURES ===================== */
.features {
  position: relative;
  z-index: 1;
  padding: 40px 24px 110px;
  text-align: center;
}
.features__grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  text-align: left;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--green);
  background: var(--surface-2);
  box-shadow: 0 12px 28px rgba(27, 26, 22, 0.08);
}
.feature-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-dim);
}

/* ===================== FINAL CTA ===================== */
.final-cta {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 24px 120px;
}
.final-cta__headline {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.final-cta__sub {
  color: var(--text-dim);
  font-size: 17px;
  margin-bottom: 36px;
}

.waitlist-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.waitlist-form__input {
  flex: 1;
  min-width: 220px;
  padding: 15px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease;
}
.waitlist-form__input:focus { border-color: var(--green); }
.waitlist-form__input::placeholder { color: var(--text-faint); }

.waitlist-form__note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--text-faint);
}
.waitlist-form__note.success {
  color: var(--green);
  font-weight: 700;
}

/* ===================== FOOTER ===================== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--text-faint);
  font-size: 13px;
}

/* ===================== SCROLL FADE-IN ===================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
    min-height: auto;
  }
  .hero__subheadline { margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; }
  .tag { margin-left: auto; margin-right: auto; }
  .hero__visual { order: -1; margin-bottom: 12px; }
  .phone { width: 280px; height: 580px; }
  .how__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .phone { width: 260px; height: 540px; }
  .features__grid { grid-template-columns: 1fr; }
  .why__inner { padding: 40px 24px; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form__input { width: 100%; }
  .waitlist-form__btn { width: 100%; }
}
