/* =============================================================
   Balan Sulin - Enterprise Theme Stylesheet
   Theme: amber_sunset | Domain: fitnessenergypath.info
   ============================================================= */

:root {

  --bg-body: #14110e;
  --bg-card: #1f1b16;
  --primary-color: #f59e0b;
  --primary-hover: #ea580c;
  --border-color: rgba(245, 158, 11, 0.35);
  --card-border: 1.5px solid rgba(245, 158, 11, 0.35);
  --card-border-top: 1.5px solid rgba(245, 158, 11, 0.35);
  --card-border-left: 5px solid #f59e0b;
  --card-outline: none;
  --card-outline-offset: 0px;
  --text-main: #fffbeb;
  --text-muted: #d6d3d1;
  --font-serif: 'Lora', 'Georgia', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --radius-card: 20px 6px 20px 6px;
  --radius-btn: 12px;
  --shadow-card: 0 10px 32px rgba(0, 0, 0, 0.45), 0 0 20px rgba(245, 158, 11, 0.15);
  --accent-bg: rgba(245, 158, 11, 0.12);
  --btn-grad: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  --btn-text: #ffffff;
  --notice-bg: linear-gradient(90deg, #ea580c, #f59e0b);
  --header-bg: rgba(20, 17, 14, 0.94);
  --footer-bg: #0b0907;
  --text-footer: #fef3c7;
  --text-footer-dim: #fcd34d;
  --backdrop: blur(12px);

  --container-max: 1200px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

/* Layout */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 70px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 45px;
}

.section-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-color);
  background: var(--accent-bg);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 32px;
  margin-bottom: 16px;
  font-weight: 800;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
}

/* Top Notification Bar */
.top-notice-bar {
  background: var(--notice-bg, var(--primary-color));
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.3px;
}

/* Header Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: var(--backdrop);
  -webkit-backdrop-filter: var(--backdrop);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  gap: 16px;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-bg);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header-logo-text {
  display: flex;
  flex-direction: column;
}

.header-brand-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.15;
  white-space: nowrap;
}

.header-brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none !important;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.site-nav li {
  list-style: none !important;
  display: inline-block;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.site-nav a:hover, .site-nav a.active {
  color: var(--primary-color);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-lang-switch {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 2px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--primary-color);
  color: var(--btn-text, #ffffff);
}

.cart-toggle-btn {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.cart-toggle-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.header-cta-btn {
  background: var(--btn-grad, var(--primary-color));
  color: var(--btn-text, #ffffff) !important;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.header-cta-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary-color);
  color: var(--btn-text, #ffffff);
  font-size: 11px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Section */
.hero-section {
  padding: 60px 0 70px;
  background: var(--bg-body);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-color);
  background: var(--accent-bg);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 18px;
  font-weight: 800;
}

.hero-sub {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-bullets {
  list-style: none !important;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-bullet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-main);
  list-style: none !important;
}

.hero-bullet-item::before {
  display: none !important;
  content: none !important;
}

.hero-bullet-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-bg);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* Hero Scientific Mode Switcher */
.hero-mode-switcher {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 18px;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.hero-mode-btn {
  flex: 1;
  padding: 8px 6px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 8px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-mode-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.12);
}

.hero-mode-btn.active {
  background: var(--btn-grad, var(--primary-color)) !important;
  color: var(--btn-text, #ffffff) !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

/* Grid Systems */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Buttons */
.btn-primary {
  background: var(--btn-grad, var(--primary-color));
  color: var(--btn-text, #ffffff) !important;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  filter: brightness(1.08);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main) !important;
  border: 1px solid var(--border-color);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: var(--radius-btn);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--accent-bg);
  border-color: var(--primary-color);
  color: var(--primary-color) !important;
}

/* Active States for ALL Interactive Buttons */
.btn-secondary.active, 
.trial-tab-btn.active, 
.herb-tab-btn.active, 
.herb-btn.active, 
.herb-select-btn.active,
.plant-btn.active,
.diet-tab-btn.active, 
.diet-toggle-btn.active,
.scenario-btn.active, 
.meal-btn.active,
.batch-tab-btn.active,
.batch-btn.active,
.hplc-btn.active,
.bio-btn.active,
.cyber-toggle-btn.active,
.phase-btn.active,
.circadian-btn.active,
.time-btn.active,
.dose-btn.active,
.hero-mode-btn.active,
.price-select-btn.active,
.quiz-opt-btn.active,
.quiz-opt-btn.selected,
.quiz-option-btn.active,
.quiz-option-btn.selected {
  background: var(--btn-grad, var(--primary-color)) !important;
  color: var(--btn-text, #ffffff) !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), 0 0 12px var(--accent-bg) !important;
  font-weight: 800 !important;
}

/* Final CTA Card */
.final-cta-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--accent-bg) 100%);
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-card);
  padding: 50px 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 25px var(--accent-bg);
}

.final-cta-title {
  color: var(--text-main);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 14px;
}

