/* Make America Slim Again - Purple Honey Theme */
:root {
    /* Brand Colors: Deep Purple, Gold, Patriotic Red */
    --primary-dark: #31004a;  /* Deepest Purple */
    --primary-blue: #6b21a8;  /* Rich Purple (Primary Brand) */
    --accent-blue: #f59e0b;   /* Honey Gold */
    --light-blue: #f3e8ff;    /* Lavender Tint */
    --sky-blue: #faf5ff;      /* Very Light Purple Bg */
    --cta-orange: #b91c1c;    /* Patriotic Red (CTA) */
    --cta-hover: #991b1b;     /* Darker Red */
    --success-green: #15803d; /* Success Green */
    --gold: #fbbf24;          /* Stars/Badges */
    --white: #ffffff;
    --red: #dc2626;
    --text-gray: #4b5563;
    
    --shadow: 0 4px 20px rgba(107, 33, 168, 0.1);
    --shadow-lg: 0 10px 40px rgba(107, 33, 168, 0.15);
    --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #1f2937;
    background: #fff;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Announcement Bar */
.announcement-bar {
    background: var(--primary-dark);
    color: #fff;
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}
.announcement-bar a { color: var(--gold); text-decoration: underline; }

/* Header */
.header {
    background: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--primary-dark); }
.logo-icon svg { width: 32px; height: 32px; fill: var(--primary-blue); }
.header-nav { display: flex; gap: 20px; }
.header-nav a { text-decoration: none; color: var(--primary-dark); font-weight: 600; font-size: 16px; transition: color 0.3s; }
.header-nav a:hover { color: var(--cta-orange); }
.header-cta-btn {
    background: var(--cta-orange);
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.3s;
}
.header-cta-btn:hover { background: var(--cta-hover); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--light-blue) 0%, #fff 100%); padding: 60px 0; overflow: hidden; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.hero-badge {
    background: var(--light-blue);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid var(--primary-blue);
}
.hero h1 { font-size: 46px; line-height: 1.1; color: var(--primary-dark); margin-bottom: 20px; font-weight: 900; }
.hero h1 span { color: var(--cta-orange); }
.hero-subtitle { font-size: 19px; color: var(--text-gray); margin-bottom: 30px; }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 35px; }
.hero-benefit { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.hero-benefit svg { width: 20px; height: 20px; fill: var(--primary-blue); }
.hero-cta-group { display: flex; flex-direction: column; gap: 15px; align-items: flex-start; }
.cta-button {
    background: linear-gradient(to right, var(--cta-orange), var(--cta-hover));
    color: white;
    padding: 20px 40px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(185, 28, 28, 0.4);
    transition: transform 0.2s;
    justify-content: center;
}
.cta-button:hover { transform: translateY(-3px); }
.cta-button svg { width: 24px; height: 24px; fill: white; }
.hero-guarantee { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; color: var(--text-gray); }
.hero-guarantee svg { width: 20px; height: 20px; fill: var(--primary-blue); }
.hero-image { position: relative; text-align: center; }
.hero-image img { max-width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow-lg); }
.hero-floating-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    z-index: 2;
}
.badge-number { font-size: 24px; font-weight: 800; color: var(--primary-dark); display: block; }
.badge-stars { color: var(--gold); }
.badge-text { font-size: 12px; color: var(--text-gray); }

/* Stats & Trust */
.social-proof { background: var(--primary-dark); padding: 40px 0; color: white; }
.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: var(--gold); }
.stat-label { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }

