/* ==========================================================================
   GenoTaste - Modern Genomic Wellness Landing Page CSS
   Color Palette: Warm Gold/Amber, Natural Green, Deep Charcoal/Navy, Red Accent
   Typography: Outfit (Headings), Plus Jakarta Sans (Body)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Brand Colors */
  --primary-gold: #EAA827;
  --primary-gold-dark: #C98811;
  --primary-gold-light: #FDF3DF;
  --primary-gold-glow: rgba(234, 168, 39, 0.25);

  --natural-green: #6A8D38;
  --natural-green-dark: #4D6926;
  --natural-green-light: #F0F5E8;
  --natural-green-glow: rgba(106, 141, 56, 0.2);

  --accent-red: #D91E2A;
  --accent-red-light: #FDF0F1;
  
  --deep-charcoal: #0F172A;
  --deep-navy: #1E293B;
  --navy-slate: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  --bg-cream: #FAF9F5;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  --border-light: #E2E8F0;
  --border-gold: rgba(234, 168, 39, 0.3);

  /* Shadows & Glassmorphism */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.1);
  --shadow-gold: 0 10px 30px rgba(234, 168, 39, 0.2);
  --shadow-green: 0 10px 30px rgba(106, 141, 56, 0.18);
  
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-blur: blur(16px);

  /* Layout & Transitions */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-cream);
  color: var(--deep-charcoal);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--deep-charcoal);
  line-height: 1.2;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography Utilities */
.text-gold { color: var(--primary-gold-dark); }
.text-green { color: var(--natural-green); }
.text-red { color: var(--accent-red); }
.text-muted { color: var(--text-muted); }

.gradient-text {
  background: linear-gradient(135deg, var(--deep-charcoal) 0%, var(--natural-green-dark) 50%, var(--primary-gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-gold-text {
  background: linear-gradient(135deg, var(--primary-gold-dark) 0%, #D48E12 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section Header Shared Styling */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.badge-gold {
  background: var(--primary-gold-light);
  color: var(--primary-gold-dark);
  border: 1px solid rgba(234, 168, 39, 0.3);
}

.badge-green {
  background: var(--natural-green-light);
  color: var(--natural-green-dark);
  border: 1px solid rgba(106, 141, 56, 0.3);
}

.badge-red {
  background: var(--accent-red-light);
  color: var(--accent-red);
  border: 1px solid rgba(217, 30, 42, 0.3);
}

.section-title {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title { font-size: 3rem; }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-gold), var(--natural-green), var(--accent-red));
  width: 0%;
  z-index: 1001;
  transition: width 0.1s ease-out;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition-normal);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-light);
}

.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 0.75rem 0;
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img-nav {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-logo:hover .logo-img-nav {
  transform: scale(1.05);
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--deep-charcoal);
  line-height: 1;
}

.brand-tagline-sm {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--natural-green-dark);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--navy-slate);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gold);
  transition: var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--primary-gold-dark);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(234, 168, 39, 0.35);
  background: linear-gradient(135deg, #F0B335 0%, #B87B0B 100%);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--deep-charcoal);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--natural-green);
  color: var(--natural-green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-gold {
  background: transparent;
  color: var(--deep-charcoal);
  border: 1.5px solid var(--primary-gold);
}

.btn-outline-gold:hover {
  background: var(--primary-gold-light);
  color: var(--primary-gold-dark);
  transform: translateY(-2px);
}

.btn-green {
  background: linear-gradient(135deg, var(--natural-green) 0%, var(--natural-green-dark) 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-green);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(106, 141, 56, 0.35);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--deep-charcoal);
  background: none;
  border: none;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 75px;
  left: 0;
  width: 100%;
  background: var(--bg-white);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  border-bottom: 1px solid var(--border-light);
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-menu-links a {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--deep-charcoal);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 9rem 0 5rem 0;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(234, 168, 39, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(106, 141, 56, 0.08) 0%, transparent 40%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  background: var(--bg-white);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--natural-green-dark);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-tagline-star {
  color: var(--accent-red);
  font-size: 1.1rem;
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--navy-slate);
  margin-bottom: 2.25rem;
  max-width: 540px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-slate);
}

.trust-item svg {
  color: var(--natural-green);
  flex-shrink: 0;
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-glow-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
  border-radius: 36px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(234, 168, 39, 0.15);
  transition: transform 0.5s ease;
}

