/* ==========================================================================
   NEURO FORTIS PRO - ADVANCED STYLESHEET
   Theme: Cognitive Health / Premium Medical Blue & Clean White
   ========================================================================== */

/* ===== GLOBAL RESETS ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }

:root {
  /* === COGNITIVE HEALTH THEME (Medical Blue & Clean White) === */
  --bg-main:         #ffffff; 
  --bg-hero:         #f5f8fa; /* Clean, trust-inspiring light grey-blue */
  --bg-light:        #f8fafc; /* Very soft background for alternating sections */
  
  --brand-theme:     #2e86de; /* Premium Medical Blue */
  --brand-theme-dark:#1b64ab; /* Darker blue for hovers */
  --brand-gold:      #d4af37; /* Premium Gold for review stars & highlights */
  --brand-red:       #e74c3c; /* Urgency red for low stock alerts */
  --banner-yellow:   #FFF6CC; /* Soft yellow for the urgency banner */
  
  --text-main:       #111111; /* High contrast dark text for readability (50+ demographic) */
  --text-muted:      #334155; /* Softer text for paragraphs */
  --border-light:    #e2e8f0; /* Soft border */

  /* Shadows */
  --shadow-sm:       0 2px 8px rgba(46, 134, 222, 0.08);
  --shadow-md:       0 4px 15px rgba(46, 134, 222, 0.12);
  --shadow-btn:      0 4px 15px rgba(211, 84, 0, 0.3); /* Orange glow for CTA */

  /* === TYPOGRAPHY SCALES === */
  --f-xs:    0.9rem;
  --f-sm:    1.05rem;
  --f-body:  1.15rem; 
  --f-md:    1.35rem;
  --f-lg:    1.55rem;
  --f-xl:    2.0rem;
  --f-2xl:   2.5rem;
  --f-3xl:   3.2rem;
  --f-price: 3.5rem;
  --lh-body: 1.7;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  font-size: var(--f-body);
  line-height: var(--lh-body);
  color: var(--text-main);
  background: var(--bg-main);
  overflow-x: hidden;
  padding-bottom: 0px;
}

