/* =============================================
   LOCO BELLY — LANDING PAGE STYLES
   ============================================= */

/* --- Variables --- */
:root {
  --cream:       #F9F4EE;
  --sage:        #EFF4EE;
  --green:       #2C4A3E;
  --green-dark:  #1a2e27;
  --gold:        #C9963C;
  --gold-hover:  #B8852B;
  --charcoal:    #2B2B2B;
  --stone:       #7A7A7A;
  --white:       #FFFFFF;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --radius:     12px;
  --shadow:     0 4px 24px rgba(44, 74, 62, 0.12);
  --shadow-lg:  0 8px 40px rgba(44, 74, 62, 0.20);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* --- Container --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--green);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* --- Logo --- */
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}
.logo-text em {
  font-style: italic;
  color: #e6b86a;
}

/* --- CTA Button --- */
.btn-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 28px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(201, 150, 60, 0.38);
}
.btn-cta:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201, 150, 60, 0.50);
}
.btn-cta-light {
  background: var(--white);
  color: var(--green);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.btn-cta-light:hover {
  background: var(--cream);
  color: var(--green);
  transform: translateY(-2px);
}

/* --- Form Inputs --- */
.opt-in-form input {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 14px 20px;
  border: 2px solid transparent;
  border-radius: 50px;
  background: var(--white);
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.opt-in-form input::placeholder { color: var(--stone); }
.opt-in-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 150, 60, 0.15);
}

.form-micro {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 12px;
  text-align: center;
}
.form-micro.muted { color: var(--stone); }
.form-micro.light { color: rgba(255, 255, 255, 0.5); }


/* =============================================
   SECTION 1 — HERO
   ============================================= */
#hero {
  min-height: 100vh;
  background-image:
    linear-gradient(150deg, rgba(44, 74, 62, 0.88) 0%, rgba(44, 74, 62, 0.70) 55%, rgba(26, 46, 39, 0.60) 100%),
    url('https://images.unsplash.com/photo-1611073761479-9a59cf8a125e?w=1600&q=80');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-overlay {
  width: 100%;
  padding: 100px 24px 80px;
}

.hero-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.brand-logo { margin-bottom: 36px; }

#hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 44px;
  line-height: 1.75;
  font-weight: 300;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-form .form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 0;
}
.hero-form .form-row input {
  flex: 1;
  min-width: 170px;
  max-width: 230px;
  background: rgba(255, 255, 255, 0.95);
}


/* =============================================
   SECTION 2 — PAIN POINTS
   ============================================= */
#pain-points {
  background: var(--white);
  padding: 100px 0;
  text-align: center;
}
#pain-points h2 { margin-bottom: 56px; }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.pain-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 40px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pain-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.pain-icon { font-size: 2.6rem; margin-bottom: 18px; }

.pain-card h3 { color: var(--green); margin-bottom: 12px; }

.pain-card p {
  color: var(--stone);
  font-size: 0.95rem;
  line-height: 1.75;
}

.pain-bridge {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--green);
  max-width: 620px;
  margin: 0 auto;
  font-style: italic;
  line-height: 1.65;
}
.pain-bridge em {
  font-style: normal;
  font-weight: 700;
  color: var(--gold);
}


/* =============================================
   SECTION 3 — LEAD MAGNET
   ============================================= */
#lead-magnet {
  background: var(--sage);
  padding: 100px 0;
}

.lm-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}

/* Book mockup */
.lm-mockup {
  display: flex;
  justify-content: center;
}

.book-cover {
  width: 280px;
  height: 370px;
  background: linear-gradient(155deg, #2C4A3E 0%, #1a3329 100%);
  border-radius: 6px 16px 16px 6px;
  box-shadow:
    -8px 8px 0 #1a3329,
    var(--shadow-lg),
    16px 24px 48px rgba(26, 50, 41, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
}
.book-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 36px,
    rgba(255, 255, 255, 0.025) 36px, rgba(255, 255, 255, 0.025) 72px
  );
}
.book-cover::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px 0 0 6px;
}