.logo-glow-wrapper::before {
  content: '';
  position: absolute;
  inset: -15px;
  background: linear-gradient(135deg, var(--primary-gold-glow), var(--natural-green-glow));
  border-radius: 46px;
  z-index: -1;
  filter: blur(20px);
  animation: pulseGlow 6s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
  0% { opacity: 0.6; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1.03); }
}

.hero-logo-main {
  width: 85%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.06));
}

/* Floating Micro Cards in Hero */
.floating-badge {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  animation: floatAnim 4s ease-in-out infinite alternate;
}

.floating-badge-1 {
  top: 8%;
  left: -6%;
}

.floating-badge-2 {
  bottom: 6%;
  right: -6%;
  animation-delay: 2s;
}

@keyframes floatAnim {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

.badge-icon-gold {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-gold-light);
  color: var(--primary-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.badge-icon-green {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--natural-green-light);
  color: var(--natural-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.badge-text-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--deep-charcoal);
}

.badge-text-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Questions Section - "The Questions You Already Ask" */
.questions-section {
  padding: 6rem 0;
  background: var(--bg-white);
}

.questions-filter {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-slate);
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--deep-charcoal);
  color: #FFFFFF;
  border-color: var(--deep-charcoal);
}

.questions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.question-card {
  background: var(--bg-cream);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.question-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-md);
  background: #FFFFFF;
}

.card-topic-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--natural-green-dark);
  margin-bottom: 0.75rem;
}

.question-card-quote {
  font-size: 1.15rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  color: var(--deep-charcoal);
  margin-bottom: 1rem;
  line-height: 1.35;
}

.question-card-desc {
  font-size: 0.925rem;
  color: var(--navy-slate);
  margin-bottom: 1.5rem;
}

.question-card-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-gold-dark);
}

.question-card-action svg {
  transition: transform 0.2s ease;
}

.question-card:hover .question-card-action svg {
  transform: translateX(4px);
}

/* Modal Drawer for Question Details */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 620px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  z-index: 2001;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-bounce);
  opacity: 0;
  pointer-events: none;
  max-height: 90vh;
  overflow-y: auto;
}

.drawer-overlay.active + .drawer-content,
.drawer-content.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.drawer-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--navy-slate);
  cursor: pointer;
  transition: var(--transition-fast);
}

.drawer-close:hover {
  background: var(--primary-gold-light);
  color: var(--primary-gold-dark);
}

/* Interactive Before & After Report Clarity Section */
.clarity-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--bg-cream) 0%, #F5F3EC 100%);
}

.comparison-wrapper {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
}

.comparison-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.before-card {
  background: #FFF5F5;
  border: 1.5px solid #FEE2E2;
  border-radius: var(--radius-md);
  padding: 2rem;
}