.trust-badges { background: #fff; padding: 30px 0; border-bottom: 1px solid #e5e7eb; }
.badges-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; justify-items: center; }
.badge-item { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.badge-icon { width: 60px; height: 60px; background: var(--light-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--primary-blue); }
.badge-icon svg { width: 30px; height: 30px; fill: var(--primary-blue); }
.badge-item span { font-weight: 700; color: var(--primary-dark); font-size: 14px; }

/* Sections */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-tag { color: var(--accent-blue); font-weight: 800; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; display: block; margin-bottom: 10px; }
.section-header h2 { font-size: 36px; color: var(--primary-dark); margin-bottom: 15px; }

.video-section { padding: 80px 0; background: #fff; }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image img { width: 100%; border-radius: 20px; }

.how-works { padding: 80px 0; }
.about-feature { display: flex; gap: 20px; margin-bottom: 30px; }
.feature-icon { width: 50px; height: 50px; background: var(--primary-blue); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 20px; flex-shrink: 0; }
.feature-content h3 { font-size: 20px; color: var(--primary-dark); margin-bottom: 8px; }

/* Ingredients */
.ingredients { background: var(--primary-dark); padding: 80px 0; color: white; }
.ingredients .section-header h2 { color: white; }
.ingredients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ingredient-card { background: rgba(255,255,255,0.05); padding: 25px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); text-align: center; }
.ingredient-icon { font-size: 35px; margin-bottom: 10px; }
.ingredient-card h3 { color: var(--gold); margin-bottom: 10px; font-size: 18px; }
.ingredient-card p { font-size: 14px; color: #d1d5db; }

/* Benefits */
.problem-solution { padding: 80px 0; background: var(--light-blue); }
.section-tag.green { color: var(--success-green); }
.solution-list li { list-style: none; display: flex; gap: 15px; padding: 10px 0; font-size: 16px; border-bottom: 1px solid rgba(0,0,0,0.05); }
.solution-list svg { fill: var(--success-green); width: 24px; flex-shrink: 0; }

/* Reviews */
.testimonials { padding: 80px 0; background: #fff; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.testimonial-card { background: #fff; padding: 30px; border-radius: 12px; border: 1px solid #e5e7eb; box-shadow: var(--shadow); text-align: center; position: relative; }
.testimonial-card.featured { border: 2px solid var(--accent-blue); }
.testimonial-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--primary-dark); padding: 5px 15px; border-radius: 50px; font-size: 11px; font-weight: 700; white-space: nowrap; }

/* -- NEW STYLE FOR TESTIMONIAL IMAGES -- */
.testimonial-image { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; margin: 0 auto 15px; border: 3px solid var(--accent-blue); }
.testimonial-image img { width: 100%; height: 100%; object-fit: cover; }

.stars { color: var(--gold); font-size: 20px; margin-bottom: 15px; }
.testimonial-author h4 { color: var(--primary-dark); font-weight: 700; margin-bottom: 5px; }

/* Pricing */
.pricing { padding: 80px 0; background: #fff; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: end; }
.pricing-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 20px; padding: 30px; text-align: center; transition: 0.3s; }
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pricing-card.popular { border: 2px solid var(--cta-orange); background: #fffbf0; transform: scale(1.03); z-index: 10; }
.popular-badge { background: var(--cta-orange); color: white; display: inline-block; padding: 5px 15px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-bottom: 15px; }
.pricing-image img { max-height: 150px; width: auto; margin-bottom: 15px; }
.price .amount { font-size: 48px; font-weight: 800; color: var(--primary-dark); }
.savings-tag { background: var(--red); color: white; font-weight: 700; font-size: 13px; padding: 5px 10px; border-radius: 4px; display: inline-block; margin: 10px 0; }
.pricing-features { text-align: left; margin: 20px 0; list-style: disc; padding-left: 20px; }

/* Guarantee */
.guarantee-section { background: var(--sky-blue); padding: 60px 0; border-top: 1px solid #e5e7eb; }
.guarantee-content { display: flex; align-items: center; gap: 40px; }
.guarantee-badge { background: white; width: 120px; height: 120px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: var(--shadow); flex-shrink: 0; border: 4px solid var(--primary-blue); color: var(--primary-blue); font-weight: 800; }
.guarantee-badge svg { width: 30px; height: 30px; fill: var(--primary-blue); }

/* FAQ - FIXED TOGGLE */
.faq { padding: 80px 0; background: #fff; }
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid #e5e7eb; margin-bottom: 10px; border-radius: 8px; overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 20px; background: white; border: none; font-size: 18px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question svg { width: 24px; height: 24px; fill: var(--primary-blue); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background: #f9fafb; }
.faq-item.active .faq-answer { max-height: 400px; } /* Allows content to show */
.faq-answer p { padding: 20px; margin: 0; line-height: 1.6; }

/* Footer */
.footer { background: #111827; color: #9ca3af; padding: 60px 0 20px; text-align: center; }
.disclaimer { font-size: 12px; margin-top: 20px; line-height: 1.5; }

/* Popups */
.purchase-popup { position: fixed; bottom: 20px; left: 20px; background: white; padding: 15px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); display: flex; gap: 15px; transform: translateX(-200%); transition: 0.5s; z-index: 2000; align-items: center; border-left: 5px solid var(--success-green); }
.purchase-popup.show { transform: translateX(0); }
.popup-icon { font-size: 24px; }

.exit-popup-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); display: flex; align-items: center; justify-content: center; z-index: 10000; opacity: 0; visibility: hidden; transition: 0.3s; }
.exit-popup-overlay.show { opacity: 1; visibility: visible; }
.exit-popup { background: white; padding: 40px; border-radius: 20px; text-align: center; max-width: 400px; position: relative; }
.exit-popup-close { position: absolute; top: 10px; right: 15px; background: none; border: none; font-size: 24px; cursor: pointer; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .header-nav { display: none; }
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .hero-cta-group { align-items: center; }
    .hero-benefits { justify-content: center; }
    .hero-image { order: -1; }
    .proof-stats, .badges-grid, .ingredients-grid { grid-template-columns: repeat(2, 1fr); }
    .about-content { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; gap: 40px; }
    .pricing-card.popular { transform: none; order: -1; }
    .guarantee-content { flex-direction: column; text-align: center; }
    .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .hero { padding: 40px 0; }
    .cta-button { width: 100%; }
    .stat-number { font-size: 28px; }
    .section-header h2 { font-size: 28px; }
}