/* ==========================================================================
   SCIATICYL - ADVANCED STYLESHEET
   Theme: Black & Skyblue
   Font: Poppins / Oswald
   NOTE: Layout, spacing, and responsive rules are reused from the reference structure[cite: 2].
   ========================================================================== */

/* ===== GLOBAL RESETS ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }  

:root {
  /* === BRAND COLORS FOR SCIATICYL (BLACK & SKYBLUE THEME) === */
  --brand-primary:   #000000; /* Deep Black for Main Brand Elements */
  --brand-secondary: #00BFFF; /* Deep Sky Blue for Hovers & Accents */
  --brand-accent:    #00BFFF; /* Sky Blue for CTA Buttons */
  --brand-yellow:    #FFC107; /* Yellow accent for Stars */
  --brand-green:     #1F8A54; /* Verification / Checkmark Green */

  /* Backgrounds & Text */
  --bg-main:         #FFFFFF; /* Clean White Background */
  --bg-light:        #F4F9FB; /* Very Light Skyblue-Gray for contrast sections */
  --bg-dark:         #000000; /* Black for Footer */
  --card-bg:         #FFFFFF; /* White for cards */
  --text-main:       #111111; /* Near-Black for main readability */
  --text-muted:      #555555; /* Softer gray for descriptions */
  --text-dark:       #FFFFFF; /* White text for buttons/badges */
  --border-color:    #E1F0F5; /* Soft skyblue-gray for borders */

  /* Shadows (Neutral & Skyblue Glow) */
  --shadow-sm:       0 2px 8px rgba(0, 0, 0, 0.05);  
  --shadow-md:       0 4px 20px rgba(0, 0, 0, 0.08);  
  --shadow-lg:       0 12px 35px rgba(0, 191, 255, 0.15);  

  /* === OPTIMIZED TYPOGRAPHY SCALES === */
  --f-xs:    1.0rem;  
  --f-sm:    1.15rem;  
  --f-body:  1.20rem;  
  --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: '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 Basics */
h1 { font-family: 'Oswald', sans-serif; font-size: var(--f-3xl); font-weight: 700; line-height: 1.2; text-transform: uppercase; }  
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: 18px; text-align: justify; text-align-last: left; }  
a { text-decoration: none; color: var(--brand-secondary); }  
strong { font-weight: 800; color: var(--brand-primary); }  

/* ===== 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: 15px; }  
.sec-sub    { text-align: center; font-size: var(--f-md); color: var(--text-muted); margin-bottom: 50px; max-width: 900px; margin-left: auto; margin-right: auto; }  
.wrap       { padding: 0 15px; }  
.center-text { text-align: center; }
.center-text p.sec-desc { text-align: center; text-align-last: center; margin-bottom: 40px; }

/* ===== BUTTONS ===== */
.btn-cta {
  display: inline-block;
  background: var(--brand-accent);
  color: var(--text-dark) !important;
  padding: 18px 45px;
  border-radius: 6px;
  font-weight: 800;
  font-size: var(--f-lg);
  margin-top: 25px;
  box-shadow: 0 6px 20px rgba(0, 191, 255, 0.3);
  transition: all 0.3s ease;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}  
.btn-cta:hover {
  background: var(--brand-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}  
.btn-cta-xl {
  font-size: 1.4rem;
  padding: 18px 50px;
}  

/* ===== NAVIGATION ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg-main);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  border-bottom: 1px solid var(--border-color);
}  
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 24px;
}  
.nav-logo { font-size: 2rem; font-weight: 900; color: var(--brand-primary); letter-spacing: 1px; filter: drop-shadow(0 0 2px rgba(0,0,0,0.1)); }  
.nav-links {
  display: flex;
  gap: 35px;
  list-style: none;
  margin-top: 15px;
}  
.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-secondary); }  
.btn-nav {
  background: var(--brand-primary); color: var(--text-dark) !important;
  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(--brand-primary); 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-color); }  
.mob-menu.open { display: flex; }  
.mob-menu a { color: var(--text-main); font-weight: 700; font-size: var(--f-md); }  
.mob-menu a:hover { color: var(--brand-secondary); }  

/* ===== MOBILE SIDEBAR OVERLAY ===== */
.mob-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 900; }  
.mob-overlay.open { display: block; }  

