/* ==========================================================================
   LEPTOZAN - ADVANCED STYLESHEET
   Developed for High Conversion, Fast Loading, and Optimal SEO
   Theme: Teal/Cyan (Background), Clean White, and Vibrant Orange (CTA)
   ========================================================================== */

/* ===== GLOBAL VARIABLES & COLORS ===== */
:root {
  --brand-primary:   #1A202C; /* Deep Dark for Text */
  --brand-accent:    #F48033; /* Vibrant Orange for CTAs */
  --brand-accent-hover: #E06C22; /* Darker Orange for Hover */
  --bg-hero:         #D2F3F0; /* Light Teal/Cyan from the uploaded image */
  --bg-light:        #F8FAFC; /* Clean White/Grey for alternate sections */
  --text-muted:      #475569; /* Soft Grey for paragraphs */
  --white:           #FFFFFF;
  --border-color:    #E2E8F0;
  
  /* Typography Scales */
  --f-body: 1.15rem; 
  --f-md:   1.35rem;
  --f-lg:   1.60rem;
  --f-xl:   2.20rem;
  --f-2xl:  3.00rem;
  --f-3xl:  3.80rem;
  --lh-body: 1.8;
  
  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px rgba(244, 128, 51, 0.2);
}

/* ===== GLOBAL RESETS ===== */
*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

html { 
  scroll-behavior: smooth; 
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--f-body);
  line-height: var(--lh-body);
  color: var(--brand-primary);
  background: var(--white);
  overflow-x: hidden;
  padding-bottom: 90px; /* Space for sticky CTA */
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { 
  font-family: 'Inter', sans-serif; 
  font-weight: 800; 
  line-height: 1.2; 
}

h1 { 
  font-size: var(--f-3xl); 
  color: var(--brand-primary); 
}

h2 { 
  font-size: var(--f-2xl); 
  text-align: center; 
  margin-bottom: 20px; 
}

p { 
  margin-bottom: 20px; 
  color: var(--text-muted); 
  text-align: justify; 
}

a { 
  text-decoration: none; 
  transition: all 0.3s ease; 
}

/* ===== LAYOUT UTILITIES ===== */
.section { padding: 90px 20px; }
.bg-light { background: var(--bg-light); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.text-center { text-align: center; }
.highlight { color: var(--brand-accent); }

/* ===== CTA BUTTONS ===== */
.btn-cta {
  display: inline-block;
  background: var(--brand-accent);
  color: var(--white) !important;
  padding: 16px 45px;
  border-radius: 50px; /* Rounded pill shape matching image */
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--brand-accent);
  cursor: pointer;
}

.btn-cta:hover {
  background: var(--brand-accent-hover);
  border-color: var(--brand-accent-hover);
  transform: translateY(-3px);
}

/* ===== NAVIGATION BAR ===== */

nav .btn-cta {
    width: auto !important;
    padding: 10px 24px !important;
    font-size: 0.95rem !important;
    white-space: nowrap !important;
    flex-shrink: 0;
    margin-left: 15px;
}
nav {
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}

.nav-inner {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  height: 80px; 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 20px;
}

.nav-logo { 
  font-size: 1.8rem; 
  font-weight: 900; 
  color: var(--brand-primary); 
  letter-spacing: -1px; 
}

.nav-logo span { 
  color: var(--brand-accent); 
}

.nav-links { 
  display: flex; 
  gap: 30px; 
  list-style: none; 
}

.nav-links a { 
  color: var(--brand-primary); 
  font-weight: 600; 
  font-size: 1rem; 
  text-transform: uppercase; 
}

.nav-links a:hover { 
  color: var(--brand-accent); 
}

/* ===== HERO SECTION ===== */
.hero {
  background-color: var(--bg-hero);
  background-image: url('../images/hero-waves-bg.webp'); /* Add wave background if needed */
  background-size: cover;
  background-position: center;
  padding: 160px 20px 100px;
}

.hero-grid {
  display: grid; 
  grid-template-columns: 1fr 1fr;
  align-items: center; 
  gap: 50px;
}

.hero-content h1 { 
  margin-bottom: 20px; 
}

.hero-content p {
  font-size: var(--f-lg);
  color: var(--brand-primary);
  font-weight: 500;
  margin-bottom: 40px;
  text-align: left;
}

.hero-img { 
  text-align: center; 
  position: relative; 
}

.hero-img img { 
  width: 100%; 
  max-width: 500px; 
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15)); 
}

/* ===== BENEFITS GRID ===== */
.benefits-grid {
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 30px; 
  margin-top: 50px;
}

.benefit-card {
  background: var(--white); 
  padding: 40px 30px; 
  border-radius: 16px;
  box-shadow: var(--shadow-sm); 
  border: 1px solid var(--border-color);
  transition: transform 0.3s; 
  text-align: center;
}

