        /* Reset & Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
            background: linear-gradient(135deg, #87CEEB 0%, #B8E5F5 50%, #FCFCF9 100%);
            color: #2c3e50;
            overflow-x: hidden;
            /* Prevent bounce scrolling on Mac */
            overscroll-behavior-y: none;
            width: 100%;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6,
        .overlay-heading,
        .overlay-heading-hero,
        .overlay-heading-accent,
        .story-title,
        .section-title,
        .card-title,
        .scroll-hint,
        .feature-closing,
        .btn-primary {
            font-family: "Pangolin", "Nunito", cursive, sans-serif;
        }

        /* Loading Screen */
        #loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: linear-gradient(135deg, #87CEEB 0%, #B8E5F5 50%, #FCFCF9 100%);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            transition: opacity 0.8s ease-out;
        }

        #loader.hidden {
            opacity: 0;
            pointer-events: none;
        }

        /* Loader Animation */
        .spinner {
            width: 50px;
            height: 50px;
            border: 5px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: #fff;
            animation: spin 1s ease-in-out infinite;
            margin-bottom: 20px;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        #loader p {
            font-size: 1.5rem;
            color: #fff;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        /* Scroll Container (Height determines scroll length) */
        .scroll-container {
            height: 500vh;
            /* Increased from 300vh for slower scroll */
            position: relative;
        }

        /* Sticky Viewport */
        .sticky-wrapper {
            position: sticky;
            top: 0;
            width: 100vw;
            height: 100vh;
            overflow: hidden;
        }

        /* Canvas */
        canvas {
            display: block;
            width: 100%;
            height: 100%;
        }

        #bg-canvas {
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
            /* Ensure it is behind the main canvas */
            filter: blur(20px) brightness(0.8);
            /* heavy blur and slight darkening */
            transform: scale(1.1);
            /* Scale up slightly to hide blur edges */
        }

        /* Text Overlay System */
        .text-overlay {
            position: absolute;
            /* Changed from fixed to scrol away with wrapper */
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /* Match parent height */
            pointer-events: none;
            /* Let clicks pass through to canvas */
            z-index: 2;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .story-beat {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100%;
            max-width: 800px;
            text-align: center;
            opacity: 0;
            transition: opacity 0.5s ease-out;
            pointer-events: none;
            /* Ensure beats don't block canvas */
        }

        /* Beat 1: Intro */
        #beat-1 {
            top: 35%;
            /* Moved up slightly */
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            width: 90%;
            max-width: 800px;
        }

        #beat-1 img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 0 auto -2rem auto;
            /* Negative margin to pull text up (cropping visual gap) */
            filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
            position: relative;
            z-index: 1;
        }

        #beat-1 h2 {
            font-size: 1.8rem;
            color: #2980B9;
            /* Friendly Blue */
            font-weight: 800;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 255, 255, 0.4);
            paint-order: stroke fill;
            margin-bottom: 2rem;
            position: relative;
            z-index: 2;
            /* Ensure it sits on top if overlapping */
        }

        .scroll-hint {
            margin-top: 2rem;
            font-size: 1.4rem;
            color: #2980B9;
            /* Friendly Blue */
            font-weight: 800;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 255, 255, 0.4);
            paint-order: stroke fill;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {

            0%,
            20%,
            50%,
            80%,
            100% {
                transform: translateY(0);
            }

            40% {
                transform: translateY(-10px);
            }

            60% {
                transform: translateY(-5px);
            }
        }

        /* Beat 2: Tension/Middle */
        #beat-2 {
            top: 50%;
            left: 10%;
            width: 40%;
            max-width: 500px;
            transform: translateY(-50%);
        }

        #beat-2 p {
            font-size: 2.2rem;
            line-height: 1.4;
            color: #D35400;
            /* Warm Pumpkin Orange */
            font-weight: 800;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 255, 255, 0.4);
            paint-order: stroke fill;
        }

        #beat-2 .sub-text {
            font-size: 1.6rem;
            color: #D35400;
            /* Warm Pumpkin Orange */
            font-weight: 800;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 255, 255, 0.4);
            paint-order: stroke fill;
            margin-top: 1rem;
        }

        /* Beat 3: Resolution/End */
        #beat-3 {
            top: 30%;
            /* Moved UP to Sky Area (was 60%) */
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            width: 90%;
            max-width: 800px;
        }

        #beat-3 h3 {
            font-size: 2.2rem;
            color: #27AE60;
            /* Natural Forest Green */
            font-weight: 800;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 255, 255, 0.4);
            paint-order: stroke fill;
            margin-bottom: 0.5rem;
        }

        #beat-3 p {
            font-size: 1.5rem;
            color: #27AE60;
            /* Natural Forest Green */
            font-weight: 800;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 255, 255, 0.4);
            paint-order: stroke fill;
        }

        /* Beat 4: Cliffhanger */
        #beat-4 {
            top: 40%;
            left: 50%;
            transform: translate(-50%, -50%);
            /* Fix: center it properly */
            text-align: center;
            width: 90%;
            max-width: 800px;
        }

        #beat-4 h3 {
            font-size: 2.2rem;
            color: #0277bd;
            /* Deep Nature Blue */
            font-weight: 800;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 255, 255, 0.4);
            paint-order: stroke fill;
            margin-bottom: 1rem;
        }

        #beat-4 p {
            font-size: 1.8rem;
            color: #0277bd;
            /* Deep Nature Blue */
            font-weight: 800;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 255, 255, 0.4);
            paint-order: stroke fill;
            font-style: italic;
        }

        /* Beat 5: Final Overlay */
        #beat-5 {
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            /* Center vertically */
            align-items: center;
            background: rgba(255, 255, 255, 0.0);
            /* Transparent */
            text-align: center;
            padding: 2rem;
            pointer-events: none;
            transform: none;
            /* Reset the centering transform from .story-beat */
            justify-content: center;
            /* Ensure strictly centered vertically */
            max-width: none;
            /* Fix: Allow full width for proper centering */
        }

        #interaction-hint {
            position: absolute;
            bottom: 55%;
            /* Changed from 40% to 55% */
            right: 15%;
            /* Adjusted to align better */
            background: #fff;
            padding: 0.8rem 1.5rem;
            border-radius: 20px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            font-size: 1.2rem;
            font-weight: 700;
            color: #2c3e50;
            opacity: 0;
            transition: opacity 0.5s ease;
            animation: bounce-hint 2s infinite ease-in-out;
            pointer-events: none;
            z-index: 20;
        }

        #interaction-hint::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 20px;
            border-width: 10px 10px 0;
            border-style: solid;
            border-color: #fff transparent;
            display: block;
            width: 0;
        }

        @keyframes bounce-hint {

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

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

        /* Make text and buttons clickable again since container is pointer-events: none */
        #beat-5>* {
            pointer-events: auto;
        }

        /* Wrapper for reading clarity */
        .beat-5-content {
            background: transparent;
            /* backdrop-filter: blur(8px); */
            padding: 2rem;
            /* border-radius: 24px; */
            /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
            max-width: 600px;
            margin-bottom: 2rem;
            /* Space for seed interaction? */
        }

        #beat-5 h2 {
            font-size: clamp(28px, 4vw, 40px);
            color: var(--text-main);
            margin-bottom: 1rem;
            font-weight: 700;
        }

        #beat-5 p {
            font-size: 1.3rem;
            color: #2c3e50;
            margin-bottom: 1rem;
            line-height: 1.6;
            max-width: 600px;
        }

        #beat-5 .highlight {
            font-weight: 900;
            color: #E74C3C;
            font-size: 1.5rem;
            margin: 1.5rem 0;
        }

        .btn-overlay {
            display: inline-block;
            margin-top: 1.5rem;
            padding: 1rem 2.5rem;
            background-color: #218085;
            color: #fff;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 700;
            transition: transform 0.2s, box-shadow 0.2s;
            pointer-events: auto;
            /* Enable clicking on buttons */
        }

        .btn-overlay:hover {
            transform: scale(1.05);
        }

        /* Scroll to Top (Floating) */
        .scroll-up-container {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: #fff;
            border-radius: 50%;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s, transform 0.3s;
            z-index: 100;
        }

        .cta-content {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
        }

        .cta-ladybug {
            position: absolute;
            bottom: -15px;
            /* Hanging off the bottom slightly */
            right: 0px;
            width: 70px;
            height: auto;
            transform: rotate(15deg);
            z-index: 10;
            filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
            pointer-events: none;
        }

        .scroll-up-container.visible {
            opacity: 1;
            pointer-events: auto;
        }

        .scroll-up-container:hover {
            transform: translateY(-5px);
        }

        .scroll-up-arrow {
            font-family: "Georgia", serif;
            font-size: 2rem;
            line-height: 1;
            padding-bottom: 5px;
            /* Optically center the arrow */
            color: #2980B9;
        }

        /* Remove text label for floating button */
        .scroll-up-text {
            display: none;
        }

        /* Responsive */
        /* Language Switcher */
        /* Language Switcher */
        /* Language Switcher */
        .lang-switcher {
            position: fixed;
            top: 20px;
            right: 20px;
            display: flex;
            gap: 12px;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            padding: 10px 15px;
            border-radius: 40px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .lang-btn {
            background: none;
            border: 2px solid transparent;
            cursor: pointer;
            padding: 0;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            overflow: hidden;
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s, box-shadow 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .lang-btn img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .lang-btn:hover {
            transform: scale(1.15);
            background-color: transparent;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .lang-btn.active {
            border-color: #218085;
            transform: scale(1.1);
            box-shadow: 0 0 0 4px rgba(33, 128, 133, 0.2);
        }

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

            /* Hero Image */
            #beat-1 img {
                width: 80%;
                /* Smaller on mobile */
            }

            /* Adjust Overlay Headings */
            .overlay-heading-hero {
                font-size: 1.5rem;
                /* Much smaller than desktop */
            }

            .overlay-heading,
            .overlay-heading-accent,
            #beat-5 h2 {
                font-size: 1.8rem;
                /* Cap max size for mobile */
            }

            .overlay-subtitle,
            #beat-5 p {
                font-size: 1.1rem;
            }

            /* Override Beat Text Sizes for Mobile to prevent overflow */
            #beat-1 h2 {
                font-size: 1.5rem;
                text-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 15px rgba(255, 255, 255, 0.7);
            }

            #beat-2 p {
                font-size: 1.6rem;
                text-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 15px rgba(255, 255, 255, 0.7);
            }

            #beat-2 .sub-text {
                font-size: 1.2rem;
                text-shadow: 0 0 5px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.6);
            }

            #beat-3 h3,
            #beat-4 h3 {
                font-size: 1.6rem;
                text-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 15px rgba(255, 255, 255, 0.7);
            }

            #beat-3 p,
            #beat-4 p {
                font-size: 1.2rem;
                text-shadow: 0 0 5px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.6);
            }

            /* Beat 2 (Ayayay) - Needs to fit width */
            #beat-2 {
                left: 5%;
                width: 90%;
                /* Use full width minus margins */
                max-width: none;
            }

            /* Beat 3 & 4 - Ensure they don't overflow */
            #beat-3,
            #beat-4 {
                width: 90%;
            }

            /* Beat Panels - smaller padding */
            .beat-panel,
            #beat-1 .beat-panel,
            #beat-2 .beat-panel,
            #beat-3 .beat-panel,
            #beat-4 .beat-panel {
                padding: 0.8rem 1.2rem;
            }

            /* CTA improvements */
            .cta-content h2 {
                font-size: 2rem;
            }

            .cta-buttons {
                flex-direction: column;
                gap: 1rem;
            }

            .cta-book-cover {
                width: 60%;
                max-width: 250px;
                margin: 0 auto 1.5rem auto;
                display: block;
            }
        }

        /* Emotional Hook Section */
        #hook {
            background-color: #FCFCF9;
            padding: 6rem 2rem;
            width: 100%;
            position: relative;
            z-index: 10;
        }

        .hook-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .hook-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .hook-visual {
            width: 100%;
            aspect-ratio: 4/3;
            background: linear-gradient(135deg, #E6F3F8 0%, #FFF 100%);
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            display: flex;
            justify-content: center;
            align-items: center;
            color: #A0C4D8;
            font-size: 1.2rem;
            position: relative;
            overflow: hidden;
        }

        /* Placeholder decorative element */
        .hook-visual::after {
            content: "Ілюстрація";
            font-weight: 700;
            opacity: 0.5;
        }

        .hook-text h2 {
            font-size: 2.5rem;
            color: #2D5D7B;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .hook-text p {
            font-size: 1.2rem;
            line-height: 1.8;
            color: #2c3e50;
        }

        /* Mobile Adjustments for Hook */
        @media (max-width: 768px) {
            .hook-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .hook-text {
                order: 2;
            }

            .hook-visual {
                order: 1;
            }
        }

        /* Story Preview Cards Section */
        #story-preview {
            background-color: #FCFCF9;
            padding: 4rem 2rem 8rem 2rem;
            width: 100%;
            position: relative;
            z-index: 10;
            border-top: 1px solid rgba(45, 93, 123, 0.1);
        }

        .story-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .story-title {
            text-align: center;
            font-size: 2.5rem;
            color: #2D5D7B;
            margin-bottom: 4rem;
        }

        .cards-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 1.5rem;
        }

        .story-card {
            background: #fff;
            padding: 2rem 1.5rem;
            border-radius: 24px;
            box-shadow: 0 8px 24px rgba(45, 93, 123, 0.08);
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .story-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 15px 35px rgba(45, 93, 123, 0.15);
        }

        .card-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 4.5rem;
            /* Ensure consistent height with images */
        }

        .custom-emoji {
            height: 5.5rem;
            /* Made slightly larger */
            width: auto;
            object-fit: contain;
            /* Blend the white background into the page */
            mix-blend-mode: multiply;
            /* Increase contrast slightly to make them pop against the blend */
            filter: contrast(1.1) brightness(1.05);
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .story-card:hover .custom-emoji {
            transform: scale(1.15) rotate(8deg);
        }

        .card-title {
            color: #2D5D7B;
            font-size: 1.1rem;
            font-weight: 900;
            margin-bottom: 0.5rem;
            text-transform: uppercase;
        }

        .card-text {
            color: #5D7B8F;
            font-size: 0.95rem;
            line-height: 1.5;
        }

        /* Responsive Cards */
        @media (max-width: 1024px) {
            .cards-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 2rem;
            }
        }

        @media (max-width: 768px) {
            .cards-grid {
                /* Horizontal Scroll on Mobile */
                display: flex;
                overflow-x: auto;
                scroll-snap-type: x mandatory;
                padding-bottom: 2rem;
                gap: 1rem;
                -webkit-overflow-scrolling: touch;
            }

            .story-card {
                min-width: 260px;
                scroll-snap-align: center;
            }

            .story-title {
                font-size: 1.8rem;
                margin-bottom: 2rem;
            }
        }

        /* Learning Section */
        #learning-section {
            background-color: #FCFCF9;
            padding: 4rem 2rem;
            width: 100%;
            position: relative;
            z-index: 10;
        }

        .learning-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr 1fr;
            gap: 2rem;
            max-width: 900px;
            margin: 0 auto;
        }

        .learning-card {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(0, 0, 0, 0.03);
            border-radius: 24px;
            padding: 2rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.4s ease, box-shadow 0.4s ease;
        }

        .learning-card:hover {
            transform: translateY(-8px) scale(1.02);
            background: #fff;
            box-shadow: 0 12px 30px rgba(74, 111, 138, 0.12);
        }

        .learning-icon {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
        }

        .learning-card h3 {
            color: #4A6F8A;
            margin-bottom: 0.5rem;
            font-size: 1.3rem;
        }

        /* Unique Feature Section */
        #unique-feature {
            background-color: #E8F5E9;
            padding: 6rem 2rem;
            width: 100%;
            position: relative;
            z-index: 10;
        }

        .feature-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
        }

        .feature-image-container {
            width: 100%;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(46, 125, 50, 0.1);
            /* Optional: if you want to enforce aspect ratio, uncomment below */
            aspect-ratio: 1/1;
        }

        .feature-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }



        .feature-text h2 {
            font-size: 2.5rem;
            color: #2E7D32;
            margin-bottom: 1.5rem;
        }

        .feature-text p {
            font-size: 1.2rem;
            line-height: 1.6;
            color: #1B5E20;
            margin-bottom: 2rem;
        }

        .feature-list {
            list-style: none;
            padding: 0;
            margin-bottom: 2rem;
        }

        .feature-list li {
            font-size: 1.1rem;
            color: #2E7D32;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
        }

        .feature-closing {
            font-weight: 700;
            color: #1B5E20;
            font-size: 1.3rem;
        }

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

            .feature-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .feature-image-container {
                order: 1;
            }

            .feature-text {
                order: 2;
            }

            .learning-card {
                padding: 1.5rem;
                background: #fff !important;
                /* Ensure it's white on mobile */
            }

            .story-card {
                background: #fff !important;
                /* Ensure it's white on mobile */
            }
        }

        /* Final CTA Section */
        #cta-section {
            background: linear-gradient(135deg, #FCFCF9 0%, #E3F2FD 50%, #FCFCF9 100%);
            padding: 6rem 2rem;
            width: 100%;
            position: relative;
            z-index: 10;
            text-align: center;
        }

        /* Book Preview Section */
        #book-preview {
            background-color: #FCFCF9;
            padding: 6rem 2rem;
            text-align: center;
        }

        .preview-carousel {
            max-width: 900px;
            margin: 3rem auto 0;
            display: flex;
            /* Simplified carousel display for now */
            gap: 2rem;
            overflow-x: auto;
            padding-bottom: 2rem;
            scroll-snap-type: x mandatory;
        }

        .preview-spread {
            flex: 0 0 80%;
            max-width: 600px;
            aspect-ratio: 16/9;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            scroll-snap-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ccc;
            font-weight: 700;
            position: relative;
        }

        .preview-spread:nth-child(even) {
            background: #F9FAFB;
        }

        .preview-spread::after {
            content: "Розворот сторінок";
            opacity: 0.5;
        }

        /* Audience Section */
        #audience-section {
            background-color: #fff;
            padding: 6rem 2rem;
            text-align: center;
            /* Center section title */
        }

        .section-title {
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: #2c3e50;
            font-weight: 800;
        }

        .audience-content {
            max-width: 1000px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
        }

        .audience-column {
            display: flex;
            flex-direction: column;
            align-items: center;
            /* Center children */
        }

        .audience-column h3 {
            font-size: 1.8rem;
            color: #2D5D7B;
            margin-bottom: 2rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            border-bottom: 2px solid #E3F2FD;
            padding-bottom: 1rem;
            display: inline-block;
        }

        .audience-list {
            list-style: none;
            text-align: left;
            /* Keep text aligned left for readability */
        }

        .audience-list li {
            font-size: 1.2rem;
            color: #5D7B8F;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
        }

        .audience-list li::before {
            content: "•";
            color: #218085;
            font-size: 2rem;
            line-height: 0;
            margin-right: 1rem;
        }

        @media (max-width: 768px) {
            .audience-content {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

            .preview-spread {
                flex: 0 0 90%;
            }
        }


        /* 3D Book Styles */
        .book-scene {
            width: 260px;
            height: 360px;
            margin: 0 auto 3rem auto;
            perspective: 1500px;
            position: relative;
            z-index: 5;
        }

        .book-3d {
            width: 100%;
            height: 100%;
            position: relative;
            transform-style: preserve-3d;
            transform: rotateY(-15deg) rotateX(5deg);
            transition: transform 0.1s ease-out;
            will-change: transform;
            transform-origin: center center;
        }

        .book-face {
            position: absolute;
            background-color: #fff;
            box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
        }

        /* Dimensions */
        :root {
            --book-w: 260px;
            --book-h: 360px;
            --book-d: 40px;
            /* Thicker book */
        }

        /* Front (Cover) */
        .book-front {
            width: var(--book-w);
            height: var(--book-h);
            left: 0;
            top: 0;
            transform: translateZ(calc(var(--book-d) / 2));
            z-index: 2;
            background-image: url('../assets/book_full_layout.jpg');
            background-size: 205% 100%;
            background-position: right center;
            border-radius: 2px 4px 4px 2px;
        }

        /* Back */
        .book-back {
            width: var(--book-w);
            height: var(--book-h);
            left: 0;
            top: 0;
            transform: rotateY(180deg) translateZ(calc(var(--book-d) / 2));
            background-image: url('../assets/book_full_layout.jpg');
            background-size: 205% 100%;
            background-position: left center;
            border-radius: 4px 2px 2px 4px;
        }

        /* Spine (Left) */
        .book-spine {
            width: var(--book-d);
            height: var(--book-h);
            left: calc((var(--book-w) - var(--book-d)) / 2);
            top: 0;
            transform: translateX(calc(var(--book-w) / -2)) rotateY(-90deg);
            background-image: url('../assets/book_full_layout.jpg');
            background-size: auto 100%;
            background-position: center center;
            border-radius: 2px;
        }

        /* Right (Pages) */
        .book-right {
            width: var(--book-d);
            height: var(--book-h);
            left: calc((var(--book-w) - var(--book-d)) / 2);
            top: 0;
            transform: translateX(calc(var(--book-w) / 2)) rotateY(90deg);
            background: #fff;
            background-image:
                linear-gradient(90deg, #e0e0e0 0%, #fff 10%, #fff 90%, #e0e0e0 100%),
                repeating-linear-gradient(0deg, #e0e0e0 0px, #e0e0e0 1px, #fff 1px, #fff 4px);
            background-size: 100% 100%, 100% 8px;
        }

        /* Top */
        .book-top {
            width: var(--book-w);
            height: var(--book-d);
            left: 0;
            top: calc((var(--book-h) - var(--book-d)) / 2);
            transform: translateY(calc(var(--book-h) / -2)) rotateX(90deg);
            background: #fff;
            background-image:
                linear-gradient(90deg, #e0e0e0 0%, #fff 10%, #fff 90%, #e0e0e0 100%),
                repeating-linear-gradient(90deg, #e0e0e0 0px, #e0e0e0 1px, #fff 1px, #fff 4px);
            background-size: 100% 100%, 100% 8px;
        }

        /* Bottom */
        .book-bottom {
            width: var(--book-w);
            height: var(--book-d);
            left: 0;
            top: calc((var(--book-h) - var(--book-d)) / 2);
            transform: translateY(calc(var(--book-h) / 2)) rotateX(-90deg);
            background: #fff;
            background-image:
                linear-gradient(90deg, #e0e0e0 0%, #fff 10%, #fff 90%, #e0e0e0 100%),
                repeating-linear-gradient(90deg, #e0e0e0 0px, #e0e0e0 1px, #fff 1px, #fff 4px);
            background-size: 100% 100%, 100% 8px;
            box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
        }

        /* Specific Icon Adjustments */

        /* Story Preview: General size up */
        #story-preview .custom-emoji {
            height: 6rem;
            /* Base size increased */
        }

        /* Story Preview: Card 4 (First Steps/Sprout) 10% bigger */
        #story-preview .story-card:nth-child(4) .custom-emoji {
            height: 6.6rem;
        }

        /* Learning Section: Card 1 (Strength) and 4 (Patience) bigger */
        #learning-section .learning-card:nth-child(1) .custom-emoji,
        #learning-section .learning-card:nth-child(4) .custom-emoji {
            height: 7rem;
            /* Bigger than others */
        }

        /* Learning Section Hover Effect */
        #learning-section .learning-card .custom-emoji {
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        #learning-section .learning-card:hover .custom-emoji {
            transform: scale(1.15);
            /* Scale up on hover */
        }

        @media (max-width: 768px) {
            .book-scene {
                width: 180px;
                height: 252px;
            }

            :root {
                --book-w: 180px;
                --book-h: 252px;
                --book-d: 25px;
                /* Thinner on mobile but proportional */
            }

            /* Adjust mobile icon sizes if needed, or let them inherit/scale */
            #story-preview .custom-emoji {
                height: 5rem;
            }

            #story-preview .story-card:nth-child(4) .custom-emoji {
                height: 5.5rem;
            }
        }



        .cta-content h2 {
            font-size: 2.8rem;
            color: #2D5D7B;
            margin-bottom: 1rem;
            line-height: 1.2;
        }

        .cta-content p {
            font-size: 1.3rem;
            color: #5D7B8F;
            margin-bottom: 3rem;
            max-width: 600px;
        }

        .cta-buttons {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
        }

        .btn-primary {
            background-color: #218085;
            color: #fff;
            font-size: 1.2rem;
            font-weight: 700;
            padding: 1rem 3rem;
            border-radius: 50px;
            text-decoration: none;
            box-shadow: 0 8px 24px rgba(33, 128, 133, 0.4);
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
            display: inline-block;
        }

        .btn-primary:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 12px 30px rgba(33, 128, 133, 0.6);
        }

        .btn-secondary {
            color: #218085;
            font-size: 1rem;
            text-decoration: underline;
            text-underline-offset: 4px;
            cursor: pointer;
            background: none;
            border: none;
            padding: 0.5rem;
            transition: color 0.2s ease;
        }

        .btn-secondary:hover {
            color: #175d61;
        }

        /* Footer */
        footer {
            background-color: #F0F4F8;
            padding: 2rem;
            text-align: center;
            color: #7F94A1;
            font-size: 0.9rem;
            position: relative;
            z-index: 10;
        }

        .footer-links {
            margin-bottom: 0.5rem;
            font-weight: 700;
            color: #5D7B8F;
        }