/* ===== HERO SECTION ===== */
.hero {
  padding: 80px 24px;
  background: linear-gradient(135deg, #ffffff 0%, #E0F2FE 100%);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}  
.hero-grid {
  max-width: 1150px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 50px; align-items: center;
  position: relative; z-index: 1;
}  
.hero-content h1 { color: var(--text-main); margin-bottom: 20px; letter-spacing: -1px;}  
.hero-content h1 span { color: var(--brand-secondary); }
.hero-content p { color: var(--text-muted); margin-bottom: 20px; font-size: var(--f-lg); text-align: left; font-weight: 500;}  
.hero-img img { width: 100%; max-width: 200px; margin: 0 auto; display: block; filter: drop-shadow(0px 15px 35px rgba(0,0,0,0.12)); }  

/* ===== ADDITIONAL HERO CSS ===== */
.trust-stars {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand-yellow);
    margin-bottom: 15px;
}  
.trust-stars span {
    font-size: 1rem;
    color: var(--text-muted);
    margin-left: 8px;
    font-weight: 500;
}  
.hero-divider {
    border: none;
    border-top: 2px solid var(--border-color);
    margin: 25px 0;
}  
.sale-price {
    font-size: var(--f-xl);
    font-weight: 900;
    color: var(--brand-primary);
    margin: 8px 0;
}  
.hurry-badge {
    display: inline-block;
    background: #FFF3E0;
    color: #D9720A;
    padding: 8px 22px;
    font-size: var(--f-sm);
    font-weight: 800;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 15px;
    border: 1px solid #FFCC80;
}  

/* ===== TWO COLUMNS ===== */
.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); border: 2px solid var(--border-color); }  
.two-col h2 { color: var(--brand-primary); margin-bottom: 25px; }  
.two-col.img-right { grid-template-columns: 1.3fr 1fr; }  
.two-col.img-right .two-col-img { order: 2; }  

/* ===== INGREDIENTS ===== */
.ing-list { max-width: 950px; margin: 0 auto; list-style: none; }  
.ing-item { display: grid; grid-template-columns: 110px 1fr; gap: 22px; align-items: center; position: relative; padding: 22px 30px 22px 80px; margin-bottom: 20px; background: var(--card-bg); border: 2px solid var(--border-color); border-radius: 12px; transition: all .3s; }  
.ing-item:hover { box-shadow: var(--shadow-md); border-color: var(--brand-secondary); }  
.ing-num { width: 55px; height: 55px; background: var(--brand-primary); color: var(--text-dark); 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: 110px; height: 110px; object-fit: cover; border-radius: 12px; border: 2px solid var(--border-color); }  
.ing-content h4 { color: var(--brand-secondary); margin-bottom: 12px; font-size: var(--f-xl); }  

/* ===== BONUSES ===== */
.bonus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1000px; margin: 30px auto 0; }  
.bonus-card { background: var(--card-bg); border: 2px solid var(--brand-secondary); border-radius: 15px; padding: 35px; position: relative; box-shadow: var(--shadow-sm); }  
.bonus-tag { position: absolute; top: -16px; left: 30px; background: var(--brand-primary); color: var(--text-dark); font-weight: 900; font-size: 0.95rem; padding: 6px 20px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; }  
.bonus-card h4 { color: var(--brand-primary); margin: 15px 0 5px; }  
.bonus-price { font-size: 1rem; color: var(--text-muted); margin-bottom: 12px; }  
.bonus-price .was { text-decoration: line-through; opacity: 0.7; }  
.bonus-price .now { color: var(--brand-green); font-weight: 800; }  

