:root {
    /* Colors */
    --primary: #4F46E5; /* Indigo */
    --primary-light: #6366F1;
    --primary-dark: #4338CA;
    --secondary: #F59E0B; /* Amber/Yellow for kids math */
    --secondary-light: #FCD34D;
    --secondary-dark: #D97706;
    --accent: #10B981; /* Emerald/Green for success */
    --accent-light: #34D399;
    --background: #F8FAFC;
    --surface: #FFFFFF;
    --text-main: #0F172A;
    --text-muted: #475569;
    --border: #E2E8F0;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Nunito', sans-serif;
    
    /* 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);
    
    /* Border Radius */
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-white { color: #ffffff !important; }
.bg-light { background-color: var(--background); }

/* Top Banner */
.top-banner {
    background: linear-gradient(90deg, #EF4444, #F59E0B);
    color: white;
    text-align: center;
    padding: 0.75rem 1rem;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    padding: 5rem 0;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.hero-content-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.main-hero-image {
    max-width: 100%;
    width: 650px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    margin: 1.5rem 0 2.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 800px;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.badge {
    display: inline-block;
    background-color: var(--secondary-light);
    color: var(--secondary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero h1 span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: var(--secondary);
    bottom: 5px;
    left: 0;
    z-index: -1;
    opacity: 0.5;
    border-radius: 4px;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* CTA Buttons */
.cta-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(to right, var(--accent), var(--accent-light));
    color: white;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.125rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.5);
    background: linear-gradient(to right, var(--accent-light), var(--accent));
}

.cta-button.secondary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.cta-button.secondary:hover {
    background: var(--background);
    color: var(--primary-dark);
}

.cta-button.outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: none;
}

.cta-button.outline:hover {
    background: var(--primary);
    color: white;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.security-text {
    margin-top: 1rem;
    font-size: 0.9rem !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted) !important;
}

.security-text svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

/* Images & Animations */
.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.floating-slow {
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Section Shared */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Preview Section - Infinite Carousel */
.infinite-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    margin: 0 auto 3rem;
    max-width: 900px;
}

.infinite-carousel-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: infiniteScroll 40s linear infinite;
}

.infinite-carousel-track:hover {
    animation-play-state: paused;
}

.infinite-carousel-track img {
    width: 600px;
    max-width: 80vw;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background: var(--surface);
    border: 1px solid var(--border);
}

@keyframes infiniteScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); }
}

.preview-footer {
    text-align: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}

/* Benefits Section */
.benefits {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.9);
}

.center-btn {
    text-align: center;
}

/* What you get */
.what-you-get {
    background-color: var(--surface);
}

.dark-title {
    color: var(--text-main);
}

.dark-subtitle {
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

.what-you-get-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.product-image-container {
    flex: 1;
    min-width: 300px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-bundle-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.features-box {
    flex: 1.2;
    min-width: 300px;
    background: var(--primary-dark);
    border-radius: var(--radius-xl);
    padding: 3rem;
    margin: 0;
    color: white;
    box-shadow: var(--shadow-xl);
}
.features-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.features-list-vertical li {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.15rem;
}

.features-list-vertical li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.features-list-vertical li:first-child {
    padding-top: 0;
}

.features-list-vertical li svg {
    color: var(--accent-light);
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.features-list-vertical li span {
    line-height: 1.4;
}

/* Bonuses */
.bonus-layout {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.bonus-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 0 auto;
}

.bonus-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
    background: var(--surface);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

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

.bonus-img {
    width: 150px;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .bonus-item {
        flex-direction: column;
        text-align: center;
    }
}

.bonus-text h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.bonus-text p {
    color: var(--text-muted);
}

.strike {
    text-decoration: line-through;
    color: #94A3B8;
    margin-left: 0.25rem;
}

.free {
    display: block;
    color: var(--accent);
    font-weight: 800;
    margin-top: 1.25rem;
    font-size: 1.1rem;
}

/* Pricing */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.pricing-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.complete {
    border: 3px solid var(--primary);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.card-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.card-header p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.price {
    margin-bottom: 2rem;
    text-align: center;
}

.old-price {
    text-decoration: line-through;
    color: #94A3B8;
    font-size: 1.2rem;
}

.current-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
    margin: 0.5rem 0;
}

.current-price span {
    font-size: 1.5rem;
    vertical-align: super;
}

.payment-type {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.payment-type.highlight {
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.plan-features {
    flex: 1;
    margin-bottom: 2rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.plan-features li svg {
    color: var(--accent);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.plan-features li.disabled {
    color: #94A3B8;
}

.plan-features li.disabled svg {
    color: #94A3B8;
}

.pricing-card .cta-button {
    width: 100%;
    margin-bottom: 1rem;
}

.payment-methods {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.payment-methods svg {
    width: 16px;
    height: 16px;
}

/* Guarantee */
.guarantee {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.guarantee-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 900px;
}

.guarantee-icon {
    flex-shrink: 0;
}

.huge-icon {
    width: 120px;
    height: 120px;
    color: var(--secondary);
}

.guarantee-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.guarantee-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Footer & FAQ */
footer {
    background: #0F172A;
    color: white;
    padding: 5rem 0 2rem;
}

footer h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.faq {
    max-width: 800px;
    margin: 0 auto 4rem;
}

details {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
}

summary {
    font-weight: 700;
    font-size: 1.1rem;
    outline: none;
    list-style: none;
    position: relative;
    padding-right: 2rem;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--secondary);
}

details[open] summary::after {
    content: '-';
}

details p {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-bottom h2 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.love {
    margin-top: 0.5rem;
    color: var(--accent) !important;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content, .bonus-layout, .guarantee-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .center-btn {
        margin-top: 1rem;
    }

    .pricing-card.complete {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .guarantee-content {
        gap: 1.5rem;
    }
    
    .huge-icon {
        width: 80px;
        height: 80px;
    }
}
