/* ========================
   NEUROPAWAY - STYLES.CSS
   Medical Professional Theme
   ======================== */

/* ---- CSS Variables ---- */
:root {
  --primary: #1a3a6b;
  --primary-dark: #0f2347;
  --accent: #e8a020;
  --accent-light: #f5c842;
  --success: #16a34a;
  --white: #ffffff;
  --off-white: #f8f9fb;
  --light-blue: #e8f0fe;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(26,58,107,0.10);
  --shadow-lg: 0 8px 48px rgba(26,58,107,0.18);
  --transition: 0.3s ease;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
* { -webkit-tap-highlight-color: transparent; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, select, textarea { font-size: 16px; font-family: var(--font-body); }

/* ---- Utility ---- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title { font-family: var(--font-display); font-size: clamp(28px, 5vw, 42px); font-weight: 700; text-align: center; color: var(--primary); margin-bottom: 16px; line-height: 1.2; }
.section-sub { text-align: center; color: var(--text-light); font-size: 18px; margin-bottom: 48px; }
.accent { color: var(--accent); }
.section-light { background: var(--white); padding: 80px 0; }
.section-alt { background: var(--off-white); padding: 80px 0; }
@media (max-width: 768px) {
  .section-light, .section-alt { padding: 56px 0; }
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, #d4890a 100%);
  color: var(--white); font-weight: 700; font-size: 18px;
  padding: 18px 36px; border-radius: 50px; min-height: 56px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 24px rgba(232,160,32,0.4);
  text-align: center; line-height: 1.3;
}
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 8px 36px rgba(232,160,32,0.55); }
.btn-primary:active { transform: scale(0.98); }
.btn-sub { font-size: 12px; font-weight: 400; opacity: 0.9; margin-top: 4px; }

/* ---- Animation ---- */
[data-animate] { opacity: 0; transform: translateY(32px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-animate].animated { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}

/* ========================
   NAVBAR
   ======================== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white); box-shadow: 0 2px 16px rgba(26,58,107,0.08);
  transition: padding var(--transition), box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: 0 4px 24px rgba(26,58,107,0.15); }
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 22px; color: var(--primary);
}
.logo img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.logo strong { color: var(--accent); }
#nav-menu {
  display: flex; align-items: center; gap: 32px;
}
#nav-menu a { font-weight: 500; color: var(--text); transition: color var(--transition); }
#nav-menu a:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 10px 24px; border-radius: 50px;
  font-weight: 600; min-height: 44px;
  display: flex; align-items: center;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; transform: scale(1.04); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  #nav-menu {
    position: fixed; top: 70px; left: 0; right: 0;
    background: var(--white); flex-direction: column;
    padding: 24px 20px; gap: 20px;
    transform: translateX(-100%); transition: transform var(--transition);
    box-shadow: 0 8px 24px rgba(26,58,107,0.12);
  }
  #nav-menu.open { transform: translateX(0); }
  .nav-cta { width: 100%; justify-content: center; }
}

/* ========================
   HERO
   ======================== */
#hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #0f2347 0%, #1a3a6b 50%, #1e4d8c 100%);
  position: relative; overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(232,160,32,0.08) 0%, transparent 70%);
}
.hero-container {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-image { position: relative; display: flex; justify-content: center; }
.hero-glow {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,32,0.35) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  animation: pulseGlow 3s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}
.hero-bottle {
  position: relative; z-index: 2; max-height: 450px; object-fit: contain;
  animation: floatBottle 6s ease-in-out infinite;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.4));
}
@keyframes floatBottle {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}
.floating-badge {
  position: absolute; background: rgba(255,255,255,0.95);
  color: var(--primary); font-weight: 700; font-size: 13px;
  padding: 8px 14px; border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  animation: badgeFloat 4s ease-in-out infinite;
  z-index: 3;
}
.badge-1 { top: 20%; right: 0; animation-delay: 0s; }
.badge-2 { bottom: 25%; left: 0; animation-delay: 2s; }
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-content { color: var(--white); }
.hero-tag {
  display: inline-block; background: rgba(232,160,32,0.2); border: 1px solid var(--accent);
  color: var(--accent-light); font-size: 13px; font-weight: 600;
  padding: 6px 16px; border-radius: 50px; margin-bottom: 20px; letter-spacing: 0.5px;
}
.hero-content h1 {
  font-family: var(--font-display); font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 900; line-height: 1.15; margin-bottom: 24px; color: var(--white);
}
.hero-content p { font-size: 17px; margin-bottom: 20px; opacity: 0.9; line-height: 1.8; }
.hero-btn { font-size: 20px; padding: 20px 40px; margin: 24px 0; width: 100%; max-width: 400px; }
.hero-trust { display: flex; align-items: center; gap: 12px; opacity: 0.9; }
.hero-trust img { height: 24px; }
.hero-trust span { font-size: 14px; }

