/* Color Palette: High-Contrast, Kid-Friendly, Vibrant Tones */
:root {
    --color-dark: #22223B;
    --kids-blue: #3A86FF;
    --kids-pink: #FF006E;
    --kids-yellow: #FFBE0B;
    --kids-purple: #8338EC;
    --kids-green: #38B000;
    --kids-orange: #FF6700;
    --kids-teal: #00F5D4;
}

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

body {
    font-family: 'Fredoka', sans-serif;
    background-color: #FFFDF6;
    color: var(--color-dark);
    overflow-x: hidden;
}

/* --- HEADER NAVIGATION --- */
/* --- RESPONSIVE MASTER HEADER & MOBILE DRAWER --- */
.master-header {
    background-color: #FFFFFF;
    border-bottom: 4px solid #EAE6DF;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* Stays locked on top of all section layers while scrolling */
    padding: 12px 16px;
    font-family: 'Fredoka', sans-serif;
}

@media (min-width: 768px) {
    .master-header {
        padding: 16px 32px;
    }
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Brand Logo Layout */
.brand-logo-anchor {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-graphic {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.brand-name-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
}

/* Base Horizontal Desktop Menu System */
.nav-drawer-menu {
    display: block;
}

.nav-links-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.nav-links-list a {
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: color 0.2s ease;
}

.nav-links-list a:hover {
    color: var(--kids-pink);
}

/* Tiny Header Download Button */
.nav-btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--kids-yellow);
    padding: 8px 18px;
    border-radius: 20px;
    border: 2px solid var(--color-dark);
    box-shadow: 0 4px 0 var(--color-dark);
    transition: all 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 var(--color-dark);
    background-color: var(--kids-green);
    color: var(--color-dark) !important;
}

/* --- MOBILE SPECIFIC LAYOUT TRANSITIONS (UNDER 768px) --- */
@media (max-width: 767px) {

    /* Hamburger Button Construction */
    .mobile-nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1100;
    }

    .hamburger-bar {
        width: 100%;
        height: 3px;
        background-color: var(--color-dark);
        border-radius: 4px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* Animated Morph from Hamburger into a close 'X' */
    .mobile-nav-toggle.is-active .hamburger-bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-nav-toggle.is-active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-toggle.is-active .hamburger-bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Transform the layout container into the sliding Drawer Overlay */
    .nav-drawer-menu {
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden completely past the screen view bounds by default */
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: #FFFDF6;
        /* Clean theme cream backing background */
        border-left: 4px solid var(--color-dark);
        padding: 100px 24px 40px 24px;
        box-shadow: -10px 0 0px rgba(34, 34, 59, 0.05);
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1050;
    }

    /* Dynamic open class triggered by inline click action */
    .nav-drawer-menu.is-open {
        right: 0;
        /* Slides smoothly into physical layout view */
    }

    .nav-links-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .nav-links-list a {
        font-size: 22px;
        /* Oversized thumb click friendly scaling */
        width: 100%;
        display: block;
    }

    .nav-action-item {
        width: 100%;
        margin-top: 16px;
    }

    .nav-btn-download {
        width: 100%;
        justify-content: center;
        padding: 14px;
        font-size: 18px;
    }
}

/* Hide Hamburger completely on standard desktops */
@media (min-width: 768px) {
    .mobile-nav-toggle {
        display: none;
    }
}

/* --- HERO SHOWCASE AREA --- */
.hero-section {
    padding: 60px 16px;
    position: relative;
    background: linear-gradient(135deg, #FFF5E6 0%, #FFDEE9 50%, #B5FFFC 100%);
    min-height: calc(100vh - 66px);
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Strict containment boundary */
}

@media (min-width: 768px) {
    .hero-section {
        padding: 80px 32px;
        min-height: calc(100vh - 88px);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 5;
    width: 100%;
}

@media (min-width: 900px) {
    .hero-container {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 60px;
    }
}

/* Soft ambient backdrop cloud graphics */
.bg-cloud {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
    z-index: 1;
}

.cloud-1 {
    width: 150px;
    height: 150px;
    background-color: #FFF;
    top: 5%;
    left: 2%;
}

.cloud-2 {
    width: 180px;
    height: 180px;
    background-color: #FFE5EC;
    bottom: 10%;
    right: 5%;
}

.cloud-3 {
    width: 120px;
    height: 120px;
    background-color: #E8F0FE;
    top: 35%;
    left: 40%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 900px) {
    .hero-content {
        align-items: flex-start;
        text-align: left;
    }
}

.fun-tagline {
    display: inline-block;
    background-color: #FFF0BF;
    color: #C68B00;
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 16px;
    border: 2px dashed var(--kids-yellow);
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 48px;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 56px;
    }
}

.text-pop-yellow {
    color: var(--kids-yellow);
    text-shadow: 2px 2px 0px var(--color-dark);
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.5;
    color: #33334D;
    margin-bottom: 32px;
    max-width: 480px;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 12px;
    border-radius: 16px;
    backdrop-filter: blur(5px);
}

/* Kids 3D Pop Badges Container */
.store-buttons-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}

