/* ===== APRYVA — modern wellness brand ===== */

:root {
  --bg: #ffffff;
  --cream: #f4f8f6;
  --tint: #eafaf4;
  --ink: #13211d;
  --muted: #5d6f68;
  --line: #e4ece8;

  --brand: #12a594;
  --brand-dark: #0b7d70;
  --brand-soft: #d7f3ed;
  --accent: #ff7a59;
  --amazon: #ff9900;
  --amazon-dark: #e88a00;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px -24px rgba(11, 60, 53, 0.35);
  --shadow-sm: 0 8px 24px -16px rgba(11, 60, 53, 0.4);
  --max: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text { font-family: "Manrope", sans-serif; line-height: 1.12; letter-spacing: -0.02em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 28px -12px rgba(18,165,148,.7); }
.btn-primary:hover { background: var(--brand-dark); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }

.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { box-shadow: 0 16px 36px -16px rgba(0,0,0,.35); }

.btn-amazon { background: var(--amazon); color: #1a1a1a; }
.btn-amazon:hover { background: var(--amazon-dark); }
.amazon-glyph { width: 56px; height: 22px; fill: currentColor; }

.btn.disabled, .btn[aria-disabled="true"] {
  background: #eef2f0; color: #9aa8a3; cursor: not-allowed; box-shadow: none; pointer-events: none;
  border-color: transparent;
}
.btn.disabled::before { content: "🔒 "; font-size: 13px; }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 14px 0;
}
.site-header.scrolled {
  background: rgba(255,255,255,.85); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: flex; align-items: center; gap: 11px; }
.logo-mark-svg { width: 30px; height: 30px; color: var(--brand); flex-shrink: 0; }
.logo-text { font-family: "Manrope", sans-serif; font-size: 20px; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .2em; }
.logo-light .logo-text { color: #fff; }
.logo-light .logo-mark-svg { color: #fff; }

.nav { display: flex; gap: 30px; }
.nav a { font-weight: 600; font-size: 15px; color: var(--ink); position: relative; opacity: .85; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0;
  background: var(--brand); transition: width .25s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after { width: 100%; }
.nav a.active { opacity: 1; color: var(--brand-dark); }
.nav a.active::after { width: 100%; }

/* Subpage hero */
.page-hero { position: relative; padding: 170px 0 76px; text-align: center; overflow: hidden; }
.page-hero .hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(255,255,255,.80), rgba(255,255,255,.93)),
    url('images/cta-bg.webp') center/cover no-repeat; }
.page-hero .kicker { display: inline-block; margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 600px; margin: 18px auto 0; }

.header-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero (cinematic, full-bleed image) ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 118%; object-fit: cover; object-position: 70% center; will-change: transform; }
.hero-overlay { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.82) 30%, rgba(255,255,255,.30) 58%, rgba(255,255,255,0) 82%); }
.hero-inner { padding: 130px 0 90px; max-width: 660px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--brand-dark);
  box-shadow: var(--shadow-sm); margin-bottom: 24px; backdrop-filter: blur(6px);
}
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); position: relative; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--brand); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

.hero h1 { font-size: clamp(44px, 6.6vw, 76px); font-weight: 800; }
.grad { background: linear-gradient(120deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); margin: 24px 0 32px; max-width: 540px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 32px; }
.hero-trust li { font-size: 14px; font-weight: 600; color: var(--muted); }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; z-index: 2; }
.scroll-cue .mouse { width: 22px; height: 36px; border: 2px solid var(--muted); border-radius: 12px; position: relative; opacity: .7; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; border-radius: 2px; background: var(--muted); animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { opacity: 1; top: 7px; } 60% { opacity: 0; top: 17px; } 100% { opacity: 0; } }

/* scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: linear-gradient(90deg, var(--brand), var(--accent)); transition: width .1s linear; }

/* ===== Trust bar ===== */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream); }
.trustbar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 26px 24px; }
.trust-item { text-align: center; }
.trust-item strong { display: block; font-family: "Manrope"; font-size: 19px; color: var(--brand-dark); }
.trust-item span { font-size: 14px; color: var(--muted); }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-tint { background: var(--cream); }
.section-head { max-width: 640px; margin: 0 auto 50px; text-align: center; }
.kicker { font-family: "Manrope"; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin: 12px 0; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ===== Product grid ===== */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand-soft); }

