/* ============================================
   TSTRIVE - STYLES.CSS
   Design: Bold & Energetic (Dark + Gold + Electric Blue)
   Fonts: Montserrat (headings) + Open Sans (body)
   ============================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

* { -webkit-tap-highlight-color: transparent; }

body {
  font-family: 'Open Sans', sans-serif;
  background: #0a0a0f;
  color: #e8e8f0;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- CSS VARIABLES ---- */
:root {
  --primary: #f5a623;
  --primary-dark: #d4891a;
  --secondary: #00c8ff;
  --dark: #0a0a0f;
  --dark2: #111118;
  --dark3: #1a1a26;
  --card-bg: #14141e;
  --text: #e8e8f0;
  --text-muted: #9090a8;
  --border: rgba(245,166,35,0.2);
  --success: #10b981;
  --gradient: linear-gradient(135deg, #f5a623 0%, #ff6b35 50%, #00c8ff 100%);
  --radius: 16px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-gold: 0 8px 32px rgba(245,166,35,0.25);
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

h1 { font-size: clamp(26px, 5vw, 52px); }
h2 { font-size: clamp(22px, 4vw, 40px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }

p { font-size: clamp(15px, 1.8vw, 17px); line-height: 1.75; color: var(--text); }
a { text-decoration: none; color: var(--primary); }

.highlight { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-sub { color: var(--text-muted); font-size: clamp(15px, 1.8vw, 18px); margin-top: 12px; margin-bottom: 40px; }

/* ---- CONTAINER ---- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--gradient);
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(15px, 1.8vw, 18px);
  padding: 16px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(245,166,35,0.4);
  min-height: 52px;
  -webkit-text-fill-color: #fff;
}
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 12px 40px rgba(245,166,35,0.6); }
.btn-primary:active { transform: scale(0.98); }
.btn-xl { font-size: clamp(17px, 2vw, 22px); padding: 20px 48px; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.navbar.scrolled { background: rgba(10,10,15,0.98); box-shadow: 0 4px 20px rgba(0,0,0,0.5); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 24px;
  text-decoration: none;
  -webkit-text-fill-color: #fff;
}
.nav-logo img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.logo-accent { color: var(--primary); -webkit-text-fill-color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s;
  -webkit-text-fill-color: var(--text);
}
.nav-links a:hover { color: var(--primary); -webkit-text-fill-color: var(--primary); }
.nav-links .nav-cta {
  background: var(--gradient);
  color: #fff;
  -webkit-text-fill-color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  min-height: 44px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 16px rgba(245,166,35,0.35);
}
.nav-links .nav-cta:hover { transform: scale(1.05); box-shadow: 0 8px 28px rgba(245,166,35,0.5); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px; min-height: 44px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: var(--dark);
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,200,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-glow {
  position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(245,166,35,0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 3s ease-in-out infinite;
}
.hero-bottle {
  width: 100%;
  max-width: 360px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 60px rgba(245,166,35,0.4));
  animation: floatBottle 4s ease-in-out infinite;
}
.hero-badge-float {
  position: absolute;
  background: rgba(20,20,30,0.9);
  border: 1px solid var(--primary);
  border-radius: 50px;
  padding: 8px 18px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--primary);
  z-index: 3;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.badge-top { top: 20%; left: -10px; animation: badgeFloat 3.5s ease-in-out infinite; }
.badge-bottom { bottom: 20%; right: -10px; animation: badgeFloat 3.5s ease-in-out infinite reverse; }

.hero-eyebrow {
  display: inline-block;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.4);
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-content h1 { margin-bottom: 24px; }
.hero-content p { margin-bottom: 16px; }

.hero-stars {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--primary);
}
.hero-stars span { color: var(--text-muted); }

.hero-cta { width: 100%; max-width: 400px; margin: 8px 0 20px; display: block; text-align: center; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--success);
}

/* ---- SECTION COMMON ---- */
section { padding: 80px 0; }

/* ---- WHY SECTION ---- */
.why-section { background: var(--dark2); text-align: center; }
.why-section h2 { margin-bottom: 8px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.why-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.why-card:hover { transform: scale(1.05) rotate(1deg); box-shadow: var(--shadow-gold); border-color: var(--primary); }
.why-card img { width: 80px; height: 80px; object-fit: contain; margin-bottom: 16px; }
.why-card h3 { font-size: 17px; margin-bottom: 12px; color: var(--primary); }
.why-card p { font-size: 14px; color: var(--text-muted); }

/* ---- WHAT SECTION ---- */
.what-section { background: var(--dark); }
.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.what-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-gold); }
.what-content h2 { margin-bottom: 20px; }
.what-content p { margin-bottom: 16px; }
.what-content .btn-primary { margin-top: 24px; }

/* ---- HOW IT WORKS ---- */
.how-section { background: var(--dark2); }
.how-section h2, .how-section .section-sub { text-align: center; }

/* ---- ACCORDION ---- */
.accordion-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.accordion-item { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.accordion-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 1.8vw, 17px);
  cursor: pointer;
  text-align: left;
  gap: 12px;
  min-height: 60px;
}
.accordion-btn:hover { color: var(--primary); }
.acc-icon { font-size: 22px; font-weight: 400; flex-shrink: 0; color: var(--primary); transition: transform 0.3s; }
.accordion-item.active .acc-icon { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; padding: 0 24px; }
.accordion-item.active .accordion-body { max-height: 400px; padding: 0 24px 20px; }
.accordion-body p { color: var(--text-muted); font-size: 15px; }

/* ---- REVIEWS ---- */
.reviews-section { background: var(--dark); text-align: center; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
  text-align: left;
}
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-gold); }
.review-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.review-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); }
.review-header strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 16px; color: #fff; }
.review-header span { font-size: 13px; color: var(--text-muted); }
.stars { font-size: 14px; margin-top: 4px; }
.review-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ---- PRICING ---- */
.pricing-section { background: var(--dark2); text-align: center; }
.pricing-section-2 { background: var(--dark); }