/* ===== TESTIMONIALS ===== */
.testi-grid { max-width: 1150px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }  
.testi-card { background: var(--card-bg); border-radius: 15px; padding: 35px 30px; text-align: center; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }  
.testi-photo { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin: 0 auto 15px; border: 3px solid var(--brand-secondary); }  
.stars { font-size: 1.6rem; color: var(--brand-yellow); 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; text-align: center; text-align-last: center; }  
.testi-name { font-weight: 900; color: var(--brand-primary); font-size: 1.1rem; }  
.testi-card h4 { font-size: 1.1rem; margin-bottom: 15px; }

/* ===== PRICING TABLES ===== */
.pricing-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: end;
    text-align: center;
}  
.p-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px 25px;
    border: 2px solid var(--border-color);
    position: relative;
    transition: all .3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}  
.p-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-secondary);
}  
.p-card.pop {
    border-color: var(--brand-primary);
    border-width: 3px;
    box-shadow: var(--shadow-md);
    padding-top: 50px;
    background: #F0F8FF; /* Light Sky Blue tint */
}  
.pop-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-primary);
    color: var(--text-dark);
    font-weight: 900;
    font-size: 1rem;
    padding: 8px 25px;
    border-radius: 25px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}  
.pop-badge.bg-dark { background: #555; }
.p-card img {
    width: 100%;
    max-width: 250px;
    margin: 0 auto 20px;
    display: block;
    transition: transform .3s;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}  
.p-card img:hover {
    transform: scale(1.05);
}  
.supply {
    font-size: var(--f-lg);
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--brand-secondary);
}  
.price-big {
    font-size: var(--f-price);
    font-weight: 900;
    color: var(--text-main);
    line-height: 1;
}  
.per-btl {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-weight: 600;
}  
.savings {
    font-size: var(--f-md);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}  
.shipping-fee { font-weight:bold; color:var(--text-muted); font-size: 0.95rem; margin-bottom: 15px; }
.shipping-free { font-weight:bold; color:var(--brand-green); font-size: 0.95rem; margin-bottom: 15px; }
.guarantee-text { font-size: 0.85rem; font-weight: bold; margin-bottom: 10px; }
.bonus-text { font-weight:bold; color:var(--brand-secondary); font-size: 0.95rem; margin-bottom: 5px; }
.doctor-rec { font-size: 0.85rem; color: var(--text-muted); margin-top: 10px; font-weight: 600; }

/* ===== FAQ ===== */
.faq-list { max-width: 950px; margin: 0 auto; }  
.faq-item { background: var(--card-bg); border-radius: 12px; margin-bottom: 15px; border: 1px solid var(--border-color); 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: 800; color: var(--text-main); font-family: inherit; }  
.faq-arrow { color: var(--brand-secondary); 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; color: var(--text-muted); }  
.faq-item.open .faq-ans { max-height: 800px; padding: 0 30px 25px; }  

/* ===== REFERENCES ===== */
.ref-list { max-width: 950px; margin: 0 auto; list-style: none; counter-reset: ref; }  
.ref-list li { counter-increment: ref; font-size: 0.9rem; color: var(--text-muted); text-align: left; padding-left: 34px; position: relative; margin-bottom: 12px; }  
.ref-list li::before { content: counter(ref) "."; position: absolute; left: 0; font-weight: 800; color: var(--brand-secondary); }  

