:root {
    --crayon-red: #FF6B6B;
    --crayon-orange: #FFA94D;
    --crayon-yellow: #FFD93D;
    --crayon-green: #6BCB77;
    --crayon-blue: #4D96FF;
    --crayon-purple: #9B72CF;
    --crayon-pink: #FF8FAB;
    --warm-cream: #FFF8EE;
    --warm-cream-dark: #FFF0D6;
    --soft-brown: #8B6F47;
    --dark-text: #3D2C1E;
    --body-text: #5C4733;
    --shadow-warm: rgba(139, 111, 71, 0.12);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Nunito', sans-serif;
    background: var(--warm-cream);
    color: var(--body-text);
    overflow-x: hidden;
    line-height: 1.7;
}
h1, h2, h3, h4, h5 {
    font-family: 'Baloo 2', cursive;
    color: var(--dark-text);
    line-height: 1.3;
}

/* Grain overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
    contain: strict;
}

/* Floating dots */
.crayon-dots { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.crayon-dot { position: absolute; border-radius: 50%; opacity: 0.07; animation: floatDot 20s infinite ease-in-out; will-change: transform; contain: strict; }
.crayon-dot:nth-child(1) { width: 300px; height: 300px; background: var(--crayon-red); top: 5%; left: -5%; }
.crayon-dot:nth-child(2) { width: 200px; height: 200px; background: var(--crayon-blue); top: 20%; right: -3%; animation-delay: -5s; }
.crayon-dot:nth-child(3) { width: 250px; height: 250px; background: var(--crayon-yellow); top: 50%; left: 10%; animation-delay: -10s; }
.crayon-dot:nth-child(4) { width: 180px; height: 180px; background: var(--crayon-green); top: 70%; right: 5%; animation-delay: -15s; }
@keyframes floatDot {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-15px, 25px) scale(0.95); }
}

/* ===== NAV ===== */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 0.6rem 2rem;
    background: rgba(255, 248, 238, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(255, 215, 120, 0.3);
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
nav.scrolled { padding: 0.4rem 2rem; box-shadow: 0 4px 30px var(--shadow-warm); }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.logo { text-decoration: none; display: flex; align-items: center; gap: 0.6rem; }
.logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
    text-decoration: none; color: var(--body-text); font-weight: 600; font-size: 0.95rem;
    transition: color 0.3s; position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 3px;
    border-radius: 3px; background: var(--crayon-orange); transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--crayon-red); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    background: linear-gradient(135deg, var(--crayon-orange), var(--crayon-red));
    color: #fff !important; padding: 0.6rem 1.5rem; border-radius: 50px; font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3); transition: transform 0.3s, box-shadow 0.3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(255, 107, 107, 0.4); color: #fff !important; }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-menu-btn span { display: block; width: 28px; height: 3px; margin: 5px 0; background: var(--dark-text); border-radius: 3px; transition: all 0.3s; }