.countdown-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px auto 40px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text);
  flex-wrap: wrap;
}
.countdown { display: flex; align-items: center; gap: 8px; }
.cd-block { display: flex; flex-direction: column; align-items: center; background: var(--card-bg); border: 2px solid var(--primary); border-radius: 12px; padding: 12px 20px; min-width: 72px; }
.cd-block span { font-size: clamp(28px, 4vw, 44px); font-weight: 900; color: var(--primary); line-height: 1; }
.cd-block label { font-size: 11px; letter-spacing: 2px; color: var(--text-muted); margin-top: 4px; }
.cd-sep { font-size: 36px; font-weight: 900; color: var(--primary); line-height: 1; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.price-card {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-gold); }
.price-card.popular {
  border-color: var(--primary);
  background: linear-gradient(145deg, #1c1a10, #1a1a26);
  transform: scale(1.04);
}
.price-card.popular:hover { transform: scale(1.04) translateY(-8px); }
.popular-badge {
  position: absolute;
  top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 20px;
  border-radius: 50px;
  white-space: nowrap;
  -webkit-text-fill-color: #fff;
}
.price-label { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 13px; letter-spacing: 2px; color: var(--primary); margin-bottom: 6px; }
.price-qty { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 20px; color: #fff; }
.price-supply { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.price-card img:not(.payment-logos) { width: 100%; max-width: 160px; margin: 0 auto 16px; display: block; }
.price-per { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 28px; color: var(--primary); }
.price-per small { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.price-total { font-size: 16px; color: var(--text-muted); margin: 8px 0 16px; }
.price-total s { color: #666; }
.price-total strong { color: var(--success); font-size: 18px; }
.price-badge-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 16px; }
.tag-badge { background: rgba(245,166,35,0.12); border: 1px solid rgba(245,166,35,0.4); color: var(--primary); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12px; padding: 5px 12px; border-radius: 50px; }
.price-card .btn-primary { width: 100%; margin: 12px 0 8px; }
.payment-logos { width: 100%; max-width: 200px !important; margin: 8px auto 0; opacity: 0.7; }
.rating-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 32px; color: var(--text-muted); font-size: 15px; }
.rating-row img { height: 28px; width: auto; }

/* ---- BONUS ---- */
.bonus-section { background: var(--dark); text-align: center; }
.bonus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 20px; }
.bonus-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.bonus-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-gold); }
.bonus-card img { width: 100%; max-width: 200px; margin: 0 auto 20px; display: block; border-radius: 12px; }
.bonus-card h3 { color: var(--primary); margin-bottom: 12px; font-size: 18px; }
.bonus-card p { font-size: 15px; color: var(--text-muted); }

