/* =========================================
   XenBurn Landing Page - Main Stylesheet
   ========================================= */

/* CSS Variables */
:root {
    --primary-color: #5D2E8C;
    --primary-dark: #4A2470;
    --secondary-color: #FF6B35;
    --accent-color: #FF8C42;
    --accent-gradient: linear-gradient(135deg, #FF6B35 0%, #FF8C42 50%, #FFB347 100%);
    --dark-navy: #1a1a2e;
    --text-dark: #000000;
    --text-body: #333333;
    --text-light: #666666;
    --text-muted: #888888;
    --bg-light: #f8f9fa;
    --bg-cream: #fffaf5;
    --white: #ffffff;
    --success: #28a745;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s ease;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-navy);
    line-height: 1.2;
}

h1 { font-size: 46px; font-weight: 800; }
h2 { font-size: 36px; font-weight: 700; }
h3 { font-size: 28px; font-weight: 600; }

p {
    color: var(--text-dark);
    line-height: 1.8;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-large { padding: 18px 42px; font-size: 18px; }
.btn-full { width: 100%; }

/* Section Styling */
section { padding: 80px 0; }

.section-header { margin-bottom: 50px; }
.section-header.center { text-align: center; }

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(93, 46, 140, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-xl);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-top: 10px;
}

/* Top Header */
.top-header {
    background: var(--accent-gradient);
    color: var(--white);
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

/* Main Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo { display: flex; align-items: center; }

.logo-text {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.logo-highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav ul { display: flex; gap: 35px; }

.main-nav a {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-body);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition);
}

.main-nav a:hover::after { width: 100%; }

.header-cta {
    background: var(--accent-gradient);
    color: var(--white);
    padding: 12px 28px;
    border-radius: var(--radius-xl);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark-navy);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    z-index: 999;
}

.mobile-nav.active { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 15px; }

.mobile-nav a {
    display: block;
    padding: 12px 20px;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-body);
    border-radius: var(--radius-sm);
}

.mobile-nav a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0 100px;
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--white) 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid rgba(93, 46, 140, 0.2);
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease;
}

.hero h1 { margin-bottom: 15px; animation: fadeInUp 0.6s ease 0.1s both; }

.hero h1 .highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-description {
    font-size: 18px;
    color: var(--text-body);
    margin-bottom: 30px;
    max-width: 540px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-cta-group {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-trust {
    display: flex;
    gap: 25px;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

.trust-item svg { color: var(--success); }

.hero-image {
    position: relative;
    animation: fadeInRight 0.8s ease 0.3s both;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

.hero-badge-floating {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
}

.hero-badge-floating span { font-size: 28px; font-weight: 800; line-height: 1; }
.hero-badge-floating small { font-size: 11px; font-weight: 500; }

.hero-bg-shape {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(93, 46, 140, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

/* Why Section */
.why-section { background: var(--white); }

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-text p { margin-bottom: 20px; }
.why-text .btn { margin-top: 20px; }

.why-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.why-image-grid img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.why-image-grid img:first-child { grid-column: span 2; }
.why-image-grid img:hover { transform: scale(1.02); }

/* Works Section */
.works-section { background: var(--bg-light); }

.works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.works-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.works-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.works-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(93, 46, 140, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.works-card h3 { font-size: 20px; margin-bottom: 15px; }
.works-card p { font-size: 16px; color: var(--text-light); }

/* Ingredients Section */
.ingredients-section { background: var(--white); }

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ingredient-card {
    background: var(--bg-cream);
    padding: 35px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(93, 46, 140, 0.1);
    transition: var(--transition);
}

.ingredient-card:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.ingredient-icon { font-size: 40px; margin-bottom: 15px; }
.ingredient-card h3 { font-size: 20px; margin-bottom: 12px; }
.ingredient-card p { font-size: 16px; color: var(--text-light); }

/* Video Section */
.video-section { background: var(--bg-light); padding: 80px 0; }

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-wrapper video { width: 100%; display: block; }

.video-disclaimer {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 20px;
    font-style: italic;
}

/* Doctor Section */
.doctor-section { background: var(--white); }

.doctor-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.doctor-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.doctor-text h2 { margin-bottom: 25px; }
.doctor-benefits { margin-bottom: 30px; }

.doctor-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 0;
    font-size: 17px;
}

.doctor-benefits svg {
    flex-shrink: 0;
    color: var(--success);
    margin-top: 2px;
}

/* Steps Section */
.steps-section {
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--white) 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step-card {
    position: relative;
    background: var(--white);
    padding: 40px 25px 35px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(93, 46, 140, 0.1);
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    background: var(--accent-gradient);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.step-icon { color: var(--primary-color); margin-bottom: 20px; }
.step-card h3 { font-size: 18px; margin-bottom: 12px; }
.step-card p { font-size: 15px; color: var(--text-light); }

/* Benefits Section */
.benefits-section { background: var(--white); }

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.benefits-image img {
    max-width: 400px;
    margin: 0 auto;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.1));
}

.benefits-text h2 { margin-bottom: 20px; }
.benefits-text > p { margin-bottom: 30px; color: var(--text-light); }
.benefits-list { display: grid; gap: 20px; }

.benefit-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.benefit-item:hover { background: var(--bg-cream); }
.benefit-icon { font-size: 32px; flex-shrink: 0; }
.benefit-content h4 { font-size: 18px; margin-bottom: 5px; }
.benefit-content p { font-size: 15px; color: var(--text-light); }

/* Testimonials Section */
.testimonials-section { background: var(--bg-light); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-stars { color: #FFD700; font-size: 20px; margin-bottom: 15px; }

.testimonial-text {
    font-size: 16px;
    color: var(--text-body);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 15px; }

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
}

.author-info strong { display: block; font-size: 16px; }
.author-info span { font-size: 14px; color: var(--text-muted); }

.testimonials-disclaimer {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 30px;
    font-style: italic;
}

/* Pricing Section */
.pricing-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-cream) 100%);
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.pricing-card.popular:hover { transform: scale(1.05) translateY(-5px); }
.pricing-card.best-value { border-color: var(--primary-color); }

