/* Wellness Precision — clean, simple, modern */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f8;
  --ink: #111111;
  --text: #444444;
  --muted: #777777;
  --line: #e6e6e6;
  --accent: #0f172a;
  --accent-hover: #1e293b;
  --gold: #d4a017;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input { font: inherit; }
ul, ol { list-style: none; }

h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.5vw, 36px); margin-bottom: 8px; }
h3 { font-size: 18px; }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-full { width: 100%; }

/* Announcement */
.announce {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 10px 16px;
  font-weight: 500;
}

/* Nav */
.nav {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 16px;
}
.brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 60px 0; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery-main {
  background: var(--bg-alt);
  border-radius: 12px;
  aspect-ratio: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.thumb {
  background: var(--bg-alt);
  border-radius: 8px;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  transition: border-color 0.15s ease;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { border-color: var(--line); }
.thumb.active { border-color: var(--ink); }

.hero-text { display: flex; flex-direction: column; gap: 16px; }
.badge {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  width: fit-content;
}
.subtitle {
  font-size: 17px;
  color: var(--text);
  line-height: 1.6;
}
.rating {
  display: flex;
  align-items: center;
  gap: 10px;
}
.stars { color: var(--gold); font-size: 16px; letter-spacing: 1px; }
.rating-text { font-size: 14px; color: var(--muted); }

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 8px 0;
}
.price {
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
}
.price-note { font-size: 14px; color: var(--muted); }

.features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.features li {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text);
  padding-left: 26px;
  position: relative;
}
.features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  background: var(--ink);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='3,7 6,10 11,4'/></svg>");
  background-size: 14px 14px;
}
.features strong { color: var(--ink); font-weight: 700; }

.quick-points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
}
.quick-points li {
  font-size: 13.5px;
  color: var(--text);
  padding-left: 22px;
  position: relative;
  white-space: nowrap;
}
.quick-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ink);
  font-weight: 700;
}
@media (max-width: 540px) {
  .quick-points li { white-space: normal; }
}

/* Trust strip */
.trust {
  background: var(--bg-alt);
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Section base */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-sub {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 640px;
}

/* Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
}
.benefit h3 { margin-bottom: 12px; }
.benefit p { font-size: 15px; line-height: 1.6; }

/* 5 Types */
.types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.type {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.type strong { color: var(--ink); font-size: 17px; font-weight: 700; }
.type span { font-size: 14px; color: var(--muted); }
.type-c { background: var(--ink); }
.type-c strong { color: #fff; }
.type-c span { color: rgba(255, 255, 255, 0.7); }

/* Steps */
.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 20px 24px 20px 64px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.steps strong { color: var(--ink); display: block; margin-bottom: 4px; }

/* Reviews */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review .stars { font-size: 14px; }
.review p { font-size: 15px; line-height: 1.6; color: var(--text); }
.reviewer { font-size: 13px; color: var(--muted); font-weight: 500; }

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p {
  padding: 0 0 20px 0;
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  max-width: 720px;
}

/* Final CTA */
.cta {
  background: var(--ink);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  margin-bottom: 32px;
}
.cta .price { color: #fff; }
.cta .btn-primary { background: #fff; color: var(--ink); }
.cta .btn-primary:hover { background: rgba(255, 255, 255, 0.9); }
.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 40px 0 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.footer-brand { font-size: 16px; font-weight: 700; color: var(--ink); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: var(--text); }
.footer-links a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Legal pages */
.legal { padding: 56px 0 72px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: 32px; margin-bottom: 8px; }
.legal .updated { font-size: 13px; color: var(--muted); margin-bottom: 32px; }
.legal h2 { font-size: 20px; margin: 34px 0 10px; }
.legal p, .legal li { font-size: 15px; color: var(--text); line-height: 1.75; margin-bottom: 12px; }
.legal ul { margin: 0 0 16px 22px; }
.legal a { color: var(--accent); text-decoration: underline; }
.legal .back { display: inline-block; margin-top: 36px; font-size: 14px; font-weight: 600; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
  background: #fff;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  padding: 32px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: var(--bg-alt); color: var(--ink); }

.modal h3 { margin-bottom: 4px; }
.modal-sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.form { display: flex; flex-direction: column; gap: 14px; }
.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.form input {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 400;
}
.form input:focus {
  outline: none;
  border-color: var(--ink);
}
.form-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  width: 120px;
}
.qty button {
  width: 36px;
  height: 38px;
  font-size: 16px;
  color: var(--ink);
}
.qty button:hover { background: var(--bg-alt); }
.qty input {
  flex: 1;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.modal-summary {
  background: var(--bg-alt);
  padding: 16px;
  border-radius: 8px;
  margin: 8px 0;
}
.modal-summary > div {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 4px 0;
}
.modal-summary .free { color: #16a34a; font-weight: 600; }
.modal-summary .total {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 32px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
  .benefits, .types, .reviews { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