@media (max-width: 768px) {
  #hero { padding: 90px 0 60px; }
  .hero-container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-image { order: -1; }
  .hero-bottle { max-height: 280px; }
  .hero-glow { width: 200px; height: 200px; }
  .hero-btn { max-width: 100%; }
  .hero-trust { justify-content: center; }
}

/* ========================
   WHY CHOOSE
   ======================== */
.badges-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.badge-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 24px;
  text-align: center; box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.badge-card:hover { transform: scale(1.05) rotate(1deg); box-shadow: var(--shadow-lg); }
.badge-card img { width: 80px; height: 80px; object-fit: contain; margin: 0 auto 20px; }
.badge-card h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.badge-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

@media (max-width: 991px) { .badges-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .badges-grid { grid-template-columns: 1fr; } }

/* ========================
   SPLIT LAYOUT
   ======================== */
.split-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.split-content h2 { font-family: var(--font-display); font-size: clamp(26px,4vw,38px); margin-bottom: 20px; color: var(--primary); }
.split-content p { margin-bottom: 18px; font-size: 17px; line-height: 1.8; }
.split-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-image img { width: 100%; object-fit: cover; }
@media (max-width: 768px) {
  .split-layout { grid-template-columns: 1fr; gap: 32px; }
  .split-image { order: -1; }
}

/* ========================
   ACCORDION
   ======================== */
.accordion-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.accordion-item { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.accordion-header {
  width: 100%; display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; text-align: left; font-weight: 600; font-size: 17px;
  color: var(--primary); transition: background var(--transition);
  min-height: 64px;
}
.accordion-header:hover { background: var(--light-blue); }
.accordion-header.open { background: var(--primary); color: var(--white); }
.acc-num { font-family: var(--font-display); font-size: 24px; font-weight: 900; opacity: 0.4; min-width: 36px; }
.acc-title { flex: 1; }
.acc-icon { font-size: 22px; font-weight: 300; transition: transform var(--transition); min-width: 24px; text-align: right; }
.accordion-header.open .acc-icon { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.accordion-body.open { max-height: 400px; }
.accordion-body p { padding: 16px 24px 24px 76px; font-size: 16px; line-height: 1.8; }
@media (max-width: 768px) {
  .accordion-body p { padding: 16px 20px 20px 20px; }
  .acc-num { font-size: 18px; min-width: 28px; }
}

/* ========================
   REVIEWS
   ======================== */
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.review-card {
  background: var(--off-white); border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--border); transition: transform var(--transition), box-shadow var(--transition);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.review-header { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.review-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); flex-shrink: 0; }
.review-header h4 { font-weight: 700; color: var(--primary); }
.review-header span { font-size: 13px; color: var(--text-light); }
.stars { color: var(--accent); font-size: 16px; margin-top: 4px; }
.review-card p { font-size: 15px; line-height: 1.8; }
@media (max-width: 768px) { .reviews-grid { grid-template-columns: 1fr; } }
@media (min-width: 576px) and (max-width: 768px) { .reviews-grid { grid-template-columns: repeat(2,1fr); } }

/* ========================
   PRICING
   ======================== */
.section-pricing { background: var(--primary-dark); padding: 80px 0; }
.section-pricing .section-title { color: var(--white); }
.section-pricing .section-sub { color: rgba(255,255,255,0.7); }
.countdown-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  margin-bottom: 48px; color: rgba(255,255,255,0.85); font-size: 16px;
}
.countdown { display: flex; align-items: center; gap: 8px; }
.cd-unit {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px; padding: 12px 20px; text-align: center; min-width: 80px;
}
.cd-unit span { display: block; font-size: clamp(32px,6vw,56px); font-weight: 700; color: var(--accent); font-family: var(--font-display); line-height: 1; }
.cd-unit small { display: block; font-size: 12px; color: rgba(255,255,255,0.6); letter-spacing: 2px; margin-top: 4px; }
.cd-sep { font-size: 40px; font-weight: 700; color: var(--accent); }