/* ===== FOOTER ===== */
footer { background: var(--bg-dark); color: #CCCCCC; padding: 70px 24px 40px; text-align: center; border-top: 1px solid var(--border-color); }  
.foot-disc { max-width: 1100px; margin: 0 auto; font-size: 0.95rem; line-height: 1.7; text-align: justify; text-align-last: center; }  
.foot-disc p { margin-bottom: 12px; }  
.foot-links { display: flex; justify-content: center; gap: 30px; margin: 40px 0 25px; flex-wrap: wrap; }  
.foot-links a { color: var(--brand-secondary); font-weight: 700; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.5px; }  
.foot-links a:hover { color: #FFFFFF; }  
.foot-copy { font-size: 0.9rem; opacity: 0.7; margin-top: 15px;}  

/* ===== 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 { grid-template-columns: 1fr 1.2fr;}  
  .hero-content p { text-align: center; }  
  .hero-grid, .two-col, .mb-inner, .testi-grid { grid-template-columns: 1fr; text-align: center; }  
  .two-col.img-right .two-col-img { order: 0; }  
  .pricing-grid, .bonus-grid { grid-template-columns: 1fr; max-width: 550px; margin: 0 auto; }  
  .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: 50px 25px 30px; }  
  .ing-num { left: 50%; transform: translateX(-50%); top: -25px; }  
  .ing-img { margin: 0 auto; }  
  p, li { text-align: left; }  
}

@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;
  }  
  .btn-cta, .btn-cta-xl { padding: 18px 20px; font-size: var(--f-md); width: 100%; }  
  .section { padding: 50px 20px; }  
  .foot-disc { text-align: left; text-align-last: left; }  
  .bonus-tag { left: 50%; transform: translateX(-50%); white-space: nowrap; }  
}

/* Responsive image styling */
.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
    border-radius: 8px;
} 


/* Pricing Header Adjustments */
.p-card {
    padding: 0; /* Removed padding to allow headers to span full width */
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.card-body {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}
.card-header {
    width: 100%;
    text-align: center;
}
.tier {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 12px 10px;
    text-transform: uppercase;
}
.supply {
    font-size: 1.4rem;
    font-weight: 900;
    padding: 12px 10px;
    text-transform: uppercase;
}
.bg-light-grey { background-color: #EEEEEE; color: #333; }
.bg-mid-grey { background-color: #DDDDDD; color: #333; }
.bg-dark-grey { background-color: #333333; color: #FFFFFF; }
.bg-blue { background-color: #0077B5; color: #FFFFFF; }
.text-white { color: #FFFFFF; }

/* Border Overrides for Middle Card */
.p-card.pop {
    border: 2px solid #0077B5;
    background: #FFFFFF;
    padding-top: 0;
}
.border-blue { border-bottom: 3px solid #0077B5; }
.border-grey { border-bottom: 3px solid #DDDDDD; }

/* Price Display Layout */
.price-display {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 15px;
}
.currency {
    font-size: 1.8rem;
    font-weight: 900;
    margin-top: 5px;
    color: #333333;
}
.price-big {
    font-size: 4rem;
    font-weight: 900;
    color: #333333;
    line-height: 1;
}
.per-btl {
    font-size: 1.1rem;
    font-weight: 800;
    color: #333333;
    margin-bottom: 20px;
}

/* Feature Checkmarks */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    width: 100%;
    text-align: center;
    min-height: 90px; /* Aligns buttons horizontally across the grid */
}
.empty-list {
    min-height: 90px;
}
.feature-list li {
    font-size: 1rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 8px;
    text-align: center;
}
.check-icon {
    color: #27AE60;
    font-weight: 900;
    margin-right: 5px;
}

/* Yellow Button with Cart Icon */
.btn-yellow {
    background-color: #F4D03F;
    color: #111111 !important;
    border: 1px solid #D4AC0D;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 250px;
    padding: 15px 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.btn-yellow:hover {
    background-color: #F1C40F;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    color: #000000 !important;
}

/* Payment Icons & Bottom Pricing */
.payment-icons {
    margin-top: 15px;
    margin-bottom: 20px;
}
.payment-icons img {
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.savings-bottom {
    font-size: 1.2rem;
}
.red-strike {
    text-decoration: line-through;
    text-decoration-color: #E74C3C;
    text-decoration-thickness: 2px;
    color: #777777;
    margin-right: 10px;
}
.final-price {
    font-size: 1.4rem;
    font-weight: 900;
    color: #111111;
}

/* Responsive Hide for Empty Spacer */
@media (max-width: 1024px) {
    .empty-list {
        display: none;
    }
    .feature-list {
        min-height: auto;
    }
}