.benefit-card:hover { 
  transform: translateY(-5px); 
  box-shadow: var(--shadow-md); 
  border-color: var(--brand-accent); 
}

.benefit-card img { 
  width: 70px; 
  height: 70px; 
  margin-bottom: 20px; 
}

.benefit-card h4 { 
  font-size: var(--f-lg); 
  color: var(--brand-primary); 
  margin-bottom: 15px; 
}

/* ===== SPLIT CONTENT SECTION (SCIENCE & GUARANTEE) ===== */
.split-section {
  display: grid; 
  grid-template-columns: 1fr 1.2fr; 
  gap: 60px; 
  align-items: center; 
  margin-top: 40px;
}

.split-img img { 
  width: 100%; 
  border-radius: 20px; 
  box-shadow: var(--shadow-md); 
}

/* ===== INGREDIENTS LIST ===== */
.ing-list { 
  display: flex; 
  flex-direction: column; 
  gap: 30px; 
  margin-top: 50px; 
}

.ing-card {
  display: grid; 
  grid-template-columns: 200px 1fr; 
  gap: 40px; 
  align-items: center;
  background: var(--white); 
  padding: 40px; 
  border-radius: 20px;
  box-shadow: var(--shadow-sm); 
  border: 1px solid var(--border-color);
}

.ing-card img { 
  width: 100%; 
  border-radius: 12px; 
  object-fit: cover; 
}

.ing-card h3 { 
  color: var(--brand-accent); 
  margin-bottom: 15px; 
  font-size: var(--f-xl); 
}

/* ===== PRICING PACKAGES ===== */
.pricing-bg {
  background-color: #D2F3F0; /* Light teal background matching the image */
}

.pricing-wrap-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: center; /* Ensures the middle card pops out nicely */
  max-width: 1100px;
  margin: 0 auto;
}

.pkg-card-new {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  border: 1px solid #E2E8F0;
}

/* Middle Card Highlight */
.pkg-card-new.best-offer {
  border: 3px solid #F48033;
  transform: scale(1.05); /* Makes it taller and wider */
  z-index: 2;
  box-shadow: 0 15px 35px rgba(244, 128, 51, 0.15);
}

/* Ribbon Headers */
.pkg-header {
  padding: 25px 15px 45px 15px;
  text-align: center;
  color: white;
  /* This creates the downward pointing arrow effect */
  clip-path: polygon(0 0, 100% 0, 100% 75%, 50% 100%, 0 75%);
}

.teal-header {
  background-color: #3B9C96; 
}

.orange-header {
  background-color: #F48033;
  padding-top: 30px;
  padding-bottom: 50px;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
}

.pkg-header h3 { 
  font-size: 1.8rem; 
  margin-bottom: 5px; 
  color: white; 
  font-weight: 800; 
}

.pkg-header p { 
  margin: 0; 
  font-size: 0.95rem; 
  color: white; 
  text-align: center; 
  font-weight: 500; 
}

