/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #7C3AED;
    --secondary-color: #F97316;
    --accent-color: #FCD34D;
    --dark-bg: #1A1A2E;
    --light-bg: #F8F9FA;
    --text-dark: #2D3436;
    --text-light: #636E72;
    --white: #FFFFFF;
    --success-green: #10B981;
    --gradient-purple: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
    --gradient-offersection: linear-gradient(135deg, #9333EA 0%, #6B21A8 100%);
    --gradient-blue: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

.highlight {
    color: var(--accent-color);
    position: relative;
    text-shadow: 0 2px 10px rgba(252, 211, 77, 0.5);
}

.purple-text {
    color: var(--primary-color);
    font-weight: 700;
}

.highlight-large {
    font-size: 1.4em;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 20px;
    display: block;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-purple);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-headline {
    font-size: 3.5em;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subheadline {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease 0.4s both;
}

.genie-lamp {
    font-size: 15em;
    animation: float 3s ease-in-out infinite;
}

.genie-image {
    /* responsive sizing: use viewport width but cap to a sensible max */
    width: min(400px, 45vw);
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
    margin-top: 50px;
    display: block;
}

.math-symbols {
    position: absolute;
    width: 100%;
    height: 100%;
}

.symbol {
    position: absolute;
    font-size: 3em;
    animation: orbit 10s linear infinite;
}

.symbol:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.symbol:nth-child(2) {
    top: 70%;
    left: 10%;
    animation-delay: -2.5s;
}

.symbol:nth-child(3) {
    top: 20%;
    right: 15%;
    animation-delay: -5s;
}

.symbol:nth-child(4) {
    bottom: 15%;
    right: 20%;
    animation-delay: -7.5s;
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 18px 40px;
    font-size: 1.2em;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.primary-cta {
    background: var(--accent-color);
    color: var(--dark-bg);
    box-shadow: 0 10px 30px rgba(255, 217, 61, 0.4);
}

.primary-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 217, 61, 0.6);
}

.secondary-cta {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.secondary-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.large-cta {
    font-size: 1.4em;
    padding: 22px 50px;
}

.pulse {
    animation: pulse 2s infinite;
}

/* Pain Section */
.pain-section {
    background: var(--light-bg);
}

.section-headline {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.pain-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.pain-text {
    font-size: 1.3em;
    margin-bottom: 20px;
    color: var(--text-light);
}

.solution-text {
    font-size: 1.4em;
    margin-top: 40px;
}

/* Solution Section */
.solution-section {
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.genie-icon, .star-icon, .offer-icon {
    font-size: 4em;
    display: block;
    margin-bottom: 20px;
}

.genie-icon-image {
    width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.section-subheadline {
    font-size: 1.2em;
    color: var(--text-light);
    margin-top: 20px;
}

.formula-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.step-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.step-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.step-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.step-description {
    font-size: 1.1em;
    color: var(--text-light);
    line-height: 1.8;
}

.cta-center {
    text-align: center;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--light-bg);
}

.video-testimonial {
    margin-bottom: 60px;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-placeholder {
    background: var(--gradient-blue);
    border-radius: 20px;
    padding: 100px 40px;
    text-align: center;
    color: var(--white);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.play-icon {
    font-size: 4em;
    display: block;
    margin-bottom: 20px;
}

.video-quote {
    font-size: 1.8em;
    font-weight: 600;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 4em;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial-author strong {
    color: var(--primary-color);
    font-size: 1.1em;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.95em;
}

/* Offer Section */
.offer-section {
    background: var(--gradient-offersection);
    color: var(--white);
}

.offer-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.offer-section .section-headline {
    color: var(--white);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 40px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.3em;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.check {
    font-size: 1.5em;
}

.bonus-banner {
    background: var(--white);
    color: var(--text-dark);
    padding: 30px 30px 30px 80px;
    border-radius: 20px;
    margin: 40px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.bonus-banner::before {
    content: '';
    position: absolute;
    left: 75px;
    top: 0;
    bottom: 0;
    width: 3px;
    background-image: repeating-linear-gradient(
        to bottom,
        #FCD34D 0px,
        #FCD34D 8px,
        transparent 8px,
        transparent 16px
    );
}

.bonus-banner::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.gift-icon {
    font-size: 3em;
    display: block;
    margin-bottom: 10px;
}

.bonus-banner p {
    font-size: 1.2em;
    margin: 5px 0;
}

.urgency-text {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.1em !important;
}

/* Final CTA Section */
.final-section {
    background: var(--dark-bg);
    color: var(--white);
}

.final-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.final-headline {
    font-size: 3em;
    margin-bottom: 30px;
    color: var(--white);
}

.final-text {
    font-size: 1.3em;
    margin-bottom: 15px;
    opacity: 0.9;
}

.final-text.large {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 20px;
}

.child-quote {
    font-size: 2em;
    font-style: italic;
    color: var(--accent-color);
    margin: 40px 0;
    padding: 30px;
    border-left: 5px solid var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-tagline {
    margin-top: 10px;
    opacity: 0.7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(50px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(50px) rotate(-360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-headline {
        font-size: 2.5em;
    }
    
    .hero-subheadline {
        font-size: 1.1em;
    }
    
    .genie-lamp {
        font-size: 10em;
    }
    
    .section-headline {
        font-size: 2em;
    }
    
    .final-headline {
        font-size: 2em;
    }
    
    .child-quote {
        font-size: 1.5em;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 640px) {
    .hero-headline {
        font-size: 2em;
    }
    
    .hero-subheadline {
        font-size: 1em;
    }
    
    .cta-button {
        font-size: 1em;
        padding: 15px 30px;
    }
    
    .large-cta {
        font-size: 1.1em;
        padding: 18px 35px;
    }
    
    .section-headline {
        font-size: 1.6em;
    }
    
    .step-title {
        font-size: 1.4em;
    }
    
    .benefit-item {
        font-size: 1.1em;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .formula-steps {
        grid-template-columns: 1fr;
    }
}
