/* Reset & Variables */
:root {
    /* Vibrant Palette */
    --primary: #7c3aed;
    /* Vivid Purple */
    --primary-light: #a78bfa;
    --accent-pink: #db2777;
    /* Deep Pink */
    --accent-cyan: #0891b2;
    /* Cyan */
    --accent-sky: #e0f2fe;
    /* Light Blue Background */
    --text-main: #1f2937;
    --text-muted: #4b5563;
    --white: #ffffff;

    --gradient-hero: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
    --gradient-blob-1: linear-gradient(to right, #4f46e5, #9333ea);
    --gradient-blob-2: linear-gradient(to right, #f43f5e, #7c3aed);

    --font-heading: 'Sora', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius-card: 1.5rem;
    --radius-btn: 9999px;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: #f0f9ff;
    /* Very bold light blue tint */
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.btn,
.logo {
    font-family: var(--font-heading);
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #111827;
}

@media(min-width: 768px) {
    h1 {
        font-size: 3.2rem;
    }
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.text-gradient {
    background: linear-gradient(to right, #7c3aed, #db2777);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Fallback */
}

.text-highlight {
    color: var(--accent-cyan);
    position: relative;
    z-index: 1;
}

.text-purple {
    color: var(--primary);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grid-2 {
    display: grid;
    gap: 2rem;
}

.grid-3 {
    display: grid;
    gap: 2rem;
}

@media(min-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

.section {
    padding: 4rem 0;
}

.relative {
    position: relative;
}

.bg-pale {
    background: #ffffff;
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 50;
    background: transparent;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.logo-highlight {
    color: var(--accent-cyan);
}

.nav-menu ul {
    display: none;
}

@media(min-width: 768px) {
    .nav-menu ul {
        display: flex;
        gap: 2rem;
        align-items: center;
        list-style: none;
    }

    .nav-menu a {
        font-weight: 600;
        text-decoration: none;
        color: var(--text-muted);
    }

    .nav-menu a:hover {
        color: var(--primary);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--radius-btn);
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-hero);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
}

.btn-nav {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    background: transparent;
}

.btn-nav:hover {
    background: var(--primary);
    color: white;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 5rem;
    background: #e0fbfc;
    /* Light Cyan Background */
    overflow: hidden;
}

.badge-pill {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: white;
    color: var(--primary);
    border: 1px solid var(--primary-light);
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 450px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.discount-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
}

.discount-badge small {
    font-weight: 400;
    color: var(--text-muted);
}

/* Blobs & Images */
.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper-blob {
    position: relative;
    display: flex;
    justify-content: center;
}

.blob-bg {
    position: absolute;
    width: 120%;
    height: 120%;
    z-index: 0;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: blob-bounce 8s infinite alternate;
    opacity: 0.9;
}

.gradient-blob-1 {
    background: var(--gradient-blob-1);
    top: -10%;
    left: -10%;
}

.gradient-blob-2 {
    background: var(--gradient-blob-2);
    transform: rotate(180deg);
}

.hero-img {
    position: relative;
    z-index: 10;
    width: 100%;
    /* Adjusted to full width relative to container limits */
    max-width: 420px;
    /* Increased slightly */
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    /* Added nice shadow instead of crop */
}

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes blob-bounce {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.bg-pink {
    background: var(--accent-pink);
}

.bg-purple {
    background: var(--primary);
}

.bg-cyan {
    background: var(--accent-cyan);
}

.divider-sm {
    width: 50px;
    height: 3px;
    margin: 1rem 0;
    border-radius: 2px;
}

/* Styled Lists for Parents Section */
.check-list-styled {
    list-style: none;
    margin-top: 2rem;
}

.check-list-styled li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: var(--text-main);
}

.check-icon-purple {
    color: var(--primary);
    stroke-width: 3px;
    min-width: 24px;
}

.card-outline {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 1.5rem;
    border-radius: 1rem;
    margin-top: 2rem;
}

.card-outline h3 {
    font-size: 1.2rem;
    color: var(--primary);
}

.rounded-img {
    border-radius: 2rem;
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-card);
}

/* Mobile Menu */
.hamburger {
    display: none;
    /* Add JS toggle logic later if kept, but for basic CSS just hiding on desktop */
}

@media(max-width: 768px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        width: 30px;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .hamburger span {
        height: 3px;
        background: var(--primary);
        width: 100%;
    }

    .nav-menu {
        display: none;
    }
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: white;
    z-index: 100;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: none;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
}

.mobile-menu a {
    display: block;
    font-size: 1.5rem;
    padding: 1rem;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    border: none;
    background: none;
}

/* Discovery Quiz Section */
.quiz-option {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    /* Align marker and text vertically center might be better, or top */
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.quiz-option:hover {
    border-color: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.quiz-option.selected {
    border-color: var(--primary);
    background: #fdf4ff;
    /* Very light purple */
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.option-marker {
    background: #f1f5f9;
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.3s;
}

.quiz-option:hover .option-marker {
    background: var(--primary-light);
    color: white;
}

.quiz-option.selected .option-marker {
    background: var(--primary);
    color: white;
}

.option-text strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.option-text span {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Animation for result */
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-result.visible {
    display: block !important;
    animation: fadeInSlide 0.5s ease forwards;
}

/* Sticky CTA Button */
.sticky-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    padding: 1rem 2rem;
    font-size: 1rem;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.5);
    background: var(--gradient-hero);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid white;
    transform: translateY(100px);
    /* Hidden initially */
    opacity: 0;
}

.sticky-cta.visible {
    transform: translateY(0);
    opacity: 1;
}

.sticky-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.7);
}

/* Modal Popup */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    width: 100%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-card);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #e2e8f0;
    color: var(--text-main);
}

/* --- Mobile Optimization --- */
@media (max-width: 768px) {

    /* Typography Adjustments */
    h1 {
        font-size: 2.2rem;
        /* Smaller heading */
        text-align: center;
        /* Center align for mobile */
    }

    h2 {
        font-size: 1.7rem;
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* Layout Adjustments */
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr !important;
        /* Force single column */
        gap: 2rem;
    }

    .container {
        padding: 0 1.25rem;
        /* Slightly smaller padding */
    }

    /* Hero Section */
    .hero {
        padding-top: 100px;
        padding-bottom: 3rem;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-image-container {
        margin-top: 2rem;
    }

    .hero-img {
        max-width: 320px;
        /* Smaller image on mobile */
    }

    /* Video Section */
    .video-container {
        margin-bottom: 1rem;
    }

    .program-bullets {
        gap: 1.5rem;
    }

    /* Milena Image */
    .cta-image-wrapper img {
        max-width: 100% !important;
        height: auto;
    }

    /* Sticky CTA - Mobile Specific */
    .sticky-cta {
        bottom: 20px;
        right: 20px;
        left: 20px;
        /* Stretch across */
        text-align: center;
        padding: 1rem;
        border-radius: 1rem;
        /* More like a bar */
        justify-content: center;
        display: flex;
        font-size: 1.1rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    }

    /* Quiz Section - Accordion/Compact Stack Style */
    .quiz-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .quiz-option {
        padding: 1rem;
        align-items: center;
        /* Center align marker and text */
        gap: 0.75rem;
    }

    .option-marker {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .option-text strong {
        font-size: 1rem;
        margin-bottom: 0.1rem;
    }

    .option-text span {
        font-size: 0.85rem;
        /* Smaller description */
        display: block;
        /* Ensure it wraps */
    }

    /* Modal Mobile - Disable completely */
    .modal-overlay {
        display: none !important;
    }

    /* Navbar & Logo Centering */
    .navbar-container {
        justify-content: center;
        /* Center logo */
        position: relative;
    }

    .hamburger {
        position: absolute;
        right: 0;
        /* Keep hamburger accessible if needed, or remove if menu is empty */
        top: 50%;
        transform: translateY(-50%);
    }

    /* Hero Spacing & Typography */
    .hero {
        padding-top: 140px;
        /* More air on top */
        padding-bottom: 5rem;
        /* More air on bottom */
    }

    h1 {
        font-size: 2rem;
        /* Even smaller if needed */
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    /* Specific Title Adjustment */
    .title-lg {
        font-size: 1.5rem !important;
        /* Slightly smaller safe size */
        line-height: 1.5;
        /* More breathing room for lines */
        padding: 0.5rem 1rem;
        /* Vertical padding prevents clipping */
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
}