/* ===== VARIABLES ===== */
:root {
  --sapphire:     #3C5070;
  --royal-blue:   #112250;
  --quicksand:    #E0C58F;
  --swan-wing:    #F5F0E9;
  --shellstone:   #D9CBC2;
  --white:        #FFFFFF;
  --text-dark:    #1A1A2E;
  --text-mid:     #3C4A5C;

  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;

  --radius: 8px;
  --shadow-sm: 0 1px 4px rgba(17,34,80,0.08);
  --shadow-md: 0 4px 16px rgba(17,34,80,0.12);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 100px; }
body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== LAYOUT ===== */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 72px 0; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.2; font-weight: 700; color: var(--royal-blue); }
h2 { font-size: clamp(1.3rem, 3vw, 1.75rem); line-height: 1.3; font-weight: 600; color: var(--royal-blue); margin-bottom: 20px; }
h3 { font-size: 1.1rem; font-weight: 600; color: var(--royal-blue); margin-bottom: 8px; }
p  { color: var(--text-mid); margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

/* ===== NAV ===== */
nav {
  background: var(--royal-blue);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 120px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--quicksand); }

/* ===== HERO ===== */
.hero {
  background: var(--royal-blue);
  padding: 80px 0 72px;
  text-align: left;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-sub strong { color: var(--quicksand); font-weight: 600; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== HERO TABLE ===== */
.hero-table {
  border-collapse: collapse;
  margin-bottom: 32px;
  width: auto;
}
.hero-table td {
  padding: 10px 40px;
  color: rgba(255,255,255,0.88);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}
.hero-table tr:first-child td {
  font-size: 1.1rem;
  color: var(--quicksand);
  padding-bottom: 4px;
}
.hero-table tr:last-child td {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  padding-top: 4px;
}
.hero-table td:first-child {
  border-right: 1.5px solid #C49A3C;
}
.hero-table td:nth-child(2) {
  border-right: 1.5px solid #C49A3C;
}
.hero-table a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}
.hero-table a:hover { opacity: 0.7; }

/* ===== HERO CARDS ===== */
.hero-cards {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}
.hero-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  background: var(--royal-blue);
  border: 2px solid var(--quicksand);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}
.hero-card:hover {
  background: rgba(196,154,60,0.15);
  transform: translateY(-2px);
}
.hero-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--quicksand);
  margin-bottom: 4px;
}
.hero-card-count {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary {
  background: var(--quicksand);
  color: var(--royal-blue);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--sapphire);
  border: 1.5px solid var(--sapphire);
}

/* ===== BADGE ===== */
.badge {
  display: inline-block;
  background: var(--quicksand);
  color: var(--royal-blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* ===== SECTION DIVIDERS ===== */
.section-alt { background: var(--swan-wing); }
.section-dark { background: var(--royal-blue); }
.section-dark h2 { color: var(--white); }
.section-dark h3, .section-dark p { color: rgba(255,255,255,0.88); }

/* ===== PRODUCT CARDS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.product-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--sapphire);
  display: flex;
  flex-direction: column;
}
.product-card.featured { border-top-color: var(--quicksand); }
.product-card h3 { font-size: 1.75rem; font-weight: 700; color: var(--royal-blue); margin-bottom: 12px; }
.product-subtitle-inline { font-size: 0.85rem; font-weight: 400; color: var(--shellstone); font-style: italic; }
.product-subtitle { font-size: 0.85rem; color: var(--shellstone); margin-bottom: 20px; font-style: italic; }
.product-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.product-tag {
  background: var(--swan-wing);
  color: var(--sapphire);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}
.product-toc {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}
.product-toc li {
  padding: 7px 0 7px 24px;
  border-bottom: 1px solid var(--swan-wing);
  font-size: 0.875rem;
  color: var(--text-mid);
  text-indent: -24px;
}
.product-toc li::before {
  content: "→\00a0\00a0";
  color: var(--sapphire);
  font-weight: 700;
}
.product-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--royal-blue);
  margin-bottom: 4px;
}
.product-price-sub {
  font-size: 0.8rem;
  color: var(--shellstone);
  margin-bottom: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Bundle */
.bundle-card {
  background: var(--royal-blue);
  border-radius: 12px;
  padding: 40px;
  margin-top: 24px;
  text-align: left;
}
.bundle-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 8px; }
.bundle-pack-title { font-size: 2rem; font-weight: 700; color: var(--quicksand); }
.bundle-card .product-subtitle-inline { color: var(--shellstone); }
.bundle-desc { color: rgba(255,255,255,0.72); font-size: 0.9rem; margin-bottom: 20px; }
.bundle-pricing { margin-bottom: 20px; }
.bundle-price-new { font-size: 2rem; font-weight: 700; color: var(--quicksand); }
.bundle-price-old { font-size: 0.9rem; color: rgba(255,255,255,0.45); text-decoration: line-through; }
.bundle-economy { font-size: 0.78rem; color: var(--quicksand); margin-top: 4px; }
.bundle-card .product-buttons { justify-content: flex-start; max-width: 420px; }

/* ===== HOW IT WORKS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.step {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.step-number {
  width: 44px;
  height: 44px;
  background: var(--royal-blue);
  color: var(--quicksand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 16px;
}
.step h3 { font-size: 1rem; text-align: center; }
.step p { font-size: 0.875rem; text-align: center; }

/* ===== ABOUT ===== */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 640px) { .about-inner { grid-template-columns: 1fr; } }
.about-credentials {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.credential-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--shellstone);
  font-size: 0.875rem;
}
.credential-item:last-child { border-bottom: none; }
.credential-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--shellstone);
  font-weight: 600;
  margin-bottom: 3px;
}
.credential-value { font-weight: 600; color: var(--royal-blue); }
.about-quote {
  background: var(--royal-blue);
  color: var(--white);
  border-radius: 12px;
  padding: 28px 32px;
  margin-top: 24px;
  border-left: 4px solid var(--quicksand);
}
.about-quote p { color: rgba(255,255,255,0.88); font-size: 0.95rem; }

