/* ==========================================================================
   NEURO SERGE - ADVANCED STYLESHEET
   Developed for High Conversion & Fast Loading
   ========================================================================== */

/* ===== GLOBAL RESETS ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* === BRAND COLORS (Neuro Health Theme - Blue/Teal) === */
  --brand-primary:   #0A2463; /* Deep Trust Blue */
  --brand-secondary: #3E92CC; /* Bright Cognitive Teal */
  --brand-accent:    #D8315B; /* Action Red/Pink */
  --brand-green:     #2e9155; /* Verified Green */
  --white:           #ffffff;
  --bg-light:        #f4f7f9; /* Soft Clinical Gray/Blue */
  --bg-dark:         #061539;
  --text-main:       #1a1a1a;
  --text-muted:      #555555;
  --border-color:    #e0e6ed;
  
  /* Shadows */
  --shadow-sm:       0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:       0 4px 20px rgba(10,36,99,0.12);
  --shadow-lg:       0 12px 35px rgba(10,36,99,0.18);

  /* === OPTIMIZED TYPOGRAPHY SCALES === */
  --f-xs:    1.0rem;
  --f-sm:    1.15rem;
  --f-body:  1.25rem;
  --f-md:    1.45rem;
  --f-lg:    1.65rem;
  --f-xl:    2.1rem;
  --f-2xl:   2.6rem;
  --f-3xl:   3.2rem;
  --f-price: 3.6rem;
  --lh-body: 1.8;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  font-size: var(--f-body);
  line-height: var(--lh-body);
  color: var(--text-main);
  background: var(--white);
  overflow-x: hidden;
  padding-bottom: 80px; /* Space for Bottom CTA */
}

/* Typography Basics */
h1 { font-size: var(--f-3xl); font-weight: 900; line-height: 1.2; }
h2 { font-size: var(--f-2xl); font-weight: 800; line-height: 1.25; }
h3 { font-size: var(--f-xl);  font-weight: 700; line-height: 1.3; }
h4 { font-size: var(--f-lg);  font-weight: 700; line-height: 1.35; }
p, li { font-size: var(--f-body); line-height: var(--lh-body); margin-bottom: 15px; }
a { text-decoration: none; color: var(--brand-secondary); }

/* ===== UTILITIES ===== */
.section    { padding: 80px 24px; }
.bg-light   { background: var(--bg-light); }
.brand-title { color: var(--brand-primary); }
.sec-title  { text-align: center; font-size: var(--f-2xl); font-weight: 900; color: var(--text-main); margin-bottom: 12px; }
.sec-sub    { text-align: center; font-size: var(--f-md); color: var(--text-muted); margin-bottom: 50px; max-width: 800px; margin-left: auto; margin-right: auto; }

