/* Prosta Defend Theme: Trustworthy Medical Blue */
:root {
    /* --- COLOR PALETTE --- */
    --primary-brand: #005bb5;      /* Medical Blue (Headers/Highlights) */
    --primary-dark: #002a5c;       /* Deep Navy (Text/Footer) */
    --accent-color: #3385ff;       /* Bright Blue */
    
    --light-bg: #eef7ff;           /* Very Pale Blue (Backgrounds) */
    --white: #ffffff;
    --text-gray: #4b5563;
    
    /* Call To Action - Orange/Gold for High Contrast */
    --cta-main: #f59e0b;           /* Amber/Gold */
    --cta-hover: #d97706;          /* Darker Amber */
    
    --gold: #fbbf24;
    --shadow: 0 4px 20px rgba(0, 91, 181, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', -apple-system, sans-serif; line-height: 1.6; color: var(--primary-dark); }
h1, h2, h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; line-height: 1.2; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Announcement Bar */
.announcement-bar { background: var(--primary-brand); color: #fff; padding: 10px 0; text-align: center; }
.announcement-bar a { color: #fff; text-decoration: underline; font-weight: 700; }

/* Header */
.header { padding: 15px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; background: #fff; z-index: 100; }
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 24px; color: var(--primary-brand); }
.logo-icon svg { width: 30px; fill: var(--primary-brand); }
.header-nav { display: flex; gap: 20px; }
.header-nav a { text-decoration: none; color: var(--text-gray); font-weight: 600; transition: color 0.3s; }
.header-nav a:hover { color: var(--primary-brand); }
.header-cta-btn { background: var(--cta-main); color: #fff; padding: 10px 25px; border-radius: 50px; text-decoration: none; font-weight: 700; transition: background 0.3s; }
.header-cta-btn:hover { background: var(--cta-hover); }

/* Hero */
.hero { padding: 80px 0; background: linear-gradient(180deg, var(--light-bg) 0%, #fff 100%); }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.hero h1 { font-size: 48px; margin-bottom: 20px; color: var(--primary-dark); }
.hero h1 span { color: var(--primary-brand); }
.hero-badge { display: inline-block; background: #fff; color: var(--primary-brand); padding: 5px 15px; border-radius: 20px; font-weight: 700; font-size: 13px; border: 1px solid var(--primary-brand); margin-bottom: 20px; }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 30px; }
.hero-benefit { background: #fff; padding: 8px 15px; border-radius: 8px; font-weight: 600; color: var(--primary-brand); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.hero-image img { max-width: 100%; filter: drop-shadow(0 20px 40px rgba(0, 91, 181, 0.2)); }
.hero-guarantee { margin-top: 10px; font-size: 13px; color: var(--text-gray); font-weight: 600; }

/* Social Proof */
.social-proof { background: var(--primary-brand); padding: 40px 0; color: #fff; }
.proof-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-number { display: block; font-size: 32px; font-weight: 800; color: #cce5ff; margin-bottom: 5px; } 
.stat-label { font-size: 13px; opacity: 0.9; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* Section Styles */
.section { padding: 80px 0; }
.bg-light { background: var(--light-bg); }
.dark-section { background: var(--primary-brand); color: white; }
.section-header { text-align: center; max-width: 800px; margin: 0 auto 50px; }
.section-tag { display: inline-block; background: var(--light-bg); color: var(--primary-brand); padding: 5px 15px; border-radius: 5px; font-weight: 700; font-size: 12px; margin-bottom: 15px; }
.white-tag { background: rgba(255,255,255,0.2); color: white; }
.section-header h2 { font-size: 36px; margin-bottom: 15px; }

/* About */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image img { border-radius: 20px; width: 100%; box-shadow: var(--shadow); }

/* How It Works */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.step-card { background: #fff; padding: 40px 25px; border-radius: 16px; text-align: center; border-top: 4px solid var(--primary-brand); box-shadow: var(--shadow); }
.step-number { width: 40px; height: 40px; background: var(--primary-brand); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-weight: 700; }

/* Ingredients */
.ingredients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ingredient-card { background: rgba(255,255,255,0.1); padding: 25px; border-radius: 12px; text-align: center; border: 1px solid rgba(255,255,255,0.2); }
.ingredient-card h3 { color: #ffffff; font-size: 18px; margin-bottom: 10px; }
.ingredient-card p { font-size: 14px; color: #ffffff; opacity: 0.95; }

/* Problem Solution */
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.problem-side { background: #fff; border: 1px solid #ffebee; padding: 50px; border-radius: 24px; }
.solution-side { background: #fff; border: 1px solid #e3f2fd; padding: 50px; border-radius: 24px; }
.section-tag.red { background: #fee2e2; color: #dc2626; }
.section-tag.blue { background: #e3f2fd; color: #005bb5; }
.problem-list, .solution-list { list-style: none; margin-top: 20px; padding: 0; }
.problem-list li, .solution-list li { padding: 10px 0; font-weight: 600; border-bottom: 1px solid rgba(0,0,0,0.05); }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card { background: #fff; padding: 30px; border-radius: 20px; text-align: center; box-shadow: var(--shadow); position: relative; }
.testimonial-card.featured { border: 2px solid var(--primary-brand); transform: scale(1.03); }
.testimonial-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--primary-brand); color: white; padding: 2px 10px; border-radius: 10px; font-size: 12px; }
.testimonial-image img { width: 80px; height: 80px; border-radius: 50%; margin-bottom: 15px; border: 3px solid var(--light-bg); }
.stars { color: var(--gold); margin-bottom: 10px; }
.testimonial-author h4 { color: var(--primary-brand); margin-bottom: 0; }
.testimonial-author span { font-size: 13px; color: var(--text-gray); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: flex-end; }
.pricing-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 24px; padding: 40px 20px; text-align: center; transition: transform 0.3s; box-shadow: var(--shadow); }
.pricing-card:hover { transform: translateY(-5px); }
.pricing-card.popular { border: 3px solid var(--primary-brand); background: #f0f7ff; transform: scale(1.05); z-index: 2; }
.popular-badge { background: var(--cta-main); color: #fff; display: inline-block; padding: 5px 15px; border-radius: 20px; font-weight: 700; font-size: 12px; margin-bottom: 15px; }

/* Image Container Fix */
.pricing-image-container { height: 220px; width: 100%; display: flex; justify-content: center; align-items: flex-end; margin-bottom: 20px; overflow: hidden; }
.pricing-image-container img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

.price .amount { font-size: 48px; font-weight: 800; color: var(--primary-dark); }
.savings-tag { background: var(--primary-brand); color: white; padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 700; display: inline-block; margin: 10px 0; }
.cta-button { display: block; background: var(--cta-main); color: #fff; padding: 15px; border-radius: 50px; text-decoration: none; font-weight: 700; margin-top: 15px; transition: background 0.3s; text-align: center; }
.cta-button:hover { background: var(--cta-hover); }
.guarantee-box { text-align: center; margin-top: 50px; padding: 30px; background: var(--light-bg); border-radius: 15px; border: 2px dashed var(--primary-brand); }

/* FAQ */
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; margin-bottom: 15px; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.faq-question { width: 100%; padding: 20px; text-align: left; background: none; border: none; font-weight: 700; cursor: pointer; font-size: 16px; color: var(--primary-dark); display: flex; justify-content: space-between; }
.faq-answer { height: 0; overflow: hidden; padding: 0 20px; transition: height 0.3s; }
.faq-item.active .faq-answer { height: auto; padding-bottom: 20px; }
.faq-item.active .faq-question { background: var(--light-bg); color: var(--primary-brand); }

/* Footer */
.footer { background: var(--primary-dark); color: #fff; padding: 60px 0; text-align: center; }
.footer-links ul { list-style: none; display: flex; justify-content: center; gap: 20px; margin-top: 20px; padding: 0; }
.footer-links a { color: #ccc; text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: white; }
.footer-bottom { margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 13px; color: #aaa; }

/* Sales Notification */
.sales-notification {
    position: fixed; bottom: 20px; left: 20px;
    background: #fff; padding: 15px; border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    display: flex; align-items: center; gap: 15px;
    z-index: 10000;
    border-left: 5px solid var(--primary-brand);
    max-width: 320px;
    transform: translateX(-150%); 
    transition: transform 0.5s ease-in-out;
}
.sales-notification.show { transform: translateX(0); } 
.sales-notification img { width: 50px; height: auto; border-radius: 6px; }
.sn-content p { margin: 0; font-size: 13px; color: var(--primary-dark); line-height: 1.4; }
.sn-content small { display: block; font-size: 11px; color: var(--text-gray); margin-top: 4px; }
.sn-close { position: absolute; top: 5px; right: 8px; border: none; background: none; cursor: pointer; color: #999; }

/* Promo Popup */
.promo-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7); 
    display: flex; align-items: center; justify-content: center;
    z-index: 20000; 
    opacity: 0; visibility: hidden; transition: all 0.3s;
    backdrop-filter: blur(4px);
}
.promo-overlay.active { opacity: 1; visibility: visible; }

.promo-popup {
    background: #fff; width: 90%; max-width: 450px;
    border-radius: 20px; overflow: hidden; position: relative;
    text-align: center; padding-bottom: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.promo-overlay.active .promo-popup { transform: scale(1); }

.promo-close { position: absolute; top: 10px; right: 10px; border: none; background: #eee; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; }
.promo-header { background: var(--primary-brand); color: #fff; padding: 25px; }
.promo-header h3 { margin: 0; }
.promo-body { padding: 30px; }
.promo-body img { width: 180px; margin-bottom: 20px; height: auto; }

/* Mobile */
@media (max-width: 900px) {
    .hero-content, .about-content, .pricing-grid, .ingredients-grid, .steps-grid, .testimonials-grid, .ps-grid, .proof-stats { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 32px; }
    .hero-content { gap: 30px; }
    .hero-image { order: -1; } 
    .header-nav { display: none; }
    .pricing-card.popular { transform: none; }
    .footer-content { grid-template-columns: 1fr; }
    .sales-notification { width: auto; right: 20px; }
}