@media (min-width: 900px) {
    .store-buttons-container {
        justify-content: flex-start;
    }
}

.store-card {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    flex: 1 1 180px;
    max-width: 240px;
    transition: all 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-pink-pop {
    background-color: var(--kids-pink);
    box-shadow: 0 6px 0 #B5004E;
}

.btn-pink-pop:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #B5004E;
}

.btn-pink-pop:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 #B5004E;
}

.btn-blue-pop {
    background-color: var(--kids-blue);
    box-shadow: 0 6px 0 #1B56B8;
}

.btn-blue-pop:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #1B56B8;
}

.btn-blue-pop:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 #1B56B8;
}

.store-emoji {
    font-size: 24px;
    margin-right: 12px;
}

.store-meta {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-meta small {
    font-size: 10px;
    opacity: 0.9;
    text-transform: uppercase;
    font-weight: 600;
}

.store-meta strong {
    font-size: 15px;
    font-weight: 700;
}

/* --- INTERACTIVE PHONE CANVAS --- */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.interactive-stage {
    position: relative;
    padding: 20px;
}

.kid-phone-bezel {
    width: 220px;
    height: 440px;
    background-color: #FFAA00;
    border: 6px solid var(--color-dark);
    border-radius: 36px;
    padding: 10px;
    box-shadow: 0 12px 0px rgba(34, 34, 59, 0.15);
    position: relative;
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .kid-phone-bezel {
        width: 290px;
        height: 580px;
        border: 8px solid var(--color-dark);
        border-radius: 48px;
        padding: 14px;
        box-shadow: 0 20px 0px rgba(34, 34, 59, 0.15);
    }
}

.phone-camera-lens {
    width: 12px;
    height: 12px;
    background-color: var(--color-dark);
    border-radius: 50%;
    margin: 0 auto 8px auto;
}

.phone-screen-area {
    width: 100%;
    height: calc(100% - 20px);
    border-radius: 24px;
    overflow: hidden;
    border: 3px solid var(--color-dark);
    background-color: #FFFFFF;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- CONFINED FLOATING ALPHABET BUBBLES --- */
.pop-bubble {
    position: absolute;
    width: 44px;
    height: 44px;
    border: 3px solid var(--color-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    z-index: 2;
    /* Sandwiched safely under text elements */
    box-shadow: 0 4px 0 rgba(34, 34, 59, 0.2);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.5);
}

@media (min-width: 768px) {
    .pop-bubble {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
}

/* Strict safe interior coordinates (Percentages prevent viewport breakout) */
.bubble-position-1 {
    top: 5%;
    left: 3%;
    animation: float-up-down 3.2s infinite alternate;
}

.bubble-position-2 {
    top: 22%;
    left: 1%;
    animation: float-up-down 4.1s infinite alternate-reverse;
}

.bubble-position-3 {
    top: 40%;
    left: 4%;
    animation: float-up-down 3.5s infinite alternate;
}

.bubble-position-4 {
    top: 62%;
    left: 2%;
    animation: float-up-down 4.5s infinite alternate-reverse;
}

.bubble-position-5 {
    bottom: 5%;
    left: 3%;
    animation: float-up-down 3.8s infinite alternate;
}

.bubble-position-6 {
    bottom: 8%;
    left: 25%;
    animation: float-up-down 4.2s infinite alternate-reverse;
}

.bubble-position-7 {
    top: 4%;
    left: 28%;
    animation: float-up-down 3.9s infinite alternate;
}

.bubble-position-8 {
    top: 2%;
    left: 55%;
    animation: float-up-down 4.7s infinite alternate-reverse;
}

.bubble-position-9 {
    top: 6%;
    right: 28%;
    animation: float-up-down 3.3s infinite alternate;
}

.bubble-position-10 {
    top: 3%;
    right: 4%;
    animation: float-up-down 4.4s infinite alternate-reverse;
}

.bubble-position-11 {
    top: 20%;
    right: 2%;
    animation: float-up-down 3.6s infinite alternate;
}

.bubble-position-12 {
    top: 42%;
    right: 3%;
    animation: float-up-down 4.9s infinite alternate-reverse;
}

.bubble-position-13 {
    top: 65%;
    right: 1%;
    animation: float-up-down 3.7s infinite alternate;
}

.bubble-position-14 {
    bottom: 4%;
    right: 4%;
    animation: float-up-down 4.3s infinite alternate-reverse;
}

.bubble-position-15 {
    bottom: 5%;
    right: 26%;
    animation: float-up-down 3.1s infinite alternate;
}

.bubble-position-16 {
    bottom: 15%;
    left: 46%;
    animation: float-up-down 5.0s infinite alternate-reverse;
}

/* Micro-responsive pruning for compact smartphone viewports */
@media (max-width: 767px) {

    .bubble-position-3,
    .bubble-position-4,
    .bubble-position-6,
    .bubble-position-7,
    .bubble-position-8,
    .bubble-position-9,
    .bubble-position-13,
    .bubble-position-15,
    .bubble-position-16 {
        display: none;
    }
}

/* Color Mappings */
.color-blue {
    background-color: var(--kids-blue);
}

.color-pink {
    background-color: var(--kids-pink);
}

.color-yellow {
    background-color: var(--kids-yellow);
}

.color-purple {
    background-color: var(--kids-purple);
}

.color-green {
    background-color: var(--kids-green);
}

.color-orange {
    background-color: var(--kids-orange);
}

.color-teal {
    background-color: var(--kids-teal);
}

.text-dark {
    color: var(--color-dark);
}

/* Hover Actions */
.pop-bubble:hover {
    transform: scale(1.35) rotate(20deg);
    z-index: 10;
}

.pop-bubble:active {
    transform: scale(0.9) rotate(-10deg);
}

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

    100% {
        transform: translateY(-12px);
    }
}

@media (min-width: 768px) {
    @keyframes float-up-down {
        0% {
            transform: translateY(0px);
        }

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







/* --- SECTION 2: INTRODUCTION & OVERVIEW --- */
.intro-section {
    padding: 60px 16px;
    background-color: #FFFFFF;
    /* High contrast clean break from the gradient hero */
    position: relative;
    border-top: 4px solid #EAE6DF;
}

@media (min-width: 768px) {
    .intro-section {
        padding: 90px 32px;
    }
}

.intro-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 900px) {
    .intro-container {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 70px;
    }
}

/* Brand Spotlight Left Card Styling */
.intro-visual-card {
    background-color: #FFFDF6;
    border: 4px solid var(--color-dark);
    border-radius: 32px;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 12px 0px rgba(34, 34, 59, 0.08);
}

@media (min-width: 768px) {
    .intro-visual-card {
        padding: 60px 40px;
        border-radius: 40px;
    }
}

.sparkle-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    background-color: var(--kids-pink);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    border: 3px solid var(--color-dark);
}

.logo-spotlight-wrapper {
    max-width: 220px;
    margin: 0 auto;
    animation: gentle-wobble 6s infinite ease-in-out;
}

@media (min-width: 768px) {
    .logo-spotlight-wrapper {
        max-width: 280px;
    }
}

.intro-logo-graphic {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.mini-accent-dots {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 12px;
}

/* Right Side Copy Content Typography */
.intro-text-content {
    display: flex;
    flex-direction: column;
}

.intro-heading {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-dark);
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .intro-heading {
        font-size: 40px;
    }
}

.text-highlight-green {
    color: var(--kids-green);
    position: relative;
    display: inline-block;
}

.intro-paragraph {
    font-size: 16px;
    line-height: 1.6;
    color: #4A4A68;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .intro-paragraph {
        font-size: 18px;
    }
}

/* Micro Feature Badges inside Intro */
.mini-feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.feature-pill {
    background-color: #F0F7FF;
    border: 2px solid var(--kids-blue);
    color: var(--color-dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.pill-icon {
    margin-right: 8px;
    font-size: 16px;
}

/* Soft standalone keyframe wobble animation for logo spotlight */
@keyframes gentle-wobble {

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

    50% {
        transform: translateY(-8px) rotate(1.5deg);
    }
}


/* --- SECTION 3: FEATURES PLAYGROUND --- */

/* --- INTERACTIVE SECTION HEADER STYLES --- */

.section-header-block {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px auto;
    padding: 0 16px;
}

/* The Ultimate Toy-Button Tagline */
.interactive-tagline-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--kids-yellow);
    color: var(--color-dark);
    border: 3px solid var(--color-dark);
    padding: 10px 22px;
    border-radius: 40px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 6px 0 var(--color-dark);
    margin-bottom: 24px;
    transform-origin: center;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Fun hover reactions designed for children's curiosity */
.interactive-tagline-btn:hover {
    background-color: var(--kids-teal);
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 8px 0 var(--color-dark);
}

/* Clicking or tapping presses the button completely down */
.interactive-tagline-btn:active {
    transform: scale(0.95) translateY(4px);
    box-shadow: 0 2px 0 var(--color-dark);
}

/* JavaScript toggle effect when tapped: does a full happy backflip spin */
.interactive-tagline-btn.is-popped {
    animation: happy-backflip 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    background-color: var(--kids-pink);
    color: white;
}

/* Micro-animations inside the tagline items */
.interactive-tagline-btn:hover .tag-emoji {
    animation: rocket-launch 0.4s ease infinite alternate;
}

.interactive-tagline-btn:hover .tag-sparkle {
    animation: sparkle-twist 0.5s linear infinite;
}

.text-pop-pink {
    color: var(--kids-pink);
    text-shadow: 2px 2px 0px rgba(34, 34, 59, 0.15);
}

/* --- ANIMATION ENGINE KEYS --- */
@keyframes rocket-launch {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(4px, -4px) scale(1.2);
    }
}

@keyframes sparkle-twist {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.3);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes happy-backflip {
    0% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.2) rotate(-180deg);
    }

    100% {
        transform: scale(1) rotate(-360deg);
    }
}