.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }
.price-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 32px 24px; text-align: center;
  color: var(--white); position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
.price-card.popular {
  background: rgba(255,255,255,0.12); border-color: var(--accent);
  transform: scale(1.04);
}
.price-card.popular:hover { transform: scale(1.04) translateY(-6px); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--white); font-size: 13px; font-weight: 700;
  padding: 6px 18px; border-radius: 50px; white-space: nowrap;
}
.price-label { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--accent); margin-bottom: 8px; }
.price-bottles { font-family: var(--font-display); font-size: 28px; font-weight: 700; margin-bottom: 4px; }
.price-supply { font-size: 14px; opacity: 0.7; margin-bottom: 24px; }
.price-card img:not(.payment-logos) { max-height: 160px; object-fit: contain; margin: 0 auto 20px; }
.bonus-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 16px; }
.b-badge { background: rgba(22,163,74,0.2); border: 1px solid rgba(22,163,74,0.5); color: #4ade80; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 50px; }
.price-amount { margin: 16px 0 24px; }
.price-old { display: block; text-decoration: line-through; opacity: 0.5; font-size: 18px; }
.price-now { display: block; font-family: var(--font-display); font-size: clamp(32px,5vw,48px); font-weight: 900; color: var(--accent); }
.price-per { display: block; font-size: 13px; opacity: 0.7; }
.price-btn { width: 100%; font-size: 16px; padding: 16px; min-height: 52px; }
.payment-logos { width: 100%; max-width: 180px; margin: 16px auto 0; opacity: 0.7; }
.rating-center { text-align: center; margin-top: 40px; }
.rating-center img { max-height: 40px; margin: 0 auto; }

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
  .price-card.popular { transform: scale(1); }
}
@media (min-width: 576px) and (max-width: 991px) {
  .pricing-grid { grid-template-columns: repeat(2,1fr); }
}

/* ========================
   BONUS
   ======================== */
.bonus-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.bonus-card {
  background: var(--white); border-radius: var(--radius); padding: 40px 32px;
  text-align: center; box-shadow: var(--shadow); border: 2px dashed var(--accent);
  transition: transform var(--transition);
}
.bonus-card:hover { transform: translateY(-4px); }
.bonus-card img { max-height: 140px; object-fit: contain; margin: 0 auto 20px; }
.bonus-card h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.bonus-card p { font-size: 15px; color: var(--text-light); line-height: 1.7; }
@media (max-width: 768px) { .bonus-grid { grid-template-columns: 1fr; } }

/* ========================
   INGREDIENTS
   ======================== */
.ingredients-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.ingredient-card {
  background: var(--off-white); border-radius: var(--radius); padding: 24px;
  border-left: 4px solid var(--primary); transition: transform var(--transition), box-shadow var(--transition);
}
.ingredient-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ingredient-card h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.ingredient-card p { font-size: 14px; line-height: 1.7; color: var(--text); }
@media (max-width: 991px) { .ingredients-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 575px) { .ingredients-grid { grid-template-columns: 1fr; } }

