@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Montserrat:wght@700;800;900&family=Pacifico&display=swap');

:root {
    /* Colors */
    --primary: #8B5CF6;
    --primary-dark: #7C3AED;
    --accent: #F59E0B;
    --accent-dark: #D97706;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Spacing */
    --container-width: 1100px;
    --section-padding: 80px 20px;
    --section-padding-mobile: 60px 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
}

/* --- Components --- */

.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 18px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 10px 20px -5px rgba(139, 92, 246, 0.4);
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 400px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: var(--primary-dark);
    box-shadow: 0 15px 25px -5px rgba(139, 92, 246, 0.5);
}

.btn-pulse {
    animation: pulse 2s infinite;
}

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

/* --- Header / Timer --- */

.top-bar {
    background-color: var(--accent);
    color: var(--white);
    padding: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* --- Hero Section --- */

.hero {
    padding: var(--section-padding);
    background: radial-gradient(circle at top right, #f5f3ff, transparent),
                radial-gradient(circle at bottom left, #fffbeb, transparent);
    text-align: center;
}

.badge {
    display: inline-block;
    background-color: rgba(139, 92, 246, 0.1);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-mockup {
    margin: 40px auto;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-mockup img {
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.promo-btn-top {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 15px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.4rem;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-bottom: 10px;
}

.promo-btn-top:hover {
    transform: scale(1.05);
    background-color: var(--primary-dark);
}


@media (max-width: 768px) {
    .promo-btn-top {
        font-size: 1rem;
        padding: 12px 25px;
    }
    
}

/* --- Features Section --- */

.features {
    padding: var(--section-padding);
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-main);
    padding: 40px;
    border-radius: 24px;
    transition: all 0.3s ease;
}

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

/* --- Split Info Section (Product Reveal) --- */
.split-section {
    padding: var(--section-padding);
    background-color: var(--bg-main);
}

.split-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.split-left, .split-right {
    flex: 1 1 500px;
}

.split-title {
    font-size: 2.2rem;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 900;
}

.split-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Carousel */
.carousel-wrapper {
    background: var(--white);
    border-radius: 24px;
    padding: 0;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.carousel-images {
    width: 100%;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
}

.carousel-images::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.carousel-images img {
    flex: 0 0 100%;
    width: 100%;
    height: 400px;
    object-fit: contain;
    scroll-snap-align: center;
    padding: 20px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    color: var(--text-main);
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    cursor: pointer;
}

.carousel-dot.active {
    background: var(--primary);
}

/* Right Side Cards */
.science-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.science-card {
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.science-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.science-icon {
    font-size: 1.8rem;
    margin-bottom: 15px;
    background: #f8fafc;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.science-card h4 {
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.science-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- Pricing Grid --- */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    padding: 40px;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    border: 2px solid #e2e8f0;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
    z-index: 10;
}

.pricing-card .badge-featured {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.pricing-card .price-old {
    text-decoration: line-through;
    color: #ef4444; /* Red for the old price */
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.pricing-card .price-new {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 20px;
}

.pricing-card .price-new span {
    font-size: 1.5rem;
    font-weight: 700;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-card ul li {
    padding: 10px 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-card ul li svg {
    color: var(--primary);
    flex-shrink: 0;
}

.pricing-card ul li.unavailable {
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.6;
}

.pricing-card ul li.unavailable svg {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .pricing-grid {
        gap: 40px;
        padding-top: 20px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

/* --- Bonus Section --- */
.bonus-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

.bonus-card {
    background: #fff1f2;
    border: 2px dashed var(--accent);
    padding: 30px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
}

.bonus-card:hover {
    transform: translateY(-5px);
}

.bonus-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* --- Testimonials Section (Social Feed) --- */
.testimonials {
    padding: var(--section-padding);
    background-color: var(--bg-main);
}

.social-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 650px;
    margin: 0 auto;
}

.social-card {
    background: var(--white);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.social-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    padding: 2px;
}

.social-user-info {
    flex-grow: 1;
}

.social-name {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.social-name svg {
    color: #3b82f6; /* Verified blue */
    width: 16px;
    height: 16px;
}

.social-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.social-dots {
    color: var(--text-muted);
}

.social-content {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.6;
    flex-grow: 1;
}

.social-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-actions {
    display: flex;
    gap: 15px;
    color: var(--text-muted);
}

.social-actions svg {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.social-actions .heart-icon {
    color: #ef4444;
    fill: #ef4444;
}

.social-likes {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.social-likes strong {
    color: var(--text-main);
}

/* --- Mobile Typography & Layout Optimization --- */
@media (max-width: 768px) {
    section, .hero, .split-section, .testimonials, .features {
        padding: var(--section-padding-mobile) !important;
    }

    .hero h1 {
        font-size: 2rem !important;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title p {
        font-size: 0.95rem;
    }

    .split-title {
        font-size: 1.7rem;
        text-align: center;
    }

    .split-desc {
        font-size: 0.95rem;
        text-align: center;
    }

    .pricing-card h3 {
        font-size: 1.3rem;
    }

    .pricing-card .price-new {
        font-size: 2.4rem;
    }

    .btn-primary {
        font-size: 1rem;
        padding: 14px 24px;
    }
    
    .social-card {
        padding: 20px;
    }
    
    .carousel-images img {
        height: 300px;
    }
}

/* --- FAQ Section --- */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item summary {
    padding: 20px 25px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
    cursor: pointer;
    list-style: none; /* remove default arrow */
    position: relative;
    outline: none;
}

.faq-item summary::-webkit-details-marker {
    display: none; /* for Chrome/Safari */
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.faq-item[open] summary {
    border-bottom: 1px solid #f1f5f9;
}

.faq-content {
    padding: 20px 25px;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* --- Social Proof Notifications --- */
.sales-notification {
    position: fixed;
    bottom: -100px;
    left: 20px;
    background: var(--white);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.5s ease;
    opacity: 0;
    pointer-events: none;
    max-width: 320px;
    border-left: 4px solid var(--primary);
}

.sales-notification.show {
    bottom: 20px;
    opacity: 1;
    pointer-events: auto;
}

.notification-img img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: contain;
    background: var(--bg-main);
    padding: 5px;
}

.notification-content {
    flex: 1;
}

.notification-content p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-main);
    line-height: 1.3;
}

.notif-product {
    color: var(--primary-dark);
    font-size: 0.8rem;
}

.notification-content small {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    color: #94a3b8;
}

.notif-close {
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 1.2rem;
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 5px;
    line-height: 1;
}

.notif-close:hover {
    color: #ef4444;
}

@media (max-width: 768px) {
    .sales-notification {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}
