/* kidoks — intentionally very playful, child-first visual direction */

:root {
    --primary: #65C83D;
    --primary-light: #8DDF62;
    --primary-dark: #347B1C;
    --primary-bg: #EEFFE5;
    --primary-border: #BCEBA5;
    --accent: #7657F6;
    --accent-light: #9A84FF;
    --accent-bg: #F0ECFF;
    --warning: #F04F78;
    --warning-bg: #FFF0F5;
    --yellow: #FFD84D;
    --pink: #FF7EB6;
    --blue: #57CFE1;
    --purple: #7657F6;
    --orange: #FF9F43;
    --ink: #29233A;
    --bg-color: #FFF9E9;
    --text-main: #29233A;
    --text-muted: #625A72;
    --text-light: #8A8298;
    --white: #FFFFFF;
    --border-radius-sm: 16px;
    --border-radius: 24px;
    --border-radius-lg: 34px;
    --border-radius-xl: 48px;
    --shadow-sm: 0 4px 0 #29233A;
    --shadow: 0 7px 0 #29233A;
    --shadow-md: 0 10px 0 #29233A;
    --shadow-lg: 0 14px 0 rgba(41, 35, 58, .95);
    --glow-primary: 0 7px 0 #29233A;
    --grad-primary: linear-gradient(135deg, #72D747, #54B935);
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Nunito', system-ui, sans-serif;
    background: var(--bg-color);
    color: var(--ink);
    line-height: 1.65;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', 'Nunito', sans-serif;
    color: var(--ink);
    font-weight: 650;
    line-height: 1.08;
    letter-spacing: -.025em;
}
p { color: var(--text-muted); }
.container { max-width: 1260px; padding-left: 30px; padding-right: 30px; }
.section { padding: 105px 0; }

/* playful dots used throughout */
.hero::after,
.features-visual-section::after,
.testimonials-section::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--pink);
    box-shadow: 42px 30px 0 var(--yellow), 82px -8px 0 var(--blue), 115px 34px 0 var(--purple);
    pointer-events: none;
}