/* ===== HERO ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    padding: 7rem 2rem 4rem; position: relative; z-index: 1;
}
.hero-inner {
    max-width: 1200px; margin: 0 auto; display: grid;
    grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; width: 100%;
}
.hero-text { animation: slideUp 1s ease-out; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: linear-gradient(135deg, rgba(255,169,77,0.15), rgba(255,107,107,0.15));
    border: 2px solid rgba(255,169,77,0.3); padding: 0.5rem 1.2rem;
    border-radius: 50px; font-size: 0.85rem; font-weight: 700; color: var(--crayon-red); margin-bottom: 1.5rem;
}
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--crayon-green); animation: pulse 2s infinite; }
.hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; margin-bottom: 1.5rem; }
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--crayon-orange), var(--crayon-red));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero h1 .highlight-blue {
    background: linear-gradient(135deg, var(--crayon-blue), var(--crayon-purple));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc { font-size: 1.1rem; line-height: 1.8; margin-bottom: 2rem; max-width: 520px; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 0.6rem; padding: 1rem 2.2rem;
    background: linear-gradient(135deg, var(--crayon-orange), var(--crayon-red));
    color: #fff; text-decoration: none; border-radius: 60px;
    font-family: 'Baloo 2', cursive; font-size: 1.1rem; font-weight: 700;
    box-shadow: 0 8px 30px rgba(255,107,107,0.3); transition: all 0.4s ease; border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 40px rgba(255,107,107,0.4); }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 0.6rem; padding: 1rem 2.2rem;
    background: #fff; color: var(--dark-text); text-decoration: none; border-radius: 60px;
    font-family: 'Baloo 2', cursive; font-size: 1.1rem; font-weight: 700;
    border: 2px solid rgba(139,111,71,0.15); box-shadow: 0 4px 15px var(--shadow-warm); transition: all 0.4s ease;
}
.btn-secondary:hover { transform: translateY(-3px); border-color: var(--crayon-blue); }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 2px dashed rgba(139,111,71,0.15); }
.hero-stat-num { font-family: 'Baloo 2', cursive; font-size: 1.8rem; font-weight: 800; color: #D94F4F; }
.hero-stat-label { font-size: 0.85rem; color: var(--dark-text); font-weight: 600; }

.hero-visual { position: relative; animation: slideUp 1s ease-out 0.2s both; }
.hero-visual img {
    width: 100%; height: auto; border-radius: 24px;
    box-shadow: 0 20px 60px rgba(139,111,71,0.2);
}

/* ===== SECTIONS ===== */
section { position: relative; z-index: 1; padding: 5rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: 'Baloo 2', cursive; font-size: 0.9rem; font-weight: 700;
    color: var(--crayon-blue); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.8rem;
}
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: 1rem; }
.section-header p { font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* Wave */
.wave-divider { position: relative; height: 80px; z-index: 1; overflow: hidden; }
.wave-divider svg { position: absolute; bottom: 0; width: 100%; height: 100%; }

/* ===== FEATURES ===== */
.features-section { background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-card {
    background: var(--warm-cream); border-radius: 24px; padding: 2.5rem 2rem;
    text-align: center; border: 2px solid transparent; transition: all 0.4s ease;
    position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; border-radius: 24px 24px 0 0; transition: height 0.4s ease;
}
.feature-card:nth-child(1)::before { background: linear-gradient(90deg, var(--crayon-red), var(--crayon-orange)); }
.feature-card:nth-child(2)::before { background: linear-gradient(90deg, var(--crayon-blue), var(--crayon-purple)); }
.feature-card:nth-child(3)::before { background: linear-gradient(90deg, var(--crayon-green), var(--crayon-blue)); }
.feature-card:nth-child(4)::before { background: linear-gradient(90deg, var(--crayon-yellow), var(--crayon-orange)); }
.feature-card:nth-child(5)::before { background: linear-gradient(90deg, var(--crayon-pink), var(--crayon-red)); }
.feature-card:nth-child(6)::before { background: linear-gradient(90deg, var(--crayon-purple), var(--crayon-pink)); }
.feature-card:hover { transform: translateY(-8px); border-color: rgba(255,169,77,0.2); box-shadow: 0 20px 60px var(--shadow-warm); }
.feature-card:hover::before { height: 6px; }
.feature-icon {
    width: 70px; height: 70px; border-radius: 62% 38% 46% 54% / 60% 45% 55% 40%;
    display: flex; align-items: center; justify-content: center; font-size: 2rem;
    margin: 0 auto 1.5rem; transition: transform 0.4s ease;
}
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(5deg); }
.feature-card:nth-child(1) .feature-icon { background: linear-gradient(135deg, rgba(255,107,107,0.15), rgba(255,169,77,0.15)); }
.feature-card:nth-child(2) .feature-icon { background: linear-gradient(135deg, rgba(77,150,255,0.15), rgba(155,114,207,0.15)); }
.feature-card:nth-child(3) .feature-icon { background: linear-gradient(135deg, rgba(107,203,119,0.15), rgba(77,150,255,0.15)); }
.feature-card:nth-child(4) .feature-icon { background: linear-gradient(135deg, rgba(255,217,61,0.15), rgba(255,169,77,0.15)); }
.feature-card:nth-child(5) .feature-icon { background: linear-gradient(135deg, rgba(255,143,171,0.15), rgba(255,107,107,0.15)); }
.feature-card:nth-child(6) .feature-icon { background: linear-gradient(135deg, rgba(155,114,207,0.15), rgba(255,143,171,0.15)); }
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.8rem; }
.feature-card p { font-size: 0.92rem; line-height: 1.7; }

