:root {
    --primary-color: #8E24AA;
    /* Darker Vivid Purple */
    --primary-dark: #6A1B9A;
    --secondary-color: #F48FB1;
    /* Darker Pinkish Purple Background for contrast */
    --accent-color: #D500F9;
    /* Neon Violet */
    --accent-light: #EA80FC;
    --text-dark: #311B92;
    /* Very Dark Purple Text */
    --text-light: #4A148C;
    --white: #FFFFFF;
    --shadow-sm: 0 4px 6px rgba(142, 36, 170, 0.2);
    --shadow-md: 0 10px 15px rgba(142, 36, 170, 0.25);
    --shadow-lg: 0 20px 25px rgba(142, 36, 170, 0.3);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--secondary-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
}

.text-center {
    text-align: center;
}

.text-danger {
    color: #e74c3c;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #4A148C 0%, #880E4F 100%);
    /* Deep Purple to Deep Pink for Stars */
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(213, 0, 249, 0.2) 0%, transparent 60%);
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
    padding-right: 0;
    margin: 0 auto;
    text-align: center;
}

.tagline {
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #EA80FC;
    /* Lighter Accent for Dark BG */
    margin-bottom: var(--spacing-xs);
    display: block;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
    /* White text on dark BG */
}

.hero .subtitle {
    font-size: 1.5rem;
    color: #F8BBD0;
    /* Light Pink text */
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: #E1BEE7;
    /* Light Purple text */
}

.ebook-mockup-container {
    position: relative;
    z-index: 1;
    perspective: 1000px;
    margin: 2rem auto;
    max-width: 500px;
}

