:root {
    --km-pink: #FF6B8B;
    --km-pink-hover: #ff5277;
    --km-teal: #4ECDC4;
    --km-yellow: #FFD166;
    --km-purple: #9D4EDD;
    --km-blue: #118AB2;
    --km-green: #06D6A0;
    --km-dark: #2B2D42;
    --km-light: #F9F9F9;
    --km-bg: #F0F4F8; /* Soft blue-grayish background */
}

body.kids-body {
    background-color: var(--km-bg);
    background-image: radial-gradient(#FFD166 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    font-family: 'Nunito', sans-serif;
    color: var(--km-dark);
}

.kids-fun-font {
    font-family: 'Fredoka', cursive !important;
}

/* KİDS HERO BÖLÜMÜ */
.kids-hero {
    background: linear-gradient(135deg, rgba(78,205,196,1) 0%, rgba(157,78,221,1) 100%);
    position: relative;
    padding: 100px 15px 150px;
    overflow: hidden;
    color: white;
    text-align: center;
}

.kids-hero::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 60px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V120H0Z" style="fill:%23F0F4F8"></path></svg>') no-repeat bottom;
    background-size: cover;
    z-index: 2;
}

.kids-hero .floating-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: floatUp 10s infinite linear;
}

@keyframes floatUp {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: translateY(-100px) scale(1.5); opacity: 0; }
}

.kids-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
}

.kids-hero-tag {
    background: var(--km-yellow);
    color: var(--km-dark);
    font-weight: 800;
    padding: 5px 20px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 20px;
    font-size: 1.1rem;
    box-shadow: 0 4px 0 #E5A822;
    transform: rotate(-2deg);
}

.kids-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.kids-hero-title span {
    color: var(--km-yellow);
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.kids-hero-desc {
    font-size: 1.3rem;
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: 30px;
    line-height: 1.6;
}

.kids-btn {
    background: var(--km-pink);
    color: white;
    font-family: 'Fredoka', cursive;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 8px 0 var(--km-pink-hover), 0 15px 20px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.kids-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 0 var(--km-pink-hover), 0 20px 25px rgba(0,0,0,0.25);
    color: white;
}

.kids-btn:active {
    transform: translateY(8px);
    box-shadow: 0 0px 0 var(--km-pink-hover);
}

/* SAMPLES (ÖRNEKLER BÖLÜMÜ) */
.samples-section {
    padding: 60px 15px;
    position: relative;
    z-index: 5;
}

.sample-book-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 4px solid white;
    position: relative;
}

.sample-book-card:hover {
    transform: translateY(-15px) rotate(2deg);
    border-color: var(--km-yellow);
    box-shadow: 0 25px 45px rgba(255, 209, 102, 0.3);
}

.sample-img-wrapper {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect ratio */
    overflow: hidden;
    background: #f8f9fa;
}

.sample-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sample-book-card:hover .sample-img-wrapper img {
    transform: scale(1.1);
}

.sample-overlay {
    position: absolute;
    top: 0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.sample-book-card:hover .sample-overlay {
    opacity: 1;
}

.sample-overlay i {
    font-size: 3rem;
    color: white;
    transform: scale(0);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sample-book-card:hover .sample-overlay i {
    transform: scale(1);
}

.sample-info {
    padding: 20px;
    text-align: center;
    background: white;
}

.sample-title {
    font-family: 'Fredoka', cursive;
    font-size: 1.4rem;
    color: var(--km-purple);
    margin: 0;
}

/* HOW IT WORKS (KIDS STYLE) */
.how-it-works-kids {
    background: white;
    border-radius: 40px;
    padding: 50px 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    margin-top: -30px;
    position: relative;
    z-index: 10;
    border: 4px dashed #eee;
}

.hiw-step {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s;
}
.hiw-step:hover {
    transform: translateY(-10px);
}

.hiw-icon-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--km-bg);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

.hiw-icon-container i {
    font-size: 2.5rem;
    z-index: 2;
}

.hiw-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 35px;
    height: 35px;
    background: var(--km-pink);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: 'Fredoka', cursive;
    font-size: 1.2rem;
    box-shadow: 0 4px 0 #d94b68;
    z-index: 3;
}

.hiw-title {
    font-family: 'Fredoka', cursive;
    color: var(--km-dark);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.hiw-desc {
    color: #6c757d;
    font-weight: 600;
    line-height: 1.5;
}

/* KİDS FORM BÖLÜMÜ GÜNCELLEMELERİ */
.kids-form-container {
    background: transparent;
    border: none;
    box-shadow: none;
    margin-top: 50px;
}

.step-header .step-number {
    border-color: var(--km-purple);
    color: var(--km-purple);
    background: white;
    width: 80px; height: 80px;
    font-size: 2.5rem;
    border-width: 6px;
    box-shadow: 0 10px 0 var(--km-purple);
}

.step-header .step-title {
    color: var(--km-dark);
    font-size: 2.8rem;
    text-shadow: 2px 2px 0 var(--km-yellow);
}

.product-card {
    border-radius: 30px;
    border: 4px solid transparent;
}
.product-card.selected {
    border-color: var(--km-green);
    background: #f0fff4;
    box-shadow: 0 20px 40px rgba(6, 214, 160, 0.2);
}

/* MEDIA QUERIES */
@media (max-width: 768px) {
    .kids-hero-title { font-size: 2.5rem; }
    .kids-hero { padding: 80px 15px 120px; }
}