/* cards start here */
.features-section {
    padding: 60px 16px;
    background-color: #FFFDF6;
    /* Soft cream background */
    position: relative;
    border-top: 4px solid #EAE6DF;
}

@media (min-width: 768px) {
    .features-section {
        padding: 90px 32px;
    }
}

/* Central Section Header Formatting */
.section-header-block {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 48px auto;
}

.sparkle-tag {
    display: inline-block;
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 16px;
    border: 2px solid var(--color-dark);
}

.sparkle-tag.color-orange {
    background-color: var(--kids-orange);
}

.section-main-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .section-main-title {
        font-size: 42px;
    }
}

.section-subtitle-text {
    font-size: 16px;
    line-height: 1.5;
    color: #4A4A68;
}

@media (min-width: 768px) {
    .section-subtitle-text {
        font-size: 18px;
    }
}

/* Features Grid Matrix */
.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    /* Default mobile presentation is stacked */
    gap: 24px;
}

@media (min-width: 640px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 2x2 grid on tablets */
}

@media (min-width: 1024px) {
    .features-container {
        grid-template-columns: repeat(4, 1fr);
    }

    /* 4 columns wide on screens */
}



/* Individual Feature Card blocks */
.feature-card-block {
    background-color: #FFFFFF;
    border: 3px solid var(--color-dark);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Micro-asymmetrical offsets for a toy box puzzle effect */
@media (min-width: 768px) {
    .feature-card-block:nth-child(odd) {
        transform: rotate(-1deg);
    }

    .feature-card-block:nth-child(even) {
        transform: rotate(1deg);
    }

    .feature-card-block:nth-child(odd):hover {
        transform: scale(1.04) rotate(1deg);
        z-index: 2;
    }

    .feature-card-block:nth-child(even):hover {
        transform: scale(1.04) rotate(-1deg);
        z-index: 2;
    }
}

/* Bottom shadow popping mechanics */
.border-blue {
    box-shadow: 0 8px 0 var(--kids-blue);
}

.border-pink {
    box-shadow: 0 8px 0 var(--kids-pink);
}

.border-yellow {
    box-shadow: 0 8px 0 var(--kids-yellow);
}

.border-purple {
    box-shadow: 0 8px 0 var(--kids-purple);
}

/* Floating circular icon badge inside individual features */
.card-icon-badge {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    border: 2px solid var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.bg-light-blue {
    background-color: #E6F0FF;
}

.bg-light-pink {
    background-color: #FFE5F1;
}

.bg-light-yellow {
    background-color: #FFF9E6;
}

.bg-light-purple {
    background-color: #F3EAFE;
}

.card-feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.card-feature-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #4A4A68;
    margin-bottom: 24px;
    flex-grow: 1;
    /* Pushes the category badges uniformly to the bottom baseline */
}

/* Lower accent classification metadata tag */
.card-footer-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

.text-blue {
    color: var(--kids-blue);
}

.text-pink {
    color: var(--kids-pink);
}

.text-yellow {
    color: #B38600;
}

/* Slightly darkened for higher accessibility contrast */
.text-purple {
    color: var(--kids-purple);
}

/* --- UPDATED/NEW CSS FOR THE 6-CARD GRID --- */

/* Adjusting the grid layout for 6 items: 1 col on mobile, 2 cols on tablet, 3 cols on desktop */
@media (min-width: 1024px) {
    .features-container {
        grid-template-columns: repeat(3, 1fr);
        /* Forms a clean, balanced 3x2 grid layout on desktop */
    }
}

/* Extra Border Shadows for new theme items */
.border-orange {
    box-shadow: 0 8px 0 var(--kids-orange);
}

.border-green {
    box-shadow: 0 8px 0 var(--kids-green);
}

.border-teal {
    box-shadow: 0 8px 0 var(--kids-teal);
}

/* Extra Backgrounds for new feature badges */
.bg-light-orange {
    background-color: #FFF0E6;
}

.bg-light-green {
    background-color: #EAF7E1;
}

.bg-light-teal {
    background-color: #E6FBF7;
}

/* Extra Footer Text colors for high contrast design compliance */
.text-orange {
    color: var(--kids-orange);
}

.text-green {
    color: var(--kids-green);
}

.text-teal {
    color: #00A38D;
}

/* Slightly deeper teal tone for typography scanning */


/* --- SECTION 4: PARENT REVIEWS BOARD --- */
.reviews-section {
    padding: 60px 16px;
    background-color: #FFFFFF;
    /* Bright, clean breakout */
    border-top: 4px solid #EAE6DF;
    position: relative;
}

@media (min-width: 768px) {
    .reviews-section {
        padding: 90px 32px;
    }
}

.reviews-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    /* Stacks vertically perfectly on mobile */
    gap: 32px;
}

