

/* ===== GLOBAL RESETS ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* === BRAND COLORS (Extracted from GlycoMute Request) === */
  --brand-primary:   #1A1A1A; /* Strong Black/Dark Grey for high contrast */
  --brand-secondary: #E48152; /* Soft Orange/Peach from the bottle label */
  --brand-accent:    #FFED00; /* Bright Yellow for Call-To-Actions */
  --white:           #ffffff;
  --bg-light:        #F9F9F9; /* Clean ultra-light grey for section separation */
  --text-main:       #333333; /* Standard reading text */
  --border-color:    #E0E0E0;
  
  /* Shadows */
  --shadow-sm:       0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md:       0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg:       0 12px 35px rgba(228, 129, 82, 0.15);

  /* Typography Scales */
  --f-body:  1.15rem; 
  --f-md:    1.45rem;
  --f-lg:    1.65rem;
  --f-xl:    2.1rem;
  --f-2xl:   2.6rem;
  --f-3xl:   3.4rem;
  --lh-body: 1.8;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  font-size: var(--f-body);
  line-height: var(--lh-body);
  color: var(--text-main);
  background: var(--white);
  overflow-x: hidden;
  padding-bottom: 90px; 
}

/* Headings utilize bold Montserrat for authority */
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; color: var(--brand-primary); }
h1 { font-size: var(--f-3xl); font-weight: 900; line-height: 1.2; text-transform: capitalize;}
h2 { font-size: var(--f-2xl); font-weight: 800; line-height: 1.3; }
h3 { font-size: var(--f-xl);  font-weight: 800; line-height: 1.3; }
h4 { font-size: var(--f-lg);  font-weight: 700; line-height: 1.4; }
p, li { font-size: var(--f-body); line-height: var(--lh-body); margin-bottom: 20px; text-align: justify; }
a { text-decoration: none; transition: all 0.2s; }

/* ===== UTILITIES ===== */
.section    { padding: 80px 24px; }
.bg-light   { background: var(--bg-light); }
.sec-title  { text-align: center; margin-bottom: 20px; }
.sec-sub    { text-align: center; font-size: 1.25rem; color: #555; margin-bottom: 50px; max-width: 900px; margin-left: auto; margin-right: auto; }
.wrap       { padding: 0 15px; margin: 0 auto; } 
.content-heavy p { max-width: 950px; margin-left: auto; margin-right: auto; font-size: 1.2rem; }

/* ===== BUTTONS ===== */
.btn-cta {
  display: inline-block; 
  padding: 18px 45px; 
  border-radius: 6px;
  font-weight: 900; 
  font-size: var(--f-lg);
  font-family: 'Montserrat', sans-serif;
  box-shadow: var(--shadow-md);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 15px;
}
.btn-cta-yellow {
  background: var(--brand-accent);
  color: #000 !important; /* High contrast on yellow */
  border: 2px solid #D4C500;
}
.btn-cta-yellow:hover {
  background: #FFF133;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 237, 0, 0.4);
}
.btn-cta-dark {
  background: var(--brand-primary);
  color: var(--white) !important;
}
.btn-cta-dark:hover {
  background: #333;
  transform: translateY(-3px);
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--brand-secondary);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 75px; padding: 0 24px;
}
.logo-text { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 1.8rem; color: var(--brand-primary); }
.nav-links { display: flex; gap: 30px; list-style: none; margin-top: 18px; }
.nav-links a { color: var(--text-main); font-weight: 600; }
.nav-links a:hover { color: var(--brand-secondary); }
.btn-nav { background: var(--brand-primary); color: var(--white) !important; padding: 12px 25px; border-radius: 5px; font-weight: bold; }
.btn-nav:hover { background: var(--brand-secondary); }
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { width: 30px; height: 3px; background: var(--brand-primary); display: block; }
.mob-menu { display: none; flex-direction: column; padding: 20px; background: var(--white); text-align: center; gap: 15px;}
.mob-menu.open { display: flex; }

