:root {
  --green: #6d8850;
  --green-deep: #5c703a;
  --cream: #f4f2f0;
  --text-dark: #141414;
  --text-gray: #8a8a8a;
  --page-max: 1728px;
  --font-display: "Baloo 2", sans-serif;
  --font-body: "Poppins", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: #fff;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: #fff;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.85em 1.6em;
  font-size: 1rem;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.15); }

.btn-small { padding: 0.65em 1.4em; font-size: 0.9rem; }

.arrow { font-size: 1.1em; }

/* ---------- Header + Hero ---------- */

.site-header {
  position: relative;
  background-color: var(--green);
  background-image: url("assets/hero-bg.jpg");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: top center;
  aspect-ratio: 3600 / 1398;
}

.header-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.2rem clamp(20px, 11.3vw, 196px) 0;
}

.logo {
  height: 34px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.95;
}

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1.5rem 3.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pill-badge {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.55);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.5em 1.3em;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

.headline {
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  font-size: clamp(1.7rem, 2.9vw, 3.1rem);
  line-height: 1.18;
  margin: 0 0 1.8rem;
  letter-spacing: 0.5px;
}

.headline .line {
  display: block;
  text-align: center;
  white-space: nowrap;
}

.inline-img {
  height: 1.05em;
  width: 1.05em;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.12em;
  transform: translateY(-0.05em);
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.price {
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
}

/* ---------- Problem section ---------- */

.problem {
  background: #fff;
  padding: 4.5rem 0 5.5rem;
}

.problem-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 16vw, 276px);
}

.problem-heading {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.3rem, 1.65vw, 1.8rem);
  line-height: 1.3;
  margin: 0 0 0.5rem;
  color: var(--text-dark);
}

.problem-subtext {
  color: var(--text-gray);
  font-size: 1.1rem;
  margin: 0 0 2.2rem;
}

.bubble-card {
  background: var(--cream);
  border-radius: 28px;
  padding: 2.6rem 0 3rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.marquee {
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0.9rem;
  animation: marquee-scroll var(--duration, 40s) linear infinite;
  padding-left: 0.9rem;
}

.marquee-left .marquee-track { animation-direction: normal; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.bubble {
  display: inline-flex;
  align-items: center;
  background: var(--green-deep);
  color: #fff;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cook-msg {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
  padding: 0 1.5rem;
}

.cook-avatar-img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 50%;
  background: #e4e1dc;
  flex-shrink: 0;
}

.cook-msg-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.cook-label {
  color: var(--text-gray);
  font-size: 0.85rem;
  font-weight: 500;
  margin-left: 0.3rem;
}

.speech-bubble {
  background: #fff;
  border-radius: 20px;
  border-bottom-left-radius: 4px;
  padding: 0.8em 1.3em;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .site-header {
    aspect-ratio: auto;
    background-size: cover;
    background-position: top center;
  }
  .header-inner { padding: 1.6rem 1.5rem 0; }
  .header-nav { gap: 1rem; }
  .nav-link { display: none; }
  .hero-inner { padding: 2.4rem 1.2rem 3rem; }
  .problem-inner { padding: 0 1.5rem; }
  .cook-msg { flex-direction: row; align-items: flex-end; }
}

@media (max-width: 560px) {
  .headline .line { white-space: normal; }
  .cta-row { flex-direction: column; gap: 0.8rem; }
  .bubble { font-size: 0.9rem; padding: 0.75em 1.2em; }
  .cook-avatar-img { width: 60px; height: 60px; }
}