.ebook-img {
    max-width: 450px;
    width: 100%;
    transform: rotateY(-15deg) rotateX(5deg);
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.ebook-img:hover {
    transform: rotateY(0) rotateX(0) scale(1.05);
}

/* Flashy Price */
.price-display {
    font-size: 5rem;
    font-weight: 800;
    color: #D500F9;
    text-shadow: 2px 2px 0px #FFF, 4px 4px 0px rgba(0, 0, 0, 0.1);
    animation: pop 1s infinite alternate;
}

@keyframes pop {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

/* Pulse Button */
.btn-pulse {
    background: linear-gradient(45deg, #FF4081, #D500F9);
    border: none;
    box-shadow: 0 0 0 0 rgba(213, 0, 249, 0.7);
    animation: pulse-purple 2s infinite;
}

@keyframes pulse-purple {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(213, 0, 249, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(213, 0, 249, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(213, 0, 249, 0);
    }
}

/* Pain Points */
.pain-points {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
    text-align: center;
}

.section-lead {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto var(--spacing-md);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.pain-card {
    padding: var(--spacing-md);
    border-radius: 12px;
    background: var(--white);
    /* White card for contrast */
    transition: transform 0.3s ease;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 10px rgba(213, 0, 249, 0.2);
}

.pain-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
    /* Neon Glow */
}

.pain-card:hover {
    transform: translateY(-5px);
}

.pain-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: var(--spacing-sm);
}

.pain-conclusion {
    max-width: 800px;
    margin: 0 auto;
}

.highlight-box {
    /* Background removed as requested */
    border-left: 5px solid var(--primary-color);
    padding: var(--spacing-md);
    margin-top: var(--spacing-md);
    border-radius: 4px;
}

.highlight-box p {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-dark);
}

/* Solution */
.solution {
    padding: var(--spacing-xl) 0;
    background-color: var(--secondary-color);
}

.content-split {
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-block {
    max-width: 800px;
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.check-list li {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Method Intro */
.method-intro {
    padding: var(--spacing-xl) 0;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--white);
}

.method-intro h2,
.method-intro p {
    color: var(--white);
}

.method-badge {
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.benefit-item {
    background: rgba(255, 255, 255, 0.15);
    padding: var(--spacing-md);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.benefit-item:hover {
    box-shadow: 0 0 15px var(--accent-light);
    border-color: var(--accent-light);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto var(--spacing-sm);
}

/* Recipes */
.recipes-preview {
    padding: var(--spacing-xl) 0;
    text-align: center;
    background: var(--white);
}

.recipe-cards {
    display: grid;
    /* Force 3 columns on desktop for balanced layout (6 items total) */
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    justify-content: center;
}

.recipe-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 16px;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.recipe-card:hover {
    box-shadow: 0 0 20px var(--accent-color);
    /* Strong Neon Glow */
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.recipe-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.features-list {
    margin-top: var(--spacing-md);
    background: #f9f9f9;
    padding: var(--spacing-lg);
    border-radius: 12px;
    display: inline-block;
    position: relative;
    z-index: 2;
}

.features-list ul {
    text-align: left;
    margin-top: var(--spacing-md);
}

.features-list li {
    margin-bottom: 0.5rem;
    gap: 10px;
    display: flex;
    align-items: center;
}

.features-list i {
    color: var(--primary-color);
}

/* Audience */
.audience {
    padding: var(--spacing-xl) 0;
    background-color: var(--secondary-color);
    text-align: center;
}

.audience-list {
    display: inline-block;
    text-align: left;
    margin-top: var(--spacing-md);
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.audience-list li {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 15px;
}

.audience-list i {
    color: var(--accent-color);
    font-size: 1.4rem;
}

/* Transformation */
.transformation {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to right, #7B1FA2, #AD1457);
    color: var(--white);
}

.container {
    position: relative;
    z-index: 2;
}

.transformation h2,
.transformation h3,
.transformation p,
.transformation .quote {
    color: var(--white);
}

.imagine-box {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.emphasis {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: var(--spacing-md);
}

.results-box {
    background: rgba(255, 255, 255, 0.15);
    padding: var(--spacing-lg);
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.change-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.change-item {
    font-size: 1.1rem;
    font-weight: 500;
    padding: var(--spacing-sm);
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Pricing */
.pricing {
    padding: var(--spacing-xl) 0;
    text-align: center;
    background: var(--white);
}

.price-card {
    max-width: 900px;
    margin: var(--spacing-lg) auto 0;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 2px solid var(--primary-color);
}

.price-flex-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    text-align: left;
}

.price-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.price-ebook-img {
    max-width: 100%;
    width: 300px;
    transform: rotateY(-10deg);
    transition: transform 0.5s ease;
    filter: drop-shadow(10px 10px 20px rgba(0, 0, 0, 0.3));
}

.price-ebook-img:hover {
    transform: rotateY(0) scale(1.05);
}

.price-info-container {
    flex: 1;
    text-align: center;
    /* Keep price info centered or adjust to left? Let's keep center for the info block but the flex items are side-by-side */
}

@media (max-width: 768px) {
    .price-flex-container {
        flex-direction: column;
        gap: 2rem;
    }

    .price-ebook-img {
        width: 200px;
        transform: none;
    }
}

.offer-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-display {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
    margin: var(--spacing-sm) 0;
}

.currency {
    font-size: 2rem;
    vertical-align: super;
}

/* Guarantee */
.guarantee {
    padding: var(--spacing-lg) 0;
    background: var(--secondary-color);
}

.guarantee-box {
    display: flex;
    flex-direction: column;
    /* Force column for better centering */
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    /* Center text */
}

.guarantee-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

/* Background Pattern */
.bg-sweets-pattern {
    background-color: var(--white);
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ctext font-size='24' x='10' y='30' opacity='0.1'%3E🧁%3C/text%3E%3Ctext font-size='24' x='60' y='70' opacity='0.1'%3E🍪%3C/text%3E%3Ctext font-size='24' x='20' y='80' opacity='0.1'%3E🍬%3C/text%3E%3Ctext font-size='24' x='70' y='20' opacity='0.1'%3E🍩%3C/text%3E%3C/svg%3E");
    /* Removed fixed attachment and animation for better performance/look */
}

@keyframes slideBg {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100px 100px;
    }
}

/* Footer CTA */
.footer-cta {
    padding: var(--spacing-xl) 0 var(--spacing-md);
    background: #252525;
    color: var(--white);
    text-align: center;
}

.footer-cta h2,
.footer-cta p {
    color: var(--white);
}

.final-message {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.copyright {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        flex-direction: column;
        justify-content: center;
        padding-top: 6rem;
    }

    .hero-content {
        padding: 0 1.5rem;
        /* Better edge spacing */
        width: 100%;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero .subtitle,
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .ebook-mockup-container {
        margin: 1.5rem auto;
        max-width: 90%;
        width: 100%;
        display: flex;
        justify-content: center;
        perspective: none;
        /* Disable 3D perspective to avoid overflow issues */
    }

    .ebook-img {
        max-width: 80%;
        /* Ensure it's not too big */
        transform: none !important;
        /* Reset rotation */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .abstract-sweet {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 300px;
        height: 300px;
        margin-top: var(--spacing-lg);
    }

    .abstract-sweet {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 300px;
        height: 300px;
        margin-top: var(--spacing-lg);
    }

    .content-split {
        flex-direction: column;
    }

    .recipe-cards {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .recipe-cards {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablet */
    }
}

/* Icon Animations */
.pain-card i,
.benefit-item i,
.card-icon,
.guarantee-icon {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.pain-card:hover i,
.benefit-item:hover i,
.recipe-card:hover .card-icon,
.pain-card:active i,
.benefit-item:active i,
.recipe-card:active .card-icon {
    transform: scale(1.2) rotate(10deg);
}

/* Scroll Animations */
.reveal,
.slide-left,
.slide-right,
.zoom-in,
.pain-card i,
.benefit-item i,
.card-icon {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal {
    transform: translateY(50px);
}

.slide-left {
    transform: translateX(-50px);
}

.slide-right {
    transform: translateX(50px);
}

.zoom-in {
    transform: scale(0.8);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-left.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-right.active {
    opacity: 1;
    transform: translateX(0);
}

.zoom-in.active {
    opacity: 1;
    transform: scale(1);
}

.pain-card.active i,
.benefit-item.active i,
.recipe-card.active .card-icon {
    opacity: 1;
    transform: scale(1);
    animation: pop-icon 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes pop-icon {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.4);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Stagger animations for lists */
.recipe-card:nth-child(2) {
    transition-delay: 0.1s;
}

.recipe-card:nth-child(3) {
    transition-delay: 0.2s;
}

.recipe-card:nth-child(4) {
    transition-delay: 0.3s;
}

.recipe-card:nth-child(5) {
    transition-delay: 0.4s;
}

.recipe-card:nth-child(6) {
    transition-delay: 0.5s;
}