/* ============================================
   UNPLUGGED — The Family Screen Reset
   Landing Page Styles
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #2D2D2D;
  background: #FFFDF9;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Variables ---------- */
:root {
  --sage: #4A7C59;
  --sage-light: #6A9C79;
  --sage-dark: #3A6147;
  --cream: #FFFDF9;
  --warm-white: #FAFAF7;
  --sand: #F0EBE1;
  --terracotta: #C4572A;
  --terracotta-light: #E07050;
  --ink: #2D2D2D;
  --muted: #6B6B6B;
  --border: #E2DDD6;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.07);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.12);
  --max-w: 1100px;
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; color: var(--ink); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; color: var(--ink); }
h3 { font-size: 1.25rem; font-weight: 600; color: var(--ink); }
p { font-size: 1rem; color: var(--muted); line-height: 1.7; }
.lead { font-size: 1.15rem; color: var(--muted); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all .2s;
  text-align: center;
}
.btn-primary {
  background: var(--sage);
  color: #fff;
  box-shadow: 0 4px 14px rgba(74,124,89,.35);
}
.btn-primary:hover { background: var(--sage-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(74,124,89,.4); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--sage);
  border: 2px solid var(--sage);
}
.btn-outline:hover { background: var(--sage); color: #fff; }

.btn-cta {
  display: inline-block;
  padding: 18px 48px;
  background: var(--terracotta);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(196,87,42,.4);
  transition: all .2s;
  text-align: center;
}
.btn-cta:hover { background: var(--terracotta-light); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(196,87,42,.45); }
.btn-cta:active { transform: translateY(0); }

/* ---------- NAV ---------- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all .3s;
}
nav.scrolled {
  background: rgba(255,253,249,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--sage); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--sage);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
}
.nav-cta:hover { background: var(--sage-dark) !important; }

@media (max-width: 640px) {
  .nav-links { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  background: linear-gradient(180deg, #F5F0E8 0%, var(--cream) 100%);
}
.hero-badge {
  display: inline-block;
  background: var(--sand);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 28px;
}
.hero h1 { max-width: 800px; margin: 0 auto 20px; }
.hero-sub {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.hero-image {
  width: 100%;
  max-width: 860px;
  margin: 56px auto 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image img { width: 100%; height: auto; display: block; }
.hero-cta-group { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 40px; }
.hero-guarantee { font-size: 0.8rem; color: var(--muted); margin-top: 16px; }

/* ---------- PROOF BAR ---------- */
.proof-bar {
  padding: 40px 0;
  background: var(--sage);
}
.proof-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
}
.proof-stat { color: rgba(255,255,255,.95); }
.proof-stat strong { display: block; font-size: 2rem; font-weight: 800; color: #fff; }
.proof-stat span { font-size: 0.85rem; opacity: 0.8; }
.proof-divider { width: 1px; height: 36px; background: rgba(255,255,255,.2); }

/* ---------- PAIN SECTION ---------- */
.pain-section { padding: 100px 0; background: var(--cream); }
.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.pain-quote {
  font-size: 1.4rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  border-left: 4px solid var(--sage);
  padding-left: 28px;
  margin-bottom: 20px;
}
.pain-quote cite { display: block; font-size: 0.85rem; font-style: normal; color: var(--muted); margin-top: 12px; }
.insight-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.insight-card .eyebrow { color: var(--terracotta); }
.insight-card h3 { margin-bottom: 12px; }
.insight-card p { font-size: 0.95rem; }

@media (max-width: 768px) {
  .pain-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- PROGRAM SECTION ---------- */
.program-section { padding: 100px 0; background: var(--warm-white); }
.program-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.program-header h2 { margin-bottom: 16px; }
.program-header p { font-size: 1.1rem; }

.weeks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 64px; }
.week-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.week-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--sage);
}
.week-card.week2::before { background: var(--terracotta); }
.week-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}
.week2 .week-tag { color: var(--terracotta); }
.week-card h3 { margin-bottom: 8px; }
.week-card .week-sub { font-size: 0.9rem; color: var(--muted); margin-bottom: 24px; }
.day-list { margin: 0; }
.day-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--ink);
}
.day-list li:last-child { border-bottom: none; }
.day-num {
  background: var(--sand);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 2px;
}

