/* ==========================================================================
   MENOVELLE - ADVANCED STYLESHEET
   ========================================================================== */

/* ===== GLOBAL RESETS ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* === BRAND COLORS FOR MENOVELLE === */
  --brand-primary:   #dc8ab7; /* Menovelle Soft Pink / Mauve */
  --brand-secondary: #c2739c; /* Slightly Darker Pink for Hovers/Accents */
  --brand-accent:    #dc8ab7; /* CTA Buttons */
  --brand-yellow:    #FFCC00; /* Yellow accent for Stars */
  --brand-green:     #27AE60; /* Verification / Checkmark Green */
  --white:           #ffffff;
  --bg-light:        #f7f6f4; /* Warm Beige / Off-White Background */
  --bg-dark:         #2A2A2A; /* Deep Dark Grey for Footer */
  --text-main:       #2C2C2C; /* Strong Dark Grey for readability */
  --text-muted:      #555555; /* Softer text for descriptions */
  --border-color:    #ebe4e6; /* Light pinkish-gray for soft borders */
  
  /* Shadows Adjusted to match Pink Theme */
  --shadow-sm:       0 2px 8px rgba(220, 138, 183, 0.15);
  --shadow-md:       0 4px 20px rgba(220, 138, 183, 0.25);
  --shadow-lg:       0 12px 35px rgba(220, 138, 183, 0.35);

  /* === 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(--white);
  overflow-x: clip;
  padding-bottom: 0px; 
}

/* Typography Basics */
h1 { font-family: 'Poppins', sans-serif; font-size: var(--f-3xl); font-weight: 700; line-height: 1.2; text-transform: capitalize; }
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); }

/* ===== 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; } 

/* ===== BUTTONS ===== */
.btn-cta {
  display: inline-block; 
  background: var(--brand-accent); 
  color: var(--white) !important;
  padding: 18px 45px; 
  border-radius: 8px; /* Slightly rounded for feminine look */
  font-weight: 800; 
  font-size: var(--f-lg);
  margin-top: 25px;
  box-shadow: 0 6px 20px rgba(220, 138, 183, 0.4);
  transition: all 0.3s ease;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn-cta:hover { 
  background: var(--brand-secondary); 
  transform: translateY(-3px); 
  box-shadow: 0 8px 25px rgba(220, 138, 183, 0.6); 
}
.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(--white);
  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;
}
.logo-text { font-size: 1.8rem; font-weight: 900; color: var(--brand-primary); font-family: 'Poppins', sans-serif;}
.nav-links { 
  display: flex; 
  gap: 35px; 
  list-style: none;
  margin-top: 15px; 
}
.nav-links a { color: var(--text-main); font-weight: 600; 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) !important;
  padding: 12px 30px; border-radius: 6px;
  font-weight: 700; 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: 600; font-size: var(--f-md); }

/* ===== HERO SECTION ===== */
.hero { 
  padding: 70px 24px; 
  background: linear-gradient(to right, #F9F9F9 60%, #ECAFC8 40%);
  border-bottom: 1px solid var(--border-color);
}
.hero-grid {
  max-width: 1150px; 
  margin: 0 auto;
  display: grid; 
  grid-template-columns: 1fr 1.3fr; /* col-1: image (pink side) | col-2: content (white side) */
  gap: 40px; 
  align-items: center;
}
/* Desktop: image LEFT (col-1), content RIGHT (col-2) */
.hero-img     { order: 1; display: flex; justify-content: center; align-items: center; }
.hero-content { order: 2; text-align: left; }

.hero-content h1 { 
  color: var(--text-main); 
  font-size: var(--f-3xl);
  margin-bottom: 20px; 
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.hero-content h1 span { color: var(--brand-primary); }
.hero-content p { 
  color: var(--text-muted); 
  margin-bottom: 20px; 
  font-size: var(--f-body); 
  text-align: left; 
  font-weight: 400;
}
.hero-img img { 
  width: 100%; 
  max-width: 380px; 
  height: auto;
  margin: 0 auto; 
  display: block; 
  /* NO rotate — causes overflow on live servers */
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.15)); 
}
.hero-badges { margin-top: 20px; }
.hero-badges img {
  max-width: 420px;
  width: 100%;
  height: auto;
  display: block;
}

