/* Synaptigen Theme: Cognitive Blue & Lavender */
:root {
    /* --- COLOR PALETTE --- */
    --primary-dark: #312e81;       /* Deep Indigo (Text/Footer) */
    --primary-brand: #4f46e5;      /* Cognitive Blue (Headers/Highlights) */
    --accent-color: #818cf8;       /* Soft Indigo */
    
    --light-bg: #eef2ff;           /* Very Light Indigo (Tags) */
    --pale-bg: #f5f3ff;            /* Lavender White (Section Backgrounds) */
    
    /* Call To Action */
    --cta-main: #f59e0b;           /* Amber (Complementary contrast) */
    --cta-hover: #d97706;          /* Darker Amber */
    
    /* Standard Colors */
    --success-green: #10b981;
    --gold: #fbbf24;
    --white: #ffffff;
    --red: #ef4444;
    --text-gray: #4b5563;
    
    /* Design Tokens */
    --shadow: 0 4px 20px rgba(79, 70, 229, 0.08); 
    --shadow-lg: 0 10px 40px rgba(79, 70, 229, 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, Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--primary-dark);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, #312e81, #4f46e5);
    color: #fff;
    padding: 10px 0;
    text-align: center;
    font-size: 15px;
}
.announcement-bar a { color: var(--gold); text-decoration: underline; font-weight: 700; }