.after-card {
  background: var(--natural-green-light);
  border: 1.5px solid rgba(106, 141, 56, 0.25);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.card-badge-red {
  display: inline-block;
  background: var(--accent-red);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.card-badge-green {
  display: inline-block;
  background: var(--natural-green-dark);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.comp-list {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.comp-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.comp-list-before li svg {
  color: var(--accent-red);
  flex-shrink: 0;
  margin-top: 3px;
}

.comp-list-after li svg {
  color: var(--natural-green-dark);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Process Section - "How GenoTaste Works" */
.process-section {
  padding: 6rem 0;
  background: var(--deep-charcoal);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.process-section .section-title {
  color: #FFFFFF;
}

.process-section .section-subtitle {
  color: var(--text-light);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  position: relative;
}

@media (max-width: 992px) {
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.process-step-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  position: relative;
  transition: var(--transition-normal);
}

.process-step-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-6px);
  border-color: var(--primary-gold);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
  color: var(--deep-charcoal);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(234, 168, 39, 0.4);
}

.step-title {
  font-size: 1.25rem;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Core Pillars - "Nature • Nurture • Knowledge" */
.pillars-section {
  padding: 6rem 0;
  background: var(--bg-white);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

.pillar-card {
  background: var(--bg-cream);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  border: 1.5px solid var(--border-light);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pillar-nature:hover { border-color: var(--natural-green); }
.pillar-nurture:hover { border-color: var(--primary-gold); }
.pillar-knowledge:hover { border-color: var(--deep-navy); }

.pillar-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.75rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.pillar-nature .pillar-icon-wrapper {
  background: var(--natural-green-light);
  color: var(--natural-green-dark);
}

.pillar-nurture .pillar-icon-wrapper {
  background: var(--primary-gold-light);
  color: var(--primary-gold-dark);
}

.pillar-knowledge .pillar-icon-wrapper {
  background: #F1F5F9;
  color: var(--deep-charcoal);
}

.pillar-title {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
}

.pillar-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--navy-slate);
  line-height: 1.7;
}

/* Why GenoTaste Section */
.why-section {
  padding: 6rem 0;
  background: var(--bg-cream);
}

.why-matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  margin-top: 2rem;
}

.why-matrix-table th, .why-matrix-table td {
  padding: 1.25rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.why-matrix-table th {
  background: #F8FAFC;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--deep-charcoal);
}

.why-matrix-table th.highlight-header {
  background: var(--primary-gold-light);
  color: var(--primary-gold-dark);
  border-bottom: 2px solid var(--primary-gold);
}

.why-matrix-table td.highlight-cell {
  background: rgba(254, 243, 223, 0.35);
  font-weight: 700;
  color: var(--deep-charcoal);
}

/* Packages & Pricing Section */
.packages-section {
  padding: 6rem 0;
  background: var(--bg-white);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

@media (max-width: 992px) {
  .packages-grid { grid-template-columns: 1fr; }
}

.package-card {
  background: var(--bg-cream);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
  position: relative;
}

.package-card.featured {
  background: #FFFFFF;
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-gold);
  transform: scale(1.03);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-dark));
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(234, 168, 39, 0.4);
}

.package-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.package-purpose {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  min-height: 2.7rem;
}

.package-features {
  list-style: none;
  margin: 1.5rem 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--navy-slate);
}

.package-features li svg {
  color: var(--natural-green);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Quiz Recommender Banner */
.quiz-recommender-banner {
  margin-top: 4rem;
  background: linear-gradient(135deg, var(--deep-charcoal) 0%, var(--deep-navy) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

@media (max-width: 768px) {
  .quiz-recommender-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* Testimonials / Case Highlights */
.testimonials-section {
  padding: 6rem 0;
  background: var(--bg-cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.client-quote {
  font-size: 0.95rem;
  color: var(--navy-slate);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-gold-light);
  color: var(--primary-gold-dark);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.client-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.client-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ Accordion Section */
.faq-section {
  padding: 6rem 0;
  background: var(--bg-white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-cream);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--deep-charcoal);
  text-align: left;
}

.faq-question:hover {
  background: var(--primary-gold-light);
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  color: var(--primary-gold-dark);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 1.75rem;
  background: var(--bg-white);
  font-size: 0.95rem;
  color: var(--navy-slate);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 1.25rem 1.75rem 1.75rem 1.75rem;
}

/* Booking Modal & Quiz Modal */
.modal-wrapper {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-wrapper.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 640px;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--navy-slate);
  cursor: pointer;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--deep-charcoal);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(234, 168, 39, 0.2);
}

/* Strong Final CTA Section */
.cta-section {
  padding: 7rem 0;
  background: linear-gradient(135deg, var(--deep-charcoal) 0%, var(--deep-navy) 100%);
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 3rem;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.cta-desc {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

/* Footer */
.footer {
  background: #090D16;
  color: #94A3B8;
  padding: 4rem 0 2rem 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand-title {
  font-family: 'Outfit', sans-serif;
  color: #FFFFFF;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a:hover {
  color: var(--primary-gold);
}

.footer-disclaimer {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  line-height: 1.6;
  color: #64748B;
  text-align: center;
}

/* Responsive Utilities */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-trust-badges { justify-content: center; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .comparison-card-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Programmatic SEO & Interactive Tools System CSS
   ========================================================================== */

/* Breadcrumbs */
.breadcrumb-container {
  padding: 1.5rem 0 0.5rem 0;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  list-style: none;
  flex-wrap: wrap;
}
.breadcrumbs a {
  color: var(--deep-navy);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
}
.breadcrumbs a:hover {
  color: var(--primary-gold);
}
.breadcrumbs .separator {
  color: var(--text-light);
}

/* pSEO Article Layout */
.pseo-header {
  padding: 9.5rem 0 2.5rem 0;
  background: linear-gradient(180deg, #FAF8F5 0%, var(--bg-cream) 100%);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 3rem;
}
@media (max-width: 768px) {
  .pseo-header {
    padding: 8.5rem 0 2rem 0;
  }
}
.pseo-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--primary-gold-light);
  color: var(--primary-gold-dark);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  border: 1px solid var(--border-gold);
}
.pseo-title {
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--deep-charcoal);
  margin-bottom: 1rem;
}
.pseo-summary {
  font-size: 1.15rem;
  color: var(--navy-slate);
  max-width: 800px;
  line-height: 1.7;
}

.pseo-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
@media (max-width: 992px) {
  .pseo-grid { grid-template-columns: 1fr; }
}

.pseo-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}
.pseo-card-title {
  font-size: 1.35rem;
  color: var(--deep-charcoal);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Variants Table */
.variant-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.variant-box {
  background: var(--bg-cream);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary-gold);
}
.variant-genotype {
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  color: var(--deep-charcoal);
  margin-bottom: 0.35rem;
  display: flex;
  justify-content: space-between;
}
.variant-freq {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}
.variant-impact {
  font-size: 0.9rem;
  color: var(--navy-slate);
  margin-bottom: 0.5rem;
}
.variant-action {
  font-size: 0.85rem;
  color: var(--natural-green-dark);
  font-weight: 600;
}

/* Lists */
.pseo-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.pseo-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--deep-navy);
}
.pseo-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--natural-green);
  font-weight: bold;
}

/* Sidebar Widgets */
.sidebar-box {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  position: sticky;
  top: 100px;
}
.sidebar-title {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--deep-charcoal);
}
.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.sidebar-links a {
  color: var(--navy-slate);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}
.sidebar-links a:hover {
  color: var(--primary-gold);
  padding-left: 4px;
}

/* Interactive Tool Cards & Widgets */
.tool-card-box {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3rem;
}
.tool-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .tool-form-grid { grid-template-columns: 1fr; }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-control {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  outline: none;
  font-family: inherit;
  transition: var(--transition-fast);
}
.form-control:focus {
  border-color: var(--primary-gold);
  background: rgba(255, 255, 255, 0.12);
}
.form-control option {
  background: #0F172A;
  color: #FFFFFF;
}

/* Range Sliders */
.range-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.range-slider {
  flex: 1;
  accent-color: var(--primary-gold);
  height: 6px;
  border-radius: 3px;
  cursor: pointer;
}
.range-val {
  font-weight: 700;
  color: var(--primary-gold);
  min-width: 65px;
}

/* Calculator Results Display */
.calc-results-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
}
.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
@media (max-width: 768px) {
  .calc-results-grid { grid-template-columns: repeat(2, 1fr); }
}
.calc-metric-label {
  font-size: 0.75rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
}
.calc-metric-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-gold);
}