/* ===== ADDITIONAL HERO CSS (Pricing, Stars, Urgency) ===== */
.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; 
}
.reg-price { 
    font-size: var(--f-md); 
    color: var(--text-muted); 
}
.sale-price { 
    font-size: var(--f-xl); 
    font-weight: 900; 
    color: var(--brand-primary); 
    margin: 8px 0; 
}
.hurry-badge { 
    display: inline-block; 
    background: var(--brand-yellow); 
    color: #000; 
    padding: 8px 22px; 
    font-size: var(--f-sm); 
    font-weight: 800; 
    border-radius: 5px; 
    margin-top: 10px; 
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(255, 204, 0, 0.3);
}

/* ===== BENEFITS BADGES ===== */
.badges-grid {
  max-width: 1200px; 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-primary); 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; }
.badge-card p { font-size: 1.05rem; text-align: center; text-align-last: center;}

/* ===== 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); border: 2px solid var(--border-color); }
.two-col h2 { color: var(--brand-primary); margin-bottom: 25px; }

/* ===== INGREDIENTS ===== */
.ing-list { max-width: 950px; margin: 0 auto; list-style: none; }
.ing-item { padding: 35px 35px 35px 100px; 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: 180px 1fr; gap: 35px; align-items: center; transition: all 0.3s ease; }
.ing-item:hover { box-shadow: var(--shadow-md); border-color: var(--brand-primary); }
.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: 700; position: absolute; left: -15px; top: -15px; box-shadow: var(--shadow-sm); }
.ing-img { width: 180px; height: 180px; object-fit: cover; border-radius: 12px; border: 3px solid var(--bg-light); }
.ing-content h4 { color: var(--brand-secondary); margin-bottom: 12px; font-size: var(--f-xl); }

/* ===== COMPARISON TABLE ===== */
.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: 700px; }
.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.2); }
.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: #E31821; font-weight: 700; }

/* ===== TESTIMONIALS ===== */
.testi-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.testi-card { background: var(--white); border-radius: 15px; padding: 35px 35px; text-align: center; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.testi-photo { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto 15px; border: 4px solid var(--brand-primary); }
.stars { font-size: 1.8rem; color: var(--brand-yellow); margin-bottom: 10px; }
.verified { color: var(--brand-green); font-weight: 700; 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: 700; color: var(--text-main); font-size: 1.1rem; }

/* ===== PRICING TABLES (CENTER ALIGNED) ===== */
.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(--white); 
    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); 
}
.p-card.pop { 
    border-color: var(--brand-primary); 
    border-width: 3px; 
    box-shadow: var(--shadow-md); 
    padding-top: 50px; 
    background: #fffafa; /* Very faint pink tint */
}
.pop-badge { 
    position: absolute; 
    top: -18px; 
    left: 50%; 
    transform: translateX(-50%); 
    background: var(--brand-primary); 
    color: var(--white); 
    font-weight: 700; 
    font-size: 1rem; 
    padding: 8px 25px; 
    border-radius: 25px; 
    white-space: nowrap; 
    box-shadow: 0 4px 10px rgba(220, 138, 183, 0.4); 
}
.p-card img { 
    width: 100%; 
    max-width: 250px; 
    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: 700; 
    margin-bottom: 10px; 
    color: var(--text-main); 
}
.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; 
    font-weight: 600; 
}
.savings { 
    font-size: var(--f-md); 
    font-weight: 700; 
    color: var(--text-main); 
    margin-bottom: 10px; 
}

/* ===== GUARANTEE ===== */
.mb-inner { max-width: 1050px; margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; gap: 50px; align-items: center; }
.mb-inner img { width: 100%; max-width: 280px; }
.mb-inner h3 { color: var(--brand-primary); margin-bottom: 20px; font-size: var(--f-xl);}