@media (min-width: 900px) {
    .reviews-grid-container {
        grid-template-columns: repeat(3, 1fr);
        /* Spreads into a 3-column wall on desktop */
    }
}

/* Whimsical Cartoon Speech Bubble Design */
.review-bubble-card {
    background-color: #FFFDF6;
    border: 3px solid var(--color-dark);
    border-radius: 28px;
    padding: 28px;
    position: relative;
    box-shadow: 0 8px 0 rgba(34, 34, 59, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.review-bubble-card:hover {
    transform: translateY(-4px);
}

/* Playful star container banner */
.star-rating {
    font-size: 13px;
    font-weight: 700;
    color: #C68B00;
    background-color: #FFF0BF;
    padding: 4px 12px;
    border-radius: 20px;
    align-self: flex-start;
    margin-bottom: 16px;
    border: 1px solid var(--kids-yellow);
}

.review-text {
    font-size: 15px;
    line-height: 1.6;
    color: #4A4A68;
    font-style: italic;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Reviewer Profile Footer Grid */
.reviewer-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 2px dashed #EAE6DF;
    padding-top: 16px;
}

.reviewer-avatar {
    font-size: 28px;
    background-color: #FFFFFF;
    border: 2px solid var(--color-dark);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.reviewer-meta strong {
    display: block;
    font-size: 15px;
    color: var(--color-dark);
}

.reviewer-meta small {
    font-size: 12px;
    color: #8888A0;
    font-weight: 600;
}


/* --- SECTION 5: CURIOSITY FAQS --- */
.faq-section {
    padding: 60px 16px;
    background-color: #FFFDF6;
    /* Cozily matches the features layout */
    border-top: 4px solid #EAE6DF;
    position: relative;
}

@media (min-width: 768px) {
    .faq-section {
        padding: 90px 32px;
    }
}

.faq-accordion-container {
    max-width: 800px;
    /* Kept tightly focused to read beautifully on desktops and tablets */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Individual Puzzle Row Block styling */
.faq-puzzle-item {
    background-color: #FFFFFF;
    border: 3px solid var(--color-dark);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 0 rgba(34, 34, 59, 0.04);
    transition: all 0.2s ease;
}

/* Native summary element toggle block */
.faq-puzzle-header {
    padding: 20px 24px;
    list-style: none;
    /* Strip native browser triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    color: var(--color-dark);
    user-select: none;
}

/* Strip secondary arrow support on Webkit browsers */
.faq-puzzle-header::-webkit-details-marker {
    display: none;
}

@media (min-width: 768px) {
    .faq-puzzle-header {
        font-size: 19px;
    }
}

.faq-puzzle-toggle {
    font-size: 16px;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--kids-blue);
}

/* Subtle visual glow up when hovering a card prompt */
.faq-puzzle-item:hover {
    border-color: var(--kids-blue);
    box-shadow: 0 6px 0 rgba(58, 134, 255, 0.15);
}

/* Custom CSS state engine mapping when the element is clicked/opened */
.faq-puzzle-item[open] {
    border-color: var(--kids-purple);
    box-shadow: 0 8px 0 rgba(131, 56, 236, 0.1);
}

.faq-puzzle-item[open] .faq-puzzle-toggle {
    transform: rotate(180deg) scale(1.2);
    color: var(--kids-purple);
}

/* Inside reveal paragraph slide container */
.faq-puzzle-body {
    padding: 0 24px 24px 24px;
    border-top: 2px dashed #EAE6DF;
    background-color: #FCFAf5;
}

.faq-puzzle-body p {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.6;
    color: #4A4A68;
}

@media (min-width: 768px) {
    .faq-puzzle-body p {
        font-size: 16px;
    }
}


/* --- SECTION 4: INTERACTIVE SCREEN CAROUSEL --- */
.carousel-section {
    padding: 60px 16px;
    background-color: #FFFDF6;
    /* Cream color contrast bridge */
    border-top: 4px solid #EAE6DF;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .carousel-section {
        padding: 90px 32px;
    }
}

/* Horizontal Scroll Snap Track System */
.carousel-viewport-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 16px 40px 16px;
    scroll-snap-type: x mandatory;
    /* Forces mobile viewports to snap directly to individual screens */
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Hide standard ugly scrollbar tracks on Firefox */
}

/* Hide standard scrollbars for Webkit engines (Chrome/Safari) */
.carousel-viewport-track::-webkit-scrollbar {
    display: none;
}

/* Individual Device Card Block dimensions */
.carousel-screen-card {
    flex: 0 0 240px;
    /* Locked width constraint for clear mobile scaling */
    scroll-snap-align: center;
    /* Locks directly into the center screen anchor on touch swipe */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .carousel-screen-card {
        flex: 0 0 280px;
    }

    /* Scales up slightly on larger desktop viewports */
}

/* Playful Device Bezel Wrapper */
.card-screen-frame {
    width: 100%;
    aspect-ratio: 1 / 2;
    /* Perfectly matches your iPhone screenshot shape */
    background-color: var(--color-dark);
    border: 6px solid var(--color-dark);
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 10px 0px rgba(34, 34, 59, 0.1);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 16px;
}

.carousel-screen-card:hover .card-screen-frame {
    transform: translateY(-8px) scale(1.03);
    border-color: var(--kids-pink);
    box-shadow: 0 14px 0px rgba(255, 0, 110, 0.15);
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Captions under device slots */
.screen-caption-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark);
    margin-top: 8px;
}

/* Helper prompt visible only on smaller mobile swiping layers */
.swipe-indicator-badge {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #8888A0;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@media (min-width: 1024px) {
    .swipe-indicator-badge {
        display: none;
    }

    /* Hidden on large displays where mouse track pads rule */
    .carousel-viewport-track {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Spreads flat across large desktops */
}

.swipe-hand {
    animation: side-shiver 1s infinite alternate ease-in-out;
}

@keyframes side-shiver {
    0% {
        transform: translateX(-3px);
    }

    100% {
        transform: translateX(3px);
    }
}

/* --- MASTER FOOTER ARCHITECTURE --- */
.master-footer {
    background-color: #22223B;
    /* Deep night canvas contrast */
    color: #FFFFFF;
    padding: 60px 16px 20px 16px;
    border-top: 6px solid var(--kids-purple);
    font-family: 'Fredoka', sans-serif;
}

@media (min-width: 768px) {
    .master-footer {
        padding: 80px 32px 30px 32px;
    }
}

/* 4-Column Fluid Grid Layout */
.footer-grid-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    /* Stack vertically on phones */
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.1);
}