.materials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.material-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.material-icon {
  width: 56px;
  height: 56px;
  background: var(--sand);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
}
.material-card h4 { font-size: 1rem; margin-bottom: 8px; }
.material-card p { font-size: 0.85rem; line-height: 1.5; }

@media (max-width: 768px) {
  .weeks-grid { grid-template-columns: 1fr; }
  .materials-grid { grid-template-columns: 1fr; }
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-section { padding: 100px 0; background: var(--sage); }
.testimonials-section .section-header { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.testimonials-section h2 { color: #fff; }
.testimonials-section .lead { color: rgba(255,255,255,.8); }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.testimonial-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(8px);
}
.testimonial-text {
  font-size: 1rem;
  color: rgba(255,255,255,.95);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
}
.author-name strong { display: block; color: #fff; font-size: 0.95rem; }
.author-name span { font-size: 0.8rem; color: rgba(255,255,255,.65); }
.testimonial-stars { color: #F4C842; font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 14px; }

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ---------- PRICING ---------- */
.pricing-section { padding: 100px 0; background: var(--cream); }
.pricing-header { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.pricing-header h2 { margin-bottom: 16px; }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tier-card {
  background: var(--warm-white);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  position: relative;
  transition: all .25s;
  display: flex;
  flex-direction: column;
}
.tier-card:hover { border-color: var(--sage); box-shadow: 0 8px 32px rgba(74,124,89,.12); transform: translateY(-3px); }
.tier-card.featured { border-color: var(--sage); background: #fff; box-shadow: 0 8px 40px rgba(74,124,89,.18); }
.tier-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sage);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 16px;
  border-radius: 50px;
  white-space: nowrap;
}
.tier-name { font-size: 0.85rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.tier-price { font-size: 2.4rem; font-weight: 800; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.tier-price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.tier-desc { font-size: 0.82rem; color: var(--muted); margin-bottom: 20px; min-height: 40px; }
.tier-features { margin: 0 0 24px; flex-grow: 1; }
.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink);
  padding: 6px 0;
  line-height: 1.4;
}
.tier-features li::before { content: '✓'; color: var(--sage); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.tier-btn { display: block; width: 100%; padding: 13px; border-radius: 50px; font-weight: 700; font-size: 0.9rem; text-align: center; cursor: pointer; border: none; transition: all .2s; background: var(--sage); color: #fff; }
.tier-btn:hover { background: var(--sage-dark); }
.tier-card:not(.featured) .tier-btn { background: var(--sand); color: var(--ink); }
.tier-card:not(.featured) .tier-btn:hover { background: var(--border); }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-section { padding: 100px 0; background: var(--warm-white); }
.faq-header { text-align: center; max-width: 560px; margin: 0 auto 56px; }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq-item:first-child { padding-top: 0; }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0;
  font-family: inherit;
}
.faq-q:hover { color: var(--sage); }
.faq-icon { font-size: 1.4rem; color: var(--sage); transition: transform .2s; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding-top: 16px; font-size: 0.95rem; line-height: 1.7; }

/* ---------- FOOTER CTA ---------- */
.footer-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  text-align: center;
}
.footer-cta h2 { color: #fff; margin-bottom: 16px; }
.footer-cta p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 560px; margin: 0 auto 40px; }
.footer-cta .btn-cta { background: #fff; color: var(--sage); font-size: 1.1rem; padding: 18px 48px; box-shadow: 0 6px 24px rgba(0,0,0,.15); }
.footer-cta .btn-cta:hover { background: var(--sand); transform: translateY(-2px); }
.footer-final { text-align: center; padding: 32px 0; background: var(--sage-dark); }
.footer-final p { color: rgba(255,255,255,.5); font-size: 0.8rem; }

/* ---------- SECTION HEADER ---------- */
.section-header { margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }

/* ---------- DIVIDER ---------- */
.section-divider {
  width: 56px;
  height: 4px;
  background: var(--sage);
  border-radius: 2px;
  margin: 0 auto 20px;
}

/* ---------- MOBILE RESPONSIVE ---------- */
@media (max-width: 768px) {
  .hero { padding: 120px 0 70px; }
  .hero h1 { font-size: 2rem; }
  .proof-stat strong { font-size: 1.5rem; }
  .proof-divider { display: none; }
}