/* === WonderSprout — warm pink/peach + golden-star palette === */
:root {
    --bg: #fff7f0;              /* soft cream-pink */
    --bg-alt: #ffeee2;          /* deeper peach for panels */
    --card: #ffffff;
    --border: rgba(58, 30, 50, 0.08);
    --text: #3a1e32;            /* deep berry-ink */
    --text-muted: #7a6772;
    --text-light: #b8a4ad;

    --pink: #f8a4b6;            /* primary — soft rose */
    --pink-deep: #ec7090;
    --pink-soft: #fde2ea;

    --gold: #ffc94a;            /* the star */
    --gold-deep: #f0a82c;
    --gold-soft: #fff1cc;

    --peach: #ffb692;
    --peach-soft: #ffe1d0;

    --sky: #9ec9ff;
    --mint: #b6e8c9;

    --radius: 22px;
    --radius-sm: 14px;
    --radius-xs: 10px;
    --shadow: 0 2px 10px rgba(58, 30, 50, 0.05);
    --shadow-card: 0 1px 3px rgba(58, 30, 50, 0.04), 0 8px 28px rgba(58, 30, 50, 0.07);
    --shadow-lg: 0 12px 40px rgba(58, 30, 50, 0.12);

    --display: 'Fredoka', 'Inter', -apple-system, sans-serif;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: clip;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.text-accent { color: var(--pink-deep); }

/* === Nav === */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255, 247, 240, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.nav-container {
    max-width: 1120px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.nav-back {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 10px;
    color: var(--text-muted); transition: all 0.2s;
    margin-right: 4px;
}
.nav-back:hover { background: var(--pink-soft); color: var(--pink-deep); }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; font-family: var(--display); }
.nav-icon { width: 36px; height: 36px; border-radius: 10px; box-shadow: var(--shadow); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
    font-size: 0.85rem; font-weight: 600;
    padding: 9px 20px; border-radius: 999px;
    background: var(--pink-deep); color: #fff;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); background: #d85b7e; box-shadow: 0 6px 18px rgba(236, 112, 144, 0.35); }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; background: transparent; border: 0; cursor: pointer; }
.mobile-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 1px; }

@media (max-width: 860px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-toggle { display: flex; }
}

/* === Hero === */
.hero {
    padding: 148px 0 72px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: ""; position: absolute; top: -180px; right: -200px;
    width: 580px; height: 580px; border-radius: 50%;
    background: radial-gradient(circle, rgba(248, 164, 182, 0.32), transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: ""; position: absolute; bottom: -140px; left: -160px;
    width: 460px; height: 460px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 201, 74, 0.20), transparent 70%);
    pointer-events: none;
}
.hero-content {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px;
    align-items: center; position: relative; z-index: 1;
}
.hero-badge {
    display: inline-block; font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    padding: 6px 14px; border-radius: 999px;
    background: var(--gold-soft); color: var(--gold-deep);
    margin-bottom: 24px;
}
.hero h1 {
    font-family: var(--display);
    font-size: clamp(2.2rem, 4.8vw, 3.6rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.015em;
    margin-bottom: 22px;
}
.hero h1 .text-accent { color: var(--pink-deep); }
.hero-subtitle {
    font-size: 1.1rem; color: var(--text-muted);
    line-height: 1.65; margin-bottom: 32px;
    max-width: 54ch;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 32px; }

.coming-soon-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px; border-radius: 999px;
    background: var(--card); color: var(--text);
    border: 1.5px solid var(--pink-deep);
    font-size: 0.95rem; font-weight: 600;
    box-shadow: var(--shadow);
}
.coming-soon-pill svg { color: var(--pink-deep); }
.coming-soon-pill.light {
    background: rgba(255, 255, 255, 0.95); color: var(--pink-deep);
    border-color: transparent;
}
.coming-soon-pill.light svg { color: var(--pink-deep); }

.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-number { font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: var(--pink-deep); letter-spacing: -0.01em; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); }

/* Hero visual — big icon, with sparkles */
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }
.hero-app-icon {
    width: 320px; height: 320px; border-radius: 72px;
    box-shadow:
        0 30px 60px rgba(236, 112, 144, 0.30),
        0 12px 28px rgba(58, 30, 50, 0.12);
    transition: transform 0.5s ease;
}
.hero-app-icon:hover { transform: translateY(-6px) scale(1.02) rotate(-1deg); }