/* ===== FREE SAMPLE ===== */
.free-sample-inner {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.free-sample-inner h2 { margin-bottom: 12px; }
.free-sample-inner p { margin-bottom: 28px; }
.email-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.email-form input {
  flex: 1;
  min-width: 200px;
  padding: 13px 18px;
  border: 1.5px solid var(--shellstone);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--swan-wing);
  transition: border-color 0.2s;
}
.email-form input:focus {
  outline: none;
  border-color: var(--sapphire);
}
.form-note {
  font-size: 0.78rem;
  color: var(--shellstone);
  margin-top: 12px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-track-wrapper {
  overflow: hidden;
  margin-top: 32px;
  position: relative;
}
.testimonials-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.testimonials-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--quicksand);
  min-width: 300px;
  max-width: 340px;
  flex-shrink: 0;
  scroll-snap-align: start;
}
.testimonial-stars {
  color: #F5A623;
  font-size: 1rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-mid);
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.7;
}
.testimonial-author { font-size: 0.8rem; font-weight: 600; color: var(--sapphire); }
.testimonial-detail { font-size: 0.75rem; color: var(--shellstone); }
.testimonials-cta {
  text-align: center;
  margin-top: 28px;
}
.btn-link {
  background: none;
  border: none;
  color: var(--sapphire);
  font-size: 0.9rem;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
}
.btn-link:hover { opacity: 0.7; }

/* ===== REVIEW POPUP ===== */
.review-stars {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 20px;
}
.review-stars span {
  font-size: 2rem;
  color: var(--shellstone);
  cursor: pointer;
  transition: color 0.15s, transform 0.15s;
}
.review-stars span.active { color: #F5A623; }
.review-stars span.hover { color: #F5A623; transform: scale(1.15); }

/* ===== FAQ ===== */
.faq-list { margin-top: 36px; }
.faq-item {
  border-bottom: 1px solid var(--shellstone);
  padding: 22px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-weight: 600;
  color: var(--royal-blue);
  margin-bottom: 10px;
  font-size: 0.975rem;
}
.faq-a { font-size: 0.9rem; color: var(--text-mid); }

/* ===== CONTACT ===== */
.contact-form {
  max-width: 560px;
  margin: 40px auto 0;
}
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sapphire);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--shellstone);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s;
}
.form-control:focus { outline: none; border-color: var(--sapphire); }
textarea.form-control { min-height: 120px; resize: vertical; }

/* ===== FOOTER ===== */
footer {
  background: var(--royal-blue);
  padding: 40px 0;
  text-align: center;
}
footer p { color: rgba(255,255,255,0.5); font-size: 0.82rem; margin-bottom: 6px; }
footer a { color: rgba(255,255,255,0.6); }
footer a:hover { color: var(--quicksand); }
.footer-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--quicksand);
  margin-bottom: 12px;
}
.footer-logo span { color: var(--white); }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.btn-block { width: 100%; }
.contact-alt { font-size: 0.85rem; color: var(--shellstone); }
.contact-alt a { color: var(--sapphire); }
.footer-author { color: rgba(255,255,255,0.7); }
.footer-credit { font-size: 0.75rem; opacity: 0.4; }

/* ===== PRODUCT BUTTONS ===== */
.product-buttons {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.product-buttons .btn { flex: 1; text-align: center; padding: 12px 16px; font-size: 0.95rem; }
.btn-extract {
  display: inline-block;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--white);
  background: var(--royal-blue);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-extract:hover { opacity: 0.85; }
.bundle-card .btn-extract { color: var(--royal-blue); background: var(--white); }
.bundle-card .btn-extract:hover { opacity: 0.85; }

/* ===== EXTRACT POPUP ===== */
.extract-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
}
.extract-overlay[hidden] { display: none; }
.extract-popup {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  max-width: 420px;
  width: 90%;
  position: relative;
  box-shadow: var(--shadow-md);
}
.extract-popup h3 { margin-bottom: 8px; font-size: 1.15rem; }
.extract-popup p { font-size: 0.9rem; color: var(--text-mid); margin-bottom: 16px; }
.extract-close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none;
  font-size: 1.5rem; cursor: pointer;
  color: var(--text-mid);
}
.extract-popup .form-group { margin-bottom: 16px; }
.extract-popup .btn-primary { background: var(--royal-blue); color: var(--white); font-weight: 400; }
.extract-popup .btn-primary:hover { opacity: 0.9; }
.extract-popup.extract-popup--pack { background: var(--royal-blue); }
.extract-popup--pack h3 { color: var(--white); }
.extract-popup--pack p { color: rgba(255,255,255,0.7); }
.extract-popup--pack .form-label { color: rgba(255,255,255,0.8); }
.extract-popup--pack .extract-close { color: rgba(255,255,255,0.6); }
.extract-popup--pack .btn-primary { background: var(--white); color: var(--royal-blue); }
.extract-popup--pack .form-note { color: rgba(255,255,255,0.45); }
.extract-popup .form-note { font-size: 0.8rem; color: var(--shellstone); margin-top: 12px; margin-bottom: 0; }

/* ===== BURGER ===== */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  section { padding: 52px 0; }

  .nav-burger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    background: var(--royal-blue);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  }
  .nav-links.nav-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 12px 24px;
    font-size: 1rem;
  }

  .nav-logo-img { height: 80px; }
  .bundle-card { padding: 28px 20px; }
  .hero-cards { flex-direction: column; }
}
