/* Active Family Kit — site stylesheet */

:root {
  --navy: #16264a;
  --navy-light: #223a6b;
  --orange: #ff6b35;
  --orange-dark: #e3551f;
  --teal: #2ec4b6;
  --cream: #f8f6f1;
  --white: #ffffff;
  --gray-700: #495166;
  --gray-500: #767c8c;
  --gray-200: #e6e4dd;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 38, 74, 0.12);
  --max-width: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--navy);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", sans-serif;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--gray-700); }
a { color: var(--orange-dark); }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 10px; top: 10px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.logo {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span { color: var(--orange); }
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--orange-dark); }
.header-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta:hover { background: var(--orange-dark); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--navy);
}

@media (max-width: 820px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 10px 20px 20px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 16px; }
  .nav-toggle { display: block; }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #223a6b 60%, var(--teal) 130%);
  color: #fff;
  padding: 64px 0 70px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: rgba(255, 107, 53, 0.18);
  color: #ffcdb8;
  border: 1px solid rgba(255,107,53,0.4);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 { color: #fff; }
.hero-sub {
  color: #dbe3f7;
  font-size: 1.1rem;
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.btn {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 25px rgba(255,107,53,0.35);
}
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn-ghost:hover { border-color: #fff; }
.btn-secondary {
  background: var(--navy);
  color: #fff;
}
.btn-secondary:hover { background: #223a6b; }

.hero-trust {
  margin-top: 26px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #cfd8ee;
}
.hero-trust span { display: flex; align-items: center; gap: 6px; }

.hero-image img {
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

/* Pain points */
.section { padding: 72px 0; }
.section-alt { background: var(--white); }
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}
.section-head .eyebrow { background: rgba(46,196,182,0.15); color: #0f8f83; border-color: rgba(46,196,182,0.35); }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.pain-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--orange);
}
.pain-card .icon { font-size: 1.9rem; margin-bottom: 10px; display: block; }
.pain-card h3 { margin-bottom: 8px; }
.pain-card p { margin: 0; font-size: 0.95rem; }

/* Product / What's inside */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.product-gallery img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.product-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 18px 0 8px;
}
.product-price .price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  font-family: "Poppins", sans-serif;
}
.product-price .was {
  text-decoration: line-through;
  color: var(--gray-500);
  font-size: 1.1rem;
}
.badge {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.item-list { list-style: none; margin: 22px 0; padding: 0; }
.item-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
}
.item-list li:last-child { border-bottom: none; }
.item-list .num {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.item-list strong { display: block; color: var(--navy); }
.item-list p { margin: 2px 0 0; font-size: 0.92rem; }
.bonus-list { margin-top: 6px; padding-left: 20px; color: var(--gray-700); font-size: 0.92rem; }

.buy-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-top: 24px;
}
.buy-box .btn-primary { width: 100%; text-align: center; font-size: 1.1rem; padding: 17px; }
.reassurance {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* Gallery grid (feature images) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.feature-card img { width: 100%; height: 230px; object-fit: cover; }
.feature-card .feature-body { padding: 20px; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  counter-reset: step;
}
.step {
  text-align: center;
  padding: 20px;
}
.step .step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-family: "Poppins", sans-serif;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.testimonial .stars { color: var(--orange); margin-bottom: 10px; letter-spacing: 2px; }
.testimonial .author { font-weight: 700; color: var(--navy); margin-top: 10px; font-size: 0.9rem; }

/* FAQ accordion */
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-family: inherit;
}
.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--orange);
  flex: 0 0 auto;
}
.faq-item.open .faq-question::after { content: "\2212"; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 400px; padding: 0 24px 20px; }
.faq-answer p { margin: 0; }

/* Final CTA */
.final-cta {
  background: linear-gradient(120deg, var(--navy), #223a6b);
  color: #fff;
  text-align: center;
  padding: 70px 0;
}
.final-cta h2 { color: #fff; }
.final-cta p { color: #dbe3f7; max-width: 560px; margin: 0 auto 26px; }

/* Footer */
.site-footer {
  background: #0f1a33;
  color: #b9c2da;
  padding: 50px 0 26px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 30px;
}
.footer-grid h4 { color: #fff; font-size: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #b9c2da; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: #7f8bab;
}

/* About / FAQ page intro banners */
.page-banner {
  background: var(--navy);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.page-banner h1 { color: #fff; margin-bottom: 8px; }
.page-banner p { color: #cfd8ee; max-width: 640px; margin: 0 auto; }

.about-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-block + .about-block { margin-top: 60px; }

/* 404 */
.not-found {
  text-align: center;
  padding: 110px 0;
}
.not-found .code {
  font-family: "Poppins", sans-serif;
  font-size: 6rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

/* Thank you */
.thank-you { text-align: center; padding: 100px 0; }
.thank-you .icon-check {
  font-size: 3.4rem;
  color: var(--teal);
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .hero-inner, .product-layout, .about-block { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}