/* ========================
   SCIENCE
   ======================== */
.science-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.science-card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border-top: 4px solid var(--accent);
  transition: transform var(--transition);
}
.science-card:hover { transform: translateY(-4px); }
.science-card h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.science-card p { font-size: 15px; line-height: 1.8; }
@media (max-width: 768px) { .science-grid { grid-template-columns: 1fr; } }

/* ========================
   GUARANTEE
   ======================== */
.section-guarantee { background: linear-gradient(135deg, #f8f9fb 0%, #e8f0fe 100%); padding: 80px 0; }
.guarantee-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: center; }
.guarantee-image img { max-width: 260px; margin: 0 auto; filter: drop-shadow(0 12px 32px rgba(26,58,107,0.2)); }
.guarantee-content h2 { font-family: var(--font-display); font-size: clamp(24px,4vw,36px); margin-bottom: 16px; color: var(--primary); }
.guarantee-content > p { font-size: 17px; margin-bottom: 28px; line-height: 1.8; }
.guarantee-points { display: flex; flex-direction: column; gap: 24px; }
.g-point { display: flex; gap: 16px; align-items: flex-start; }
.g-icon { font-size: 32px; flex-shrink: 0; }
.g-point h4 { font-weight: 700; color: var(--primary); margin-bottom: 6px; font-size: 17px; }
.g-point p { font-size: 15px; line-height: 1.7; }
@media (max-width: 768px) {
  .guarantee-layout { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .g-point { flex-direction: column; align-items: center; text-align: center; }
}

/* ========================
   BENEFITS
   ======================== */
.benefits-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.benefits-list { display: flex; flex-direction: column; gap: 20px; }
.benefit-item { display: flex; gap: 16px; align-items: flex-start; }
.check {
  width: 32px; height: 32px; border-radius: 50%; background: var(--success);
  color: white; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; flex-shrink: 0; margin-top: 4px;
}
.benefit-item strong { display: block; font-size: 17px; color: var(--primary); margin-bottom: 4px; }
.benefit-item p { font-size: 14px; color: var(--text-light); }
.benefits-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.benefits-image img { width: 100%; }
@media (max-width: 768px) {
  .benefits-layout { grid-template-columns: 1fr; gap: 32px; }
  .benefits-image { order: -1; }
}

/* ========================
   FAQ
   ======================== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.faq-header {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; font-weight: 600; font-size: 17px; color: var(--primary);
  transition: background var(--transition); min-height: 64px; text-align: left; gap: 16px;
}
.faq-header:hover { background: var(--light-blue); }
.faq-header.open { background: var(--primary); color: var(--white); }
.faq-icon { font-size: 22px; font-weight: 300; transition: transform var(--transition); flex-shrink: 0; }
.faq-header.open .faq-icon { transform: rotate(45deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; background: var(--white); }
.faq-body.open { max-height: 300px; }
.faq-body p { padding: 16px 24px 24px; font-size: 16px; line-height: 1.8; }
@media (max-width: 768px) { .faq-body p { padding: 16px 20px 20px; } }

/* ========================
   FINAL CTA
   ======================== */
.section-final {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 80px 0; text-align: center;
}
.final-cta-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 40px;
}
.final-img { max-width: 260px; margin: 0 auto; animation: floatBottle 6s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5)); }
.final-content { color: var(--white); max-width: 600px; }
.final-content h2 { font-family: var(--font-display); font-size: clamp(26px,4vw,40px); margin-bottom: 16px; }
.final-content p { font-size: 17px; opacity: 0.9; margin-bottom: 24px; line-height: 1.8; }
.final-price { margin-bottom: 32px; }
.final-old { display: block; font-size: 18px; opacity: 0.6; margin-bottom: 8px; }
.final-now { display: block; font-family: var(--font-display); font-size: clamp(36px,6vw,56px); font-weight: 900; color: var(--accent); }
.final-btn { font-size: 20px; padding: 22px 40px; width: 100%; max-width: 440px; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(232,160,32,0.4); }
  50% { box-shadow: 0 8px 48px rgba(232,160,32,0.7); }
}