.product-media {
  position: relative; aspect-ratio: 4/3; background: var(--bg);
  display: grid; place-items: center; overflow: hidden;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media.no-img { background: linear-gradient(135deg, var(--tint), #fff0eb); }
.ph-label {
  display: none; flex-direction: column; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted); font-weight: 600;
}
.ph-label::before { content: attr(data-emoji); font-size: 46px; }
.product-media.no-img .ph-label { display: flex; }
.product-media.no-img img { display: none; }

.badge-soon {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: rgba(19,33,29,.82); color: #fff; backdrop-filter: blur(4px);
  font-size: 12px; font-weight: 700; font-family: "Manrope";
  padding: 6px 12px; border-radius: 999px; letter-spacing: .02em;
}

.product-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.product-cat { font-size: 12.5px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .07em; }
.product-body h3 { font-size: 20px; }
.product-body p { font-size: 14.5px; color: var(--muted); flex: 1; }
.product-body .btn { margin-top: 12px; }

.center-cta { text-align: center; margin-top: 44px; }
.soon-note { text-align: center; margin-top: 40px; color: var(--muted); font-weight: 500; font-size: 15px; }

/* clickable product cards → detail pages */
.product-card[data-href] { cursor: pointer; }
.pcard-details { display: inline-flex; align-items: center; gap: 6px; font-family: "Manrope", sans-serif; font-weight: 700; font-size: 14px; color: var(--brand-dark); padding-top: 4px; transition: gap .2s var(--ease); }
.product-card:hover .pcard-details { gap: 10px; }

/* ===== Product detail page ===== */
.pd-section { padding: 130px 0 80px; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.breadcrumb a:hover { color: var(--brand-dark); }
.breadcrumb .sep { margin: 0 8px; opacity: .45; }
.breadcrumb .current { color: var(--ink); font-weight: 600; }

.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.pd-media { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; }
.pd-media img { width: 100%; height: 100%; object-fit: cover; }
.pd-media.no-img { background: linear-gradient(135deg, var(--tint), #fff0eb); }
.pd-media.no-img img { display: none; }
.pd-media .ph-label { display: none; }
.pd-media.no-img .ph-label { display: flex; }

.pd-cat { font-size: 13px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; }
.pd-info h1 { font-size: clamp(30px, 4vw, 44px); margin: 10px 0 16px; }
.pd-lead { color: var(--muted); font-size: 17px; margin-bottom: 26px; }
.pd-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 0 0 30px; }
.pd-features li { display: flex; gap: 11px; align-items: flex-start; font-weight: 500; }
.pd-features li::before { content: "✓"; color: var(--brand); font-weight: 800; flex-shrink: 0; }
.pd-buy .btn { min-width: 250px; }
.pd-soon { margin-top: 14px; font-size: 14px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.step-num { width: 38px; height: 38px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; font-family: "Manrope"; font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mini-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.mini-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.mini-media { aspect-ratio: 4/3; display: grid; place-items: center; font-size: 42px; background: linear-gradient(135deg, var(--tint), #fff0eb); }
.mini-body { padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mini-body h3 { font-size: 16px; }
.mini-arrow { color: var(--brand); font-weight: 800; font-family: "Manrope"; }

/* ===== Features ===== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.feature-icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  font-size: 26px; background: var(--brand-soft); margin-bottom: 16px;
}
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--muted); }

/* ===== About ===== */
.about-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.about-visual { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; display: grid; place-items: center; box-shadow: var(--shadow); }
.about-visual img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.about-blob { position: absolute; inset: 0; background: linear-gradient(135deg, var(--brand-soft), var(--tint), #fff0eb); animation: hue 14s ease-in-out infinite; }
@keyframes hue { 0%,100% { filter: hue-rotate(0); } 50% { filter: hue-rotate(20deg); } }
.about-emoji { position: relative; font-size: 90px; }
.about-copy h2 { font-size: clamp(28px, 4vw, 40px); margin: 12px 0 18px; }
.about-copy p { color: var(--muted); margin-bottom: 16px; font-size: 16.5px; }
.about-copy .btn { margin-top: 10px; }

/* ===== CTA banner ===== */
.cta-banner { position: relative; background: var(--brand-dark); color: #fff; overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: url('images/cta-bg.webp') center/cover no-repeat; opacity: .4; }
.cta-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(11,125,112,.92), rgba(18,165,148,.78)); }
.cta-inner { position: relative; z-index: 1; text-align: center; padding: 84px 24px; max-width: 700px; }
.cta-inner h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 14px; }
.cta-inner p { opacity: .92; font-size: 17px; margin-bottom: 28px; }

/* ===== Contact ===== */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(26px, 4vw, 38px); margin: 12px 0 16px; }
.contact-copy > p { color: var(--muted); font-size: 16.5px; margin-bottom: 26px; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.contact-list span { font-size: 20px; }
.contact-list a:hover { color: var(--brand-dark); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.form-note { margin-top: 14px; color: var(--brand-dark); font-weight: 600; text-align: center; }

/* ===== Footer ===== */
.site-footer { background: #0d1a17; color: #c9d6d1; padding: 64px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand p { color: #8ea29b; font-size: 14.5px; margin-top: 14px; max-width: 280px; }
.footer-col h4 { font-size: 14px; color: #fff; margin-bottom: 14px; letter-spacing: .03em; }
.footer-col a { display: block; color: #9fb1ab; font-size: 14px; margin-bottom: 9px; transition: color .2s; }
.footer-col a:hover { color: var(--brand); }
.footer-legal p { color: #8ea29b; font-size: 14px; margin-bottom: 8px; }
.footer-legal strong { color: #c9d6d1; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 22px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13px; color: #7a8d87; }
.footer-mini { max-width: 420px; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero { min-height: 88vh; }
  .hero-overlay { background: linear-gradient(180deg, rgba(255,255,255,.86) 0%, rgba(255,255,255,.72) 45%, rgba(255,255,255,.55) 100%); }
  .hero-media img { object-position: 65% center; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .about-visual { max-width: 360px; }
  .pd-grid { grid-template-columns: 1fr; gap: 30px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr; }

  .nav, .header-cta .btn-amazon { display: none; }
  .nav-toggle { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 70px; left: 16px; right: 16px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 10px; box-shadow: var(--shadow);
  }
  .nav.open a { padding: 13px 14px; border-radius: 10px; }
  .nav.open a::after { display: none; }
  .nav.open a:hover { background: var(--cream); }
}
@media (max-width: 560px) {
  .trustbar-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 130px 0 70px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
