/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.tagline {
    font-size: 0.875rem;
    color: var(--text-light);
}

.nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

.nav a:hover,
.nav a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at top right, #10b98133 0, transparent 40%), 
                linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #0f766e 100%);
    color: var(--white);
    padding: 4rem 0 3rem;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.badge {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.6);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    max-width: 32rem;
}

.hero-bullets {
    list-style: none;
    margin-bottom: 1.75rem;
    color: rgba(226, 232, 240, 0.95);
}

.hero-bullets li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.35rem;
    font-size: 0.98rem;
}

.hero-bullets li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #22c55e;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s;
    box-shadow: var(--shadow-lg);
}

.cta-button:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.2);
}

.primary-cta {
    min-width: 190px;
    text-align: center;
}

.ghost-cta {
    background: transparent;
    color: #a5b4fc;
    border: 1px solid rgba(148, 163, 184, 0.8);
    box-shadow: none;
}

.ghost-cta:hover {
    background: rgba(15, 23, 42, 0.5);
    color: #e5e7eb;
}

.hero-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.hero-price .label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: #a5b4fc;
}

.old-price {
    text-decoration: line-through;
    color: #9ca3af;
}

.new-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fbbf24;
}

.discount-badge {
    background: #f97316;
    color: #111827;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
}

.urgency-banner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.urgency-icon {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

.urgency-text {
    color: #fee2e2;
}

.urgency-text strong {
    color: #fbbf24;
    font-weight: 700;
}

.countdown-timer {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    margin-top: 0.75rem;
    font-size: 0.9rem;
}

.timer-icon {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

.timer-text {
    color: #fef3c7;
}

.timer-text strong {
    color: #fbbf24;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.hero-media {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.product-visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 360px;
}

.success-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    z-index: 10;
    white-space: nowrap;
}

.badge-icon {
    font-size: 1rem;
}

.product-placeholder {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 3 / 4;
    border-radius: 24px;
    background: radial-gradient(circle at top, #0ea5e9 0, #0f172a 45%, #020617 100%);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(226, 232, 240, 0.8);
    font-size: 0.9rem;
    text-align: center;
    padding: 1.5rem;
    position: relative;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    display: block;
}

.product-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    line-height: 1.4;
    color: rgba(226, 232, 240, 0.9);
    font-weight: 500;
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

/* Stats / Social proof */
.stats {
    background: linear-gradient(to right, #0f172a, #020617);
    color: var(--white);
    padding: 2.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    border-radius: 14px;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.15), transparent 55%);
    border: 1px solid rgba(148, 163, 184, 0.3);
    padding: 1.5rem;
    text-align: center;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.95rem;
    color: #e5e7eb;
}

/* Benefits */
.benefits {
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-light);
}

/* Usage Section */
.usage-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.usage-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.usage-text p {
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--primary-dark);
}

/* Ingredients */
.ingredients {
    background: var(--bg-light);
}

.ingredients-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.ingredients-content p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.125rem;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.review-text {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-style: italic;
    line-height: 1.8;
}

.reviewer {
    color: var(--text-light);
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button-large {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 1.25rem 3rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.3s;
    box-shadow: var(--shadow-lg);
}

.cta-button-large:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.3);
}

.cta-note {
    margin-top: 1rem;
    opacity: 0.8;
    font-size: 0.875rem;
}

/* FAQ */
.faq {
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.faq-item p {
    color: var(--text-dark);
    line-height: 1.8;
}

.faq-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Content Pages */
.content-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 20px;
}

.content-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.content-page h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.content-page h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.content-page p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.content-page ul,
.content-page ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-page li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.content-page .back-link {
    display: inline-block;
    margin-top: 2rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.content-page .back-link:hover {
    text-decoration: underline;
}

/* Sticky CTA (Desktop & Mobile) */
.sticky-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    padding: 0.75rem 1rem;
    animation: slideUp 0.3s ease-out;
}

.sticky-mobile-cta.show {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.sticky-cta-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.sticky-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sticky-old-price {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 0.9rem;
}

.sticky-new-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fbbf24;
}

.sticky-cta-button {
    flex: 1;
    max-width: 200px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.sticky-cta-button:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* Desktop sticky CTA adjustments */
@media (min-width: 769px) {
    .sticky-mobile-cta {
        padding: 1rem 2rem;
    }
    
    .sticky-cta-content {
        max-width: 1200px;
    }
    
    .sticky-cta-button {
        max-width: 250px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-icon {
    font-size: 1.2rem;
}

/* Exit Intent Popup */
.exit-intent-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.exit-intent-popup.show {
    opacity: 1;
}

.exit-popup-content {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    color: white;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.exit-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.exit-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.exit-popup-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.exit-popup-content p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.exit-popup-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.exit-popup-price .old-price {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 1.2rem;
}

.exit-popup-price .new-price {
    font-size: 2rem;
    font-weight: 800;
    color: #fbbf24;
}

.exit-popup-cta {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    margin-bottom: 1rem;
}

.exit-popup-cta:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.exit-popup-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

/* Social Proof Notification */
.social-proof-notification {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
    z-index: 999;
    max-width: 300px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.social-proof-notification.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.proof-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.proof-icon {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.proof-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.proof-text strong {
    font-weight: 700;
}

@media (max-width: 768px) {
    .social-proof-notification {
        bottom: 100px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        justify-content: center;
        gap: 1rem;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hero-media {
        order: -1;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    .benefits-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .content-page h1 {
        font-size: 2rem;
    }

    .content-page h2 {
        font-size: 1.5rem;
    }

    .product-visual-wrapper {
        max-width: 280px;
        margin: 0 auto;
    }

    .success-badge {
        top: -5px;
        right: -5px;
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    /* Sticky CTA already handled by JavaScript */
    body.sticky-cta-active {
        padding-bottom: 80px;
    }
    
    .exit-popup-content {
        padding: 1.5rem;
    }
    
    .exit-popup-content h3 {
        font-size: 1.25rem;
    }
    
    .exit-popup-price .new-price {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2rem 0;
    }

    section {
        padding: 2rem 0;
    }

    .cta-button,
    .cta-button-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}
