/* ProstaDefend Premium Styles - Fixed Mobile Version */
:root {
    --primary-dark: #0a1628;
    --primary-blue: #1a3a5c;
    --accent-blue: #2563eb;
    --light-blue: #dbeafe;
    --sky-blue: #f0f9ff;
    --cta-orange: #f97316;
    --cta-hover: #ea580c;
    --success-green: #22c55e;
    --gold: #fbbf24;
    --white: #ffffff;
    --red: #ef4444;
    --text-gray: #6b7280;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #000;
    background: #fff;
    overflow-x: hidden; /* Prevents side-scrolling glitches */
    width: 100%;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-blue));
    color: #fff;
    padding: 12px 0;
    text-align: center;
    font-size: 15px;
}
.announcement-bar a { color: var(--gold); text-decoration: none; font-weight: 600; }

/* Header */
.header {
    background: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon svg { width: 26px; height: 26px; fill: #fff; }
.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: 1px;
}
.header-nav { display: flex; gap: 30px; }
.header-nav a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
}
.header-nav a:hover { color: var(--accent-blue); }
.header-cta-btn {
    background: linear-gradient(135deg, var(--cta-orange), var(--cta-hover));
    color: #fff;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.header-cta-btn:hover { transform: translateY(-2px); }

/* Hero */
.hero {
    background: linear-gradient(180deg, var(--sky-blue) 0%, #fff 100%);
    padding: 60px 0 80px;
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), #f59e0b);
    color: var(--primary-dark);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.15;
    margin-bottom: 25px;
}
.hero h1 span { color: var(--accent-blue); }
.hero-subtitle {
    font-size: 19px;
    color: #000;
    margin-bottom: 30px;
    line-height: 1.7;
}
.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}
.hero-benefit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 12px 18px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: #000;
    box-shadow: var(--shadow);
}
.hero-benefit svg { width: 18px; height: 18px; fill: var(--success-green); flex-shrink: 0; }
.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}
.hero-guarantee {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
}
.hero-guarantee svg { width: 22px; height: 22px; fill: var(--success-green); flex-shrink: 0; }
.hero-image { text-align: center; position: relative; }
.hero-image img {
    max-width: 100%;
    width: 380px;
    height: auto;
    border-radius: var(--radius);
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
    animation: heroFloat 4s ease-in-out infinite;
    object-fit: contain;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
.hero-floating-badge {
    position: absolute;
    bottom: 20px;
    right: 0;
    background: #fff;
    padding: 15px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
}
.badge-number { font-size: 28px; font-weight: 800; color: var(--primary-dark); display: block; }
.badge-stars { color: var(--gold); font-size: 16px; }
.badge-text { font-size: 11px; color: var(--text-gray); display: block; }

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--cta-orange), var(--cta-hover));
    color: #fff;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(249,115,22,0.35);
    transition: all 0.3s ease;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(249,115,22,0.45);
}
.cta-button svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }

