/* ===== Variables ===== */
:root {
  --bg: #fdfcfa;
  --bg-alt: #f7f5f2;
  --text: #1a1a1a;
  --text-muted: #666;
  --accent: #2d5a3d;
  --accent-light: #e8f0eb;
  --accent-dark: #1e3d29;
  --gold: #d4a853;
  --border: #e5e2de;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --max-width: 1140px;
}

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

/* ===== Typography ===== */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

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

/* ===== Layout ===== */
.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow-md), 0 4px 12px rgba(45, 90, 61, 0.3);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 8px 20px rgba(45, 90, 61, 0.35);
}

.btn-secondary {
  background: white;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 0 4rem;
  min-height: 80vh;
}

.eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.highlight {
  color: var(--accent);
  font-style: italic;
}

.subhead {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.trust-line {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ===== Product Mockup ===== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-mockup {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.mockup-page {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.mockup-page.page-1 {
  position: relative;
  z-index: 2;
}

.mockup-page.page-2 {
  position: absolute;
  top: 2rem;
  right: -2rem;
  width: 85%;
  z-index: 1;
  opacity: 0.7;
  transform: rotate(3deg);
}

.mockup-header {
  height: 8px;
  background: linear-gradient(90deg, var(--accent) 30%, var(--gold) 30%);
  border-radius: 4px;
  margin-bottom: 1rem;
}

.mockup-title {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.mockup-grid {
  display: grid;
  gap: 0.5rem;
}

.mockup-day {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}

.mockup-day span {
  font-weight: 600;
  color: var(--accent);
  min-width: 2rem;
}

.mockup-list {
  display: grid;
  gap: 0.5rem;
}

.mockup-item {
  height: 12px;
  background: var(--bg-alt);
  border-radius: 4px;
}

.mockup-item:nth-child(2) { width: 85%; }
.mockup-item:nth-child(3) { width: 70%; }
.mockup-item:nth-child(4) { width: 60%; }

.mockup-badge {
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}

/* ===== Problem Section ===== */
.problem {
  background: var(--bg-alt);
  margin: 0 -1.5rem;
  padding: 5rem calc(1.5rem + ((100vw - var(--max-width)) / 2));
  text-align: center;
}

.problem h2 {
  margin-bottom: 2.5rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.problem-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.problem-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.problem-card p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
  margin: 0;
}

/* ===== Solution/Features ===== */
.solution {
  text-align: center;
}

.section-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.solution-header {
  margin-bottom: 3rem;
}

.solution-header h2 {
  max-width: 600px;
  margin: 0 auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  text-align: left;
}

.feature {
  padding: 2rem;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature p {
  color: var(--text-muted);
  margin: 0;
}

/* ===== Testimonials ===== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 4rem 0;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.stars {
  color: var(--gold);
  font-size: 1.25rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.testimonial-card cite {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: normal;
}

/* ===== Pricing ===== */
.pricing {
  display: flex;
  justify-content: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--accent-light) 100%);
  margin: 0 -1.5rem;
  padding: 5rem calc(1.5rem + ((100vw - var(--max-width)) / 2));
}

.pricing-card {
  background: white;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--accent);
  max-width: 480px;
  width: 100%;
  text-align: center;
}

.pricing-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.pricing-amount {
  margin-bottom: 2rem;
}

.price {
  font-family: 'Fraunces', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.price-note {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.pricing-list {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.pricing-list li:last-child {
  border-bottom: none;
}

.pricing-list svg {
  color: var(--accent);
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

.guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.guarantee svg {
  color: var(--accent);
}

/* ===== FAQ ===== */
.faq {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.faq h2 {
  margin-bottom: 2.5rem;
}

.faq-grid {
  display: grid;
  gap: 1rem;
  text-align: left;
}

.faq details {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  margin: 0;
}

/* ===== Final CTA ===== */
.final-cta {
  text-align: center;
  padding: 5rem 0;
}

.final-cta p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 2rem;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

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

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    min-height: auto;
    padding: 4rem 0;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 0;
  }

  .subhead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .cta-group {
    justify-content: center;
  }

  .product-mockup {
    max-width: 320px;
  }

  .mockup-page.page-2 {
    right: -1rem;
    top: 1.5rem;
  }
}

@media (max-width: 600px) {
  section {
    padding: 3rem 0;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .cta-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .pricing-card {
    padding: 2rem;
  }

  .price {
    font-size: 3rem;
  }
}
