/* ==========================================================================
   MAKE AMERICA SLIM AGAIN - ADVANCED STYLESHEET
   Theme: Purple Honey (#5A2A82), Amber Gold, and Clean White
   ========================================================================== */

/* ===== GLOBAL RESETS ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* === BRAND COLORS FOR MAKE AMERICA SLIM AGAIN === */
  --brand-primary:   #5A2A82; /* Deep Purple Honey */
  --brand-secondary: #7A3B9E; /* Lighter Purple for Hovers/Accents */
  --brand-accent:    #D87B00; /* Amber Gold for CTA Buttons */
  --brand-yellow:    #FFCC00; /* Yellow accent for Stars */
  --brand-green:     #28a745; /* Verification / Checkmark Green */
  --white:           #ffffff;
  --bg-light:        #F9F6FC; /* Very Soft Purple/Gray Background for contrast */
  --bg-dark:         #0A1931; /* Deep Dark Blue for Footer (Trust color) */
  --text-main:       #1A1A1A; /* Strong Dark Grey for readability */
  --text-muted:      #555555; /* Softer text for descriptions */
  --border-color:    #E5DDF0; /* Light purple-ish gray for borders */
  
  /* Shadows with slight purple tint */
  --shadow-sm:       0 2px 8px rgba(90, 42, 130, 0.08);
  --shadow-md:       0 4px 20px rgba(90, 42, 130, 0.15);
  --shadow-lg:       0 12px 35px rgba(90, 42, 130, 0.22);

  /* === 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: 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); }

/* ===== 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: 6px;
  font-weight: 800; 
  font-size: var(--f-lg);
  margin-top: 25px;
  box-shadow: 0 6px 20px rgba(216, 123, 0, 0.4);
  transition: all 0.3s ease;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn-cta:hover { 
  background: #C46D00; /* Darker amber on hover */
  transform: translateY(-3px); 
  box-shadow: 0 8px 25px rgba(216, 123, 0, 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: 72px; padding: 0 24px;
}
.nav-logo img {
  height: auto;
  max-height: 50px;
}
.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-primary); }
.btn-nav {
  background: var(--brand-primary); color: var(--white) !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(--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: 80px 24px; 
  background: repeating-linear-gradient(
    45deg,
    #ffffff,
    #ffffff 2px,
    #F9F6FC 2px,
    #F9F6FC 4px
  ); 
  border-bottom: 1px solid var(--border-color);
}
.hero-grid {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Changed to give content more room on the right */
    gap: 50px;
    align-items: center;
}
.hero-content h1 { color: #000; margin-bottom: 20px; letter-spacing: -1px;}
.hero-content h1 span { color: var(--brand-primary); }
.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: 450px; margin: 0 auto; display: block; filter: drop-shadow(0px 15px 25px rgba(0,0,0,0.1)); }

/* Additional Hero Elements */
.hero-features { list-style: none; margin-bottom: 25px; padding: 0; }
.hero-features li { font-size: var(--f-md); font-weight: 700; margin-bottom: 10px; color: var(--brand-primary); text-align: left; }

.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; 
}

/* ===== 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-secondary); }
.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: 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); }

/* ===== BONUSES GRID ===== */
.bonuses-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.bonus-card { background: var(--white); padding: 30px; border-radius: 12px; box-shadow: var(--shadow-sm); border-top: 5px solid var(--brand-primary); transition: all 0.3s; }
.bonus-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

