/* Wellness Wonders — shared styles */

:root {
  --navy: #1e2a3f;
  --navy-dark: #131c2b;
  --cream: #faf7f2;
  --cream-dark: #f1ebe0;
  --white: #ffffff;
  --text: #1e2a3f;
  --text-muted: #6b7280;
  --border: #e8e2d6;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(30, 42, 63, 0.08);
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { margin: 0; }

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

img { max-width: 100%; display: block; }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(30, 42, 63, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 18px 38px; font-size: 16px; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 15px;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}

.nav-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.2s;
}

/* Hero */
.hero {
  padding: 70px 0 90px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 700;
}

.hero-sub {
  margin-top: 20px;
  font-size: 19px;
  color: var(--text-muted);
  max-width: 480px;
}

.hero-actions { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-dark);
  height: 520px;
}

.hero-image img { width: 100%; height: 100%; object-fit: contain; }

/* Section */
.section { padding: 90px 0; }
.section-cream { background: var(--cream-dark); }

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: clamp(28px, 3.5vw, 38px);
}

.section-header p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 17px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.6;
  margin-bottom: 10px;
}

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
}

.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 15px; }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  text-align: center;
  padding: 0 12px;
}

.step-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  background: var(--navy);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 15px; }

/* Product */
.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
}

.product-image {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-dark);
}

.product-image img { width: 100%; object-fit: cover; }

.product-info h2 { font-size: 30px; }

.product-info .product-desc {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 16px;
}

.product-features {
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 15px;
  color: var(--text);
}

.product-features li::before {
  content: "✓";
  color: var(--navy);
  font-weight: 700;
  flex-shrink: 0;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 22px 0 6px;
  flex-wrap: wrap;
}

.product-pill {
  background: var(--cream-dark);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.product-price {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin: 10px 0 20px;
}

.product-price .price-strike {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 10px;
}

.value-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.bundle-includes {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.bundle-includes li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 15px;
  color: var(--text);
}

.bundle-includes li::before {
  content: "+";
  color: var(--navy);
  font-weight: 700;
  flex-shrink: 0;
}

.product-shipping {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.testimonial-stars { color: #e0a94f; font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }

.testimonial-quote {
  font-size: 15.5px;
  color: var(--text);
  font-style: italic;
}

.testimonial-author {
  margin-top: 18px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}

/* FAQ accordion */
.faq-category { margin-bottom: 36px; }
.faq-category h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 26px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
}

.faq-question .chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  font-size: 14px;
  color: var(--text-muted);
}

.faq-item.open .faq-question .chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer-inner {
  padding: 0 26px 22px;
  color: var(--text-muted);
  font-size: 15px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact-info h3 { font-size: 20px; margin-bottom: 12px; }
.contact-info p { color: var(--text-muted); margin-bottom: 28px; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-detail .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-family: inherit;
  font-size: 15px;
  background: var(--white);
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* About */
.about-hero {
  text-align: center;
  padding: 70px 0 20px;
}

.about-hero .eyebrow { display: block; }
.about-hero h1 { font-size: clamp(32px, 4.5vw, 46px); margin-top: 8px; }
.about-hero p { margin-top: 18px; color: var(--text-muted); font-size: 18px; max-width: 560px; margin-left: auto; margin-right: auto; }

.about-body {
  max-width: 720px;
  margin: 0 auto;
}

.about-body h2 { font-size: 24px; margin: 44px 0 14px; }
.about-body p { color: var(--text-muted); font-size: 16px; margin-bottom: 4px; }

/* CTA band */
.cta-band {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  color: var(--white);
}

.cta-band h2 { color: var(--white); font-size: clamp(26px, 3.5vw, 34px); }
.cta-band p { color: rgba(255,255,255,0.7); margin-top: 12px; font-size: 16px; }
.cta-band .btn-primary { margin-top: 26px; background: var(--white); color: var(--navy); }
.cta-band .btn-primary:hover { background: var(--cream); }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 56px 0 28px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand { color: var(--white); font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 19px; }
.footer-grid p { margin-top: 12px; font-size: 14px; line-height: 1.7; }

.footer-grid h4 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { font-size: 14px; transition: color 0.15s ease; }
.footer-grid a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 24px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-image { order: -1; height: 360px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 1fr; padding: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: none;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .feature-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .cta-band { padding: 40px 24px; }
}


/* Social links in footer */
.footer-social { display: flex; gap: 14px; margin-top: 18px; }
.footer-social a { color: rgba(255,255,255,0.6); display: inline-flex; transition: color 0.15s ease; }
.footer-social a:hover { color: var(--white); }


/* ---- Email signup: popup + footer form ---- */
.ww-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(19, 28, 43, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.ww-popup-overlay.is-visible { opacity: 1; pointer-events: auto; }
.ww-popup-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  max-width: 420px;
  width: 100%;
  padding: 40px 36px 32px;
  position: relative;
  box-shadow: 0 20px 60px rgba(19, 28, 43, 0.35);
  text-align: center;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s ease;
}
.ww-popup-overlay.is-visible .ww-popup-card { transform: translateY(0) scale(1); }
.ww-popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
}
.ww-popup-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.ww-popup-card h3 { font-size: 23px; margin-bottom: 10px; }
.ww-popup-card p { color: var(--text-muted); font-size: 15px; margin-bottom: 20px; }
.ww-popup-form { display: flex; flex-direction: column; gap: 10px; }
.ww-popup-form input[type="email"] {
  padding: 14px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  font-size: 15px;
  font-family: inherit;
  outline: none;
}
.ww-popup-form input[type="email"]:focus { border-color: var(--navy); }
.ww-popup-note { font-size: 12px; color: var(--text-muted); margin-top: 14px; margin-bottom: 0; }
.ww-popup-success { display: none; }
.ww-popup-overlay.is-success .ww-popup-form,
.ww-popup-overlay.is-success .ww-popup-badge,
.ww-popup-overlay.is-success h3.ww-popup-copy,
.ww-popup-overlay.is-success p.ww-popup-copy,
.ww-popup-overlay.is-success .ww-popup-note {
  display: none;
}
.ww-popup-overlay.is-success .ww-popup-success { display: block; }

.footer-signup { margin-top: 22px; }
.footer-signup p { color: rgba(255, 255, 255, 0.6); font-size: 13px; margin-bottom: 10px; }
.footer-signup-form { display: flex; gap: 8px; max-width: 320px; flex-wrap: wrap; }
.footer-signup-form input[type="email"] {
  flex: 1;
  min-width: 140px;
  padding: 11px 14px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.footer-signup-form button {
  padding: 11px 18px;
  border-radius: 999px;
  border: none;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}
.footer-signup-form button:hover { background: var(--cream-dark); }
.footer-signup-msg { font-size: 13px; margin-top: 8px; color: rgba(255, 255, 255, 0.85); min-height: 16px; }

.shipping-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e6f4ea;
  color: #1e6b3a;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-top: 10px;
}
