/* Tanıtım sitesi. Satır içi stil yok (CSP); renkler uygulamanın gökyüzü/bulut temasından. */
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url('/admin/fonts/Nunito-Bold.ttf') format('truetype'); }

:root {
    --sky: #7fd8fb;
    --sky-soft: #e3f6fe;
    --brand: #1e88e5;
    --brand-dark: #1565c0;
    --text: #1f2937;
    --muted: #5b6472;
    --bg: #ffffff;
    --card: #ffffff;
    --line: #e5eef5;
    --tint: #f3fbff;
    --shadow: 0 10px 30px rgba(30, 136, 229, .12);
}
@media (prefers-color-scheme: dark) {
    :root {
        --sky-soft: #0f2a3a;
        --text: #e8eef4;
        --muted: #a9b4c0;
        --bg: #0d1b26;
        --card: #142635;
        --line: #20384a;
        --tint: #112230;
        --shadow: 0 10px 30px rgba(0, 0, 0, .35);
    }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3, .brand span { font-family: 'Nunito', system-ui, sans-serif; font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 16px; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 8px; text-align: center; }
h3 { font-size: 1.15rem; margin: 8px 0 4px; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.lead { color: var(--muted); font-size: 1.1rem; margin: 0 auto 28px; max-width: 680px; }
h2 + .lead { text-align: center; }
.section { padding: 64px 0; }
.tinted { background: var(--tint); }

/* Üst çubuk */
.topbar { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; min-width: 0; }
.brand img { border-radius: 10px; flex: none; }
.brand span { font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar nav { display: flex; gap: 18px; align-items: center; }
.topbar nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.topbar nav a:hover { color: var(--brand); }
.topbar nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
@media (max-width: 760px) {
    .topbar nav a:not(.lang) { display: none; }
}

/* Giriş */
.hero { background: linear-gradient(180deg, var(--sky) 0%, var(--sky-soft) 100%); padding: 48px 0 64px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero h1 { color: #10324a; }
.hero .lead { color: #234a63; margin: 0 0 20px; }
@media (prefers-color-scheme: dark) {
    .hero h1 { color: #e8f6ff; }
    .hero .lead { color: #b9d7ea; }
}
.stats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.stats li { background: rgba(255, 255, 255, .85); color: #10324a; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .95rem; }
.play-badge { display: inline-block; }
.play-badge img { width: 220px; }
.hero-phone { display: flex; justify-content: center; }
.phone { border-radius: 28px; border: 8px solid #10324a; box-shadow: var(--shadow); background: #10324a; }
.hero-phone .phone { width: min(300px, 70vw); transform: rotate(2deg); }
@media (max-width: 760px) {
    .hero { padding-top: 32px; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .stats { justify-content: center; }
    .hero .lead { margin-left: auto; margin-right: auto; }
}

/* Özellikler */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 28px; }
.features li { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.features .icon { font-size: 2rem; display: block; height: 40px; line-height: 40px; }
.features .icon img { width: 40px; height: 40px; }
.features p { color: var(--muted); margin: 0; }

/* Kategoriler */
.categories { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.category { border-radius: 22px; padding: 14px 14px 16px; text-align: center; box-shadow: var(--shadow); background: #fce4ec; color: #1f2937; }
.category:nth-child(6n+2) { background: #fff3e0; }
.category:nth-child(6n+3) { background: #e3f2fd; }
.category:nth-child(6n+4) { background: #f1f8e9; }
.category:nth-child(6n+5) { background: #ede7f6; }
.category:nth-child(6n+6) { background: #e8f5e9; }
.category img { width: 100%; aspect-ratio: 8 / 5; object-fit: contain; }
.category p { margin: 0; color: #4b5563; font-size: .95rem; }

/* Örnek sayfalar: indirmeyi zorlaştırmak için görselin üstünde tıklanamaz bir katman var. */
.sample-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; margin-bottom: 28px; }
.sample-item { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px; text-align: center; color: #1f2937; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.sample-item img { width: 100%; aspect-ratio: 1; object-fit: contain; pointer-events: none; }
.sample-item::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.sample-item span { display: block; margin-top: 6px; font-weight: 600; }
.button { display: inline-block; background: var(--brand); color: #fff; text-decoration: none; font-weight: 700; padding: 14px 28px; border-radius: 999px; box-shadow: var(--shadow); }
.button:hover { background: var(--brand-dark); }

/* Ekran görüntüleri: yatay kaydırma, sayfa genişliğini taşırmaz */
.screens { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 220px); gap: 20px; overflow-x: auto; padding: 8px 4px 20px; scroll-snap-type: x mandatory; }
.screens li { scroll-snap-align: start; text-align: center; }
.screens .phone { border-width: 6px; border-radius: 22px; }
.screens span { display: block; margin-top: 10px; color: var(--muted); font-size: .95rem; }

/* Ebeveynler */
.checks li { position: relative; padding: 10px 0 10px 36px; border-bottom: 1px solid var(--line); }
.checks li::before { content: "✓"; position: absolute; left: 4px; top: 8px; color: #2e7d32; font-weight: 700; font-size: 1.2rem; }
#parents h2 { margin-bottom: 20px; }

/* Son çağrı ve alt bilgi */
.final { background: linear-gradient(180deg, var(--sky-soft) 0%, var(--sky) 100%); }
.final h2 { color: #10324a; }
.final .lead { color: #234a63; }
@media (prefers-color-scheme: dark) {
    .final h2 { color: #e8f6ff; }
    .final .lead { color: #b9d7ea; }
}
.footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer p { margin: 0; }