@media (min-width: 600px) {
    .footer-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 2x2 grid layout on small tablets */
}

@media (min-width: 960px) {
    .footer-grid-wrapper {
        grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    }

    /* Balanced row layout on desktop */
}

/* Brand Area Styling */
.footer-brand-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-box {
    max-width: 120px;
    height: 40px;
    margin-bottom: 16px;
    background-color: rgba(255, 255, 255, 0.95);
    /* High logo legibility contrast fallback */
    padding: 6px 12px;
    border-radius: 12px;
}

.footer-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-summary-text {
    font-size: 14px;
    line-height: 1.6;
    color: #C3C3E6;
    margin-bottom: 20px;
}

/* Interactive Cartoon Social Media Row */
.social-links-row {
    display: flex;
    gap: 12px;
}

.social-bubble {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-bubble:hover {
    transform: scale(1.2) rotate(8deg);
    background-color: var(--kids-pink);
    border-color: var(--color-dark);
}

/* Nav Columns Formatting */
.footer-column-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--kids-teal);
    margin-bottom: 20px;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    color: #C3C3E6;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-links-list a:hover {
    color: var(--kids-yellow);
    transform: translateX(4px);
}

/* Action Area & Small Download Button */
.footer-action-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #C3C3E6;
    margin-bottom: 16px;
}