/* ===== 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: #F9F6FC; 
}
.pop-badge { 
    position: absolute; 
    top: -18px; 
    left: 50%; 
    transform: translateX(-50%); 
    background: var(--brand-primary); 
    color: var(--white); 
    font-weight: 900; 
    font-size: 1rem; 
    padding: 8px 25px; 
    border-radius: 25px; 
    white-space: nowrap; 
    box-shadow: 0 4px 10px rgba(90, 42, 130, 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: 900; 
    margin-bottom: 10px; 
    color: var(--text-main); 
}
.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: 800; color: var(--brand-primary); 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; }
.faq-item.open .faq-ans { max-height: 800px; padding: 0 30px 25px; }

/* ===== FOOTER ===== */
footer { background: var(--bg-dark); color: #E0E6F0; padding: 0; text-align: center; }

/* ===== 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; text-align: center;}
  .hero-content p, .hero-features li { text-align: center; }
  .hero-grid, .two-col, .mb-inner { grid-template-columns: 1fr; text-align: center; }
  .pricing-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; }
}

/* ==========================================================================
   UPDATED HERO & NAV STYLES (AS PER REFERENCE IMAGE)
   ========================================================================== */

/* Navbar Adjustments */
.nav-links a {
    color: #4A5568;
    font-weight: 500;
    font-size: 1.1rem;
}
.nav-links a:hover {
    color: #A93226; /* Deep Red Hover */
}

/* Red Pill Button */
.pill-btn {
    background: #b13734 !important; /* Maroon/Deep Red from Image */
    color: #ffffff !important;
    border-radius: 50px !important; /* Pill Shape */
    padding: 12px 35px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(177, 55, 52, 0.3);
    text-transform: capitalize;
}
.pill-btn:hover {
    background: #8e2a27 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(177, 55, 52, 0.4);
}

/* Clean Hero Section Override */
.clean-hero {
    background: #ffffff; /* Clean white background */
    border-bottom: none;
    padding: 60px 24px;
}
.clean-hero .hero-content h1 {
    font-family: 'Poppins', sans-serif; /* Changed from Oswald to Poppins */
    text-transform: none; /* Sentence/Title case instead of ALL CAPS */
    font-size: 3.2rem;
    font-weight: 700;
    color: #1E293B; /* Dark Slate Color */
    line-height: 1.3;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

/* 5 Trust Badges Row */
.hero-badges {
    display: flex;
    justify-content: flex-start;
    margin-top: 20px; 
}

.hero-badges img {
    width: 100%;
    max-width: 650px; 
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Responsive adjustment for Mobile (Stacks content under image) */
@media (max-width: 600px) {
    .hero-badges {
        /* Hero section ki side padding ko bypass karne ke liye negative margin */
        margin: 20px -20px 0 -20px; 
        width: calc(100% + 40px);
        justify-content: center;
        display: flex;
    }
    
    .hero-badges img {
        width: 100%;
        max-width: 100%;
        object-fit: contain;
        transform: scale(1.05); /* Halka sa aur zoom karne ke liye */
    }
}

/* Hero Image Wrapper (Grey Box with Rounded Corners) */
.hero-img-wrapper {
    background: #F1F1F1; /* Light grey background from image */
    border-radius: 30px;
    padding: 50px;
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-img-wrapper img {
    max-width: 100%;
    height: auto;
    width: 320px; /* Adjust based on your bottle image size */
    z-index: 2;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}

/* New Formula Badge on Image */
.new-formula-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive adjustments for Mobile */
@media (max-width: 1024px) {
    .clean-hero .hero-content h1 {
        font-size: 2.4rem;
        text-align: center;
    }
    .hero-badges {
        justify-content: center;
        gap: 10px;
    }
    .hero-badges img {
        width: 60px;
        height: 60px;
    }
}

/* ==========================================================================
   NEW PRICING CARDS (MATCHING REFERENCE IMAGE)
   ========================================================================== */

.pricing-grid-new {
    max-width: 1100px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.pkg-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid #D5D5D5;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.pkg-card:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.pkg-best-value {
    background: #FEF6F5; /* Light red/pink tint from image */
    border: 2px solid #b13734;
    transform: scale(1.03);
    z-index: 2;
}

.pkg-best-value:hover {
    transform: scale(1.05) translateY(-5px);
}

.pkg-header {
    background: #b13734; /* Maroon Header */
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 12px;
    text-transform: capitalize;
}

.pkg-best-value .pkg-header {
    text-transform: uppercase;
    font-size: 1.2rem;
    padding: 15px;
}

.pkg-body {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.pkg-title {
    color: #b13734;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.pkg-supply {
    color: #555;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.pkg-img {
    max-width: 100%;
    height: auto;
    width: 200px;
    margin-bottom: 25px;
}

.pkg-price-block {
    color: #b13734;
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.price-symbol {
    font-size: 2.5rem;
    font-weight: 900;
}

.price-main {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
}

.price-sub {
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
    margin-left: 5px;
}

.pkg-pills {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-bottom: 25px;
}

.feature-pill {
    padding: 8px 15px;
    border-radius: 5px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
}

.pill-grey { background: #C4C4C4; }
.pill-yellow { background: #F4B400; }
.pill-green { background: #7CB342; }

.btn-buy {
    background: #b13734;
    color: #fff;
    width: 100%;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(177, 55, 52, 0.3);
    margin-bottom: 15px;
}

.btn-buy:hover {
    background: #8e2a27;
    transform: translateY(-2px);
    color: #fff;
}

.pkg-shipping {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.pay-logos {
    max-width: 180px;
    margin: auto auto 15px auto;
}

.pkg-total {
    color: #333;
    font-size: 1.1rem;
    border-top: 1px solid #E5E5E5;
    width: 100%;
    padding-top: 15px;
}

.pkg-total s {
    color: #999;
}

.pkg-total strong {
    color: #b13734;
    font-size: 1.2rem;
    margin-left: 5px;
}

/* Responsive */
@media (max-width: 900px) {
    .pricing-grid-new {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
    .pkg-best-value {
        transform: scale(1);
    }
    .pkg-best-value:hover {
        transform: scale(1) translateY(-5px);
    }
}