/* ===== FAQ ===== */
.faq-list { max-width: 950px; margin: 0 auto; }
.faq-item { background: var(--white); 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: 700; color: var(--brand-primary); font-family: inherit; }
.faq-arrow { color: var(--brand-secondary); transition: transform .3s; font-size: 1.5rem; font-weight: bold; }
.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; }

/* ===== FOOTER ===== */
footer { background: var(--bg-dark); color: #CCCCCC; padding: 70px 24px 40px; text-align: center; }
.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-primary); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.5px; transition: color 0.2s;}
.foot-links a:hover { color: var(--white); }
.foot-copy { font-size: 0.9rem; color: #888888; margin-top: 15px;}

/* ===== RESPONSIVE DESIGN ===== */

/* ---- Tablet (max 1024px) ---- */
@media (max-width: 1024px) {
  :root {
    --f-body: 1.1rem;
    --f-md:   1.25rem;
    --f-lg:   1.4rem;
    --f-xl:   1.75rem;
    --f-2xl:  2.1rem;
    --f-3xl:  2.6rem;
    --f-price:2.8rem;
  }

  /* Nav */
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }

  /* Hero - stack vertically, image on top */
  .hero { 
    padding: 0 0 40px 0; 
    background: linear-gradient(to bottom, #ECAFC8 45%, #F9F9F9 45%) !important;
  }
  .hero-grid { 
    grid-template-columns: 1fr !important;
    gap: 20px;
    padding: 0 20px !important;
  }
  .hero-img    { order: 1; padding-top: 30px; } /* image pehle */
  .hero-content { order: 2; text-align: center; } /* content baad mein */
  .hero-img img { max-width: 260px; transform: rotate(0deg); }
  .hero-content h1 { font-size: var(--f-2xl); }
  .hero-content p  { text-align: center; font-size: var(--f-body); }
  .hero-badges { text-align: center; }
  .hero-badges img { margin: 12px auto 0; max-width: 100%; }

  /* Sections */
  .section { padding: 60px 20px; }

  /* Layout columns → single */
  .two-col,
  .mb-inner { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .mb-inner img { max-width: 260px; margin: 0 auto; }

  /* Badges */
  .badges-grid { grid-template-columns: repeat(2, 1fr); max-width: 600px; margin: 0 auto; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .p-card { min-width: unset; width: 100%; }
  .p-card.pop { padding-top: 40px; }

  /* Testimonials */
  .testi-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }

  /* Ingredients old list style */
  .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; }

  /* Text alignment */
  p, li { text-align: left; }

  /* Comparison table */
  .comparison-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ranking-table { min-width: 600px; }
}

/* ---- Mobile (max 768px) ---- */
@media (max-width: 768px) {
  :root {
    --f-body: 1.0rem;
    --f-md:   1.1rem;
    --f-lg:   1.25rem;
    --f-xl:   1.55rem;
    --f-2xl:  1.85rem;
    --f-3xl:  2.1rem;
    --f-price:2.3rem;
  }

  /* Nav */
  .nav-inner { padding: 0 16px; }
  .nav-inner img { max-width: 150px; }

  /* Hero - image on pink bg on top, content below on white */
  .hero {
    padding: 0 0 36px 0 !important;
    background: linear-gradient(to bottom, #ECAFC8 48%, #F9F9F9 48%) !important;
  }
  .hero-grid { 
    padding: 0 16px !important; 
    gap: 16px !important;
  }
  .hero-img   { order: 1; padding-top: 24px; }
  .hero-content { order: 2; text-align: center; }
  .hero-img img { max-width: 230px; transform: rotate(0deg); }
  .hero-content h1 { font-size: 1.7rem; line-height: 1.3; margin-bottom: 14px; }
  .hero-content p { font-size: 0.97rem; text-align: center; }
  .hero-badges { text-align: center; }
  .hero-badges img { max-width: 100% !important; margin: 10px auto 0; }

  /* Sections */
  .section { padding: 50px 16px; }
  .wrap    { padding: 0; }

  /* Section titles */
  .sec-title { font-size: 1.7rem; }
  .sec-sub   { font-size: 1rem; margin-bottom: 30px; }

  /* Badges grid: 2 columns on mobile */
  .badges-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .badge-card  { padding: 22px 12px; }
  .badge-card img { width: 60px; height: 60px; }

  /* Ingredient cards grid: 2-col on mobile */
  .ingredient-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
  .ing-card { padding: 14px !important; }
  .ing-card h4 { font-size: 1rem !important; }
  .ing-card p  { font-size: 0.88rem !important; }

  /* Ingredient features row → wrap nicely */
  .ing-features { gap: 16px !important; }
  .feature-badge { width: calc(50% - 10px); }
  .feature-badge p { font-size: 0.85rem; }

  /* Pricing */
  .pricing-grid { gap: 20px; }
  .p-card { padding: 24px 14px 14px !important; }
  .price-big,
  [style*="font-size: 3.5rem"] { font-size: 2.6rem !important; }

  /* Bonus cards: single column */
  .bonus-grid { flex-direction: column !important; gap: 24px !important; }
  .bonus-card { min-width: unset !important; width: 100% !important; }

  /* Testimonials */
  .testi-card { padding: 28px 20px !important; }
  .testi-text { font-size: 0.95rem !important; }

  /* CTA buttons — full width */
  .btn-cta,
  .btn-cta-xl { width: 100%; padding: 16px 14px; font-size: 1.05rem; box-sizing: border-box; }

  /* Guarantee */
  .mb-inner { flex-direction: column !important; }
  .mb-inner img { width: 220px !important; }
  .mb-inner h3 { font-size: 1.4rem; }

  /* Footer */
  .foot-disc  { text-align: left; text-align-last: left; padding: 0 4px; }
  .foot-links { gap: 12px 20px; }
  .foot-links a { font-size: 0.88rem; }

  /* Cookie banner stacks on very small screens */
  .cookie-banner { flex-direction: column !important; gap: 10px; text-align: center; }
  .cookie-banner button { margin-left: 0 !important; width: 100%; }

  /* FAQ */
  .faq-q { font-size: 1.05rem; padding: 18px 20px; }
  .faq-ans { padding: 0 20px; }
  .faq-item.open .faq-ans { padding: 0 20px 20px; }

  /* Comparison table scroll hint */
  .comparison-table-wrapper::after {
    content: "← Scroll to see more →";
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    margin-top: 6px;
  }
}

/* ---- Small Mobile (max 480px) ---- */
@media (max-width: 480px) {
  :root {
    --f-body: 0.95rem;
    --f-md:   1.05rem;
    --f-lg:   1.15rem;
    --f-xl:   1.4rem;
    --f-2xl:  1.65rem;
    --f-3xl:  1.9rem;
    --f-price:2.1rem;
  }

  /* Hero - tighter on small screens */
  .hero { background: linear-gradient(to bottom, #ECAFC8 46%, #F9F9F9 46%) !important; }
  .hero-img   { order: 1; }
  .hero-content { order: 2; }
  .hero-content h1 { font-size: 1.5rem; }
  .hero-img img    { max-width: 200px; }

  /* Ingredient cards: single column on very small screens */
  .ingredient-grid { grid-template-columns: 1fr !important; }

  /* Badges: single column */
  .badges-grid   { grid-template-columns: 1fr !important; max-width: 300px; }
  .feature-badge { width: 100%; }

  /* Pricing p-cards: ensure not overflowing */
  .p-card [style*="font-size: 3.5rem"] { font-size: 2.2rem !important; }

  /* Nav logo smaller */
  .nav-inner img { max-width: 130px; }

  /* Spacing */
  .section { padding: 40px 14px; }
}