/* ========================
   FOOTER
   ======================== */
#footer { background: #0a1628; color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 22px; color: var(--white); margin-bottom: 16px; }
.footer-logo img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.footer-logo strong { color: var(--accent); }
.footer-col p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.footer-col h4 { color: var(--white); font-weight: 700; margin-bottom: 16px; font-size: 16px; }
.footer-col a { display: block; margin-bottom: 10px; font-size: 14px; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
  font-size: 14px; transition: background var(--transition), color var(--transition);
}
.social-links a:hover { background: var(--accent); color: var(--white); }
.footer-legal-links { display: flex; flex-direction: column; gap: 8px; }
.legal-link { font-size: 14px !important; }
.footer-disclaimer { padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-disclaimer p { font-size: 12px; line-height: 1.7; opacity: 0.5; margin-bottom: 12px; }
.copyright { opacity: 0.7 !important; }
.copyright a { color: var(--accent); }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  #footer { padding-top: 48px; }
}

/* ========================
   SCROLL TO TOP
   ======================== */
#scroll-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  font-size: 20px; font-weight: 700;
  box-shadow: 0 4px 16px rgba(26,58,107,0.35);
  opacity: 0; transform: translateY(20px);
  transition: opacity var(--transition), transform var(--transition);
  display: flex; align-items: center; justify-content: center;
}
#scroll-top.visible { opacity: 1; transform: translateY(0); }
#scroll-top:hover { background: var(--accent); transform: scale(1.1); }

/* ========================
   PURCHASE POPUP
   ======================== */
.purchase-popup {
  position: fixed; bottom: -100px; left: 16px;
  background: var(--white); border-radius: 12px;
  padding: 12px 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  display: flex; align-items: center; gap: 10px;
  border-left: 4px solid var(--success);
  transition: bottom 0.4s ease;
  z-index: 800; max-width: 320px;
  font-size: 14px; font-weight: 500;
}
.purchase-popup.show { bottom: 90px; }
.popup-icon { font-size: 20px; }
.popup-close { position: absolute; top: 6px; right: 10px; cursor: pointer; font-size: 16px; opacity: 0.5; }
.popup-close:hover { opacity: 1; }
@media (max-width: 768px) {
  .purchase-popup { left: 12px; right: 12px; max-width: none; bottom: -100px; }
  .purchase-popup.show { bottom: 16px; }
}

/* ========================
   EXIT INTENT POPUP
   ======================== */
.exit-popup-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.exit-popup-overlay.show { opacity: 1; pointer-events: all; }
.exit-popup-box {
  background: var(--white); border-radius: var(--radius);
  padding: 48px 40px; max-width: 440px; width: calc(100% - 32px);
  text-align: center; position: relative;
  transform: scale(0.9); transition: transform var(--transition);
}
.exit-popup-overlay.show .exit-popup-box { transform: scale(1); }
.exit-popup-close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px;
  border-radius: 50%; background: var(--off-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; font-weight: 700;
  transition: background var(--transition);
}
.exit-popup-close:hover { background: #fee2e2; }
.exit-popup-content h3 { font-family: var(--font-display); font-size: 26px; color: var(--primary); margin-bottom: 12px; }
.exit-popup-content p { font-size: 17px; margin-bottom: 28px; line-height: 1.7; }
.exit-btn { width: 100%; font-size: 18px; padding: 18px; margin-bottom: 16px; }
.exit-skip { display: block; font-size: 14px; color: var(--text-light); }
.exit-skip:hover { color: var(--primary); }
@media (max-width: 480px) { .exit-popup-box { padding: 36px 24px; } }