.btn-micro-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--kids-pink);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    padding: 10px 20px;
    border-radius: 30px;
    border: 2px solid var(--color-dark);
    box-shadow: 0 4px 0 var(--color-dark);
    transition: all 0.15s ease;
}

.btn-micro-download:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 var(--color-dark);
    background-color: var(--kids-blue);
}

.btn-micro-download:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 var(--color-dark);
}

/* Copyright Row Foundation Layout */
.footer-bottom-baseline {
    padding-top: 24px;
}

.baseline-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .baseline-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.copyright-line,
.made-with-line {
    font-size: 13px;
    color: #8585A3;
    font-weight: 600;
}



/* --- DOWNLOAD PAGE LAYOUT STYLES --- */
.download-page-hero {
    padding: 60px 16px;
    background: radial-gradient(circle at 80% 20%, rgba(255, 190, 11, 0.15), transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(255, 0, 110, 0.1), transparent 50%),
        #FFFDF6;
    /* Matches the soft theme cream background */
    text-align: center;
    position: relative;
    border-bottom: 4px solid #EAE6DF;
}

@media (min-width: 768px) {
    .download-page-hero {
        padding: 100px 32px;
    }
}

.download-hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.download-badge {
    background-color: var(--kids-purple);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 20px;
    border: 2px solid var(--color-dark);
    box-shadow: 0 4px 0 var(--color-dark);
}