.final-cta-desc {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 650px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* Cards & Bento Grid */
.glass-card {
  background: var(--bg-card);
  border: var(--card-border, 1px solid var(--border-color));
  border-top: var(--card-border-top, var(--card-border, 1px solid var(--border-color)));
  border-left: var(--card-border-left, var(--card-border, 1px solid var(--border-color)));
  outline: var(--card-outline, none);
  outline-offset: var(--card-outline-offset, 0px);
  border-radius: var(--radius-card);
  padding: 30px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

/* Pricing Grid (Strictly on Order Page) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 36px 0;
}

.price-card {
  background: var(--bg-card);
  border: var(--card-border, 2px solid var(--border-color));
  border-top: var(--card-border-top, var(--card-border, 2px solid var(--border-color)));
  border-left: var(--card-border-left, var(--card-border, 2px solid var(--border-color)));
  outline: var(--card-outline, none);
  outline-offset: var(--card-outline-offset, 0px);
  border-radius: var(--radius-card);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.price-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
}

.price-card.selected {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 25px var(--accent-bg), 0 12px 36px rgba(0, 0, 0, 0.45) !important;
  transform: translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--btn-grad, var(--primary-color));
  color: var(--btn-text, #ffffff);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-card-img {
  width: 100%;
  max-width: 170px;
  height: 160px;
  object-fit: contain;
  margin: 10px auto 16px;
  display: block;
}

.price-card-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-main);
}

.price-card-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.price-current {
  font-size: 30px;
  font-weight: 900;
  color: var(--primary-color);
}

.price-old {
  font-size: 15px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-select-btn {
  margin-top: auto;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-btn);
  border: 1px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.price-card.selected .price-select-btn, .price-select-btn:hover {
  background: var(--btn-grad, var(--primary-color));
  color: var(--btn-text, #ffffff);
  border-color: var(--primary-color);
}

/* COD Order Form & Contact Forms */
.order-form-container {
  background: var(--bg-card);
  border: var(--card-border, 1px solid var(--border-color));
  border-top: var(--card-border-top, var(--card-border, 1px solid var(--border-color)));
  border-left: var(--card-border-left, var(--card-border, 1px solid var(--border-color)));
  outline: var(--card-outline, none);
  outline-offset: var(--card-outline-offset, 0px);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-sans);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-body);
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
  box-sizing: border-box;
  display: block;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--accent-bg);
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 40px;
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* FAQ Accordion */
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  margin-bottom: 14px;
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.accordion-item:hover {
  border-color: var(--primary-color);
}

.accordion-header {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  color: var(--text-main);
  background: var(--bg-card);
  transition: var(--transition);
}

.accordion-header:hover {
  color: var(--primary-color);
}

.accordion-icon {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  transition: transform 0.25s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  display: none;
  border-top: 1px solid var(--border-color);
}

.accordion-item.active .accordion-body {
  display: block;
}

.accordion-item.active .accordion-header {
  color: var(--primary-color);
}

/* Article Rich Typography, Callouts & Badges */
.article-lead {
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.callout-box, .article-callout {
  background: var(--accent-bg);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary-color);
  border-radius: 12px;
  padding: 22px 26px;
  margin: 28px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.callout-box h4, .article-callout h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.callout-box p, .article-callout p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-main);
  margin: 0;
}

.key-takeaways {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--primary-color);
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0 24px;
}

.key-takeaways h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.key-takeaways ul {
  list-style: none !important;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.key-takeaways li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--text-main);
}

.key-takeaways li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-weight: 900;
}

.article-content h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 30px 0 12px;
  color: var(--text-main);
  border-left: 3px solid var(--primary-color);
  padding-left: 12px;
}

.article-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.article-content ul, .article-content ol {
  margin: 16px 0 24px 20px;
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.7;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content strong {
  color: var(--text-main);
  font-weight: 700;
}

.article-highlight {
  background: var(--accent-bg);
  color: var(--primary-color);
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Interactive Range Sliders */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  box-shadow: 0 0 10px var(--primary-color);
  transition: transform 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 10px var(--primary-color);
}

/* Quiz Options Bento */
.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.quiz-option-btn {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 20px;
  text-align: left;
  color: var(--text-main);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
}

.quiz-option-btn:hover {
  border-color: var(--primary-color);
  background: var(--accent-bg);
}

.quiz-option-btn.selected, .quiz-option-btn.active {
  border-color: var(--primary-color) !important;
  background: var(--accent-bg) !important;
  box-shadow: 0 0 0 2px var(--primary-color) !important;
  color: var(--text-main) !important;
}

/* Universal Legal Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--accent-bg);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

/* Bespoke Legal Sections & Cards */
.legal-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-main);
}

.legal-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, var(--accent-bg) 100%);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary-color);
  border-radius: 14px;
  padding: 24px 26px;
  margin-bottom: 22px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18), 0 0 16px var(--accent-bg);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.legal-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at top right, var(--accent-bg), transparent 70%);
  pointer-events: none;
}

.legal-section:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 32px var(--accent-bg), 0 0 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.legal-section h3 {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.legal-section p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-main);
  margin-bottom: 12px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 14px 0 0 0 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-section ul li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-main);
}

.legal-section ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-weight: 900;
  font-size: 14px;
}

.legal-section strong {
  color: var(--primary-color);
  font-weight: 700;
}

/* Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  display: none;
  z-index: 1500;
}

.cart-drawer-overlay.active,
.cart-drawer-overlay.open {
  display: block !important;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -440px;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border-color);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  z-index: 1600;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.active,
.cart-drawer.open {
  right: 0 !important;
}

.quiz-opt-btn,
.quiz-option-btn {
  text-align: left !important;
  justify-content: flex-start !important;
  display: block !important;
  width: 100% !important;
  white-space: normal !important;
}

.cart-drawer-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--accent-bg);
}

.cart-drawer-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 12px;
}

.cart-item-img {
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  border-radius: 6px;
  background: #ffffff;
  padding: 2px;
  border: 1px solid var(--border-color);
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-color);
  background: var(--accent-bg);
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--text-footer);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-color);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-footer);
  font-size: 13.5px;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-footer-dim);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .grid-3, .grid-2, .pricing-grid, .footer-inner {
    grid-template-columns: 1fr;
  }
  .site-nav {
    display: none;
  }
  .hero-title {
    font-size: 30px;
  }
  .quiz-options {
    grid-template-columns: 1fr;
  }
}
