/* ============ Biosyntra — Phase 1 static landing page ============ */
:root {
  --brand: #87006c;
  --brand-dark: #5c004a;
  --brand-light: #b23596;
  --accent: #2e7d32;
  --ink: #241b22;
  --muted: #6d5f69;
  --bg: #fffdfd;
  --bg-soft: #faf3f8;
  --card: #ffffff;
  --border: #f0dfeb;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(135, 0, 108, 0.10);
  --shadow-lg: 0 24px 60px rgba(135, 0, 108, 0.16);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; overscroll-behavior: none; }
body { overscroll-behavior: none; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 2px; border-radius: 4px; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1160px, 92%); margin-inline: auto; }
.container.narrow { width: min(820px, 92%); }

.section { padding: clamp(64px, 9vw, 110px) 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
h1, h2, h3, h4 { line-height: 1.18; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.18rem; }
.grad {
  background: linear-gradient(100deg, var(--brand) 20%, var(--brand-light) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { font-size: 1.08rem; color: var(--muted); margin: 18px 0 26px; }

.section-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.section-head p { color: var(--muted); margin-top: 12px; }
.section-head.light h2, .section-head.light p { color: #fff; }
.section-head.light .eyebrow { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); color: #ffd9f3; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}
.btn-lg { padding: 15px 34px; font-size: 1.02rem; }
.btn-block { display: block; width: 100%; }
.btn-primary {
  background: linear-gradient(100deg, var(--brand), var(--brand-light));
  color: #fff;
  box-shadow: 0 8px 22px rgba(135, 0, 108, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(135, 0, 108, 0.45); }
.btn-ghost { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-ghost:hover { background: var(--brand); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(135, 0, 108, 0.3); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,0.2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 253, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(135,0,108,0.10); }
.nav-wrap { display: flex; align-items: center; gap: 24px; padding: 10px 0; }
.brand-logo { width: 96px; height: auto; }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { font-weight: 600; font-size: 0.95rem; color: var(--ink); position: relative; padding: 6px 0; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--brand); transition: width 0.25s ease; border-radius: 2px;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.nav-cta { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 6px; align-items: center; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--brand); border-radius: 2px; transition: 0.25s; display: block; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(52% 70% at 82% 30%, rgba(178, 53, 150, 0.16), transparent 70%),
    radial-gradient(40% 60% at 8% 90%, rgba(46, 125, 50, 0.10), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; list-style: none; margin-top: 30px; }
.hero-badges li {
  font-size: 0.82rem; font-weight: 700; color: var(--brand-dark);
  background: #fff; border: 1px solid var(--border);
  padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow);
}
.hero-badges li::before { content: "✓ "; color: var(--accent); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-ring {
  position: absolute; width: min(420px, 88%); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(135,0,108,0.14), rgba(135,0,108,0.03) 62%, transparent 70%);
  animation: pulse 5s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.hero-product {
  width: min(420px, 80%);
  filter: drop-shadow(0 30px 40px rgba(135, 0, 108, 0.28));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.float-chip {
  position: absolute; background: #fff; border: 1px solid var(--border);
  font-size: 0.8rem; font-weight: 700; color: var(--brand-dark);
  padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-lg);
}
.chip-1 { top: 8%; left: 0; }
.chip-2 { bottom: 18%; right: 0; }
.chip-3 { bottom: 2%; left: 8%; }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.split.reverse .facts-copy { order: 1; }
.split.reverse .facts-visual { order: 2; }

/* ---------- About ---------- */
.about { background: var(--bg); }
.about-visual { position: relative; }
.about-visual > img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-card {
  position: absolute; bottom: -22px; right: -14px;
  background: linear-gradient(120deg, var(--brand), var(--brand-light));
  color: #fff; padding: 18px 22px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); display: grid; text-align: center; max-width: 200px;
}
.about-card-num { font-size: 1.9rem; font-weight: 800; }
.about-card-label { font-size: 0.82rem; }
.check-list { list-style: none; margin: 20px 0 28px; display: grid; gap: 12px; }
.check-list li { padding-left: 32px; position: relative; color: var(--muted); font-weight: 500; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg-soft); color: var(--brand);
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 800;
  border: 1px solid var(--border);
}
.about-copy p { color: var(--muted); }
.about-actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.support-chip { display: flex; gap: 12px; align-items: center; }
.support-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--bg-soft); border: 1px solid var(--border);
  display: grid; place-items: center; font-size: 1.2rem; color: var(--brand);
}
.support-chip strong { display: block; font-size: 0.92rem; }
.support-chip small { color: var(--muted); }

/* ---------- Why choose us ---------- */
.why { background: var(--bg-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 24px; text-align: center; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 18px;
  background: linear-gradient(135deg, var(--bg-soft), #fff);
  border: 1px solid var(--border);
  display: grid; place-items: center; font-size: 1.7rem;
}
.feature-card p { color: var(--muted); font-size: 0.94rem; margin-top: 8px; }

.why-strip {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; margin-top: 30px;
}
.why-strip li {
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 9px 18px; font-size: 0.88rem; font-weight: 700; color: var(--brand-dark);
  box-shadow: var(--shadow);
}
.why-strip li::before { content: "✓ "; color: var(--accent); }

/* ---------- Key points ---------- */
.keypoints { background: linear-gradient(130deg, var(--brand-dark), var(--brand) 55%, var(--brand-light)); color: #fff; }
.kp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.kp-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius); padding: 30px 26px; backdrop-filter: blur(4px);
  transition: transform 0.25s ease, background 0.25s ease;
}
.kp-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.14); }
.kp-num { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.2em; color: #ffd9f3; }
.kp-card h3 { margin: 10px 0 8px; }
.kp-card p { color: rgba(255,255,255,0.85); font-size: 0.95rem; }

/* ---------- Supplement facts ---------- */
.facts { background: var(--bg); }
.facts-visual img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.facts-copy p { color: var(--muted); margin-bottom: 8px; }
.fact-list { list-style: none; margin: 22px 0 30px; display: grid; gap: 12px; }
.fact-list li {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 16px 12px 44px; position: relative; font-size: 0.97rem;
}
.fact-list li::before {
  content: "●"; color: var(--brand); position: absolute; left: 18px; top: 12px; font-size: 0.8rem;
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-soft); }
.testi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.testi-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.stars { color: #f5a623; letter-spacing: 2px; }
.testi-card blockquote { font-size: 0.96rem; color: var(--ink); flex: 1; }
.testi-card figcaption strong { display: block; }
.testi-card figcaption span { font-size: 0.8rem; color: var(--muted); }

/* ---------- Product ---------- */
.product { background: var(--bg); }
.product-wrap { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; max-width: 860px; margin: 0 auto; }
.product-card {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow-lg); align-items: center;
}
.product-badge {
  position: absolute; top: 18px; left: 18px; z-index: 1;
  background: linear-gradient(100deg, var(--brand), var(--brand-light)); color: #fff;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.product-media {
  background: radial-gradient(80% 80% at 50% 40%, #fff 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  display: grid; place-items: center;
}
.product-media img { margin: auto; filter: drop-shadow(0 18px 26px rgba(36, 27, 34, 0.22)); }
.product-info h3 { font-size: 1.5rem; }
.product-desc { color: var(--muted); margin: 10px 0 18px; font-size: 0.96rem; }
.price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.price { font-size: 2rem; font-weight: 800; color: var(--brand); }
.price-old { color: var(--muted); text-decoration: line-through; }
.price-save { background: #e8f5e9; color: var(--accent); font-size: 0.78rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.product-note { display: block; margin-top: 12px; color: var(--muted); }
.range-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 34px; }
.range-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; text-align: center; box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex; flex-direction: column;
}
.range-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.range-media {
  background: radial-gradient(80% 80% at 50% 40%, #fff 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; margin-bottom: 16px; aspect-ratio: 1; display: grid; place-items: center;
}
.range-media img { margin: auto; max-height: 100%; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(36, 27, 34, 0.2)); }
.range-card h3 { font-size: 1.08rem; color: var(--brand-dark); }
.range-card p { color: var(--muted); font-size: 0.88rem; margin: 8px 0 16px; }
.range-card .btn { margin-top: auto; }
.btn-sm { font-size: 0.85rem; padding: 9px 20px; }

/* ---------- Brand video ---------- */
.brand-video { background: var(--bg-soft); }
.video-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); line-height: 0; }
.video-wrap video { width: 100%; height: auto; display: block; }
.btn-whatsapp { margin-top: 4px; font-size: 0.9rem; padding: 10px 20px; }
a.support-chip:hover .support-icon { background: var(--brand); color: #fff; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.accordion { display: grid; gap: 14px; }
.accordion details {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 0; overflow: hidden;
}
.accordion summary {
  list-style: none; cursor: pointer; font-weight: 700; padding: 18px 52px 18px 22px;
  position: relative; user-select: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-soft); color: var(--brand);
  display: grid; place-items: center; font-weight: 800; transition: transform 0.25s ease;
}
.accordion details[open] summary::after { content: "–"; transform: translateY(-50%) rotate(180deg); }
.accordion details[open] { border-color: var(--brand-light); box-shadow: var(--shadow); }
.accordion details p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand-dark), var(--brand) 60%, var(--brand-light)); color: #fff; padding: clamp(56px, 7vw, 84px) 0; }
.cta-band-inner { text-align: center; display: grid; gap: 14px; justify-items: center; }
.cta-band p { color: rgba(255,255,255,0.85); }

