/* 28-Day Healthy Eating Blueprint Sales Page Styles */
/* Theme based on banner: deep forest green, cream, gold accents */

:root {
  --primary: #0f3d2e;
  --primary-dark: #0a2a20;
  --accent: #c9a227;
  --accent-light: #e8d48b;
  --bg: #f9f6f1;
  --bg-alt: #f0ebe3;
  --text: #2c2c2c;
  --text-light: #555;
  --white: #ffffff;
  --card-bg: #ffffff;
  --border: #e0d8cc;
  --success: #1a7a4c;
}

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

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 18px;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero with product image - conversion focused */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('hero-bg.jpg') center/cover no-repeat;
  opacity: 0.28;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero h1 {
  font-size: 2.9rem;
  line-height: 1.12;
  margin-bottom: 18px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.hero .subtitle {
  font-size: 1.18rem;
  margin-bottom: 26px;
  opacity: 0.96;
  max-width: 540px;
}

.hero .tagline {
  font-size: 0.9rem;
  background: var(--accent);
  color: var(--primary-dark);
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.book-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 440px;
}

.hero-image img {
  width: 100%;
  max-width: 440px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  border: 3px solid rgba(255,255,255,0.12);
}

.digital-access-note {
  margin-top: 10px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.38);
  text-align: center;
  letter-spacing: 0.3px;
  font-weight: 400;
  line-height: 1.3;
  max-width: 90%;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-features span {
  background: rgba(255,255,255,0.16);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 0.88rem;
  backdrop-filter: blur(4px);
}

/* Buttons */
.cta-button {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 16px 36px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(201, 162, 39, 0.4);
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.cta-button:hover {
  background: #d4b02a;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(201, 162, 39, 0.55);
}

.big-cta {
  font-size: 1.25rem;
  padding: 18px 28px;
  width: 100%;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .big-cta {
    font-size: 1.15rem;
    padding: 16px 24px;
    white-space: nowrap;
    width: 100%;
  }
  .cta-button {
    white-space: nowrap;
    padding-left: 28px;
    padding-right: 28px;
  }
}

.center-cta {
  text-align: center;
  margin-top: 36px;
}

/* Sections */
section {
  padding: 70px 0;
}

.alt-bg {
  background: var(--bg-alt);
}

h2 {
  font-size: 2.4rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-sub {
  text-align: center;
  font-size: 1.12rem;
  color: var(--text-light);
  max-width: 720px;
  margin: 0 auto 40px;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.benefit-card {
  background: var(--card-bg);
  padding: 28px 20px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-card h3 {
  color: var(--primary);
  margin: 12px 0 8px;
  font-size: 1.25rem;
}

.benefit-icon {
  color: var(--primary);
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}

/* Includes */
.includes-list {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
}

.includes-list li {
  background: var(--card-bg);
  margin: 10px 0;
  padding: 16px 22px;
  border-radius: 12px;
  border-left: 5px solid var(--accent);
  font-size: 1.05rem;
}

.includes-list li strong {
  color: var(--primary);
}

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

.preview-item {
  text-align: center;
}

.preview-item img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border: 1px solid var(--border);
}

.preview-item p {
  margin-top: 10px;
  font-weight: 600;
  color: var(--primary);
}

/* Pricing */
.pricing-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.pricing-card {
  max-width: 500px;
  margin: 0 auto;
  background: white;
  border-radius: 22px;
  padding: 36px 32px;
  box-shadow: 0 14px 40px rgba(15, 61, 46, 0.12);
  text-align: center;
  border: 1px solid var(--border);
}

.price-badge {
  background: var(--primary);
  color: white;
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.price {
  font-size: 4.2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  margin: 6px 0;
}

.price-note {
  color: var(--text-light);
  margin-bottom: 20px;
}

.guarantee-box {
  background: #f8f4e8;
  border: 1px solid var(--accent-light);
  border-radius: 12px;
  padding: 16px;
  margin: 18px 0;
  text-align: left;
}

.guarantee-box strong {
  color: var(--primary);
  display: block;
  margin-bottom: 4px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 20px 0;
  padding: 0;
}

.pricing-features li {
  padding: 7px 0 7px 26px;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.secure-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Final CTA */
.final-cta {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 80px 0;
}

.final-cta h2 {
  color: white;
}

.final-cta p {
  font-size: 1.15rem;
  margin: 14px auto 26px;
  max-width: 600px;
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: #ddd;
  padding: 36px 0 20px;
  text-align: center;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--accent-light);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

.copyright {
  opacity: 0.8;
  margin-top: 8px;
}

.important-footer,
.disclaimer-footer {
  margin-top: 14px;
  font-size: 0.82rem;
  opacity: 0.7;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Inner pages */
.page-content {
  padding: 50px 0 70px;
  max-width: 800px;
  margin: 0 auto;
}

.page-content h1 {
  color: var(--primary);
  font-size: 2.4rem;
  margin-bottom: 18px;
  text-align: center;
}

.page-content h2 {
  font-size: 1.6rem;
  text-align: left;
  margin: 28px 0 12px;
}

.page-content p, .page-content li {
  margin-bottom: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .hero-content {
    text-align: center;
  }
  .hero .subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-features {
    justify-content: center;
  }
  .hero-image img {
    max-width: 360px;
  }
  .hero {
    min-height: auto;
    padding: 70px 0;
  }
  .hero h1 {
    font-size: 2.3rem;
  }
  .benefits-grid,
  .previews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  .hero h1 {
    font-size: 1.85rem;
  }
  .hero .subtitle {
    font-size: 1.05rem;
  }
  .benefits-grid,
  .previews-grid {
    grid-template-columns: 1fr;
  }
  .cta-button {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
  h2 {
    font-size: 1.75rem;
  }
  section {
    padding: 50px 0;
  }
  .hero-image img {
    max-width: 280px;
  }
  .price {
    font-size: 3.4rem;
  }
}