/* ===== BOOKS GRID ===== */
.books-section { background: linear-gradient(180deg, var(--warm-cream) 0%, #FFF0D6 100%); }

/* Filter Tabs */
.filter-tabs {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-bottom: 3rem;
}
.filter-tab {
    padding: 0.5rem 1.3rem; border-radius: 50px; border: 2px solid rgba(139,111,71,0.12);
    background: #fff; color: var(--body-text); font-family: 'Baloo 2', cursive;
    font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.3s;
}
.filter-tab:hover { border-color: var(--crayon-orange); color: var(--crayon-red); }
.filter-tab.active {
    background: linear-gradient(135deg, var(--crayon-orange), var(--crayon-red));
    color: #fff; border-color: transparent;
}

.affiliate-hint {
    text-align: center; font-size: 0.82rem; color: rgba(92,71,51,0.6); margin: -0.5rem 0 1.5rem;
    font-style: italic;
}
.affiliate-hint a { color: var(--crayon-blue); text-decoration: none; font-weight: 600; }
.affiliate-hint a:hover { text-decoration: underline; }
.books-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2rem;
}
.book-card {
    background: #fff; border-radius: 20px; overflow: hidden;
    box-shadow: 0 6px 24px var(--shadow-warm); transition: all 0.5s ease;
    position: relative; text-decoration: none; color: inherit; display: block;
}
.book-card:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 20px 50px rgba(139,111,71,0.2); }
.book-card-visual {
    aspect-ratio: 3/4; position: relative;
    background: linear-gradient(135deg, #FFF5E6, #FFECDA);
    display: flex; align-items: center; justify-content: center;
    padding: 1.2rem;
}
.book-card-visual img {
    width: 100%; height: 100%; object-fit: contain;
    transition: transform 0.5s ease; border-radius: 4px;
    filter: drop-shadow(4px 6px 12px rgba(0,0,0,0.15));
}
.book-card:hover .book-card-visual img { transform: scale(1.05); }
.book-card-body { padding: 1.2rem 1.3rem 1.3rem; }
.book-card-body h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.3; }
.book-card-badge {
    display: inline-block; padding: 0.25rem 0.7rem; border-radius: 20px;
    font-size: 0.7rem; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, var(--crayon-blue), var(--crayon-purple));
}
.book-card-cta {
    display: flex; align-items: center; gap: 0.4rem; margin-top: 0.8rem;
    color: var(--crayon-red); font-weight: 700; font-size: 0.85rem; transition: gap 0.3s;
}
.book-card:hover .book-card-cta { gap: 0.8rem; }