/* 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; text-decoration: none; }
.logo-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--primary-brand), #6366f1);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 24px; height: 24px; fill: #fff; }
.logo-text { font-size: 24px; font-weight: 800; color: var(--primary-brand); letter-spacing: -0.5px; }

.header-nav { display: flex; gap: 30px; }
.header-nav a { color: var(--text-gray); text-decoration: none; font-weight: 600; font-size: 16px; transition: color 0.2s; }
.header-nav a:hover { color: var(--primary-brand); }

.header-cta-btn {
    background: var(--cta-main); color: #fff;
    padding: 12px 28px; border-radius: 50px;
    font-size: 14px; font-weight: 700; text-decoration: none; text-transform: uppercase;
    transition: transform 0.2s;
}
.header-cta-btn:hover { background: var(--cta-hover); transform: translateY(-2px); }

/* Hero */
.hero {
    background: linear-gradient(180deg, var(--light-bg) 0%, #ffffff 100%);
    padding: 80px 0 100px;
    position: relative; overflow: hidden;
}
.hero-content { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }

.hero-badge {
    display: inline-block; background: #fff; color: var(--primary-brand);
    padding: 8px 16px; border-radius: 50px; font-size: 13px; font-weight: 700; margin-bottom: 25px;
    border: 1px solid var(--primary-brand);
}
.hero h1 { font-size: 50px; font-weight: 800; color: var(--primary-dark); line-height: 1.1; margin-bottom: 20px; }
.hero h1 span { color: var(--primary-brand); }
.hero-subtitle { font-size: 19px; color: var(--text-gray); margin-bottom: 35px; line-height: 1.6; }

.hero-benefits { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-benefit {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; padding: 10px 18px; border-radius: 8px;
    font-size: 15px; font-weight: 600; color: var(--primary-dark);
    box-shadow: var(--shadow);
}
.hero-benefit svg { width: 18px; fill: var(--primary-brand); }

.hero-cta-group { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-guarantee { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-gray); }
.hero-guarantee svg { width: 18px; fill: var(--primary-brand); }

.hero-image { position: relative; text-align: center; }
.hero-image img { max-width: 100%; filter: drop-shadow(0 20px 40px rgba(79, 70, 229, 0.15)); }
.hero-floating-badge {
    position: absolute; bottom: 30px; right: 0;
    background: #fff; padding: 15px 25px; border-radius: 16px;
    box-shadow: var(--shadow-lg); text-align: center;
    border-left: 4px solid var(--primary-brand);
}
.badge-number { font-size: 26px; font-weight: 800; color: var(--primary-brand); display: block; line-height: 1; }
.badge-stars { color: var(--gold); font-size: 14px; }
.badge-text { font-size: 11px; color: var(--text-gray); text-transform: uppercase; font-weight: 700; }

/* Buttons */
.cta-button {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, var(--cta-main), var(--cta-hover));
    color: #fff;
    padding: 18px 40px; border-radius: 50px;
    font-size: 18px; font-weight: 700; text-decoration: none;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
}
.cta-button:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(245, 158, 11, 0.4); }
.cta-button svg { width: 20px; fill: #fff; }

/* 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: #fff; margin-bottom: 5px; } 
.stat-label { font-size: 13px; opacity: 0.9; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; color: #fff; }

/* Section Headers */
.section-header { text-align: center; max-width: 750px; margin: 0 auto 60px; }
.section-tag {
    display: inline-block; background: var(--light-bg); color: var(--primary-brand);
    padding: 6px 14px; border-radius: 6px; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px;
}
.section-tag.red { background: #fee2e2; color: var(--red); }
.section-tag.green { background: #dcfce7; color: var(--success-green); }
.section-header h2 { font-size: 36px; font-weight: 800; color: var(--primary-dark); margin-bottom: 15px; }

/* About / Video */
.video-section { padding: 100px 0; background: #fff; }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-feature { display: flex; gap: 20px; margin-top: 30px; background: var(--pale-bg); padding: 20px; border-radius: 12px; }
.feature-icon {
    width: 50px; height: 50px; min-width: 50px;
    background: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow);
}
.feature-icon svg { width: 24px; fill: var(--primary-brand); }
.about-image { position: relative; text-align: center; }
.about-image img { border-radius: 20px; max-width: 100%; box-shadow: var(--shadow-lg); }

/* How It Works */
.how-works { padding: 100px 0; background: var(--pale-bg); }
.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; position: relative;
    box-shadow: var(--shadow); border-top: 4px solid var(--primary-brand);
}
.step-number {
    width: 40px; height: 40px; background: var(--primary-brand); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 16px; margin: 0 auto 20px;
}
.step-card h3 { font-size: 18px; font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--text-gray); }

/* Ingredients - UPDATED FOR WHITE TEXT */
.ingredients { padding: 100px 0; background: var(--primary-brand); color: #fff; }
.ingredients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ingredient-card {
    background: rgba(255,255,255,0.1); padding: 30px 20px;
    border-radius: 16px; text-align: center; border: 1px solid rgba(255,255,255,0.2);
}
/* These are the specific lines changed to WHITE */
.ingredient-card h3 { color: #ffffff; font-size: 18px; margin-bottom: 10px; }
.ingredient-card p { font-size: 14px; line-height: 1.5; color: #ffffff; }

/* 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: 50px; border-radius: 24px; }
.problem-side { background: #fff1f2; border: 1px solid #ffe4e6; }
.solution-side { background: #eef2ff; border: 1px solid #e0e7ff; }

.problem-list, .solution-list { list-style: none; margin-top: 20px; }
.problem-list li, .solution-list li {
    display: flex; gap: 12px; padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05); font-weight: 500; font-size: 16px;
}
.problem-list li svg { fill: var(--red); width: 22px; flex-shrink: 0; }
.solution-list li svg { fill: var(--primary-brand); width: 22px; flex-shrink: 0; }

/* Testimonials */
.testimonials { padding: 100px 0; background: var(--pale-bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card {
    background: #fff; padding: 40px 30px; border-radius: 20px;
    box-shadow: var(--shadow); position: relative;
    display: flex; flex-direction: column; align-items: center;
}
.testimonial-card.featured { border: 2px solid var(--primary-brand); transform: scale(1.02); }
.testimonial-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--primary-brand); color: #fff;
    padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700;
}
/* Testimonial Image */
.testimonial-image {
    width: 90px; height: 90px; border-radius: 50%; overflow: hidden;
    margin-bottom: 15px; border: 3px solid var(--primary-brand);
    box-shadow: var(--shadow);
}
.testimonial-image img { width: 100%; height: 100%; object-fit: cover; }

.stars { color: var(--gold); text-align: center; margin-bottom: 15px; letter-spacing: 2px; }
.testimonial-card p { font-style: italic; color: var(--text-gray); text-align: center; margin-bottom: 20px; font-size: 15px; }
.testimonial-author { text-align: center; border-top: 1px solid #eee; padding-top: 15px; width: 100%; }
.testimonial-author h4 { font-weight: 700; color: var(--primary-brand); margin-bottom: 5px; }
.testimonial-author span { font-size: 13px; color: var(--text-gray); }

/* Pricing */
.pricing { padding: 100px 0; background: #fff; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: center; }
.pricing-card {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 24px;
    padding: 40px 30px; text-align: center; transition: transform 0.3s;
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pricing-card.popular {
    border: 2px solid var(--cta-main); background: #fdf4ff;
    transform: scale(1.05); z-index: 2; box-shadow: var(--shadow-lg);
}
.pricing-card.popular:hover { transform: scale(1.05) translateY(-5px); }

.popular-badge {
    background: var(--cta-main); color: #fff; display: inline-block;
    padding: 6px 16px; border-radius: 20px; font-weight: 700; font-size: 12px; margin-bottom: 15px;
}
.pricing-header h3 { font-size: 22px; color: var(--primary-brand); }
.supply { font-size: 14px; color: var(--text-gray); margin-bottom: 20px; }
.price { margin-bottom: 20px; }
.original { text-decoration: line-through; color: var(--text-gray); font-size: 16px; }
.amount { font-size: 48px; font-weight: 800; color: var(--primary-dark); line-height: 1; }
.savings-tag { background: var(--primary-brand); color: white; padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 700; }

.pricing-features { list-style: none; margin: 25px 0; text-align: left; }
.pricing-features li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 14px; color: var(--text-gray); }
.pricing-features li svg { width: 18px; fill: var(--primary-brand); flex-shrink: 0; }

/* FAQ */
.faq { padding: 100px 0; background: var(--pale-bg); }
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; margin-bottom: 15px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.faq-question {
    width: 100%; text-align: left; padding: 20px 25px; border: none; background: none;
    font-size: 16px; font-weight: 700; color: var(--primary-dark); cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
}
.faq-question svg { width: 20px; height: 20px; fill: var(--primary-brand); transition: transform 0.3s; }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s; padding: 0 25px; }
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-answer p { color: var(--text-gray); font-size: 15px; }

/* Footer */
.footer { background: #312e81; color: #e5e7eb; padding: 80px 0 40px; }
.footer-content { display: grid; grid-template-columns: 2fr 2fr; gap: 40px; }
.footer-links h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.footer-links ul { list-style: none; display: flex; gap: 20px; }
.footer-links a { color: #e5e7eb; text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent-color); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 50px; padding-top: 30px; text-align: center; font-size: 13px; opacity: 0.6; }

/* 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;
    transform: translateX(-150%); transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 9999; border-left: 5px solid var(--primary-brand);
    max-width: 320px;
}
.sales-notification.show { transform: translateX(0); }
.sales-notification img { width: 50px; height: auto; border-radius: 6px; border: 1px solid #eee; }
.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; background: none; border: none;
    font-size: 16px; color: #999; cursor: pointer;
}

/* Promo Popup */
.promo-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7); z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    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;
    transform: scale(0.8); transition: transform 0.3s;
    text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.promo-overlay.active .promo-popup { transform: scale(1); }
.promo-close {
    position: absolute; top: 15px; right: 15px;
    background: #eee; border: none; width: 30px; height: 30px;
    border-radius: 50%; font-size: 18px; cursor: pointer; color: #555;
}
.promo-header { background: var(--primary-brand); color: #fff; padding: 25px; }
.promo-header h3 { margin: 0; font-size: 24px; font-weight: 800; }
.promo-header p { margin: 5px 0 0; opacity: 0.9; font-size: 14px; }
.promo-body { padding: 30px; }
.promo-body img { width: 180px; margin-bottom: 20px; }
.promo-body p { font-size: 16px; color: var(--text-gray); margin-bottom: 25px; line-height: 1.5; }
.promo-body strong { color: var(--red); }

/* Mobile Responsiveness */
@media (max-width: 900px) {
    /* Tablet/General Mobile */
    .hero-content, .about-content, .ps-grid, .pricing-grid, .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content { gap: 40px; }
    .hero h1 { font-size: 36px; }
    .hero-image { order: -1; margin-bottom: 20px; }
    .hero-cta-group { justify-content: center; }
    
    .steps-grid, .ingredients-grid, .testimonials-grid {
        grid-template-columns: 1fr; /* Force 1 column */
    }
    
    .header-nav { display: none; } /* Hide Nav Links */
    
    .footer-links ul { flex-direction: column; gap: 10px; }
    
    .pricing-card.popular { transform: none; }
    .pricing-card { max-width: 400px; margin: 0 auto; }
}

@media (max-width: 480px) {
    /* Small Phone Fixes */
    .header-content { flex-direction: column; gap: 10px; }
    .hero h1 { font-size: 30px; }
    .cta-button { width: 100%; justify-content: center; padding: 15px 20px; }
    
    .proof-stats { grid-template-columns: 1fr 1fr; /* 2x2 grid for stats */ }
    
    .sales-notification {
        bottom: 10px; left: 10px; right: 10px;
        width: auto; max-width: none;
    }
}