:root {
    /* "Mom-Friendly" but Modern Palette */
    --bg-color: #FEFAE0;
    /* Light Cream */
    --text-color: #2D3142;
    --primary-color: #FF8FAB;
    /* Soft Pink/Orange touch */
    --secondary-color: #9DCEFF;
    /* Light Blue */
    --accent-green: #90BE6D;
    /* Mint */
    --accent-orange: #F9844A;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.9);
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'Inter', sans-serif;
    --gradient-hero: linear-gradient(135deg, #FEFAE0 0%, #FFF0F5 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
.logo {
    font-family: var(--font-heading);
    font-weight: 800;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2D3142;
}

.highlight {
    color: var(--accent-orange);
    position: relative;
    white-space: nowrap;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--secondary-color);
    opacity: 0.4;
    z-index: -1;
    border-radius: 4px;
}

/* Background Animation */
.background-globes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.globe {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
}

.globe-1 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    top: -10%;
    right: -10%;
}

.globe-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    bottom: 10%;
    left: -5%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, 40px);
    }
}

/* Utility & Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 4rem 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Glassmorphism */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(254, 250, 224, 0.85);
    /* Slightly more opaque for legibility */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 2px solid #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.1);
    border-color: var(--primary-color);
}

/* Navigation */
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    color: var(--text-color);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--accent-orange);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(249, 132, 74, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: scale(1.05);
    background: #ff9f70;
    box-shadow: 0 6px 20px rgba(249, 132, 74, 0.6);
}

.btn-primary.small {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.btn-primary.large {
    font-size: 1.2rem;
    width: 100%;
    margin-top: 1rem;
    text-align: center;
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(249, 132, 74, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(249, 132, 74, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(249, 132, 74, 0);
    }
}

/* Hero Section */
.hero {
    margin-top: 80px;
    /* Space for fixed nav */
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    gap: 3rem;
}

.badge {
    background: var(--secondary-color);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: inline-block;
}

.hero-text .subtitle {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #555;
}

/* 3D Card Animation Placeholder */
.card-3d {
    background: white;
    width: 100%;
    max-width: 320px;
    height: 400px;
    margin: 0 auto;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transform: rotateY(-10deg) rotateX(5deg);
    animation: hover3d 6s ease-in-out infinite;
    position: relative;
}

.card-3d::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    border-radius: 25px;
    filter: blur(10px);
    opacity: 0.5;
}

.card-content {
    text-align: center;
    color: var(--text-color);
}

@keyframes hover3d {

    0%,
    100% {
        transform: rotateY(-10deg) rotateX(5deg) translateY(0);
    }

    50% {
        transform: rotateY(10deg) rotateX(-5deg) translateY(-20px);
    }
}

/* Problem Section */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-orange);
}

/* Solution Section */
.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.feature-list li i {
    color: var(--accent-green);
    margin-right: 10px;
}

.book-mockup {
    width: 250px;
    height: 350px;
    background: #ff5e78;
    /* Vibrant cover color */
    background: linear-gradient(135deg, #ff5e78, #ff8fab);
    border-radius: 10px 20px 20px 10px;
    margin: 0 auto;
    position: relative;
    box-shadow:
        10px 20px 30px rgba(0, 0, 0, 0.15),
        inset 5px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.book-cover {
    text-align: center;
}

/* Offer Section */
.pricing-card {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    border: 3px solid var(--accent-green);
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
}

.offer-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-green);
    color: white;
    padding: 0.3rem 1.5rem;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
}

.price {
    margin: 2rem 0;
}

.old-price {
    display: block;
    text-decoration: line-through;
    color: #999;
    font-size: 1.1rem;
}

.new-price {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-green);
}

.guarantee {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0.8;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: #666;
    margin: 0 10px;
    text-decoration: none;
}

/* Testimonials */
.testimonial-card {
    text-align: center;
    position: relative;
    border-top: 4px solid var(--accent-green);
}

.testimonial-card .stars {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-card .author {
    font-weight: 700;
    color: var(--primary-color);
}

/* Animation Classes (JS Driven) */
.fade-in,
.fade-in-up,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.fade-in.visible {
    opacity: 1;
}

.fade-in-up {
    transform: translateY(30px);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    transform: translateX(-30px);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    transform: translateX(30px);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* About Section & Neon Effects */
.frame-neon {
    width: 300px;
    height: 400px;
    margin: 0 auto;
    border: 3px solid var(--primary-color);
    box-shadow:
        0 0 10px var(--primary-color),
        0 0 20px var(--primary-color),
        inset 0 0 20px var(--primary-color);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}

.chef-placeholder {
    color: var(--primary-color);
    animation: flicker 4s infinite;
}

@keyframes flicker {

    0%,
    19%,
    21%,
    23%,
    25%,
    54%,
    56%,
    100% {
        opacity: 1;
    }

    20%,
    24%,
    55% {
        opacity: 0.5;
    }
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-orange);
    text-shadow: 2px 2px 0px var(--secondary-color);
}

.stat-item .label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Responsive */
@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .content-split {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }

    .feature-list {
        font-size: 1.2rem;
    }

    h1 {
        font-size: 3.5rem;
    }
}