.calc-status-badge {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}
.status-good { background: rgba(106, 141, 56, 0.25); color: #8BE668; }
.status-warn { background: rgba(234, 168, 39, 0.25); color: #FCE185; }
.status-danger { background: rgba(217, 30, 42, 0.25); color: #FF7B84; }

/* Macro Distribution Bar */
.macro-bar-container {
  height: 20px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  overflow: hidden;
  margin: 1rem 0;
}
.macro-segment {
  height: 100%;
  transition: width 0.4s ease;
}
.segment-carbs { background: var(--primary-gold); }
.segment-fats { background: var(--natural-green); }
.segment-protein { background: #38BDF8; }

.macro-legend {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dot-carbs { width: 10px; height: 10px; border-radius: 50%; background: var(--primary-gold); }
.dot-fats { width: 10px; height: 10px; border-radius: 50%; background: var(--natural-green); }
.dot-protein { width: 10px; height: 10px; border-radius: 50%; background: #38BDF8; }

/* Gene Decoder Hub Search & Filter UI */
.hub-search-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
.hub-search-input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  outline: none;
  font-family: inherit;
}
.hub-search-input:focus {
  border-color: var(--primary-gold);
}
.hub-filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hub-filter-btn {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}
.hub-filter-btn:hover, .hub-filter-btn.active {
  background: var(--primary-gold);
  color: #FFFFFF;
  border-color: var(--primary-gold);
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.hub-item-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
}
.hub-item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}
.hub-item-symbol {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--deep-charcoal);
}
.hub-item-name {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.hub-item-summary {
  font-size: 0.9rem;
  color: var(--navy-slate);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}
.hub-item-link {
  color: var(--primary-gold-dark);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.hub-item-link:hover {
  text-decoration: underline;
}

