/* ProstaVive Premium Styles - Forest Green & Gold Theme */
:root {
    --primary-dark: #022c22;  /* Deep Forest Green */
    --primary-green: #064e3b; /* Rich Green */
    --accent-gold: #fbbf24;   /* Vitality Gold */
    --cta-orange: #d97706;    /* Amber/Orange */
    --cta-hover: #b45309;
    --light-bg: #f0fdf4;      /* Minty White */
    --text-main: #1f2937;
    --white: #ffffff;
}

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;
}

/* --- Announcement Bar --- */
.announcement-bar {
    background: var(--primary-dark);
    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(--accent-gold); font-weight: 700; text-decoration: underline; }

/* --- Sticky Header & Progress Bar --- */
.sticky-header {
    background: rgba(255, 255, 255, 0.95);
    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-dark) !important;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}
.navbar-brand svg { width: 25px; fill: var(--primary-green); }
.nav-link { font-weight: 600; color: var(--primary-dark) !important; margin: 0 10px; }
.nav-cta {
    background: var(--cta-orange);
    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-green);
    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: var(--primary-dark); font-size: 2.8rem; line-height: 1.2; }
.hero h1 span { color: var(--cta-orange); }
.hero-subtitle { font-size: 1.25rem; color: #4b5563; margin: 20px 0; }
.hero-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    background: #000;
}
.hero-badge {
    background: #dcfce7; color: var(--primary-green);
    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(217, 119, 6, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(217, 119, 6, 0); }
    100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
}

/* --- Trust Badges --- */
.trust-badges { background: #f8fafc; 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-green);
    border-radius: 50%; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center;
}
.badge-icon svg { width: 25px; fill: var(--primary-green); }
.badge-text { font-weight: 700; font-size: 0.75rem; text-transform: uppercase; color: var(--primary-dark); }

/* --- Article / Review Styles --- */
.article-section { max-width: 850px; margin: 0 auto; padding: 40px 20px; }
.article-meta { font-size: 0.85rem; color: #6b7280; margin-bottom: 25px; border-bottom: 1px solid #e5e7eb; padding-bottom: 15px; }
.article-content h2 { color: var(--primary-dark); font-weight: 800; margin-top: 30px; margin-bottom: 15px; font-size: 1.75rem; }
.article-content h3 { color: var(--primary-green); font-weight: 700; margin-top: 25px; margin-bottom: 15px; font-size: 1.4rem; }
.article-content p { font-size: 1.05rem; line-height: 1.6; margin-bottom: 20px; }
.highlight-box {
    background: var(--light-bg); border-left: 5px solid var(--primary-green);
    padding: 20px; margin: 25px 0; border-radius: 0 10px 10px 0;
}

/* Pros/Cons Table */
.pros-cons-table { width: 100%; margin: 30px 0; border-collapse: separate; border-spacing: 0; border-radius: 12px; overflow: hidden; border: 1px solid #e5e7eb; }
.pros-cons-table th { padding: 15px; text-align: center; font-size: 1.2rem; color: white; }
.th-pros { background: var(--primary-green); }
.th-cons { background: #dc2626; }
.pros-cons-table td { padding: 20px; vertical-align: top; background: #fff; width: 50%; }
.pros-list li, .cons-list li { list-style: none; margin-bottom: 12px; padding-left: 25px; position: relative; font-size: 0.95rem; }
.pros-list li::before { content: '✓'; color: var(--primary-green); font-weight: 800; position: absolute; left: 0; }
.cons-list li::before { content: '✗'; color: #dc2626; font-weight: 800; position: absolute; left: 0; }

/* --- Ingredients Grid --- */
.ingredients-section { background: var(--primary-dark); color: white; padding: 60px 0; }
.ingredient-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    padding: 20px; border-radius: 15px; transition: transform 0.3s; height: 100%;
}
.ingredient-icon { font-size: 2rem; margin-bottom: 10px; }
.ingredient-title { color: var(--accent-gold); font-weight: 700; font-size: 1.15rem; }

/* --- Pricing & Bonuses --- */
.pricing-section { background: #fff; 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-orange); background: #fff7ed;
    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-orange); color: white; padding: 5px 20px;
    border-radius: 20px; font-weight: 700; font-size: 0.9rem;
}

.bonuses-section { background: #fff; padding-bottom: 60px; }
.bonus-header { background: var(--primary-dark); color: white; text-align: center; padding: 20px; margin-bottom: 40px; }
.bonus-card {
    display: flex; align-items: center; gap: 20px; background: white;
    border: 1px solid #e5e7eb; padding: 20px; border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); margin-bottom: 25px;
}
.bonus-img { width: 140px; border-radius: 8px; box-shadow: 5px 5px 15px rgba(0,0,0,0.1); transform: rotate(-3deg); }

/* --- 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-green);
    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-orange); 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) {
    /* Layout */
    body { padding-top: 50px; } /* Smaller header on mobile */
    .sticky-header { top: 0; padding: 10px 0; }
    .announcement-bar { position: relative; } /* Move announcement into flow */
    
    /* Typography */
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .display-4 { font-size: 2.5rem; }
    .article-content h2 { font-size: 1.5rem; }
    
    /* Spacing */
    .hero { padding: 40px 0; }
    .pricing-card.popular { transform: scale(1); margin: 25px 0; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
    
    /* Components */
    .bonus-card { flex-direction: column; text-align: center; }
    .bonus-img { width: 120px; margin-bottom: 15px; }
    
    /* 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 */
    .sales-popup { 
        bottom: 10px; left: 10px; right: 10px; 
        width: auto; max-width: none; 
        justify-content: center;
    }
    
    /* Navigation */
    .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; }
}