.book-cover-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.book-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.book-title {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0;
}

.book-divider {
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin: 20px auto;
  border-radius: 2px;
}

.book-subtitle {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 20px;
}

.book-brand {
  font-family: var(--font-serif);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* LM copy */
.lm-copy h2 { margin-bottom: 16px; }

.lm-intro {
  color: var(--stone);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 28px;
}
.lm-intro em { color: var(--green); font-style: italic; }

.benefit-list {
  list-style: none;
  margin-bottom: 36px;
}
.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.6;
  padding: 10px 0;
  border-bottom: 1px solid rgba(44, 74, 62, 0.09);
}
.benefit-list li:last-child { border-bottom: none; }

.check {
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.lm-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}


/* =============================================
   SECTION 4 — TESTIMONIALS
   ============================================= */
#testimonials {
  background: var(--white);
  padding: 100px 0;
  text-align: center;
}
#testimonials h2 { margin-bottom: 56px; }

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

.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 2px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.testimonial-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  background: var(--white);
}

.stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 3px;
}

.testimonial-card > p {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.75;
  flex: 1;
}

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

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage) 0%, #7aaa8f 100%);
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green);
}
.testimonial-author span {
  font-size: 0.78rem;
  color: var(--stone);
}


/* =============================================
   SECTION 5 — ABOUT / TRUST
   ============================================= */
#about {
  background: var(--sage);
  padding: 100px 0;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-copy h2 { margin-bottom: 20px; }

.about-copy p {
  color: var(--stone);
  line-height: 1.85;
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.trust-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(44, 74, 62, 0.15);
  flex-wrap: wrap;
}

.trust-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
}

.trust-logos { display: flex; gap: 16px; align-items: center; }

.trust-logo-placeholder {
  width: 88px;
  height: 26px;
  background: rgba(44, 74, 62, 0.12);
  border-radius: 4px;
}


/* =============================================
   SECTION 6 — FINAL CTA
   ============================================= */
#final-cta {
  background: var(--green);
  padding: 100px 0;
  text-align: center;
}

#final-cta h2 {
  color: var(--white);
  margin-bottom: 20px;
}

#final-cta > .container > p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 44px;
  line-height: 1.75;
}

.final-form .form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.final-form .form-row input {
  flex: 1;
  min-width: 170px;
  max-width: 220px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.28);
}
.final-form .form-row input::placeholder { color: rgba(255, 255, 255, 0.55); }
.final-form .form-row input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 150, 60, 0.25);
}


/* =============================================
   FOOTER
   ============================================= */
#footer {
  background: var(--green-dark);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo { font-size: 1.1rem; }
.footer-logo .logo-text { color: rgba(255, 255, 255, 0.65); }
.footer-logo .logo-text em { color: rgba(230, 184, 106, 0.7); }

.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255, 255, 255, 0.8); }

.footer-copy {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.28);
  width: 100%;
  text-align: center;
  margin-top: 4px;
}


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 960px) {
  .pain-grid          { grid-template-columns: 1fr; gap: 20px; }
  .lm-layout          { grid-template-columns: 1fr; gap: 56px; }
  .testimonial-grid   { grid-template-columns: 1fr; }
  .about-layout       { grid-template-columns: 1fr; gap: 48px; }
  .about-image img    { height: 320px; }
}

@media (max-width: 640px) {
  #hero { min-height: 100svh; }

  .hero-form .form-row,
  .final-form .form-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-form .form-row input,
  .final-form .form-row input  { max-width: 100%; }
  .hero-form .form-row .btn-cta,
  .final-form .form-row .btn-cta { width: 100%; text-align: center; }

  .book-cover { width: 240px; height: 316px; }
  .book-title { font-size: 1.7rem; }

  .footer-inner       { flex-direction: column; text-align: center; }
  .footer-links       { justify-content: center; }
  .about-layout       { max-width: 100%; }
  .trust-bar          { justify-content: center; }
}