.popular-badge,
.value-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 25px;
    border-radius: var(--radius-xl);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.popular-badge { background: var(--accent-gradient); color: var(--white); }
.value-badge { background: var(--primary-color); color: var(--white); }

.pricing-header { text-align: center; margin-bottom: 20px; }

.plan-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 5px;
}

.plan-supply { font-size: 14px; color: var(--text-muted); }

.pricing-image { text-align: center; margin-bottom: 25px; }
.pricing-image img { max-height: 180px; margin: 0 auto; }

.pricing-details {
    text-align: center;
    margin-bottom: 25px;
    flex-grow: 1;
}

.price-option {
    padding: 15px;
    background: var(--bg-cream);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}

.price-option.alt { background: var(--bg-light); }
.price-label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 5px; }

.price-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.price-amount .currency { font-size: 24px; font-weight: 600; color: var(--dark-navy); }

.price-amount .amount {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--dark-navy);
    line-height: 1;
}

.price-amount .period { font-size: 16px; color: var(--text-muted); }
.price-amount.small .amount { font-size: 32px; }
.total-price { font-size: 16px; font-weight: 600; color: var(--text-body); margin-top: 15px; }

.shipping-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin: 15px 0 10px;
}

.shipping-note.success { color: var(--success); font-weight: 600; }

.subscribe-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.payment-icons { display: flex; justify-content: center; gap: 10px; }

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 100px 0;
}

.final-cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.final-cta-image img {
    max-width: 450px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

.final-cta-text h2 { color: var(--white); font-size: 40px; margin-bottom: 20px; }
.final-cta-text p { color: rgba(255,255,255,0.9); font-size: 18px; margin-bottom: 25px; }

.final-cta-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 25px;
    margin-bottom: 30px;
}

.final-cta-features span { color: var(--white); font-size: 15px; font-weight: 500; }

.final-cta-section .btn-primary { background: var(--white); color: var(--primary-color); }
.final-cta-section .btn-primary:hover { background: var(--bg-cream); }

/* FAQ Section */
.faq-section { background: var(--white); }
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.1); }

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question span {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-navy);
}

.faq-question svg {
    flex-shrink: 0;
    color: var(--primary-color);
    transition: var(--transition);
}

.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: 500px; }
.faq-answer p { padding-bottom: 25px; color: var(--text-light); }