.download-main-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .download-main-title {
        font-size: 54px;
    }
}

.download-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #4A4A68;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

@media (min-width: 768px) {
    .download-subtitle {
        font-size: 19px;
    }
}

/* Big Platform Store Cards Matrix */
.download-matrix-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    align-items: center;
    max-width: 650px;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .download-matrix-grid {
        flex-direction: row;
    }
}

.download-platform-card {
    background-color: #FFFFFF;
    border: 3px solid var(--color-dark);
    border-radius: 28px;
    padding: 32px 24px;
    flex: 1;
    width: 100%;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease;
}

/* Distinct kid-friendly color tracks for different operating systems */
.platform-apple {
    box-shadow: 0 10px 0 var(--kids-pink);
}

.platform-apple:hover {
    border-color: var(--kids-pink);
}

.platform-android {
    box-shadow: 0 10px 0 var(--kids-green);
}

.platform-android:hover {
    border-color: var(--kids-green);
}

.download-platform-card:hover {
    transform: translateY(-6px);
}

.download-platform-card:active {
    transform: translateY(4px);
}

.platform-apple:active {
    box-shadow: 0 2px 0 var(--kids-pink);
}

.platform-android:active {
    box-shadow: 0 2px 0 var(--kids-green);
}

.platform-huge-emoji {
    font-size: 54px;
    margin-bottom: 16px;
    display: block;
}

.platform-device-label {
    font-size: 14px;
    font-weight: 700;
    color: #8888A0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.platform-action-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.platform-badge-pill {
    background-color: #F0F4F8;
    color: var(--color-dark);
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    border: 2px solid #EAE6DF;
}

/* Trust Sandbox Mini Badge */
.download-trust-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    background-color: #EAF7E1;
    border: 2px solid var(--kids-green);
    padding: 10px 20px;
    border-radius: 30px;
    color: var(--color-dark);
    font-size: 14px;
    font-weight: 600;
}