/* ===== HERO SECTION ===== */
.hero { padding: 60px 24px 80px; background: #fff; }
.hero-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-content h1 span { color: var(--brand-primary); display: block; font-size: 2.8rem;}
.hero-subtext { font-size: 1.4rem; color: #555; margin-top: 20px; margin-bottom: 30px; text-align: left;}
.hero-img img { width: 100%; max-width: 600px; display: block; margin: 0 auto; }

/* ===== TRUST BADGES ===== */
.badges-grid { max-width: 1200px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.badge-card { text-align: center; padding: 40px 20px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--white); box-shadow: var(--shadow-sm); }
.badge-card img { width: 70px; height: 70px; object-fit: contain; margin-bottom: 15px; }
.badge-card h4 { color: var(--brand-secondary); margin-bottom: 15px; }
.badge-card p { text-align: center; font-size: 1rem; color: #666; }

/* ===== TWO COLUMNS (SCIENCE) ===== */
.two-col { max-width: 1150px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.two-col img { width: 100%; border-radius: 12px; box-shadow: var(--shadow-md); }

/* ===== INGREDIENTS ===== */
.ing-list { max-width: 950px; list-style: none; }
.ing-item { padding: 40px; margin-bottom: 30px; background: var(--white); border-radius: 10px; box-shadow: var(--shadow-sm); border-left: 5px solid var(--brand-secondary); }
.ing-content h4 { color: var(--brand-primary); font-size: 1.6rem; margin-bottom: 15px; text-transform: uppercase;}

/* ===== COMPARISON TABLE ===== */
.comparison-table-wrapper { width: 100%; overflow-x: auto; margin-top: 30px; }
.ranking-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-md); min-width: 600px; }
.ranking-table th { background: var(--brand-primary); color: var(--white); padding: 20px; text-align: left; font-size: 1.2rem; }
.ranking-table td { padding: 18px 20px; border-bottom: 1px solid var(--border-color); font-size: 1.1rem; }
.text-green { color: #008000; font-weight: bold; }
.text-red { color: #D30000; font-weight: bold; }

/* ===== TESTIMONIALS ===== */
.testi-grid { max-width: 1000px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.testi-card { background: var(--white); border-radius: 10px; padding: 40px; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.stars { font-size: 1.6rem; margin-bottom: 10px; }
.verified { color: green; font-weight: bold; font-size: 0.9rem; margin-bottom: 20px; text-transform: uppercase; }
.testi-text { font-style: italic; color: #555; margin-bottom: 25px; text-align: left; }
.testi-name { font-weight: 900; font-size: 1.1rem; color: var(--brand-primary); }

/* ===== PRICING TABLES ===== */
.pricing-grid { max-width: 1100px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: end; }
.p-card { background: var(--white); border-radius: 12px; padding: 40px 20px; text-align: center; border: 2px solid var(--border-color); position: relative; }
.p-card.pop { border-color: var(--brand-secondary); border-width: 4px; box-shadow: var(--shadow-lg); padding-top: 50px; background: #FFFCFA; }
.pop-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--brand-secondary); color: var(--white); font-weight: bold; padding: 8px 20px; border-radius: 20px; white-space: nowrap; }
.supply { font-size: 1.4rem; font-weight: 900; color: var(--brand-primary); margin-bottom: 15px;}
.price-big { font-size: 3.5rem; font-weight: 900; color: var(--brand-primary); line-height: 1; font-family: 'Montserrat', sans-serif;}
.per-btl { color: #777; margin-bottom: 20px; font-weight: bold; }

/* ===== FAQ ===== */
.faq-item { background: var(--white); margin-bottom: 15px; border: 1px solid var(--border-color); border-radius: 6px;}
.faq-q { width: 100%; background: none; border: none; padding: 20px; text-align: left; cursor: pointer; display: flex; justify-content: space-between; font-size: 1.2rem; font-weight: bold; color: var(--brand-primary); font-family: 'Montserrat', sans-serif;}
.faq-ans { max-height: 0; overflow: hidden; transition: all 0.3s; padding: 0 20px; }
.faq-item.open .faq-ans { max-height: 500px; padding: 0 20px 20px; }

/* ===== COMPLIANCE BANNER ===== */
.cookie-banner {
    position: fixed; 
    bottom: 20px; /* Perfect bottom gap injection */
    left: 20px; 
    right: 20px; 
    background: #1A1A1A; 
    color: #ffffff; 
    padding: 15px 25px; 
    border-radius: 6px; 
    z-index: 99999 !important; /* Raised layer value to remain on top of layout elements */
    box-shadow: 0 10px 30px rgba(0,0,0,0.4); 
    border-left: 5px solid #E48152; 
    transition: opacity 0.3s ease;
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.cookie-text {
    margin: 0 !important; 
    font-size: 0.9rem !important; /* Slightly structural layout compression */
    line-height: 1.6 !important;
    text-align: left !important;
    color: #f0f0f0 !important;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.cookie-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 10px 22px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s, transform 0.1s;
}

.btn-accept {
    background-color: #2F7C73; 
    color: #ffffff;
}
.btn-accept:hover {
    background-color: #24615A;
    transform: translateY(-1px);
}

.btn-reject {
    background-color: #4A5568; 
    color: #ffffff;
}
.btn-reject:hover {
    background-color: #3A4252;
    transform: translateY(-1px);
}

/* Operational Responsive Overrides for Mobile Layouts */
@media (max-width: 992px) {
    .cookie-banner {
        bottom: 15px !important; /* Tightly locked at baseline on smaller touch devices */
        left: 15px;
        right: 15px;
        padding: 20px;
    }
    .cookie-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .cookie-text {
        text-align: center !important;
    }
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
    .cookie-btn {
        flex-grow: 1;
        max-width: 200px;
        text-align: center;
    }
}

/* ===== FOOTER ===== */
footer { background: var(--bg-light); padding: 50px 24px; text-align: center; border-top: 1px solid var(--border-color); }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-grid, .two-col, .testi-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content h1 { font-size: 2.5rem; }
  .hero-content h1 span { font-size: 2.2rem; }
  .hero-subtext { text-align: center; }
  .badges-grid, .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto;}
  .badges-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  .cookie-banner { flex-direction: column; text-align: center; bottom: 120px;}
  .cookie-banner button { margin-left: 0; margin-top: 15px; }
  .cta-bar-content { flex-direction: column; gap: 15px; text-align: center;}
  p, li { text-align: left; }
}
@media (max-width: 600px) {
  .badges-grid { grid-template-columns: 1fr; }
  .section { padding: 50px 15px; }
  h1 { font-size: 2.2rem !important; }
}

/* ==========================================================================
   IMAGE-MATCHED PRICING GRID CSS (Fully Centered)
   ========================================================================== */

.image-matched-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto; /* Centers the whole grid */
    justify-content: center;
    align-items: stretch;
}

.p-card-new {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.p-card-new.pop-card {
    border: 2px solid #2F7C73;
    box-shadow: 0 8px 25px rgba(47, 124, 115, 0.15);
}

/* Headers */
/* Headers */
.p-header {
    text-align: center !important;
    padding: 20px 15px;
}
.bg-light-grey { background-color: #F1F4F5; }
.bg-teal { background-color: #2F7C73; }
.text-white { color: #ffffff !important; }

.p-title { 
    font-size: 1.5rem; 
    font-weight: 700; 
    margin-bottom: 5px; 
    color: #333; 
    text-align: center !important; /* Force center */
}
.p-subtitle { 
    font-size: 0.95rem; 
    margin-bottom: 0; 
    color: #555; 
    text-align: center !important; /* Force center overriding global <p> rules */
}
/* Body Content */
.p-body {
    padding: 30px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center; /* Locks internal content to center */
    flex-grow: 1;
}

.prod-img { margin: 0 auto 25px; display: block; object-fit: contain; min-height: 150px; }

/* Price Layout */
.price-display {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 15px;
    color: #1A1A1A;
}
.currency { font-size: 2.2rem; font-weight: 800; position: relative; top: -15px; }
.price-big { font-size: 4.5rem; font-weight: 900; line-height: 1; letter-spacing: -2px; }
.per-btl { font-size: 1.2rem; font-weight: 500; color: #555; margin-left: 5px; }

/* Text & Banners */
.save-text { font-size: 1rem; color: #333; margin-bottom: 10px; font-weight: 800; text-align: center; }
.bonus-banner {
    background-color: #E88E6A;
    color: #fff;
    font-weight: 800;
    padding: 8px 10px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin: 0 auto 20px;
    width: 90%;
    text-align: center;
}
.bonus-placeholder { height: 35px; margin-bottom: 20px; width: 100%; }

/* CTA Button */
.btn-cta-yellow {
    background-color: #FFE600 !important;
    color: #111 !important;
    font-weight: 900 !important;
    font-size: 1.2rem;
    padding: 16px 20px;
    border: none;
    border-radius: 4px;
    display: block;
    width: 100%;
    max-width: 320px; /* Prevents button from over-stretching on large screens */
    margin: 0 auto 20px;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}
.btn-cta-yellow:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 230, 0, 0.4);
}

/* Footer elements of card */
.guarantee-text { font-size: 0.9rem; font-weight: 800; color: #111; margin-bottom: 10px; text-align: center; }
.cards-img { width: 180px; margin: 0 auto 20px; display: block; }
.total-text { font-size: 0.95rem; color: #555; margin-bottom: 5px; text-align: center; }
.total-text strong { color: #111; }
.strike { text-decoration: line-through; margin-right: 5px; }
.shipping-text { font-size: 0.95rem; color: #333; margin-bottom: 0; text-align: center; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .image-matched-grid { 
        grid-template-columns: 1fr; 
        max-width: 450px; 
    }
    .p-card-new.pop-card { 
        transform: scale(1); 
        border-width: 2px; 
    }
}

/* ==========================================================================
   TESTIMONIAL DESIGN WITH IMAGES
   ========================================================================== */

.testi-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 35px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    text-align: left; /* Kept text left for reading readability */
}

.testi-headline {
    font-size: 1.3rem;
    font-weight: 700;
    font-style: italic;
    color: #1A1A1A;
    margin: 10px 0;
    text-align: left !important;
}

.hr-grey-divider {
    border: none;
    border-top: 1px solid #eaeaea;
    margin: 15px 0;
}

.testi-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: left !important;
}

/* Profile Box Styling */
.testi-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto; /* Pushes profile box to the bottom of the card */
}

.testi-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2F7C73; /* Clean accent border around avatar */
}

.profile-info {
    display: flex;
    flex-direction: column;
}

.testi-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 2px;
    text-align: left !important;
}

.purchase-meta {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 0;
    font-weight: 600;
    text-align: center !important; /* Center aligns well under names */
}

/* Small adjustments for global text rules override */
.verified {
    text-align: left !important;
}
.stars {
    text-align: left !important;
}

/* ==========================================================================
   ADVANCED BONUS SECTION STYLING (Horizontal Left-Image Layout)
   ========================================================================== */

.bg-light-bonus-container {
    background-color: #F9F9F9;
}

.bonus-horizontal-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 30px;
    max-width: 950px;
    width: 100%;
    display: grid;
    grid-template-columns: 200px 1fr; /* Image left, rich content right */
    gap: 35px;
    align-items: start;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: transform 0.2s ease;
}

.bonus-horizontal-card:hover {
    transform: translateY(-2px);
}

.bonus-img-frame {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.b-cover-img {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    object-fit: contain;
}

.bonus-text-frame {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.bonus-number-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: #E48152; /* Product signature orange highlight */
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.bonus-text-frame h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 12px;
    text-align: left !important;
}

.bonus-description-text {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: left !important; /* Forces copy to override global grids safely */
}

.bonus-pricing-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.retail-strike {
    font-size: 0.95rem;
    text-decoration: line-through;
    color: #718096;
    font-weight: 600;
}

.free-status-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    color: #2F7C73; /* High converting green text color matching the framework */
}

.digital-notice-text {
    font-size: 0.8rem;
    color: #a0aec0;
    font-style: italic;
    margin-bottom: 0;
    text-align: left !important;
}

/* Responsive adjustments for tablet and mobile viewports */
@media (max-width: 768px) {
    .bonus-horizontal-card {
        grid-template-columns: 1fr;
        padding: 25px;
        gap: 20px;
    }
    .b-cover-img {
        max-width: 150px;
    }
    .bonus-text-frame {
        text-align: center;
    }
    .bonus-text-frame h4,
    .bonus-description-text,
    .digital-notice-text {
        text-align: center !important;
    }
    .bonus-pricing-footer {
        justify-content: center;
    }
}

/* ==========================================================================
   ADVANCED COMPLIANCE & TRUST STYLES (E-E-A-T & FTC)
   ========================================================================== */

.compliance-heavy-text {
    font-size: 1.05rem !important;
    color: #4a5568 !important;
    line-height: 1.75 !important;
    margin-bottom: 18px !important;
    text-align: justify !important;
    text-justify: inter-word;
}

.compliance-node {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #4a5568; /* Solid deep gray anchor label */
    padding: 25px;
    border-radius: 4px;
}

.compliance-node h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left !important;
}

@media (max-width: 768px) {
    .compliance-node {
        padding: 20px;
    }
    .compliance-heavy-text {
        text-align: left !important;
    }
}

/* ==========================================================================
   CERTIFICATION ACCREDITATION ALIGNMENT
   ========================================================================== */

.bg-light-certification-track {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
}

.certification-heading-text {
    text-align: center !important;
    text-align-last: center !important; /* Forces legacy platforms to center paragraph endpoints */
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.certification-image-frame img {
    display: block !important;
    margin: 0 auto !important; /* Perfect balance injection for mobile viewports */
}

@media (max-width: 768px) {
    .bg-light-certification-track {
        padding: 40px 15px !important;
    }
}