/* Footer */
.main-footer {
    background: var(--dark-navy);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-text { font-size: 32px; margin-bottom: 15px; display: block; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 15px; }

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 { color: var(--white); font-size: 16px; margin-bottom: 20px; }
.footer-column ul li { margin-bottom: 12px; }
.footer-column a { color: rgba(255,255,255,0.7); font-size: 15px; }
.footer-column a:hover { color: var(--secondary-color); }

.footer-bottom { padding-top: 30px; }
.footer-disclaimer { margin-bottom: 20px; }
.footer-disclaimer p { color: rgba(255,255,255,0.5); font-size: 13px; margin-bottom: 10px; }
.footer-copyright p { color: rgba(255,255,255,0.5); font-size: 14px; text-align: center; }

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: var(--accent-gradient);
    color: var(--white);
    border-radius: var(--radius-xl);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
    z-index: 990;
    animation: bounce 2s infinite;
}

.floating-cta:hover { transform: scale(1.05); }

/* Exit Popup */
.exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.exit-popup.active { display: flex; }

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}

.popup-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    padding: 40px;
    text-align: center;
    animation: popupSlide 0.4s ease;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
}

.popup-image img { max-height: 180px; margin: 0 auto 20px; }

.popup-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--accent-gradient);
    color: var(--white);
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.popup-text h3 { font-size: 28px; margin-bottom: 15px; }
.popup-text p { color: var(--text-light); margin-bottom: 25px; }

.popup-dismiss {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
}

.popup-dismiss:hover { color: var(--text-body); }

/* Purchase Notification */
.purchase-notification {
    position: fixed;
    bottom: 100px;
    left: 30px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 15px 20px;
    display: none;
    z-index: 980;
    animation: slideInLeft 0.5s ease;
}

.purchase-notification.active { display: block; }
.notification-content { display: flex; align-items: center; gap: 15px; }
.notification-icon { font-size: 28px; }
.notification-text p { font-size: 14px; margin: 0; }
.notification-text small { color: var(--text-muted); font-size: 12px; }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes popupSlide {
    from { opacity: 0; transform: scale(0.9) translateY(-20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Responsive */
@media (max-width: 1200px) {
    .container { padding: 0 30px; }
    .pricing-card.popular { transform: scale(1); }
    .pricing-card.popular:hover { transform: translateY(-5px); }
}

@media (max-width: 992px) {
    h1 { font-size: 38px; }
    h2 { font-size: 32px; }
    h3 { font-size: 24px; }
    section { padding: 60px 0; }
    
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-description { max-width: 100%; }
    .hero-cta-group { justify-content: center; }
    .hero-trust { justify-content: center; flex-wrap: wrap; }
    .hero-image { order: -1; }
    .hero-image img { max-width: 350px; margin: 0 auto; }
    
    .why-content, .doctor-content, .benefits-content, .final-cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .why-images, .doctor-image, .benefits-image, .final-cta-image { order: -1; }
    .doctor-benefits li { justify-content: center; }
    
    .works-grid, .steps-grid, .ingredients-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    
    .footer-top { grid-template-columns: 1fr; text-align: center; }
    .footer-links { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .top-header { display: none; }
    h1 { font-size: 30px; }
    h2 { font-size: 24px; }
    h3 { font-size: 20px; }
    body { font-size: 16.5px; }
    
    .main-nav, .header-cta { display: none; }
    .mobile-menu-btn { display: flex; }
    
    .hero { padding: 50px 0 70px; }
    .hero-badge-floating { width: 60px; height: 60px; }
    .hero-badge-floating span { font-size: 22px; }
    .hero-badge-floating small { font-size: 9px; }
    
    .works-grid, .steps-grid, .ingredients-grid { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr; gap: 30px; }
    
    .floating-cta { bottom: 20px; right: 20px; padding: 12px 20px; font-size: 14px; }
    .floating-cta span { display: none; }
    .purchase-notification { left: 15px; right: 15px; bottom: 90px; }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    section { padding: 50px 0; }
    .btn { padding: 12px 24px; font-size: 15px; }
    .btn-large { padding: 14px 30px; font-size: 16px; }
    .hero-cta-group { flex-direction: column; }
    .hero-cta-group .btn { width: 100%; }
    .why-image-grid { grid-template-columns: 1fr; }
    .why-image-grid img:first-child { grid-column: span 1; }
    .final-cta-features { justify-content: center; }
    .popup-content { padding: 30px 20px; }
}

@media (max-width: 320px) {
    h1 { font-size: 26px; }
    h2 { font-size: 22px; }
    h3 { font-size: 18px; }
    body { font-size: 15px; }
    .logo-text { font-size: 22px; }
}