/* ===== TYPOGRAPHY ===== */
h1 { font-size: var(--f-3xl); font-weight: 800; line-height: 1.2; letter-spacing: -0.5px; color: #111; }
h2 { font-size: var(--f-2xl); font-weight: 800; line-height: 1.25; color: #111; }
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; color: #111; }

p, li { font-size: var(--f-body); line-height: var(--lh-body); margin-bottom: 18px; text-align: left; color: var(--text-muted); }
a { text-decoration: none; color: var(--brand-theme); transition: color 0.3s ease; }
a:hover { color: var(--brand-theme-dark); }

/* ===== UTILITIES ===== */
.section      { padding: 80px 24px; }
.wrap         { padding: 0 15px; }
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.font-bold    { font-weight: 700; }
.font-italic  { font-style: italic; }

/* Dark sections update for Medical Authority theme */
.bg-dark      { background: #1a252f; color: #ffffff; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.bg-dark p    { color: #cbd5e1 !important; }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #ffffff; }

.bg-light     { background: var(--bg-light); color: var(--text-main); }
.text-white   { color: #ffffff !important; }
.text-gold    { color: var(--brand-gold) !important; } 
.text-blue    { color: var(--brand-theme) !important; } 
.text-green   { color: #27ae60 !important; }
.text-light-grey { color: #cbd5e1 !important; }

.max-w-900    { max-width: 900px; margin-left: auto; margin-right: auto; width: 100%; }
.max-w-1000   { max-width: 1000px; margin-left: auto; margin-right: auto; width: 100%; }
.max-w-1100   { max-width: 1100px; margin-left: auto; margin-right: auto; width: 100%; }
.mx-auto      { margin-left: auto; margin-right: auto; }
.mt-10        { margin-top: 10px; }
.mt-15        { margin-top: 15px; }
.mt-20        { margin-top: 20px; }
.mt-30        { margin-top: 30px; }
.mt-36        { margin-top: 36px; }
.mb-20        { margin-bottom: 20px; }
.mb-30        { margin-bottom: 30px; }

.sec-title    { text-align: center; margin-bottom: 15px; }
.sec-sub      { text-align: center; font-size: var(--f-md); margin-bottom: 50px; max-width: 900px; margin-left: auto; margin-right: auto; }
.brand-title  { color: var(--brand-theme); }

/* ===== HIGH CONVERTING CTA BUTTONS ===== */
.btn-cta {
  display: inline-block; 
  /* High contrast Orange/Red gradient for maximum clicks */
  background: linear-gradient(to bottom, #e67e22, #d35400); 
  color: #ffffff !important; 
  padding: 18px 45px; 
  border-radius: 50px; 
  font-weight: 800; 
  font-size: var(--f-lg);
  margin-top: 20px;
  box-shadow: var(--shadow-btn);
  transition: all 0.3s ease;
  text-align: center;
  text-transform: uppercase;
  border: 1px solid #ba4a00;
  cursor: pointer;
  letter-spacing: 0.5px;
}
.btn-cta:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 6px 20px rgba(211, 84, 0, 0.4); 
  background: linear-gradient(to bottom, #d35400, #ba4a00);
}
.btn-cta-xl { 
  font-size: 1.4rem;
  padding: 15px 20px;
  width: 100%;
  max-width: 574px;
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed; top: 0px; left: 0; right: 0; 
  z-index: 1000; background: var(--bg-main);
  border-bottom: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  height: 80px; padding: 0 24px;
}
.nav-logo img { width: auto; height: 50px; } 
.nav-links { display: flex; gap: 30px; list-style: none; margin-bottom: -19px; }
.nav-links a { color: var(--text-main); font-weight: 500; font-size: var(--f-sm); transition: color .2s; }
.nav-links a:hover { color: var(--brand-theme); }

.btn-nav {
  background: linear-gradient(to bottom, #2e86de, #1b64ab); 
  color: #ffffff !important; padding: 12px 30px; border-radius: 50px; 
  font-weight: 700; font-size: var(--f-sm); transition: all .2s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); text-transform: uppercase;
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(46, 134, 222, 0.3); }

.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: #111; border-radius: 2px; }

.mob-menu { 
  display: none; flex-direction: column; gap: 18px; 
  padding: 20px 24px; background: var(--bg-main); 
  border-top: 1px solid var(--border-light); 
  position: absolute; top: 100%; left: 0; width: 100%;
  box-shadow: var(--shadow-md);
}
.mob-menu.open { display: flex; }
.mob-menu a { color: var(--text-main); font-weight: 600; font-size: var(--f-md); }

/* ===== HERO SECTION ===== */
.hero { 
  background: var(--bg-hero);
  color: var(--text-main); border-bottom: 1px solid var(--border-light);
}
.hero-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; }
.hero-img img { width: 100%; max-width: 500px; margin: 0 auto; filter: drop-shadow(0px 15px 25px rgba(46, 134, 222, 0.15)); }

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-img { margin-bottom: 30px; }
    .hero-content p { text-align: center; }
    .hero-bullets { display: inline-block; text-align: left; }
    .trust-badge-top { justify-content: center; }
}
.trust-badge-top { font-size: var(--f-sm); color: #111; font-weight: 500; margin-bottom: 15px; display: flex; align-items: center; gap: 8px;}
.trust-badge-top::before { content: "★★★★★"; color: var(--brand-gold); font-size: 1.2rem; letter-spacing: 2px;}

.hero-content h1 span { color: var(--brand-theme); }
.hero-content p { color: var(--text-muted); font-size: var(--f-lg); margin-bottom: 25px; }
.hero-bullets { list-style: none; margin-bottom: 25px; padding-left: 0; }
.hero-bullets li { font-size: var(--f-body); font-weight: 500; margin-bottom: 12px; color: var(--text-main); display: flex; align-items: center; gap: 10px;}

.sale-price { 
    background: var(--banner-yellow); display: inline-block; padding: 8px 20px;
    border-radius: 50px; font-size: var(--f-md); font-weight: 800; color: #111; margin-bottom: 10px; 
}
.stock-alert { font-size: var(--f-sm); color: var(--brand-red); font-weight: 600; margin-bottom: 20px; display: flex; align-items: center; }
.pulse-dot { display: inline-block; width: 10px; height: 10px; background: var(--brand-red); border-radius: 50%; margin-right: 10px; animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.5); } 70% { box-shadow: 0 0 0 10px rgba(231, 76, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); } }

.secure-checkout { font-size: 0.9rem; color: var(--text-muted); margin-top: 15px; font-weight: 500; }
.hero-divider { border: 0; height: 1px; background: var(--border-light); margin: 25px 0; }

/* ===== TRUST BADGES ===== */
.trust-badges-section { padding: 40px 24px; background: #fff; border-bottom: 1px solid var(--border-light); }
.badges-container img { opacity: 1; transition: opacity 0.3s; }
.badges-container img:hover { opacity: 1; }

/* ===== TWO COLUMNS ===== */
.two-col { max-width: 1150px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: center; }
.image-box img { width: 100%; border-radius: 12px; box-shadow: var(--shadow-md); border: 1px solid var(--border-light); }

.review-box-wrapper { display: flex; flex-direction: column; gap: 20px; }
.purchase-promo-img img { width: 100%; border-radius: 12px; box-shadow: var(--shadow-md); }
.verified-review-card { background: #fff; padding: 25px; border-radius: 12px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); }

/* ===== TESTIMONIALS ===== */
.testi-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 40px;}
.testi-card { background: var(--bg-main); border-radius: 16px; padding: 40px; text-align: center; border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); }
.stars { font-size: 1.6rem; color: var(--brand-gold); margin-bottom: 10px; letter-spacing: 2px;}
.verified { color: var(--brand-theme); font-weight: 700; font-size: var(--f-sm); margin-bottom: 15px; }
.testi-headline { font-size: var(--f-xl); color: #111; margin-bottom: 15px; font-weight: 800;}
.testi-text { font-style: italic; color: var(--text-muted); margin-bottom: 20px; text-align: center;}
.testi-author { font-weight: 700; color: #111; font-size: 1.1rem; }

/* ==========================================================================
   PRICING SECTION (PREMIUM CLINICAL DESIGN)
   ========================================================================== */
/* ==========================================================================
   PRICING SECTION (MATCHING EXACT IMAGE DESIGN)
   ========================================================================== */
.pricing-grid { 
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    flex-wrap: wrap; 
    align-items: stretch; /* Align all cards to stretch to same baseline */
    margin-top: 20px; 
}

/* Base Card Styling (Left & Right Cards) */
.p-card { 
    width: 320px; 
    border-radius: 4px; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    background: #ffffff;
    border: 1px solid #d1d5db; /* Light grey border */
    position: relative;
    z-index: 1;
}

/* Middle Card (Elevated & Larger) */
.popular-card { 
    width: 340px;
    transform: scale(1.02); 
    border: 2px solid #3b4282; /* Dark Blue Border */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15); 
    z-index: 2; 
}

/* Headers for Middle and Right Cards */
.p-card-header { padding: 12px; text-align: center; }
.bg-dark-blue { background: #3b4282; }
.bg-light-blue { background: #eaf3ff; }
.text-white { color: #ffffff !important; }
.text-dark { color: #111111 !important; }
.p-title { font-size: 1.15rem; font-weight: 700; letter-spacing: 0.5px; margin: 0;}

/* Card Body Area */
.p-card-body {
    padding: 25px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}
.bg-light-yellow { background: #fffde7; } /* Light yellow for middle card */

/* Typography for Package Name & Supply */
.package-name { 
    font-family: 'Poppins', sans-serif; 
    font-size: 1.8rem; 
    font-weight: 700; 
    color: #111111; 
    line-height: 1.1;
    margin-bottom: 5px; 
}

.supply-text { 
    font-family: 'Poppins', sans-serif; 
    font-size: 1.1rem; 
    font-weight: 400; 
    color: #444444; 
    margin-bottom: 25px; 
}

/* Product Images */
.img-wrap { 
    display: flex; 
    justify-content: center; 
    align-items: center;
    height: 180px; 
    margin-bottom: 20px; 
    width: 100%;
}
.img-wrap-large { height: 210px; }
.img-wrap img { 
    max-height: 100%; 
    width: auto; 
    transition: transform 0.3s;
}
.img-wrap img:hover { transform: translateY(-3px); }

/* Big Price Display */
.price-display { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    color: #111111; 
    margin-bottom: 10px; 
}
.currency { 
    font-size: 3rem; 
    font-weight: 800; 
    margin-right: 2px;
    align-self: flex-start;
    line-height: 1.1;
} 
.price-big { 
    font-size: 4.5rem; 
    font-weight: 900; 
    line-height: 1; 
    letter-spacing: -2px; 
}
.per-jar { 
    font-size: 0.85rem; 
    font-weight: 500; 
    text-align: left; 
    margin-left: 8px; 
    color: #333333; 
    line-height: 1.2;
}

/* Badges / Shipping info */
.shipping-info {
    font-size: 1rem;
    color: #333;
    font-style: italic;
    margin-bottom: 20px;
}

.pill-badges { 
    display: flex; 
    flex-direction: column; 
    gap: 6px; 
    width: 100%; 
    margin-bottom: 20px; 
    align-items: center; 
}
.pill { 
    color: #fff; 
    font-size: 0.85rem; 
    font-weight: 700; 
    padding: 6px 15px; 
    border-radius: 4px; 
    width: 90%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    letter-spacing: 0.3px;
}
.pill-green { background-color: #16a085; }
.pill-red { background-color: #d32f2f; }
.pill-grey { background-color: #7f8c8d; }

/* Buy Now Button (Yellow Exact Match) */
.btn-buy {
    background: linear-gradient(to bottom, #ffea00 0%, #ffcc00 100%);
    color: #002244 !important; /* Dark blue text */
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    padding: 10px 15px;
    width: 95%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 0 auto 15px auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid #e6b800;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-buy:hover {
    transform: translateY(-2px);
    background: linear-gradient(to bottom, #fff566 0%, #ffdb4d 100%);
}
.cart-icon {
    width: 28px;
    height: 28px;
    background: #002244; /* Dark blue circle for cart */
    stroke: #ffffff;
    border-radius: 50%;
    padding: 4px;
}

/* Payment Icons & Bottom Pricing */
.pay-icons-bottom { 
    max-width: 80%; 
    margin: 10px auto; 
    display: block; 
}
.bottom-price { 
    font-size: 1.4rem; 
    color: #111; 
    margin-top: 10px; 
    font-weight: 700; 
}
.old-price s { 
    color: #777; 
    text-decoration-thickness: 1.5px; 
    margin-right: 5px; 
    font-weight: 400;
}

/* Responsive */
@media (max-width: 1050px) {
    .pricing-grid { flex-direction: column; align-items: center; }
    .popular-card { transform: scale(1); width: 320px; }
}

/* ===== GUARANTEE & INNER SECTIONS ===== */
.mb-inner { display: grid; grid-template-columns: 280px 1fr; gap: 50px; align-items: center; }
.mb-inner img { width: 100%; max-width: 280px; }
.mb-inner h3 { margin-bottom: 20px; font-size: var(--f-2xl); line-height: 1.2; color: #fff;}

/* ===== FAQ ===== */
.faq-list { max-width: 900px; margin: 0 auto; margin-top: 40px;}
.faq-item { background: var(--bg-main); border-radius: 8px; margin-bottom: 15px; border: 1px solid var(--border-light); overflow: hidden; box-shadow: var(--shadow-sm); }
.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: 700; color: #111; transition: background 0.3s; }
.faq-q:hover { background: var(--bg-light); }
.faq-arrow { color: var(--brand-theme); transition: transform .3s; font-size: 1.2rem; }
.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: 800px; padding: 0 30px 25px; }
.faq-ans p { margin-bottom: 0; color: var(--text-muted); }

/* ===== FINAL CTA SECTION ===== */
.cta-final-section { padding: 60px 24px; border-top: 2px solid var(--brand-gold); }
.cta-final-inner { max-width: 1000px; margin: 0 auto; display: flex; align-items: center; gap: 40px; }
.cta-final-img { flex: 0 0 300px; }
.cta-final-img img { width: 100%; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3)); }
.cta-final-content { text-align: left; flex: 1; }

/* ===== FOOTER ===== */
footer { background: #0f172a; color: #94a3b8; padding: 60px 24px 40px; text-align: center; border-top: 4px solid var(--brand-theme); }
.foot-disc { font-size: 0.9rem; line-height: 1.6; text-align: justify; text-align-last: center; opacity: 0.8; }
.foot-disc p { margin-bottom: 15px; text-align: center; color: #cbd5e1; }
.foot-links { display: flex; justify-content: center; gap: 25px; margin: 30px 0 20px; flex-wrap: wrap; }
.foot-links a { color: #cbd5e1; font-weight: 600; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.5px; }
.foot-links a:hover { color: var(--brand-theme); }
.foot-copy { font-size: 0.85rem; opacity: 0.6; margin-top: 15px;}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  :root { --f-body: 1.1rem; --f-md: 1.25rem; --f-lg: 1.4rem; --f-xl: 1.7rem; --f-2xl: 2.1rem; --f-3xl: 2.6rem; --f-price: 2.8rem; }
  .two-col, .mb-inner, .testi-grid { grid-template-columns: 1fr; text-align: center; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  .mb-inner img { margin: 0 auto; }
  .cta-final-inner { flex-direction: column; text-align: center; }
  .cta-final-content { text-align: center; }
}

@media (max-width: 600px) {
  :root { --f-body: 1.05rem; --f-md: 1.15rem; --f-lg: 1.25rem; --f-xl: 1.5rem; --f-2xl: 1.8rem; --f-3xl: 2.2rem; --f-price: 2.5rem; }
  nav { position: relative; width: 100%; z-index: 1000; background: var(--bg-main); border-bottom: 1px solid var(--border-light); box-shadow: var(--shadow-sm); }
  .btn-cta, .btn-cta-xl { padding: 16px 20px; font-size: var(--f-md); }
  .section { padding: 50px 20px; }
  .foot-disc { text-align: left; text-align-last: left; }
}