/* Social Proof Stats */
.social-proof {
    background: var(--primary-dark);
    padding: 50px 0;
}
.proof-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item { color: #fff; }
.stat-number {
    display: block;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Trust Badges */
.trust-badges {
    padding: 50px 0;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}
.badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.badge-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 15px;
    background: var(--sky-blue);
    border-radius: var(--radius);
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 14px;
}
.badge-item svg { width: 24px; height: 24px; fill: var(--accent-blue); flex-shrink: 0; }

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}
.section-tag {
    display: inline-block;
    background: var(--light-blue);
    color: var(--accent-blue);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
.section-tag.red { background: #fef2f2; color: var(--red); }
.section-tag.green { background: #f0fdf4; color: var(--success-green); }
.section-header h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}
.section-header p { font-size: 17px; color: #000; }

/* About Section */
.video-section {
    padding: 100px 0;
    background: #fff;
}
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-feature {
    display: flex;
    gap: 18px;
    margin-bottom: 30px;
}
.feature-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: var(--success-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-icon svg { width: 22px; height: 22px; fill: #fff; }
.feature-content h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.feature-content p { font-size: 15px; color: #000; line-height: 1.6; }
.about-image { text-align: center; position: relative; }
.about-image img {
    max-width: 100%;
    width: 280px;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.12));
    object-fit: contain;
}
.image-badge {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-blue);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    gap: 15px;
}

/* How It Works */
.how-works {
    padding: 100px 0;
    background: var(--sky-blue);
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.step-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.step-number {
    position: absolute;
    top: -12px;
    left: 25px;
    background: var(--accent-blue);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
}
.step-icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto 20px;
}
.step-icon svg { width: 28px; height: 28px; fill: var(--accent-blue); }
.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}
.step-card p { font-size: 14px; color: #000; line-height: 1.6; }

/* Problem Solution */
.problem-solution { padding: 100px 0; background: #fff; }
.ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.problem-side, .solution-side {
    padding: 40px;
    border-radius: var(--radius);
}
.problem-side { background: #fef2f2; }
.solution-side { background: #f0fdf4; }
.problem-side h2, .solution-side h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--primary-dark);
}
.problem-list, .solution-list { list-style: none; }
.problem-list li, .solution-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-size: 16px;
    color: #000;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.problem-list li:last-child, .solution-list li:last-child { border-bottom: none; }
.problem-list li svg { width: 20px; height: 20px; fill: var(--red); flex-shrink: 0; margin-top: 3px; }
.solution-list li svg { width: 20px; height: 20px; fill: var(--success-green); flex-shrink: 0; margin-top: 3px; }

/* Ingredients */
.ingredients {
    padding: 100px 0;
    background: var(--primary-dark);
    color: #fff;
}
.ingredients .section-header h2 { color: #fff; }
.ingredients .section-header p { color: rgba(255,255,255,0.8); }
.ingredients .section-tag { background: rgba(255,255,255,0.1); color: var(--gold); }
.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}
.ingredient-card {
    background: rgba(255,255,255,0.05);
    padding: 35px 25px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}
.ingredient-card:hover { background: rgba(255,255,255,0.1); }
.ingredient-icon { font-size: 45px; margin-bottom: 18px; }
.ingredient-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}
.ingredient-card p { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.6; }
.ingredients-cta { text-align: center; }

/* Creator */
.creator { padding: 100px 0; background: var(--sky-blue); }
.creator-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: start;
}
.creator-image { text-align: center; position: relative; }
.creator-image img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #fff;
    box-shadow: var(--shadow-lg);
}
.creator-badge {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-blue);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
}
.creator-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
}
.creator-text p {
    font-size: 16px;
    color: #000;
    margin-bottom: 18px;
    line-height: 1.7;
}
.creator-signature {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid var(--accent-blue);
}
.creator-signature span { display: block; }
.creator-signature span:first-child {
    font-size: 22px;
    font-style: italic;
    color: var(--primary-dark);
    font-weight: 600;
}
.sig-title { font-size: 13px; color: var(--text-gray); margin-top: 5px; }

/* Guarantee */
.guarantee-section {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--success-green), #16a34a);
}
.guarantee-content {
    display: flex;
    align-items: center;
    gap: 40px;
    color: #fff;
}
.guarantee-badge {
    width: 150px;
    height: 150px;
    min-width: 150px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.guarantee-badge svg { width: 40px; height: 40px; fill: var(--success-green); margin-bottom: 5px; }
.guarantee-badge span { display: block; font-weight: 800; color: var(--primary-dark); }
.guarantee-badge span:first-of-type { font-size: 22px; }
.guarantee-badge span:last-of-type { font-size: 12px; }
.guarantee-text h2 { font-size: 32px; font-weight: 800; margin-bottom: 15px; }
.guarantee-text p { font-size: 17px; line-height: 1.7; opacity: 0.95; }

/* Testimonials */
.testimonials { padding: 100px 0; background: #fff; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}
.testimonial-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #e5e7eb;
    text-align: center;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.testimonial-card.featured { border: 2px solid var(--gold); position: relative; }
.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;
}
.testimonial-image {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 18px;
    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: 18px; letter-spacing: 2px; }
.testimonial-card p {
    font-size: 15px;
    color: #000;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial-author h4 { font-size: 17px; font-weight: 700; color: var(--primary-dark); margin-bottom: 5px; }
.testimonial-author span { display: block; font-size: 13px; color: var(--text-gray); }
.verified { color: var(--success-green); font-weight: 600; margin-top: 5px; }
.testimonial-cta { text-align: center; }

/* Pricing */
.pricing {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--sky-blue) 0%, #fff 100%);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: start;
}
.pricing-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    border: 2px solid transparent;
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pricing-card.popular { border-color: var(--cta-orange); transform: scale(1.03); }
.pricing-card.popular:hover { transform: scale(1.03) translateY(-8px); }
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--cta-orange), var(--cta-hover));
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.pricing-header h3 { font-size: 22px; font-weight: 800; color: var(--primary-dark); margin-bottom: 5px; }
.supply { color: var(--text-gray); font-size: 14px; margin-bottom: 15px; }
.pricing-image { margin: 15px 0; }
.pricing-image img { max-height: 160px; width: auto; }
.price { margin-bottom: 15px; }
.price .original { display: block; font-size: 16px; color: var(--text-gray); text-decoration: line-through; }
.price .amount { display: block; font-size: 50px; font-weight: 800; color: var(--primary-dark); line-height: 1; }
.price .per-bottle { font-size: 15px; color: var(--text-gray); }
.savings-tag {
    background: var(--success-green);
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 18px;
}
.pricing-features { list-style: none; text-align: left; margin-bottom: 20px; }
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    color: #000;
    border-bottom: 1px solid #f3f4f6;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li svg { width: 18px; height: 18px; fill: var(--success-green); flex-shrink: 0; }