/* --- PRIVACY POLICY PAGE STYLES --- */
.legal-page-hero {
    padding: 50px 16px 30px 16px;
    background-color: #FFFDF6;
    /* Cozily matches our soft theme background */
    text-align: center;
    border-bottom: 2px dashed #EAE6DF;
}

.legal-hero-container h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .legal-hero-container h1 {
        font-size: 42px;
    }
}

.legal-meta-date {
    font-size: 14px;
    color: #8888A0;
    font-weight: 600;
}

/* Document Reading Body Box */
.legal-content-section {
    padding: 40px 16px 80px 16px;
    background-color: #FFFFFF;
}

.legal-text-container {
    max-width: 760px;
    /* Kept perfectly sized for clear readability */
    margin: 0 auto;
    font-family: 'Fredoka', sans-serif;
}

.legal-text-container h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 32px 0 16px 0;
    border-bottom: 2px solid #F0F4F8;
    padding-bottom: 8px;
}

.legal-text-container p,
.legal-text-container li {
    font-size: 15px;
    line-height: 1.7;
    color: #4A4A68;
    margin-bottom: 16px;
}

.legal-text-container ul {
    margin-bottom: 20px;
    padding-left: 24px;
}

.legal-text-container li {
    margin-bottom: 8px;
}

/* Callout Box Highlight for Parents */
.privacy-highlight-box {
    background-color: #EAF7E1;
    border: 2px solid var(--kids-green);
    border-radius: 20px;
    padding: 24px;
    margin: 24px 0;
}

.privacy-highlight-box h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.privacy-highlight-box p {
    margin-bottom: 0;
    font-size: 14.5px;
}




/* --- CONTACT PAGE STYLES --- */
.contact-page-hero {
    padding: 60px 16px 40px 16px;
    background: radial-gradient(circle at 20% 30%, rgba(76, 201, 240, 0.15), transparent 45%), #FFFDF6;
    text-align: center;
    border-bottom: 3px solid #EAE6DF;
}

.contact-hero-container {
    max-width: 750px;
    margin: 0 auto;
}

/* Expressive Feature Demand Accent Card */
.feature-demand-card {
    background: linear-gradient(135deg, #FFF0F5, #FFFDF6);
    border: 3px dashed var(--kids-pink);
    border-radius: 24px;
    padding: 30px 24px;
    margin: 32px auto;
    max-width: 600px;
    box-shadow: 0 8px 0 rgba(255, 0, 110, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-demand-card::before {
    content: "🎁";
    position: absolute;
    font-size: 80px;
    opacity: 0.07;
    bottom: -10px;
    right: -10px;
}

.feature-demand-title {
    font-size: 22px;
    color: var(--color-dark);
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-demand-title span {
    color: var(--kids-pink);
    text-decoration: underline;
}

.feature-demand-text {
    font-size: 15px;
    line-height: 1.6;
    color: #4A4A68;
    margin-bottom: 0;
}

/* Large Interactive Social Buttons */
.contact-social-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 500px;
    margin: 40px auto 20px auto;
}

@media (min-width: 550px) {
    .contact-social-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-social-item {
    background-color: #FFFFFF;
    border: 3px solid var(--color-dark);
    border-radius: 20px;
    padding: 24px 16px;
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 700;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease;
}

.contact-social-item span {
    font-size: 40px;
    transition: transform 0.2s ease;
}

/* Color definitions for the hover tracks */
.c-instagram {
    box-shadow: 0 6px 0 var(--kids-pink);
}

.c-instagram:hover {
    border-color: var(--kids-pink);
}

.c-facebook {
    box-shadow: 0 6px 0 #4cc9f0;
}

.c-facebook:hover {
    border-color: #4cc9f0;
}

.c-youtube {
    box-shadow: 0 6px 0 #ff4d4d;
}

.c-youtube:hover {
    border-color: #ff4d4d;
}

.contact-social-item:hover {
    transform: translateY(-5px);
}

.contact-social-item:hover span {
    transform: scale(1.15) rotate(5deg);
}

.contact-social-item:active {
    transform: translateY(3px);
}

.c-instagram:active {
    box-shadow: 0 2px 0 var(--kids-pink);
}

.c-facebook:active {
    box-shadow: 0 2px 0 #4cc9f0;
}

.c-youtube:active {
    box-shadow: 0 2px 0 #ff4d4d;
}