.sparkle {
    position: absolute; color: var(--gold); font-size: 1.6rem;
    pointer-events: none;
    animation: twinkle 3s ease-in-out infinite;
    text-shadow: 0 0 12px rgba(255, 201, 74, 0.55);
}
.sparkle-1 { top: 8%;  left: 8%;  animation-delay: 0s; }
.sparkle-2 { top: 18%; right: 6%; animation-delay: 0.6s; font-size: 1.2rem; }
.sparkle-3 { bottom: 14%; left: 4%; animation-delay: 1.2s; font-size: 1.4rem; }
.sparkle-4 { bottom: 6%;  right: 10%; animation-delay: 1.8s; font-size: 1.1rem; }
@keyframes twinkle {
    0%, 100% { opacity: 0.4; transform: scale(0.85); }
    50%      { opacity: 1;   transform: scale(1.1); }
}

@media (max-width: 860px) {
    .hero { padding: 128px 0 56px; }
    .hero-content { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-stats { justify-content: center; }
    .hero-app-icon { width: 220px; height: 220px; border-radius: 50px; }
}

/* === Section shared === */
section { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block; font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    padding: 5px 14px; border-radius: 999px;
    background: var(--pink-soft); color: var(--pink-deep);
    margin-bottom: 16px;
}
.section-header h2 {
    font-family: var(--display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700; letter-spacing: -0.015em; line-height: 1.15;
    margin-bottom: 14px;
}
.section-header p {
    font-size: 1.05rem; color: var(--text-muted);
    max-width: 60ch; margin: 0 auto; line-height: 1.65;
}

/* === Explore (topic chips) === */
.topic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 920px; margin: 0 auto;
}
.topic-chip {
    display: flex; align-items: center; gap: 12px;
    padding: 18px 20px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--c1, var(--pink-soft)), var(--c2, var(--peach-soft)));
    color: var(--text);
    font-weight: 600; font-size: 0.95rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1px solid rgba(255,255,255,0.6);
}
.topic-chip:hover { transform: translateY(-3px) rotate(-0.5deg); box-shadow: var(--shadow-lg); }
.topic-emoji { font-size: 1.6rem; line-height: 1; }
.topic-chip.more {
    background: var(--card);
    color: var(--text-muted);
    border: 1.5px dashed var(--pink);
    box-shadow: none;
    justify-content: center;
}
.topic-chip.more:hover { transform: none; }
@media (max-width: 860px) {
    .topic-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === Play === */
.play { background: var(--bg-alt); }
.play-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.play-card {
    background: var(--card); padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s, box-shadow 0.25s;
}
.play-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.play-icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.play-card h3 { font-family: var(--display); font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.play-card p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.6; }
@media (max-width: 860px) {
    .play-grid { grid-template-columns: 1fr; }
}

/* === Screenshots === */
.screenshots { padding-bottom: 96px; overflow: hidden; }
.screenshots .section-header { margin-bottom: 40px; }
.screenshots-wrapper {
    display: flex; align-items: center; gap: 16px;
    max-width: 1200px; margin: 0 auto; padding: 0 16px;
}
.screenshots-scroll {
    flex: 1; min-width: 0;
    display: flex; gap: 22px; overflow-x: auto;
    padding: 8px 0 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.screenshots-scroll::-webkit-scrollbar { display: none; }
.screenshot-item {
    flex-shrink: 0;
    width: 230px;
    scroll-snap-align: start;
    text-align: center;
}
.screenshot-item img {
    width: 100%;
    border-radius: 32px;
    box-shadow: var(--shadow-card);
    background: var(--card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.screenshot-item img:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.screenshot-caption {
    margin-top: 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}
.scroll-btn {
    flex-shrink: 0;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--card); border: 1px solid var(--border);
    color: var(--text-muted); display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s;
    box-shadow: var(--shadow);
}
.scroll-btn:hover { background: var(--pink-deep); color: #fff; border-color: transparent; }
@media (max-width: 860px) {
    .screenshot-item { width: 200px; }
    .screenshots-wrapper { gap: 8px; padding: 0 8px; }
    .scroll-btn { width: 36px; height: 36px; }
}
@media (max-width: 560px) {
    .screenshot-item { width: 180px; }
}

/* === Parents callout === */
.parents { padding: 80px 0; }
.parents-card {
    background: linear-gradient(135deg, #3a1e32 0%, #5a2a48 100%);
    color: #fff;
    border-radius: 28px;
    padding: 56px; max-width: 1000px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
    position: relative; overflow: hidden;
}
.parents-card::before {
    content: ""; position: absolute; top: -25%; left: -10%;
    width: 380px; height: 380px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 201, 74, 0.25), transparent 70%);
    pointer-events: none;
}
.parents-card::after {
    content: ""; position: absolute; bottom: -30%; right: -10%;
    width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(248, 164, 182, 0.30), transparent 70%);
    pointer-events: none;
}
.parents-content { position: relative; z-index: 1; }
.parents-tag {
    display: inline-block; font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    padding: 5px 14px; border-radius: 999px;
    background: rgba(255, 201, 74, 0.20); color: #ffd97a;
    margin-bottom: 18px;
}
.parents-card h2 {
    font-family: var(--display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700; letter-spacing: -0.015em; line-height: 1.2;
    margin-bottom: 18px;
}
.parents-card > .parents-content > p {
    font-size: 1rem; color: rgba(255,255,255,0.82); line-height: 1.7;
    margin-bottom: 18px;
}
.parents-list { display: flex; flex-direction: column; gap: 8px; }
.parents-list li {
    font-size: 0.92rem; color: rgba(255,255,255,0.88);
    padding-left: 22px; position: relative;
    line-height: 1.55;
}
.parents-list li::before {
    content: "✓"; position: absolute; left: 0; top: 0;
    color: var(--gold); font-weight: 700;
}
.parents-list strong { color: #fff; font-weight: 700; }

.parents-visual {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.ribbon {
    grid-column: 1 / -1;
    display: flex; align-items: center; gap: 10px;
    padding: 14px 18px; border-radius: 14px;
    background: var(--gold);
    color: #3a1e32; font-weight: 700;
    box-shadow: 0 10px 24px rgba(255, 201, 74, 0.35);
}
.ribbon span { font-size: 1.2rem; }
.parents-tile {
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.14);
    padding: 18px; border-radius: 14px;
    display: flex; flex-direction: column; gap: 4px;
}
.tile-num {
    font-family: var(--display);
    font-size: 1.6rem; font-weight: 700; color: #fff; line-height: 1;
}
.tile-label { font-size: 0.78rem; color: rgba(255,255,255,0.72); }

@media (max-width: 860px) {
    .parents-card { grid-template-columns: 1fr; padding: 40px 28px; }
}

/* === Promise === */
.promise { background: var(--bg-alt); }
.promise-content { text-align: center; max-width: 720px; margin: 0 auto; }
.promise-icon {
    width: 72px; height: 72px; border-radius: 20px;
    background: var(--pink-soft); color: var(--pink-deep);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px;
}
.promise-content h2 { font-family: var(--display); font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 700; letter-spacing: -0.015em; margin-bottom: 16px; }
.promise-content p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 14px; }
.promise-list {
    margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.promise-pill {
    padding: 14px 18px; border-radius: 14px;
    background: #fff; border: 1px solid var(--border);
    font-size: 0.9rem; font-weight: 600; color: var(--text);
}
@media (max-width: 640px) {
    .promise-list { grid-template-columns: 1fr; }
}

/* === CTA / Download === */
.cta { padding: 80px 0 96px; text-align: center; }
.cta-card {
    text-align: center;
    padding: 64px 40px;
    border-radius: 24px;
    background: linear-gradient(135deg, #f8a4b6 0%, #ffc94a 100%);
    color: #3a1e32;
    position: relative; overflow: hidden;
}
.cta-card::after {
    content: ""; position: absolute; top: -50%; right: -10%;
    width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.30), transparent 70%);
    pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-icon {
    width: 88px; height: 88px; border-radius: 22px;
    margin: 0 auto 24px;
    box-shadow: 0 8px 28px rgba(58, 30, 50, 0.22);
}
.cta-card h2 {
    font-family: var(--display);
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700; letter-spacing: -0.015em;
    margin-bottom: 14px;
}
.cta-card p { font-size: 1.05rem; opacity: 0.85; margin-bottom: 28px; }
.cta-card img.cta-icon { display: block; }
.cta-card a { display: inline-block; }

/* === Footer === */
.footer {
    padding: 36px 0; background: var(--bg-alt);
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}
.footer-inner {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-family: var(--display); }
.footer-icon { width: 32px; height: 32px; border-radius: 8px; box-shadow: var(--shadow); }
.footer-copy { font-size: 0.85rem; }