/* Body Content */
.pkg-body {
  padding: 0 25px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Product Images */
.pkg-img {
  max-width: 180px;
  margin: -30px auto 15px; /* Pulls image up into the header arrow */
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.best-offer .pkg-img { 
  max-width: 250px; 
  margin-top: -40px; 
}

/* Price Styling */
.pkg-price-new {
  display: flex; 
  justify-content: center; 
  align-items: flex-start;
  margin-bottom: 20px; 
  color: #1A202C;
}

.pkg-price-new .currency { 
  font-size: 1.5rem; 
  font-weight: 800; 
  margin-top: 15px; 
  margin-right: 5px;
}

.pkg-price-new .amount { 
  font-size: 5rem; 
  font-weight: 900; 
  line-height: 1; 
  letter-spacing: -3px; 
}

.pkg-price-new .per-bottle {
  font-size: 0.85rem; 
  text-align: left; 
  margin-left: 8px; 
  margin-top: 25px;
  line-height: 1.2; 
  font-weight: 600; 
  color: #64748B;
}

/* Feature List */
.pkg-features { 
  list-style: none; 
  padding: 0; 
  margin: 0 0 25px; 
  width: 100%; 
  border-top: 1px solid #E2E8F0; 
}

.pkg-features li {
  padding: 12px 0; 
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.95rem; 
  font-weight: 600; 
  color: #475569;
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 10px;
}

.check-icon {
  background: #F48033; 
  color: white; 
  border-radius: 50%;
  width: 18px; 
  height: 18px; 
  display: inline-flex;
  align-items: center; 
  justify-content: center; 
  font-size: 0.65rem; 
  font-weight: bold;
}

.teal-check { 
  background: #3B9C96; 
}

/* Custom Buttons */
.btn-yellow, .btn-orange {
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center;
  width: 100%; 
  padding: 12px 10px; 
  border-radius: 50px; 
  font-weight: 900; 
  font-size: 1.2rem;
  text-transform: uppercase; 
  margin-bottom: 20px; 
  line-height: 1.2; 
  cursor: pointer;
  transition: transform 0.3s ease;
}

.btn-yellow {
  background: linear-gradient(to bottom, #FFDF00, #E5C300);
  color: #1A202C !important;
  border: 2px solid #1A202C;
}

.btn-orange {
  background: #F48033;
  color: white !important;
  border: none;
  box-shadow: 0 8px 20px rgba(244, 128, 51, 0.3);
}

.btn-yellow:hover, .btn-orange:hover { 
  transform: scale(1.05); 
}

.btn-yellow small, .btn-orange small { 
  font-size: 0.75rem; 
  font-weight: 600; 
  text-transform: none; 
  display: block; 
}

.btn-orange small { 
  color: white; 
}

/* Payment Icons & Total Text */
.payment-icons { 
  max-width: 160px; 
  margin-bottom: 15px; 
}

.pkg-total p { 
  margin: 0; 
  font-size: 0.9rem; 
  color: #475569; 
  text-align: center; 
}

.pkg-total strong { 
  font-size: 1.1rem; 
  color: #1A202C; 
}

.pkg-shipping { 
  font-size: 0.85rem !important; 
  margin-top: 5px !important; 
}

.pkg-shipping.free { 
  color: #F48033; 
  font-weight: 800; 
}

/* Responsive styling for Mobile */
@media (max-width: 900px) {
  .pricing-wrap-new { 
    grid-template-columns: 1fr; 
    max-width: 450px; 
    gap: 40px; 
  }
  .pkg-card-new.best-offer { 
    transform: scale(1); 
  }
}

/* ===== ACCORDION FAQ ===== */
.faq-container { 
  max-width: 900px; 
  margin: 50px auto 0; 
}

.faq-item {
  background: var(--white); 
  border: 1px solid var(--border-color);
  border-radius: 12px; 
  margin-bottom: 15px; 
  overflow: hidden;
}

.faq-question {
  width: 100%; 
  text-align: left; 
  padding: 25px 30px; 
  background: none; 
  border: none;
  font-size: 1.25rem; 
  font-weight: 700; 
  color: var(--brand-primary);
  cursor: pointer; 
  display: flex; 
  justify-content: space-between; 
  align-items: center;
}

.faq-answer {
  max-height: 0; 
  overflow: hidden; 
  padding: 0 30px;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer { 
  max-height: 500px; 
  padding: 0 30px 25px; 
}

.faq-icon { 
  font-size: 1.5rem; 
  color: var(--brand-accent); 
  transition: transform 0.3s; 
}

.faq-item.active .faq-icon { 
  transform: rotate(45deg); 
}

/* ===== FOOTER ===== */
footer { 
  background: var(--brand-primary); 
  color: #94A3B8; 
  padding: 60px 20px; 
  text-align: center; 
}

.footer-links { 
  display: flex; 
  justify-content: center; 
  gap: 20px; 
  flex-wrap: wrap; 
  margin-bottom: 30px; 
}

.footer-links a { 
  color: var(--white); 
  font-weight: 600; 
  text-transform: uppercase; 
  font-size: 0.9rem; 
}

.footer-links a:hover { 
  color: var(--brand-accent); 
}

.footer-disclaimer { 
  max-width: 1000px; 
  margin: 0 auto; 
  font-size: 0.85rem; 
  line-height: 1.6; 
  text-align: justify; 
}

/* ===== BOTTOM STICKY CTA BAR ===== */
.sticky-cta {
  position: fixed; 
  bottom: 0; 
  left: 0; 
  width: 100%;
  background: rgba(26, 32, 44, 0.98); 
  backdrop-filter: blur(10px);
  border-top: 3px solid var(--brand-accent);
  padding: 15px 20px; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  gap: 30px;
  transform: translateY(100%); 
  transition: transform 0.4s ease-in-out;
  z-index: 9999; 
  box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
}

.sticky-cta.show { 
  transform: translateY(0); 
}

.sticky-text { 
  color: var(--white); 
  font-size: 1.1rem; 
  font-weight: 600; 
}

.sticky-text span { 
  color: var(--brand-accent); 
  font-weight: 800; 
  animation: pulse 2s infinite; 
}

@keyframes pulse { 
  0% { opacity: 1; } 
  50% { opacity: 0.5; } 
  100% { opacity: 1; } 
}

/* ===== RESPONSIVE DESIGN FOR MOBILE & TABLETS ===== */
@media (max-width: 1024px) {
  .hero-grid, .split-section, .ing-card { 
    grid-template-columns: 1fr; 
    text-align: center; 
  }
  
  .hero-content p { 
    text-align: center; 
  }
  
  .pricing-wrap, .benefits-grid { 
    grid-template-columns: 1fr; 
    max-width: 500px; 
    margin-left: auto; 
    margin-right: auto; 
  }
  
  .nav-links { 
    display: none; 
  } /* Mobile menu icon can be added in HTML if needed */
  
  .sticky-cta { 
    flex-direction: column; 
    text-align: center; 
    gap: 15px; 
    padding: 20px; 
  }
  
  .ing-card img { 
    margin: 0 auto; 
    max-width: 300px; 
  }
}

@media (max-width: 600px) {
  :root { 
    --f-2xl: 2.2rem; 
    --f-3xl: 2.6rem; 
  }
  
  .hero { 
    padding: 120px 20px 60px; 
  }
  
  .section { 
    padding: 60px 20px; 
  }
  
  .btn-cta { 
    width: 100%; 
  }
  
  p { 
    text-align: left; 
  }
}

/* ======================================================= */
/* E-E-A-T, TABLE, TESTIMONIALS & GDPR CSS                 */
/* ======================================================= */

/* E-E-A-T Box */
.eeat-box {
  display: flex; align-items: center; gap: 25px;
  background: #F8FAFC; padding: 30px; border-radius: 12px;
  border: 1px solid #3B9C96; /* Teal border for trust */
}
.eeat-img { 
  width: 90px; height: 90px; border-radius: 50%; 
  object-fit: cover; border: 3px solid #1A202C; 
}
.eeat-content h5 { color: #1A202C; font-size: 1.2rem; margin-bottom: 8px; }
.eeat-content p { font-size: 0.95rem; margin: 0; }

/* Us vs Them Comparison Table */
.comparison-wrapper { width: 100%; overflow-x: auto; }
.compare-table { 
  width: 100%; border-collapse: collapse; 
  background: white; border-radius: 12px; overflow: hidden; 
  box-shadow: 0 5px 15px rgba(0,0,0,0.05); min-width: 600px;
}
.compare-table th { 
  background: #1A202C; color: white; padding: 20px; 
  text-align: left; font-size: 1.1rem; border-right: 1px solid rgba(255,255,255,0.1); 
}
.leptozan-col { background: #3B9C96 !important; /* Teal Highlight */ }
.compare-table td { 
  padding: 18px 20px; border-bottom: 1px solid #E2E8F0; 
  font-size: 1rem; color: #1A202C; font-weight: 500;
}
.compare-table tr:hover { background-color: #F8FAFC; }
.text-teal { color: #3B9C96; font-weight: 800; }
.text-red { color: #EF4444; font-weight: 800; }

/* Real Customer Testimonials */
.testi-grid { 
  display: grid; grid-template-columns: repeat(2, 1fr); 
  gap: 40px; max-width: 1000px; margin: 0 auto; 
}
.testi-card { 
  background: white; border-radius: 16px; padding: 40px 30px; 
  text-align: center; border: 1px solid #E2E8F0; 
  box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
}
.testi-photo { 
  width: 100px; height: 100px; border-radius: 50%; 
  object-fit: cover; margin: 0 auto 15px; border: 4px solid #F48033; 
}
.stars { font-size: 1.8rem; color: #F59E0B; margin-bottom: 5px; letter-spacing: 2px;}
.verified-badge { color: #10B981; font-weight: 800; font-size: 0.85rem; margin-bottom: 15px; }
.testi-text { font-style: italic; color: #475569; margin-bottom: 20px; text-align: center; }
.testi-name { font-weight: 800; color: #1A202C; font-size: 1.05rem; }

/* Scientific References Box */
.reference-box {
  background: #F8FAFC; padding: 30px; border-radius: 12px;
  border: 1px solid #E2E8F0;
}

/* GDPR Cookie Banner */
.cookie-banner {
  position: fixed; bottom: 90px; left: 20px; right: 20px;
  background: #1A202C; color: white;
  padding: 15px 25px; border-radius: 8px; z-index: 9998;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3); border-left: 5px solid #F48033;
}
.cookie-banner p { margin: 0; font-size: 0.95rem; text-align: left; color: white; }
.cookie-banner a { color: #F48033; text-decoration: underline; }
.cookie-banner button {
  background: #3B9C96; color: white;
  border: none; padding: 10px 25px; border-radius: 5px;
  cursor: pointer; font-weight: 800; white-space: nowrap; transition: 0.3s;
}
.cookie-banner button:hover { background: #2d7a75; }

/* Responsive Adjustments */
@media (max-width: 900px) {
  .eeat-box { flex-direction: column; text-align: center; }
  .testi-grid { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; text-align: center; bottom: 100px; }
  .cookie-banner p { text-align: center; }
}

.trust-banner-wrap {
  text-align: center; 
  margin: 40px 0;     
  width: 100%;
}

.trust-banner-wrap img {
  max-width: 100%;    
  height: auto;
}