/* ---------- Footer ---------- */
.site-footer { background: #1f0d1b; color: #d8c6d4; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 36px; padding-bottom: 44px; }
.footer-brand img { width: 100px; margin-bottom: 14px; background: #fff; border-radius: 12px; padding: 8px 12px; }
.footer-brand p { font-size: 0.92rem; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.75rem; font-weight: 800; transition: background 0.2s;
}
.socials a:hover { background: var(--brand); color: #fff; }
.footer-col h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.footer-col a { display: block; padding: 5px 0; font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 0.9rem; padding: 3px 0; }
.rating strong { font-size: 1.4rem; color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0; text-align: center; font-size: 0.88rem;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center;
  font-size: 1.1rem; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .feature-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .kp-grid { grid-template-columns: 1fr; }
  .product-wrap { grid-template-columns: 1fr; }
  .range-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-cta { display: none; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; gap: 0; padding: 8px 4%;
    margin-left: 0; display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 4px; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: 0; }
  .hero-grid, .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .facts-copy { order: 2; }
  .split.reverse .facts-visual { order: 1; }
  .hero-copy { text-align: center; }
  .hero-ctas, .hero-badges { justify-content: center; }
  .about-card { right: 8px; bottom: -16px; }
  .product-card { grid-template-columns: 1fr; }
  .float-chip { font-size: 0.72rem; }
}
@media (max-width: 560px) {
  .feature-grid, .testi-grid, .range-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-actions { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-product, .hero-ring { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Product detail pages ---------- */
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--brand); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.p-hero { padding-top: clamp(48px, 7vw, 80px); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 32px);
}
.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
.range-card .card-more { margin-top: 10px; }
.product-card .btn-block + .btn-block { margin-top: 10px; }

/* ---------- About / Blog / Contact pages ---------- */
.feature-grid.three { grid-template-columns: repeat(3, 1fr); }
.feature-grid.two { grid-template-columns: repeat(2, 1fr); }
.contact-hero .section-head { margin-bottom: 0; }
.contact-hero .crumbs { text-align: left; }
.about-hero-img { max-width: 480px; border-radius: var(--radius); box-shadow: var(--shadow); }
.story-copy { display: grid; gap: 16px; color: var(--muted); font-size: 1.02rem; }
.story-copy strong { color: var(--text); }
.vm-card { text-align: left; }

.btn-amazon { cursor: default; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog-thumb img { width: 100%; height: auto; display: block; }
.blog-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card-body h3 { font-size: 1.08rem; line-height: 1.35; }
.blog-card-body h3 a { color: var(--text); text-decoration: none; }
.blog-card-body h3 a:hover { color: var(--brand); }
.blog-card-body p { color: var(--muted); font-size: 0.94rem; flex: 1; }
.blog-post { padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--border); scroll-margin-top: 110px; }
.blog-post:first-child { border-top: 0; padding-top: 0; }
.blog-post h2 { margin: 8px 0 18px; }
.blog-post .btn { justify-self: start; }

@media (max-width: 900px) {
  .feature-grid.three, .blog-grid { grid-template-columns: 1fr; }
  .feature-grid.two { grid-template-columns: 1fr; }
}
