/* GL Pro Styles - Trust Blue & Metabolic Green Theme */
:root {
    --primary-dark: #172554;  /* Deep Navy */
    --primary-main: #1e3a8a;  /* Trust Blue */
    --accent-gold: #fbbf24;   /* Standard Gold */
    --cta-green: #10b981;     /* Metabolic Green */
    --cta-hover: #059669;     /* Darker Green Hover */
    --light-bg: #eff6ff;      /* Very Light Blue BG */
    --text-main: #1f2937;
    --white: #ffffff;
    --danger: #dc2626;        /* Alert Red */
    --success: #10b981;       /* Green */
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
    padding-top: 70px; /* Offset for sticky header */
}

h1, h2, h3, h4, h5, .btn {
    font-family: 'Montserrat', sans-serif;
}

.text-primary { color: var(--primary-main) !important; }

/* --- Announcement Bar --- */
.announcement-bar {
    background: #000;
    color: white;
    padding: 8px 10px;
    font-size: 0.85rem;
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1050;
    line-height: 1.4;
}
.announcement-bar a { color: var(--cta-green); font-weight: 700; text-decoration: underline; }

/* --- Sticky Header & Progress Bar --- */
.sticky-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    top: 36px; /* Below announcement bar */
    width: 100%;
    z-index: 1040;
    transition: top 0.3s;
    padding-top: 5px;
    padding-bottom: 5px;
}
.navbar-brand {
    font-weight: 800;
    color: var(--primary-main) !important;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    text-transform: uppercase;
}
.navbar-brand svg { width: 28px; fill: var(--primary-main); }
.nav-link { font-weight: 600; color: #333 !important; margin: 0 10px; }
.nav-cta {
    background: var(--cta-green);
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.2s;
}
.nav-cta:hover { background: var(--cta-hover); transform: scale(1.05); }

/* Reading Progress Bar */
.progress-container {
    width: 100%;
    height: 4px;
    background: #e9ecef;
    position: absolute;
    bottom: 0;
    left: 0;
}
.progress-bar {
    height: 4px;
    background: var(--primary-main);
    width: 0%;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(180deg, var(--light-bg) 0%, #fff 100%);
    padding: 60px 0 60px;
}
.hero h1 { font-weight: 800; color: #000; font-size: 2.8rem; line-height: 1.2; }
.hero h1 span { color: var(--primary-main); }
.hero-subtitle { font-size: 1.25rem; color: #4b5563; margin: 20px 0; }
.hero-badge {
    background: #dbeafe; color: #1e40af; /* Blue tint */
    font-weight: 700; padding: 5px 15px; border-radius: 20px;
    display: inline-block; margin-bottom: 15px;
    font-size: 0.9rem;
}
.btn-pulse {
    animation: pulse-animation 2s infinite;
}
@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* --- Trust Badges --- */
.trust-badges { background: #fff; padding: 25px 0; border-bottom: 1px solid #e2e8f0; }
.badge-item { text-align: center; margin-bottom: 10px; }
.badge-icon {
    width: 50px; height: 50px; background: white; border: 2px solid var(--primary-main);
    border-radius: 50%; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center;
}
.badge-icon svg { width: 25px; fill: var(--primary-main); }
.badge-text { font-weight: 700; font-size: 0.75rem; text-transform: uppercase; color: #333; }

/* --- General Section Styles --- */
.highlight-box {
    background: var(--light-bg); border-left: 5px solid var(--primary-main);
    padding: 20px; margin: 25px 0; border-radius: 0 10px 10px 0;
}

/* --- Ingredients Grid --- */
.ingredients-section { background: #fff; padding: 60px 0; border-top: 1px solid #eee; }
.ingredient-card {
    background: #fff; border: 1px solid #e5e7eb;
    padding: 25px; border-radius: 15px; transition: transform 0.3s; height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.ingredient-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.ingredient-icon { font-size: 2.5rem; margin-bottom: 15px; }
.ingredient-title { color: var(--text-main); font-weight: 700; font-size: 1.25rem; margin-bottom: 10px; }

/* --- Pricing --- */
.pricing-section { background: #eff6ff; padding: 60px 0; }
.pricing-card {
    border: 1px solid #e5e7eb; border-radius: 20px; padding: 25px; text-align: center;
    background: white; transition: all 0.3s; position: relative; margin-bottom: 20px;
}
.pricing-card.popular {
    border: 3px solid var(--cta-green); background: #fff;
    transform: scale(1.05); z-index: 10; box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.badge-popular {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: var(--cta-green); color: white; padding: 5px 20px;
    border-radius: 20px; font-weight: 700; font-size: 0.9rem;
}

/* --- Popups --- */
.sales-popup {
    position: fixed; bottom: 20px; left: 20px; background: white;
    padding: 12px 15px; border-radius: 12px; box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    display: flex; gap: 12px; align-items: center; border-left: 4px solid var(--primary-main);
    z-index: 2000; transform: translateX(-200%); transition: transform 0.5s;
    max-width: 90%;
}
.sales-popup.show { transform: translateX(0); }

/* --- Exit Intent Popup --- */
.exit-popup-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s; backdrop-filter: blur(4px);
    padding: 20px;
}
.exit-popup-overlay.show { opacity: 1; visibility: visible; }
.exit-popup-content {
    background: white; padding: 30px 20px; border-radius: 20px; max-width: 450px; width: 100%;
    position: relative; border-top: 5px solid var(--cta-green); transform: scale(0.9); transition: transform 0.3s;
    text-align: center;
}
.exit-popup-overlay.show .exit-popup-content { transform: scale(1); }
.exit-close-btn {
    position: absolute; top: 10px; right: 15px; background: none; border: none; font-size: 2rem; line-height: 1; cursor: pointer; color: #999;
}

/* --- MOBILE SPECIFIC MEDIA QUERIES --- */
@media (max-width: 768px) {
    body { padding-top: 50px; }
    .sticky-header { top: 0; padding: 10px 0; }
    .announcement-bar { position: relative; }
    
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .display-4 { font-size: 2.5rem; }
    
    .hero { padding: 40px 0; }
    .pricing-card.popular { transform: scale(1); margin: 25px 0; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
    
    /* Pros/Cons Table to List */
    .pros-cons-table, .pros-cons-table tbody, .pros-cons-table tr, .pros-cons-table td, .pros-cons-table th {
        display: block; width: 100%;
    }
    .pros-cons-table th { padding: 10px; font-size: 1.1rem; }
    .pros-cons-table td { padding: 15px 20px; border-bottom: 1px solid #eee; }

    .sales-popup { 
        bottom: 10px; left: 10px; right: 10px; 
        width: auto; max-width: none; 
        justify-content: center;
    }
    
    .navbar-collapse {
        background: white;
        padding: 15px;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        margin-top: 10px;
    }
    .nav-cta { text-align: center; display: block; margin-top: 10px; }
}