/* ===== BUTTONS ===== */
.btn-cta {
  display: inline-block; 
  background: var(--brand-accent); 
  color: var(--white);
  padding: 18px 45px; 
  border-radius: 8px;
  font-weight: 900; 
  font-size: var(--f-lg);
  margin-top: 25px;
  box-shadow: 0 6px 20px rgba(216, 49, 91, 0.4);
  transition: all 0.3s ease;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn-cta:hover { 
  background: #b5254a; 
  transform: translateY(-3px); 
  box-shadow: 0 8px 25px rgba(216, 49, 91, 0.5); 
}
.btn-cta-xl { font-size: var(--f-xl); padding: 22px 60px; }

/* ===== NAVIGATION ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 24px;
}
.nav-logo img { height: 50px; object-fit: contain; }
.nav-links { display: flex; gap: 35px; list-style: none; }
.nav-links a { color: var(--text-main); font-weight: 700; font-size: var(--f-sm); transition: color .2s; }
.nav-links a:hover { color: var(--brand-primary); }
.btn-nav {
  background: var(--brand-primary); color: var(--white);
  padding: 12px 30px; border-radius: 6px;
  font-weight: 800; font-size: var(--f-sm);
  transition: all .2s;
}
.btn-nav:hover { background: var(--brand-secondary); }
.hamburger { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 5px; }
.hamburger span { display: block; width: 30px; height: 3px; background: var(--text-main); border-radius: 2px; }
.mob-menu { display: none; flex-direction: column; gap: 18px; padding: 20px 24px; background: var(--white); border-top: 1px solid var(--border-color); }
.mob-menu.open { display: flex; }
.mob-menu a { color: var(--text-main); font-weight: 700; font-size: var(--f-md); }

/* ===== HERO SECTION ===== */
.hero { padding: 60px 24px 80px; background: linear-gradient(135deg, #ffffff 40%, var(--bg-light) 100%); }
.hero-grid {
  max-width: 1150px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 50px; align-items: center;
}
.hero-img img { width: 70%;
    max-width: 70%; margin: 0 auto; display: block; border-radius: 15px; box-shadow: var(--shadow-lg); }
.hero-content h1 { color: var(--text-main); margin-bottom: 25px; }
.hero-content h1 span { color: var(--brand-primary); }
.hero-content p { color: var(--text-muted); margin-bottom: 30px; font-size: var(--f-md); }
.hero-divider { border: none; border-top: 2px solid var(--border-color); margin: 25px 0; }
.reg-price { font-size: var(--f-md); color: var(--text-muted); }
.sale-price { font-size: var(--f-xl); font-weight: 900; color: var(--brand-accent); margin: 8px 0; }
.hurry-badge { display: inline-block; background: var(--brand-accent); color: var(--white); padding: 6px 20px; font-size: var(--f-sm); font-weight: 800; border-radius: 5px; margin-top: 10px; }

/* ===== TRUST BADGES ===== */
.badges-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px;
}
.badge-card { text-align: center; padding: 35px 20px; border: 2px solid var(--border-color); border-radius: 12px; background: var(--white); transition: all .3s; }
.badge-card:hover { border-color: var(--brand-secondary); box-shadow: var(--shadow-md); transform: translateY(-5px); }
.badge-card img { width: 85px; height: 85px; object-fit: contain; margin: 0 auto 15px; display: block; }
.badge-card h4 { color: var(--brand-primary); margin-bottom: 12px; }

/* ===== TESTIMONIALS ===== */
.testi-grid { max-width: 1150px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testi-card { background: var(--bg-light); border-radius: 15px; padding: 35px 25px; text-align: center; border: 1px solid var(--border-color); }
.testi-photo { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto 15px; border: 4px solid var(--brand-secondary); }
.stars { font-size: 1.8rem; color: #f5b041; margin-bottom: 10px; }
.verified { color: var(--brand-green); font-weight: 800; font-size: var(--f-sm); margin-bottom: 15px; }
.testi-text { font-style: italic; color: var(--text-muted); margin-bottom: 20px; }
.testi-name { font-weight: 800; color: var(--brand-primary); }

/* ===== TWO COLUMNS (ABOUT) ===== */
.two-col { max-width: 1150px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: center; }
.two-col img { width: 100%; border-radius: 15px; box-shadow: var(--shadow-md); }
.two-col h2 { color: var(--brand-primary); margin-bottom: 25px; }

/* ===== PRICING TABLES ===== */
.pricing-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: end; }
.p-card { background: var(--white); border-radius: 15px; padding: 40px 25px; text-align: center; border: 2px solid var(--border-color); position: relative; transition: all .3s; }
.p-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.p-card.pop { border-color: var(--brand-secondary); border-width: 3px; box-shadow: var(--shadow-md); padding-top: 50px; }
.pop-badge { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); background: var(--brand-secondary); color: var(--white); font-weight: 900; font-size: 1.1rem; padding: 8px 25px; border-radius: 25px; white-space: nowrap; }
.p-card img { width: 100%; max-width: 280px; margin: 0 auto 20px; display: block; transition: transform .3s; }
.p-card img:hover { transform: scale(1.05); }
.supply { font-size: var(--f-lg); font-weight: 800; margin-bottom: 10px; }
.price-big { font-size: var(--f-price); font-weight: 900; color: var(--brand-primary); line-height: 1; }
.per-btl { color: var(--text-muted); margin-bottom: 15px; }
.savings { font-size: var(--f-md); font-weight: 700; color: var(--brand-green); margin-bottom: 10px; }

/* ===== WARNING BOX ===== */
.warn-wrap { padding: 40px 24px; }
.warn-box { background: #fff4e5; border: 2px solid #f39c12; border-radius: 12px; padding: 25px 35px; max-width: 950px; margin: 0 auto; display: flex; align-items: center; gap: 20px; }
.warn-icon { font-size: 3.5rem; }
.warn-box p { font-size: var(--f-md); margin: 0; }
.warn-box strong { color: var(--brand-accent); }

/* ===== INGREDIENTS ===== */
.ing-list { max-width: 900px; margin: 0 auto; list-style: none; }
.ing-item { padding: 35px 30px 35px 90px; margin-bottom: 25px; background: var(--white); border-radius: 15px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); position: relative; display: grid; grid-template-columns: 140px 1fr; gap: 30px; align-items: center; }
.ing-num { width: 55px; height: 55px; background: var(--brand-primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: var(--f-lg); font-weight: 900; position: absolute; left: -15px; top: -15px; box-shadow: var(--shadow-sm); }
.ing-img { width: 140px; height: 140px; object-fit: cover; border-radius: 10px; border: 2px solid var(--bg-light); }
.ing-content h4 { color: var(--brand-secondary); margin-bottom: 12px; font-size: var(--f-xl); }

/* ===== BONUSES ===== */
.bonuses-bg { background: linear-gradient(135deg, var(--brand-primary) 0%, var(--bg-dark) 100%); color: var(--white); }
.bonus-headline { text-align: center; margin-bottom: 50px; }
.bonus-headline h2 { color: var(--white); font-size: var(--f-3xl); }
.bonus-headline p { color: #d0d8e8; font-size: var(--f-lg); }
.bonuses-list { max-width: 950px; margin: 0 auto; display: flex; flex-direction: column; gap: 30px; }
.bonus-card { background: var(--white); color: var(--text-main); border-radius: 15px; padding: 35px; display: grid; grid-template-columns: 180px 1fr; gap: 35px; align-items: center; }
.bonus-card img { width: 180px; height: auto; border-radius: 10px; }
.bonus-card h4 { color: var(--brand-primary); font-size: var(--f-xl); margin-bottom: 15px; }
.free-tag { color: var(--brand-green); font-weight: 900; font-size: var(--f-lg); }

/* ===== GUARANTEE ===== */
.mb-inner { max-width: 1050px; margin: 0 auto; display: grid; grid-template-columns: 250px 1fr; gap: 50px; align-items: center; }
.mb-inner img { width: 100%; max-width: 250px; }
.mb-inner h3 { color: var(--brand-primary); margin-bottom: 20px; }

/* ===== FAQ ===== */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: 12px; margin-bottom: 15px; border: 1px solid var(--border-color); overflow: hidden; }
.faq-q { width: 100%; background: none; border: none; padding: 25px 30px; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: var(--f-lg); font-weight: 800; color: var(--brand-primary); font-family: inherit; }
.faq-arrow { color: var(--brand-secondary); transition: transform .3s; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-ans { max-height: 0; overflow: hidden; transition: all .4s ease; padding: 0 30px; }
.faq-item.open .faq-ans { max-height: 500px; padding: 0 30px 25px; }

/* ===== BOTTOM STICKY CTA BAR ===== */
.bottom-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(10, 36, 99, 0.95);
  backdrop-filter: blur(10px);
  border-top: 3px solid var(--brand-accent);
  padding: 15px 20px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
}
.bottom-cta-bar.visible { transform: translateY(0); }
.cta-bar-content {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.cta-text { color: var(--white); font-size: var(--f-md); }
.cta-pulse { animation: pulse 1.5s infinite; display: inline-block; }
.btn-cta-bar {
  background: var(--brand-accent);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 900;
  font-size: var(--f-sm);
  white-space: nowrap;
  transition: background 0.3s;
}
.btn-cta-bar:hover { background: #b5254a; }

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }

/* ===== FOOTER ===== */
footer { background: var(--bg-dark); color: #8fa0c4; padding: 60px 24px; text-align: center; }
.foot-disc { max-width: 1000px; margin: 0 auto; font-size: 0.95rem; line-height: 1.7; }
.foot-links { display: flex; justify-content: center; gap: 25px; margin: 30px 0 20px; flex-wrap: wrap; }
.foot-links a { color: var(--brand-secondary); font-weight: 600; }
.foot-links a:hover { color: var(--white); }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  :root {
    --f-body: 1.15rem; --f-md: 1.3rem; --f-lg: 1.45rem;
    --f-xl: 1.8rem; --f-2xl: 2.2rem; --f-3xl: 2.8rem; --f-price: 3rem;
  }
  .hero-grid, .two-col, .mb-inner, .bonus-card { grid-template-columns: 1fr; text-align: center; }
  .testi-grid, .pricing-grid, .badges-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .badges-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  .p-card.pop { padding-top: 40px; }
  .ing-item { grid-template-columns: 1fr; text-align: center; padding: 40px 20px 20px; }
  .ing-num { left: 50%; transform: translateX(-50%); top: -25px; }
  .ing-img { margin: 0 auto; }
  .cta-bar-content { flex-direction: column; text-align: center; gap: 10px; }
}

@media (max-width: 600px) {
  :root {
    --f-body: 1.05rem; --f-md: 1.15rem; --f-lg: 1.3rem;
    --f-xl: 1.6rem; --f-2xl: 1.9rem; --f-3xl: 2.2rem; --f-price: 2.5rem;
  }
  .badges-grid { grid-template-columns: 1fr; }
  .warn-box { flex-direction: column; text-align: center; }
  .btn-cta-xl { padding: 18px 30px; font-size: var(--f-lg); width: 100%; }
}

/* ===== UPDATED BOTTOM STICKY CTA BAR ===== */
.bottom-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(10, 36, 99, 0.98);
  backdrop-filter: blur(10px);
  border-top: 3px solid var(--brand-accent);
  padding: 15px 40px 15px 20px; /* Right padding for close button */
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.bottom-cta-bar.visible { transform: translateY(0); }

.close-cta {
  position: absolute;
  top: -12px;
  right: 10px;
  background: var(--brand-accent);
  color: white;
  border: none;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  font-size: 16px;
  line-height: 20px;
  cursor: pointer;
  z-index: 10000;
}
.close-cta:hover { background: #b5254a; }

.cta-bar-content {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}

/* ==========================================================================
   5 NEW SEO RANKING SECTIONS - CSS
   ========================================================================== */

/* 1. Comparison Table Styles */
.comparison-table-wrapper { width: 100%; overflow-x: auto; margin-top: 25px; }
.ranking-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); min-width: 600px; }
.ranking-table th { background: var(--brand-primary); color: var(--white); padding: 22px; text-align: left; font-size: var(--f-lg); border-right: 1px solid rgba(255,255,255,0.1); }
.ranking-table th:last-child { border-right: none; }
.ranking-table td { padding: 20px; border-bottom: 1px solid var(--border-color); font-size: var(--f-body); color: var(--text-main); }
.ranking-table tr:last-child td { border-bottom: none; }
.ranking-table tr:hover { background-color: var(--bg-light); transition: background 0.3s ease; }
.text-green { color: var(--brand-green); font-weight: 700; }
.text-red { color: #d9534f; font-weight: 700; }

/* 2. Evaluation List Styles */
.eval-process-list { list-style: none; padding: 0; margin-top: 30px; display: grid; gap: 15px; }
.eval-process-list li { background: var(--white); padding: 18px 25px; border-radius: 8px; border-left: 5px solid var(--brand-secondary); box-shadow: var(--shadow-sm); display: flex; align-items: flex-start; gap: 15px; font-size: var(--f-body); }
.eval-process-list li span { color: var(--brand-secondary); font-size: 1.5rem; font-weight: 900; line-height: 1; }

/* 3. Daily Routine Styles */
.routine-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 30px; }
.routine-card { background: var(--white); padding: 30px; border-radius: 12px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); text-align: center; transition: transform 0.3s; }
.routine-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.routine-icon { font-size: 3rem; margin-bottom: 15px; display: block; }
.routine-card h4 { color: var(--brand-primary); font-size: var(--f-lg); margin-bottom: 10px; }

/* 4. Safety Box Styles */
.safety-box { background: #fffcf5; border: 2px solid #f5b041; padding: 35px; border-radius: 15px; margin-top: 25px; box-shadow: var(--shadow-sm); }
.safety-box h3 { color: var(--brand-primary); display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }

/* Responsive Adjustments */
@media (max-width: 768px) {
  .routine-grid { grid-template-columns: 1fr; }
  .safety-box { padding: 25px; }
  .eval-process-list li { flex-direction: column; gap: 10px; }
}

/* ==========================================================================
   DOCTOR / MEDICAL EXPERT SECTION
   ========================================================================== */
.doctor-box {
  display: flex;
  align-items: center;
  gap: 35px;
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--brand-secondary);
  margin-top: 20px;
}
.doctor-img-wrap {
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  padding: 8px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
}
.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--white);
}
.doctor-quote {
  font-size: var(--f-lg);
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 15px 0;
  position: relative;
}
.doctor-quote::before {
  content: '"';
  font-size: 3rem;
  color: var(--brand-secondary);
  opacity: 0.3;
  position: absolute;
  left: -20px;
  top: -10px;
}
.doctor-name {
  font-weight: 900;
  color: var(--brand-primary);
  font-size: var(--f-md);
  margin-top: 15px;
}
.doctor-title {
  color: var(--brand-secondary);
  font-weight: 700;
  font-size: var(--f-sm);
}

/* Responsive */
@media (max-width: 768px) {
  .doctor-box { flex-direction: column; text-align: center; padding: 25px; }
  .doctor-quote::before { left: -10px; top: -15px; }
}