.stock-warning { font-size: 12px; color: var(--cta-orange); font-weight: 600; margin-top: 12px; }

/* Bonuses */
.bonuses { padding: 100px 0; background: var(--primary-dark); }
.bonuses .section-header h2 { color: #fff; }
.bonuses .section-header p { color: rgba(255,255,255,0.8); }
.bonuses .section-tag { background: rgba(255,255,255,0.1); color: var(--gold); }
.bonuses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.bonus-card {
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    padding: 35px;
    display: flex;
    gap: 25px;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}
.bonus-ribbon {
    position: absolute;
    top: 18px;
    right: -30px;
    background: var(--success-green);
    color: #fff;
    padding: 5px 35px;
    font-size: 11px;
    font-weight: 700;
    transform: rotate(45deg);
}
.bonus-image img { width: 120px; border-radius: 8px; box-shadow: var(--shadow); }
.bonus-content h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.bonus-content p { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.6; margin-bottom: 12px; }
.bonus-value { display: block; color: var(--gold); font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.bonus-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--cta-orange), var(--cta-hover));
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.bonus-btn:hover { transform: translateY(-2px); }

/* FAQ */
.faq { padding: 100px 0; background: #fff; }
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid #e5e7eb;
}
.faq-question {
    width: 100%;
    padding: 22px 25px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    text-align: left;
}
.faq-question svg { width: 22px; height: 22px; fill: var(--accent-blue); transition: transform 0.3s; 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; }
.faq-item.active .faq-answer { max-height: 400px; }
.faq-answer p { padding: 0 25px 22px; font-size: 16px; color: #000; line-height: 1.7; }

/* Final CTA */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
    text-align: center;
    color: #fff;
}
.final-cta h2 { font-size: 38px; font-weight: 800; margin-bottom: 18px; }
.final-cta > .container > p { font-size: 17px; opacity: 0.9; max-width: 650px; margin: 0 auto 35px; }
.final-cta-image img {
    max-width: 400px;
    margin-bottom: 35px;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.25));
}
.final-cta-features {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 35px;
}
.final-cta-features span { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.final-cta-features svg { width: 20px; height: 20px; fill: var(--success-green); }

/* Footer */
.footer {
    background: #050a12;
    color: rgba(255,255,255,0.7);
    padding: 70px 0 30px;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand p { margin-top: 18px; font-size: 14px; line-height: 1.7; }
.footer-links h4 { color: #fff; font-size: 17px; font-weight: 700; margin-bottom: 18px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    text-align: center;
}
.footer-bottom p { font-size: 13px; margin-bottom: 12px; }
.disclaimer { font-size: 11px; max-width: 850px; margin: 0 auto; opacity: 0.6; line-height: 1.6; }

/* Popups */
.purchase-popup {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: #fff;
    padding: 18px 22px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    transform: translateX(-150%);
    transition: transform 0.5s ease;
    max-width: 320px;
}
.purchase-popup.show { transform: translateX(0); }
.popup-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: var(--success-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.popup-icon svg { width: 22px; height: 22px; fill: #fff; }
.popup-content p { font-size: 14px; color: #000; margin: 0; }
.popup-content span { font-size: 12px; color: var(--text-gray); }

.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: all 0.3s ease;
}
.exit-popup-overlay.show { opacity: 1; visibility: visible; }
.exit-popup {
    background: #fff;
    padding: 45px;
    border-radius: var(--radius);
    text-align: center;
    max-width: 450px;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}
.exit-popup-overlay.show .exit-popup { transform: scale(1); }
.exit-popup-close {
    position: absolute;
    top: 12px;
    right: 18px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-gray);
    cursor: pointer;
}
.exit-popup h3 { font-size: 26px; font-weight: 800; color: var(--primary-dark); margin-bottom: 12px; }
.exit-popup > p { font-size: 15px; color: #000; margin-bottom: 22px; }
.exit-popup img { max-width: 180px; margin-bottom: 22px; }
.exit-note { font-size: 12px; color: var(--text-gray); margin-top: 12px; }

/* Mobile CTA */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 18px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
    z-index: 9998;
}
.mobile-cta .cta-button { width: 100%; justify-content: center; padding: 16px; font-size: 18px; }

.mobile-order-btn {
    animation: fireGlow 1.5s ease-in-out infinite;
}

@keyframes fireGlow {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(249,115,22,0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 6px 25px rgba(249,115,22,0.7), 0 0 30px rgba(249,115,22,0.3);
        transform: scale(1.02);
    }
}

/* =========================================
   MOBILE RESPONSIVENESS (UPDATED)
   ========================================= */

/* 1. Tablet & Small Desktop (Max Width: 1024px) */
@media (max-width: 1024px) {
    .container { padding: 0 25px; }

    /* Nav adjustments */
    .header-nav { display: none; }
    
    /* Hero - Stack vertically */
    .hero-content { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 50px;
    }
    
    /* Center align hero elements */
    .hero-subtitle { margin: 0 auto 30px; max-width: 600px; }
    .hero-benefits { justify-content: center; }
    .hero-cta-group { justify-content: center; }
    .hero-image { margin-top: 20px; }
    
    /* Grids - Switch to 2 columns */
    .proof-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .badges-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .ingredients-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* Layout Stacking */
    .about-content { grid-template-columns: 1fr; }
    .about-image { order: -1; margin-bottom: 40px; }
    
    .ps-grid { grid-template-columns: 1fr; }
    
    .creator-content { grid-template-columns: 1fr; text-align: center; }
    .creator-image { margin: 0 auto; }
    
    .guarantee-content { flex-direction: column; text-align: center; }
    
    .testimonials-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto 40px; }
    
    /* Pricing - Stack & Highlight Popular */
    .pricing-grid { 
        grid-template-columns: 1fr; 
        max-width: 450px; 
        margin: 0 auto; 
        gap: 50px; 
    }
    .pricing-card.popular { 
        transform: scale(1.05); 
        order: -1; /* MOVES POPULAR CARD TO TOP ON MOBILE */
        z-index: 10;
        border-width: 4px;
    }
    
    .bonuses-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

/* 2. Mobile Phones (Max Width: 768px) */
@media (max-width: 768px) {
    /* Body Padding to clear sticky button */
    body { padding-bottom: 90px; }

    /* Hide Desktop Header */
    .header { display: none !important; }
    
    /* Hero Adjustments */
    .hero { padding: 40px 0 20px; }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .hero h1 { font-size: 32px; line-height: 1.2; margin-bottom: 20px; }
    .hero-subtitle { font-size: 16px; margin-bottom: 25px; }
    
    /* FIX THE FLOATING BADGE ISSUE */
    .hero-image {
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 20px; /* Ensure space before next section */
    }

    .hero-image img {
        width: 100%;
        max-width: 300px; /* Control bottle size */
        margin: 0 auto;
    }

    .hero-floating-badge {
        position: relative; /* Stop absolute positioning on mobile */
        bottom: auto;
        right: auto;
        margin-top: -40px; /* Pull it up to slightly overlap bottle bottom */
        margin-bottom: 10px;
        background: #fff;
        z-index: 10;
        left: auto;
        transform: none;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }
    
    /* General Section Padding */
    .video-section, .how-works, .problem-solution, .ingredients, .creator, .guarantee-section, .testimonials, .pricing, .bonuses, .faq, .final-cta {
        padding: 50px 0;
    }
    
    /* Grid Fixes (1 Column) */
    .problem-side, .solution-side { padding: 30px 20px; }
    .badges-grid { gap: 15px; }
    .badge-item { padding: 15px 10px; font-size: 12px; }
    
    .footer-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .final-cta-features { flex-direction: column; gap: 15px; }
    
    /* Show Mobile Sticky CTA */
    .mobile-cta { display: block !important; }
    
    /* Pricing Card Reset */
    .pricing-card.popular { transform: scale(1); border-width: 2px; }
}

/* 3. Small Phones (Max Width: 480px) */
@media (max-width: 480px) {
    .container { padding: 0 15px; }
    .hero h1 { font-size: 28px; }
    
    /* Ensure badge fits on small screens */
    .hero-floating-badge {
        padding: 10px 20px;
        min-width: 200px;
    }
    .badge-number { font-size: 24px; }
    
    .cta-button { width: 100%; padding: 15px; font-size: 15px; justify-content: center; }

    /* Popup Adjustments */
    .purchase-popup { 
        left: 10px; 
        right: 10px; 
        bottom: 85px; /* Sits above the Mobile CTA */
        max-width: none; 
        width: auto;
    }
    
    .exit-popup { 
        padding: 30px 20px; 
        margin: 10px; 
        width: 90%;
    }
}