/* ---- INGREDIENTS ---- */
.ingredients-section { background: var(--dark2); text-align: center; }
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
  text-align: left;
}
.ingredient-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.3s, transform 0.3s;
}
.ingredient-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.ingredient-card h3 { font-size: 16px; color: var(--primary); margin-bottom: 10px; }
.ingredient-card p { font-size: 14px; color: var(--text-muted); }

/* ---- SCIENCE ---- */
.science-section { background: var(--dark); }
.science-section h2, .science-section .section-sub { text-align: center; }
.science-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.science-item {
  background: var(--card-bg);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
}
.science-item h3 { font-size: 17px; color: var(--primary); margin-bottom: 10px; }
.science-item p { font-size: 15px; color: var(--text-muted); }
.science-item em { color: var(--secondary); font-style: normal; font-weight: 600; }

/* ---- GUARANTEE ---- */
.guarantee-section { background: var(--dark2); }
.guarantee-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: center; }
.guarantee-img img { width: 100%; max-width: 340px; display: block; margin: 0 auto; filter: drop-shadow(0 12px 40px rgba(245,166,35,0.3)); }
.guarantee-content h2 { margin-bottom: 28px; }
.guarantee-point { margin-bottom: 28px; padding-left: 0; }
.guarantee-point h3 { font-size: 17px; color: var(--primary); margin-bottom: 8px; }
.guarantee-point p { font-size: 15px; color: var(--text-muted); }