/* navigation */
.navbar {
    top: 12px;
    left: 20px;
    width: calc(100% - 40px);
    background: rgba(255,255,255,.97);
    border: 3px solid var(--ink);
    border-radius: 22px;
    box-shadow: 0 6px 0 var(--ink);
}
.nav-container { height: 72px; }
.logo-wordmark { width: 122px; }
.nav-links { gap: 30px; }
.nav-links a {
    color: var(--ink);
    font-family: 'Fredoka', sans-serif;
    font-size: .98rem;
    font-weight: 600;
}
.nav-links a:nth-child(1):hover { color: var(--purple); }
.nav-links a:nth-child(2):hover { color: #E54883; }
.nav-links a:nth-child(3):hover { color: #168A98; }
.nav-actions .btn-secondary { display: none; }
@media (min-width: 768px) { .nav-actions .btn-secondary { display: inline-flex; } }

/* buttons */
.btn {
    min-height: 48px;
    padding: 11px 23px;
    border: 3px solid var(--ink);
    border-radius: 999px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    font-weight: 650;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn-primary {
    background: var(--primary);
    color: var(--ink);
    border-color: var(--ink);
    box-shadow: 0 6px 0 var(--ink);
}
.btn-primary:hover {
    background: var(--yellow);
    color: var(--ink);
    border-color: var(--ink);
    box-shadow: 0 2px 0 var(--ink);
    transform: translateY(4px);
    filter: none;
}
.btn-secondary {
    background: #FFFFFF;
    color: var(--ink);
    border: 3px solid var(--ink);
    backdrop-filter: none;
    box-shadow: 0 5px 0 var(--ink);
}
.btn-secondary:hover {
    background: #F1ECFF;
    color: var(--ink);
    border-color: var(--ink);
    transform: translateY(3px);
    box-shadow: 0 2px 0 var(--ink);
}
.btn-large { min-height: 58px; padding: 15px 31px; font-size: 1.08rem; }

/* hero */
.hero {
    padding-top: 168px;
    padding-bottom: 104px;
    background:
        radial-gradient(circle at 10% 20%, rgba(255,216,77,.55), transparent 25%),
        radial-gradient(circle at 90% 25%, rgba(255,126,182,.34), transparent 24%),
        linear-gradient(145deg, #FFF9E9 0%, #F0FFE8 100%);
}
.hero::before {
    top: 105px;
    right: 4%;
    width: 110px;
    height: 110px;
    border: 12px solid var(--yellow);
    background: transparent;
    border-radius: 48% 52% 46% 54%;
    transform: rotate(14deg);
}
.hero::after { top: 150px; left: 6%; }
.hero-container { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 90px; }
.hero-content { max-width: 610px; }
.hero-eyebrow {
    margin-bottom: 22px;
    padding: 8px 15px;
    border: 3px solid var(--ink);
    border-radius: 999px;
    background: var(--yellow);
    color: var(--ink);
    font-family: 'Fredoka', sans-serif;
    font-size: .86rem;
    font-weight: 650;
    transform: rotate(-2deg);
    box-shadow: 0 4px 0 var(--ink);
}
.hero-content h1 {
    max-width: 660px;
    margin-bottom: 25px;
    font-size: clamp(3.6rem, 6vw, 5.5rem);
    line-height: .98;
    letter-spacing: -.055em;
    background: none;
    color: var(--purple);
    -webkit-text-fill-color: currentColor;
    text-shadow: 3px 4px 0 #FFFFFF;
}
.hero-content p { max-width: 570px; margin-bottom: 35px; font-size: 1.18rem; color: #514866; }
.hero-buttons { gap: 15px; }
.hero-image { max-width: 510px; transform: rotate(2deg); }
.hero-photo {
    width: 100%;
    height: 585px;
    max-height: none;
    border: 5px solid var(--ink);
    border-radius: 52px 28px 52px 28px;
    box-shadow: 13px 14px 0 var(--yellow), 18px 19px 0 var(--ink);
    animation: none;
}
.floating-badge {
    padding: 12px 17px;
    border: 3px solid var(--ink);
    border-radius: 16px;
    color: var(--ink);
    font-family: 'Fredoka', sans-serif;
    font-size: .87rem;
    background: #FFFFFF;
    box-shadow: 0 6px 0 var(--ink);
    animation: wiggle 4s ease-in-out infinite;
}
.badge-1 { right: -26px; background: #E9FFDE; }
.badge-2 { left: -32px; background: #E9F9FF; animation-delay: 1s; }
@keyframes wiggle { 0%,100% { transform: rotate(-1deg); } 50% { transform: rotate(2deg) translateY(-7px); } }

/* trust strip */
.trust-strip { padding: 20px 0; background: var(--purple); border: 0; }
.trust-container { gap: 14px; padding: 0 30px; }
.trust-item {
    min-height: 72px;
    padding: 16px 18px;
    background: #FFFFFF;
    border: 3px solid var(--ink);
    border-radius: 18px;
    box-shadow: 0 5px 0 var(--ink);
    color: var(--ink);
    font-family: 'Fredoka', sans-serif;
    font-size: .88rem;
    font-weight: 600;
}
.trust-item:nth-child(2) { background: #FFF1F7; }
.trust-item:nth-child(3) { background: #FFF9D6; }
.trust-item:nth-child(4) { background: #E7FAFF; }
.trust-item:hover { background: var(--yellow); box-shadow: 0 2px 0 var(--ink); transform: translateY(3px); }
.trust-item svg { color: var(--purple); }

/* headings and shared content */
.section-header { max-width: 790px; margin-bottom: 72px; }
.section-header h2, .split-content h2, .section-study-time h2 {
    font-size: clamp(2.65rem, 4.3vw, 3.75rem);
    color: var(--purple);
}
.section-subtitle { margin-top: 18px; font-size: 1.12rem; }
.split-container { gap: 88px; }
.split-content { max-width: 570px; }
.feature-list li { margin-bottom: 18px; color: #5B5369; font-size: 1.04rem; }
.feature-list li svg { padding: 2px; color: var(--ink); background: var(--yellow); border: 2px solid var(--ink); border-radius: 50%; }
.bg-white { background: #FFFFFF6E; }

/* feature showcase */
.features-visual-section {
    position: relative;
    padding: 112px 0;
    background: #F1ECFF;
    overflow: hidden;
}
.features-visual-section::after { top: 100px; right: 10%; }
.features-blob-wrap { min-height: 555px; margin-bottom: 80px; }
.feat-blob {
    width: 460px;
    height: 460px;
    background: var(--yellow);
    opacity: 1;
    border: 5px solid var(--ink);
    box-shadow: 12px 12px 0 var(--pink);
}
.feat-photo {
    width: 325px;
    height: 445px;
    border: 5px solid var(--ink);
    border-radius: 32px;
    box-shadow: 9px 9px 0 var(--blue);
}
.feat-float-card {
    padding: 20px;
    background: #FFFFFF;
    border: 3px solid var(--ink);
    border-radius: 22px;
    box-shadow: 0 8px 0 var(--ink);
    backdrop-filter: none;
}
.feat-left { left: 1%; width: 310px; transform: translateY(-50%) rotate(-2deg); }
.feat-right { right: 1%; width: 260px; transform: translateY(-50%) rotate(2deg); background: #F4FFF0; }
.feat-bottom { width: 330px; background: #FFF4D1; }
.feat-app-icon { border: 2px solid var(--ink); border-radius: 12px; }
.feat-blocked-row { background: #FFF0F5; }
.feat-highlight {
    min-height: 96px;
    padding: 20px;
    background: #FFFFFF;
    border: 3px solid var(--ink);
    border-radius: 20px;
    box-shadow: 0 6px 0 var(--ink);
    color: var(--ink);
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
}
.feat-highlight:nth-child(2) { background: #FFF4D1; }
.feat-highlight:nth-child(3) { background: #E8FAFF; }
.feat-highlight:nth-child(4) { background: #ECFFE2; }
.feat-highlight:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 10px 0 var(--ink); }

/* feature detail sections */
.feature-detail { position: relative; }
.section-teal { background: #E5FBFF; }
.section-purple-light { background: #FFEAF3; }
.placeholder-visual {
    min-height: 480px;
    padding: 52px;
    background: var(--yellow);
    border: 4px solid var(--ink);
    border-radius: 44px 24px 44px 24px;
    box-shadow: 10px 10px 0 var(--pink);
}
.section-teal .placeholder-visual { background: #CFF5FA; box-shadow: 10px 10px 0 var(--purple); }
.visual-card {
    max-width: 460px;
    padding: 30px;
    background: #FFFFFF;
    border: 3px solid var(--ink);
    border-radius: 24px;
    box-shadow: 0 8px 0 var(--ink);
}
.badge { border: 2px solid var(--ink); color: var(--ink); }
.alert-mockup { border: 2px solid var(--ink); border-radius: 16px; }
.bucket {
    padding: 18px 20px;
    background: #FFFFFF;
    border: 3px solid var(--ink);
    border-left: 8px solid var(--pink);
    border-radius: 18px;
    box-shadow: 0 5px 0 var(--ink);
}
.bucket:nth-child(1) { background: #EDFFE5; border-color: var(--ink); border-left-color: var(--primary); }
.bucket:nth-child(2) { background: #F0ECFF; border-color: var(--ink); border-left-color: var(--purple); }
.bucket:nth-child(3) { background: #F4F1F6; border-color: var(--ink); border-left-color: #8E8798; }
.bucket:hover { transform: translateX(6px) rotate(-1deg); box-shadow: 0 7px 0 var(--ink); }
.shadow-img, .photo-rounded {
    min-height: 510px;
    border: 5px solid var(--ink);
    border-radius: 36px 20px 36px 20px;
    box-shadow: 11px 11px 0 var(--yellow);
}

/* study */
.section-study-time { background: #FFF9E9; }
.study-focus-visual {
    max-width: 560px;
    height: 540px;
    background: #F0ECFF;
    border: 4px solid var(--ink);
    border-radius: 48px;
    box-shadow: 10px 10px 0 var(--blue);
    overflow: hidden;
}
.study-circle-bg { width: 420px; height: 420px; background: var(--yellow); border: 4px solid var(--ink); }
.study-photo-container { width: 370px; height: 370px; border: 6px solid #FFFFFF; box-shadow: 0 0 0 4px var(--ink); }
.study-photo-img { border-radius: 50%; box-shadow: none; }
.study-card-floating {
    left: 15px;
    background: #FFFFFF;
    border: 3px solid var(--ink);
    border-radius: 18px;
    box-shadow: 0 6px 0 var(--ink);
    animation: wiggle 5s infinite;
}
.floating-app-badge { animation: wiggle 4s infinite; }
.app-icon-wrap { border: 3px solid var(--ink); }
.app-lock-badge { border: 2px solid var(--ink); }

/* cards */
.feature-grid-2 { background: #FFFFFF; }
.grid-2 { gap: 28px; }
.card {
    min-height: 315px;
    background: #FFFFFF;
    border: 4px solid var(--ink);
    border-radius: 30px;
    box-shadow: 0 9px 0 var(--ink);
}
.card:nth-child(1) { background: #E8FAFF; transform: rotate(-1deg); }
.card:nth-child(2) { background: #FFF0F6; transform: rotate(1deg); }
.card:hover { transform: translateY(-5px) rotate(0); box-shadow: 0 13px 0 var(--ink); }
.p-8 { padding: 44px; }
.card-icon { width: 62px; height: 62px; border: 3px solid var(--ink); border-radius: 18px; background: var(--yellow); }
.card h3 { margin-bottom: 15px; font-size: 1.55rem; color: var(--purple); }

/* privacy */
.bg-indigo, .privacy-section {
    background: var(--purple);
    border-top: 5px solid var(--ink);
    border-bottom: 5px solid var(--ink);
}
.bg-indigo::before { background: var(--pink); opacity: .25; }
.bg-indigo::after { background: var(--yellow); opacity: .25; }
.privacy-section h2 { color: #FFFFFF; text-shadow: 3px 3px 0 var(--ink); }
.privacy-section .text-light, .white-list li { color: #FFFFFF; }
.white-list li svg { background: var(--yellow); color: var(--ink); }

/* world and reviews */
.testimonials-section {
    position: relative;
    padding: 110px 0;
    background: #FFF4D8;
}
.testimonials-section::before { display: none; }
.testimonials-section::after { top: 120px; left: 8%; }
.world-map-wrap {
    max-width: 1080px;
    background: #FFFFFF;
    border: 4px dashed var(--purple);
    border-radius: 38px;
}
.world-map-img { opacity: .35; }
.map-pin::after { border-color: var(--purple); }
.pin-photo .pin-bubble, .pin-empty .pin-bubble { background: var(--pink); }
.map-cta-below { margin: 22px 0 66px; }
.review-card {
    padding: 28px;
    background: #FFFFFF;
    border: 3px solid var(--ink);
    border-radius: 24px;
    box-shadow: 0 7px 0 var(--ink);
}
.review-card:nth-child(2) { background: #F1EDFF; transform: rotate(-1deg); }
.review-card:nth-child(3) { background: #E9FAFF; transform: rotate(1deg); }
.review-card:hover { transform: translateY(-5px); box-shadow: 0 11px 0 var(--ink); }
.review-stars { color: var(--orange); }

/* final call to action */
.final-cta { padding: 110px 30px; background: #E9FAFF; }
.final-cta .cta-container {
    max-width: 1190px;
    min-height: 450px;
    padding: 84px 60px;
    background: var(--yellow);
    border: 5px solid var(--ink);
    border-radius: 55px 28px 55px 28px;
    box-shadow: 14px 14px 0 var(--pink), 19px 19px 0 var(--ink);
}
.cta-container::before { background: #FFFFFF; opacity: .22; }
.cta-container::after { display: block; background: var(--blue); opacity: .35; }
.final-cta .cta-container h2 {
    max-width: 780px;
    color: var(--purple);
    font-size: clamp(3rem, 4.8vw, 4.25rem);
    text-shadow: 3px 3px 0 #FFFFFF;
}
.final-cta .cta-container p { max-width: 660px; color: var(--ink); font-size: 1.16rem; }
.final-cta .final-cta-button {
    min-width: 210px;
    min-height: 62px;
    padding: 16px 34px;
    background: var(--purple);
    color: #FFFFFF;
    border: 4px solid var(--ink);
    border-radius: 999px;
    font-size: 1.08rem;
    box-shadow: 0 7px 0 var(--ink);
}
.final-cta .final-cta-button:hover {
    background: var(--pink);
    color: var(--ink);
    border-color: var(--ink);
    box-shadow: 0 2px 0 var(--ink);
    transform: translateY(5px);
}

/* footer */
.footer { padding: 76px 0 38px; background: var(--ink); border-top: 8px solid var(--purple); }
.footer-links h4 { color: var(--yellow); }
.footer-links a { color: #CFC8DE; }
.footer-links a:hover { color: var(--pink); transform: translateX(4px); }
.footer-bottom { border-color: #4D4561; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media (max-width: 991px) {
    .hero-container { grid-template-columns: 1fr; gap: 70px; }
    .hero-content { max-width: 730px; }
    .hero-image { max-width: 600px; }
    .split-container { gap: 58px; }
    .split-content { max-width: 680px; }
}

@media (max-width: 900px) {
    .feat-left, .feat-right, .feat-bottom {
        width: min(100%, 420px);
        transform: none;
    }
}

@media (max-width: 768px) {
    .container { padding-left: 20px; padding-right: 20px; }
    .section { padding: 78px 0; }
    .navbar { top: 8px; left: 10px; width: calc(100% - 20px); border-radius: 18px; }
    .navbar .container { padding-left: 14px; padding-right: 14px; }
    .nav-container { height: 64px; }
    .logo-wordmark { width: 104px; }
    .nav-actions .btn-primary { min-height: 39px; padding: 7px 12px; border-width: 2px; font-size: .8rem; box-shadow: 0 4px 0 var(--ink); }
    .hero { padding-top: 128px; padding-bottom: 80px; }
    .hero-content h1 { font-size: clamp(3.05rem, 14vw, 4rem); }
    .hero-content p { font-size: 1.04rem; }
    .hero-photo { height: 475px; border-radius: 38px 20px; box-shadow: 8px 9px 0 var(--yellow), 12px 13px 0 var(--ink); }
    .floating-badge { font-size: .72rem; padding: 9px 11px; }
    .badge-1 { right: -3px; }
    .badge-2 { left: -3px; }
    .trust-container { padding: 0 20px; }
    .trust-item { flex: 1 1 46%; min-height: 80px; border: 2px solid var(--ink); }
    .section-header { margin-bottom: 50px; }
    .section-header h2, .split-content h2, .section-study-time h2 { font-size: 2.55rem; }
    .placeholder-visual { min-height: 360px; padding: 24px; border-radius: 32px 18px; box-shadow: 7px 7px 0 var(--pink); }
    .visual-card { padding: 22px; }
    .study-focus-visual { height: 390px; border-radius: 34px; }
    .study-circle-bg { width: 250px; height: 250px; }
    .study-photo-container { width: 220px; height: 220px; }
    .p-8 { padding: 30px; }
    .card { min-height: 0; transform: none !important; }
    .final-cta { padding: 80px 22px 92px; }
    .final-cta .cta-container { min-height: 420px; padding: 62px 22px; border-radius: 38px 20px; box-shadow: 9px 9px 0 var(--pink), 13px 13px 0 var(--ink); }
    .final-cta .cta-container h2 { font-size: 2.75rem; }
}

@media (max-width: 430px) {
    .hero-buttons .btn { width: 100%; }
    .trust-item { flex-basis: 100%; }
    .floating-badge { max-width: 178px; }
}