/* ===== WHY KI ===== */
.why-section { background: #fff; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why-visual { position: relative; }
.why-art {
    width: 100%; aspect-ratio: 1;
    background: linear-gradient(135deg, #FFF5E6, #FFE8E8, #E8F0FF);
    border-radius: 40% 60% 55% 45% / 50% 62% 38% 50%;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; animation: morphBlob 15s ease-in-out infinite; will-change: transform; contain: content;
}
.why-art img { width: 65%; height: auto; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.1)); }
@keyframes morphBlob {
    0%, 100% { transform: rotate(0deg) scale(1); }
    33% { transform: rotate(5deg) scale(1.02); }
    66% { transform: rotate(-3deg) scale(0.98); }
}
.why-content h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1.5rem; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }
.why-list li { display: flex; gap: 1rem; align-items: flex-start; }
.why-list-icon {
    width: 44px; height: 44px; min-width: 44px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.why-list li:nth-child(1) .why-list-icon { background: rgba(255,107,107,0.12); }
.why-list li:nth-child(2) .why-list-icon { background: rgba(77,150,255,0.12); }
.why-list li:nth-child(3) .why-list-icon { background: rgba(107,203,119,0.12); }
.why-list li:nth-child(4) .why-list-icon { background: rgba(255,169,77,0.12); }
.why-list-text strong { display: block; font-family: 'Baloo 2', cursive; font-size: 1.05rem; color: var(--dark-text); margin-bottom: 0.2rem; }
.why-list-text span { font-size: 0.9rem; color: var(--body-text); line-height: 1.6; }


/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, #3D2C1E 0%, #5C3D23 100%);
    padding: 5rem 2rem; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-content { position: relative; z-index: 2; }
.cta-section h2 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: 1rem; }
.cta-section h2 .highlight-cta {
    background: linear-gradient(135deg, var(--crayon-yellow), var(--crayon-orange));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cta-section p { color: rgba(255,255,255,0.7); font-size: 1.15rem; margin-bottom: 2.5rem; max-width: 550px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.btn-cta {
    display: inline-flex; align-items: center; gap: 0.6rem; padding: 1.1rem 2.5rem;
    background: linear-gradient(135deg, var(--crayon-yellow), var(--crayon-orange));
    color: var(--dark-text); text-decoration: none; border-radius: 60px;
    font-family: 'Baloo 2', cursive; font-size: 1.15rem; font-weight: 700;
    box-shadow: 0 8px 30px rgba(255,169,77,0.3); transition: all 0.4s ease; border: none; cursor: pointer;
}
.btn-cta:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 40px rgba(255,169,77,0.5); }
.btn-cta-outline {
    background: transparent; border: 2px solid rgba(255,255,255,0.3); color: #fff; box-shadow: none;
}
.btn-cta-outline:hover { border-color: rgba(255,255,255,0.6); box-shadow: 0 8px 30px rgba(255,255,255,0.1); }

/* ===== FOOTER ===== */
footer { background: var(--dark-text); color: rgba(255,255,255,0.6); padding: 3rem 2rem 1.5rem; position: relative; z-index: 1; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo { font-size: 1.5rem; margin-bottom: 1rem; }
.footer-brand .logo img { height: 32px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.footer-col-title { font-family: 'Baloo 2', cursive; color: #fff; font-size: 1rem; margin-bottom: 1rem; font-weight: 700; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.88rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--crayon-orange); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; font-size: 0.8rem; }
.footer-social { text-align: center; padding: 1.5rem 0 0.5rem; }
.footer-social a:hover { background: rgba(255,255,255,0.15) !important; }

/* ===== QUIZ ===== */
.quiz-section { padding: 5rem 2rem; background: linear-gradient(180deg, #fff 0%, var(--warm-cream) 100%); position: relative; z-index: 1; }
.quiz-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.quiz-inner h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.quiz-subtitle { font-size: 1.1rem; color: var(--body-text); margin-bottom: 2.5rem; }
.quiz-card { background: #fff; border-radius: 20px; padding: 2.5rem; box-shadow: 0 8px 40px var(--shadow-warm); border: 2px solid rgba(255,215,120,0.3); }
.quiz-question { font-family: 'Baloo 2', cursive; font-size: 1.3rem; color: var(--dark-text); margin-bottom: 1.5rem; }
.quiz-step-indicator { font-size: 0.85rem; color: var(--soft-brown); margin-bottom: 1rem; font-weight: 600; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 1rem; }
.quiz-option { padding: 1rem; border: 2px solid rgba(255,215,120,0.4); border-radius: 14px; background: var(--warm-cream); cursor: pointer; transition: all 0.25s; font-weight: 600; font-size: 0.95rem; color: var(--dark-text); text-align: center; }
.quiz-option:hover { border-color: var(--crayon-orange); transform: translateY(-2px); box-shadow: 0 4px 15px var(--shadow-warm); }
.quiz-option.selected { border-color: var(--crayon-orange); background: linear-gradient(135deg, #FFF0D6, #FFE8C8); box-shadow: 0 4px 15px var(--shadow-warm); }
.quiz-result { display: none; }
.quiz-result h3 { font-family: 'Baloo 2', cursive; font-size: 1.4rem; margin-bottom: 1rem; color: var(--dark-text); }
.quiz-result-books { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.quiz-result-book { text-decoration: none; color: var(--dark-text); background: var(--warm-cream); border-radius: 14px; padding: 1rem; transition: transform 0.25s, box-shadow 0.25s; border: 2px solid transparent; }
.quiz-result-book:hover { transform: translateY(-4px); box-shadow: 0 6px 20px var(--shadow-warm); border-color: var(--crayon-orange); }
.quiz-result-book img { width: 100%; border-radius: 10px; margin-bottom: 0.5rem; }
.quiz-result-book span { font-weight: 700; font-size: 0.85rem; line-height: 1.4; display: block; }
.quiz-restart { background: none; border: none; color: var(--crayon-blue); font-weight: 700; cursor: pointer; font-size: 0.95rem; margin-top: 1rem; padding: 0.5rem 1rem; }
.quiz-restart:hover { text-decoration: underline; }
.quiz-result-all { display: inline-block; margin-top: 1rem; padding: 0.8rem 2rem; background: linear-gradient(135deg, var(--crayon-orange), var(--crayon-red)); color: #fff; border-radius: 50px; font-weight: 700; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.quiz-result-all:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,107,0.3); }
@media (max-width: 640px) {
    .quiz-options { grid-template-columns: 1fr; }
    .quiz-result-books { grid-template-columns: 1fr 1fr; }
}

/* ===== LEGAL PAGES (AGB, Datenschutz, Impressum) ===== */
.page-content { max-width: 800px; margin: 0 auto; padding: 7rem 2rem 4rem; }
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--crayon-blue); text-decoration: none; font-weight: 600; font-size: 0.9rem; margin-bottom: 2rem; transition: gap 0.3s; }
.back-link:hover { gap: 0.8rem; }
.page-content h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 2rem; }
.legal-card { background: #fff; border-radius: 20px; padding: 2.5rem; box-shadow: 0 6px 24px var(--shadow-warm); margin-bottom: 2rem; }
.legal-card h2 { font-size: 1.2rem; margin-bottom: 1rem; color: var(--crayon-blue); }
.legal-card p { margin-bottom: 0.8rem; }
.legal-card .address { font-style: normal; line-height: 2; }
.legal-card a { color: var(--crayon-red); text-decoration: none; font-weight: 600; }
.legal-card a:hover { text-decoration: underline; }

/* ===== ANIMATIONS ===== */
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); will-change: opacity, transform; }
.reveal.visible { opacity: 1; transform: translateY(0); will-change: auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin: 0 auto 2rem; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { max-width: 500px; margin: 0 auto; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; }
    .why-visual { max-width: 350px; margin: 0 auto; }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex; flex-direction: column; position: absolute;
        top: 100%; left: 0; right: 0; background: rgba(255,248,238,0.97);
        backdrop-filter: blur(20px); padding: 1.5rem 2rem;
        border-bottom: 2px solid rgba(255,215,120,0.3); box-shadow: 0 10px 30px var(--shadow-warm);
    }
    .mobile-menu-btn { display: block; }
    .features-grid { grid-template-columns: 1fr; }
    .books-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    .hero-stats { flex-direction: column; gap: 1rem; align-items: center; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    section { padding: 3rem 1.2rem; }
    .legal-card { padding: 1.5rem; }
}
@media (max-width: 400px) {
    .books-grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
}