/* ---- BENEFITS ---- */
.benefits-section { background: var(--dark); text-align: center; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.3s, transform 0.3s;
}
.benefit-item:hover { border-color: var(--primary); transform: translateX(4px); }
.benefit-icon { font-size: 28px; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.benefit-item h3 { font-size: 16px; color: #fff; margin-bottom: 6px; }
.benefit-item p { font-size: 14px; color: var(--text-muted); }

/* ---- FAQ ---- */
.faq-section { background: var(--dark2); text-align: center; }
.faq-section h2 { margin-bottom: 8px; }
.faq-section .accordion-list { margin-top: 20px; }

/* ---- FINAL CTA ---- */
.final-cta-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.final-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(245,166,35,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
}
.final-cta-img img { width: 100%; max-width: 400px; display: block; margin: 0 auto; animation: floatBottle 4s ease-in-out infinite; filter: drop-shadow(0 20px 60px rgba(245,166,35,0.35)); }
.urgency-badge {
  display: inline-block;
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.5);
  color: #ef4444;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 12px;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.final-cta-content h2 { margin-bottom: 20px; }
.final-cta-content p { color: var(--text-muted); margin-bottom: 24px; }
.price-display { margin: 24px 0; }
.old-price { display: block; font-size: 16px; color: #666; margin-bottom: 8px; font-family: 'Montserrat', sans-serif; }
.old-price s { color: #888; }
.new-price { display: block; font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: clamp(28px, 4vw, 44px); background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.final-cta-content .btn-primary { display: block; width: 100%; max-width: 480px; margin: 20px 0; }
.final-trust { display: flex; flex-wrap: wrap; gap: 12px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; color: var(--success); }

/* Pulse animation for CTA */
.pulse-btn { animation: pulseCta 2.5s ease-in-out infinite; }
@keyframes pulseCta {
  0%, 100% { box-shadow: 0 6px 24px rgba(245,166,35,0.4); }
  50% { box-shadow: 0 8px 40px rgba(245,166,35,0.8), 0 0 60px rgba(245,166,35,0.3); }
}

/* ---- FOOTER ---- */
.footer { background: #060609; border-top: 1px solid var(--border); padding: 60px 0 0; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .footer-logo-text { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 22px; color: #fff; display: block; margin: 12px 0 10px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); }
.footer-links-col h4, .footer-social-col h4 { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 800; color: var(--primary); margin-bottom: 16px; letter-spacing: 1px; text-transform: uppercase; }
.footer-links-col a, .footer-legal-links a { display: block; color: var(--text-muted); font-size: 14px; margin-bottom: 10px; transition: color 0.2s; -webkit-text-fill-color: var(--text-muted); }
.footer-links-col a:hover, .footer-legal-links a:hover { color: var(--primary); -webkit-text-fill-color: var(--primary); }
.footer-legal-links { display: flex; flex-direction: column; gap: 0; }
.social-icons { display: flex; gap: 12px; flex-wrap: wrap; }
.social-icon {
  width: 44px; height: 44px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}
.social-icon:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: scale(1.1); }
.footer-disclaimer { border-top: 1px solid var(--border); padding: 24px 0; }
.footer-disclaimer p { font-size: 12px; color: var(--text-muted); line-height: 1.7; }
.footer-bottom { background: #040406; padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 13px; color: var(--text-muted); }
.footer-bottom a { color: var(--primary); -webkit-text-fill-color: var(--primary); }

/* ---- PURCHASE POPUP ---- */
.purchase-popup {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9000;
  background: var(--card-bg);
  border: 1px solid var(--primary);
  border-radius: 16px;
  padding: 14px 16px;
  display: none;
  box-shadow: var(--shadow-gold);
  max-width: 280px;
  animation: slideInLeft 0.4s ease;
}
.purchase-popup.show { display: block; }
.popup-content { display: flex; align-items: center; gap: 12px; }
.popup-content img { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; }
.popup-content div { flex: 1; }
.popup-content strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 14px; color: #fff; }
.popup-content span { font-size: 13px; color: var(--text-muted); }
.popup-close { background: none; border: none; color: var(--text-muted); font-size: 20px; cursor: pointer; padding: 4px; min-width: 32px; min-height: 32px; line-height: 1; }

/* ---- EXIT POPUP ---- */
.exit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.exit-overlay.show { display: flex; }
.exit-popup {
  background: var(--dark3);
  border: 2px solid var(--primary);
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-gold);
  animation: popIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.exit-popup-inner { padding: 40px 36px; text-align: center; }
.exit-badge {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 12px;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.exit-popup h3 { font-size: clamp(22px, 4vw, 32px); margin-bottom: 16px; }
.exit-popup p { color: var(--text-muted); margin-bottom: 24px; font-size: 15px; }
.exit-cta { display: block; width: 100%; margin-bottom: 12px; }
.exit-dismiss { display: block; color: var(--text-muted); font-size: 13px; text-align: center; -webkit-text-fill-color: var(--text-muted); text-decoration: underline; }
.exit-close {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--text);
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- SCROLL TO TOP ---- */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px; height: 56px;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  z-index: 8000;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  transition: transform 0.2s;
}
.scroll-top.show { display: flex; }
.scroll-top:hover { transform: scale(1.1) translateY(-3px); }

/* ---- ANIMATIONS ---- */
@keyframes floatBottle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes slideInLeft {
  from { transform: translateX(-110%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes popIn {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ---- FADE-IN SCROLL ANIMATIONS ---- */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.6s ease calc(var(--delay, 0s)), transform 0.6s ease calc(var(--delay, 0s)); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-left.visible { opacity: 1; transform: translateX(0); }
.fade-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-right.visible { opacity: 1; transform: translateX(0); }

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================================
   RESPONSIVE — MOBILE FIRST
   ============================================ */

/* Tablet 768px and below */
@media (max-width: 991px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .ingredients-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-container { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 110px 20px 60px; }
  .hero-image-wrap { order: -1; }
  .hero-bottle { max-width: 280px; }
  .hero-glow { width: 280px; height: 280px; }
  .hero-cta { max-width: 100%; }
  .what-grid { grid-template-columns: 1fr; gap: 32px; }
  .what-img { order: -1; }
  .guarantee-grid { grid-template-columns: 1fr; gap: 32px; }
  .guarantee-img { order: -1; }
  .final-cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .final-cta-img { order: -1; }
  .benefits-grid { grid-template-columns: 1fr; }
}

/* Tablet 768px */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: var(--dark2);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 60px 32px;
    border-left: 1px solid var(--border);
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 18px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
  .price-card.popular { transform: none; }
  .bonus-grid { grid-template-columns: 1fr; }
}

/* Small phones 575px and below */
@media (max-width: 575px) {
  section { padding: 60px 0; }
  .why-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .ingredients-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-legal-links { align-items: center; }
  .social-icons { justify-content: center; }
  .hero { padding: 100px 16px 50px; }
  .badge-top, .badge-bottom { display: none; }
  .purchase-popup { left: 12px; right: 12px; max-width: 100%; bottom: 12px; }
  .exit-popup-inner { padding: 32px 24px; }
  .hero-trust { justify-content: center; }
  .cd-block { min-width: 60px; padding: 10px 14px; }
  .cd-block span { font-size: 32px; }
  .countdown-wrap { font-size: 14px; }
}

/* Very small 320px */
@media (max-width: 360px) {
  .nav-logo span { font-size: 20px; }
  h1 { font-size: 22px; }
  .btn-primary { padding: 14px 24px; font-size: 15px; }
}
