:root {
    --primary-color: #5AA9E6;
    /* Soft Calming Blue */
    --primary-dark: #3A89C9;
    --accent-color: #F9A875;
    /* Soft Warm Coral/Peach */
    --text-color: #4A5568;
    --heading-color: #2D3748;
    --bg-light: #FDFBF7;
    /* Warm off-white */
    --bg-soft-blue: #F0F9FF;
    --bg-soft-green: #F0FFF4;
    --white: #FFFFFF;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.08);
    --radius-md: 12px;
    --radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-light);
    background-image: url('puzzle-bg.svg');
    background-repeat: repeat;
    background-size: 300px 300px;
    /* Adjust size for delicacy */
    background-attachment: fixed;
    /* Creates a nice parallax-like static effect */
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    font-size: 1.3rem;
    padding: 20px 40px;
}

/* Hero Section */
.hero {
    background-color: var(--bg-soft-blue);
    padding: 60px 0 0 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
}

@media (min-width: 768px) {
    .hero-container {
        flex-direction: row;
        text-align: left;
        gap: 60px;
        min-height: 80vh;
        align-items: center;
    }
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content .subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-color);
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 8px solid var(--white);
}

.wave-bottom svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Pain Section */
.pain {
    padding: 80px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.pain h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.pain-intro {
    font-size: 1.2rem;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.pain-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .pain-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .pain-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pain-item {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.pain-item:hover {
    transform: translateY(-5px);
}

.pain-item .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 20px;
}

.pain-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--heading-color);
}

/* Presentation Section */
.presentation {
    padding: 80px 0;
    background-color: var(--white);
}

.presentation-container {
    display: flex;
    flex-direction: column-reverse;
    gap: 50px;
    align-items: center;
}

@media (min-width: 768px) {
    .presentation-container {
        flex-direction: row;
    }
}

.presentation-text {
    flex: 1;
}

.presentation-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary-dark);
}

.features-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.disclaimer {
    margin-top: 30px;
    padding: 15px;
    background-color: var(--bg-soft-blue);
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    font-size: 0.95rem;
}

.presentation-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mockup-card {
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--bg-soft-blue));
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-md);
    text-align: center;
    padding: 20px;
}

.mockup-card h3 {
    color: var(--white);
    font-size: 2rem;
}

/* Learn Section */
.learn {
    padding: 100px 0;
    background-color: var(--bg-soft-green);
    position: relative;
}

.learn h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
}

.learn-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .learn-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.learn-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.learn-number {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 5rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.03);
    z-index: 0;
}

.learn-card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.learn-card p {
    position: relative;
    z-index: 1;
}

/* Transformation Section */
.transformation {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.transformation h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
}

.comparison-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .comparison-container {
        flex-direction: row;
        align-items: stretch;
    }
}

.before,
.after {
    flex: 1;
    padding: 40px;
    border-radius: var(--radius-md);
    text-align: center;
}

.before {
    background-color: #F8F1F1;
    border: 2px dashed #D6BABA;
}

.after {
    background-color: #F0FFF4;
    border: 2px solid #9AE6B4;
    box-shadow: var(--shadow-md);
}

.arrow {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .arrow {
        transform: rotate(-90deg);
    }
}

/* Audience Section */
.audience {
    padding: 80px 0;
    background-color: var(--white);
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .audience-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.audience-yes,
.audience-no {
    padding: 40px;
    border-radius: var(--radius-lg);
}

.audience-yes {
    background-color: var(--bg-soft-blue);
}

.audience-no {
    background-color: #FFF5F5;
}

.audience-yes ul li,
.audience-no ul li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: start;
    gap: 10px;
}

.check {
    color: var(--primary-color);
    font-weight: bold;
}

.cross {
    color: #E53E3E;
    font-weight: bold;
}

/* Bonus Section */
.bonus {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
}

.bonus h2,
.bonus>.container>p {
    text-align: center;
}

.bonus h2 {
    margin-bottom: 15px;
}

.bonus>.container>p {
    margin-bottom: 50px;
    font-size: 1.2rem;
}

.bonus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .bonus-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bonus-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    border-top: 5px solid var(--accent-color);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.bonus-tag {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Guarantee Section */
.guarantee {
    padding: 80px 0;
    background-color: var(--bg-soft-blue);
}

.guarantee-content {
    background-color: var(--white);
    padding: 50px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    max-width: 800px;
    box-shadow: var(--shadow-md);
}

.guarantee-icon {
    font-size: 4rem;
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
    background-color: #2D3748;
    color: var(--white);
    text-align: center;
}

.final-cta h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.final-cta .footer-note {
    margin-top: 60px;
    color: #A0AEC0;
    font-size: 0.9rem;
}

.price-box {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin: 40px auto 0;
    backdrop-filter: blur(10px);
}


/* ... existing code ... */

/* Animations & Interactivity */

/* Base class for scroll animations - hidden by default */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

/* State when element becomes visible */
.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Keyframes for Hero Area (Instant Load) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content .subtitle {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
    /* 0.3s delay */
}

.hero-content .btn {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    /* 0.6s delay */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s;
    /* Keep hover transition */
}

.hero-image img {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.4s forwards;
}

/* Interactive Hover Effects Improvements */

/* Learn Cards: Lift and Glow */
.learn-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.learn-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Bonus Cards: Pulse Border */
.bonus-card {
    transition: transform 0.3s ease;
}

.bonus-card:hover {
    transform: scale(1.03);
    border-color: var(--primary-color);
}

/* Floating Animation for Mockup/Images */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.mockup-card {
    animation: float 4s ease-in-out infinite;
}

/* Pulse effect for primary button to draw attention periodically */
@keyframes subtlePulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

.btn-primary.btn-large {
    animation: subtlePulse 3s infinite ease-in-out;
}

.btn-primary.btn-large:hover {
    animation: none;
    /* Stop pulse on hover so it doesn't conflict with hover transform */
    transform: translateY(-2px) scale(1.02);
}