/* Herkese açık site (ana sayfa ve içerik sayfaları) ortak stilleri. Metronic landing şablonunun üstüne Spilingo renkleri ve fontları. */
/* Mobil uygulamanın fontları: Google Fonts'taki Fredoka'da ş ve ğ yok. WOFF2, Latin + Türkçe alt küme (tools/landing-assets/build.py). */
@font-face { font-family: Fredoka; font-weight: 500; font-display: swap; src: url('/assets/fonts/spilingo/Fredoka-Medium.woff2') format('woff2'); }
@font-face { font-family: Fredoka; font-weight: 600; font-display: swap; src: url('/assets/fonts/spilingo/Fredoka-SemiBold.woff2') format('woff2'); }
@font-face { font-family: Fredoka; font-weight: 700; font-display: swap; src: url('/assets/fonts/spilingo/Fredoka-Bold.woff2') format('woff2'); }
@font-face { font-family: Nunito; font-weight: 400; font-display: swap; src: url('/assets/fonts/spilingo/Nunito-Regular.woff2') format('woff2'); }
@font-face { font-family: Nunito; font-weight: 600; font-display: swap; src: url('/assets/fonts/spilingo/Nunito-SemiBold.woff2') format('woff2'); }
@font-face { font-family: Nunito; font-weight: 700; font-display: swap; src: url('/assets/fonts/spilingo/Nunito-Bold.woff2') format('woff2'); }
@font-face { font-family: Nunito; font-weight: 800; font-display: swap; src: url('/assets/fonts/spilingo/Nunito-ExtraBold.woff2') format('woff2'); }

/* Mobil uygulamanın renkleri: lacivert gece, turkuaz dağ, sarı düğme. */
:root {
    --sp-navy: #0c2a40;
    --sp-navy-2: #16425e;
    --sp-teal: #12806f;
    --sp-teal-light: #e3f2ef;
    --sp-amber: #fbb021;
    --sp-amber-dark: #c98200;
    --sp-blue: #1f5fc4;
    --sp-paper: #f0f5f3;
}
body { font-family: Nunito, Inter, sans-serif; }
h1, h2, h3, h4, .sp-display { font-family: Fredoka, Nunito, sans-serif; letter-spacing: -.01em; }
.landing-dark-bg { background-color: var(--sp-navy) !important; }
/* Eğri SVG ile koyu blok arasında kesirli ekran ölçeğinde (ör. %125) ince beyaz çizgi kalmasın: 1px bindir. */
.landing-curve + .landing-dark-bg, .landing-dark-bg + .landing-curve { margin-top: -1px; }
.landing-curve svg { margin-bottom: -1px; }
.landing-dark-color { color: var(--sp-navy) !important; }
.landing-dark-border { border: 1px dashed rgba(255, 255, 255, .15); }
.landing-header .menu .menu-link { font-family: Fredoka, Nunito, sans-serif; font-weight: 500; }
[data-kt-sticky-landing-header="on"] .landing-header .menu .menu-link.active { color: var(--sp-teal); }

/* Uygulamadaki "chunky" düğmeler: alt kenarda koyu gölge. */
.btn-sp { font-family: Fredoka, Nunito, sans-serif; font-weight: 600; font-size: 1.1rem; border-radius: 1rem; padding: .85rem 1.6rem; border: 0; transition: transform .1s; }
.btn-sp:active { transform: translateY(3px); }
.btn-sp-amber { background: var(--sp-amber); color: var(--sp-navy); box-shadow: 0 5px 0 var(--sp-amber-dark); }
.btn-sp-amber:hover { background: #ffbe3b; color: var(--sp-navy); }
.btn-sp-outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.btn-sp-outline:hover { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.text-sp-teal { color: var(--sp-teal) !important; }
.text-sp-amber { color: var(--sp-amber) !important; }
.bg-sp-paper { background: var(--sp-paper); }

/* Telefon çerçevesi; ekran görüntüleri 9:20. */
.phone { position: relative; width: 100%; max-width: 270px; aspect-ratio: 9 / 20; margin: 0 auto; border-radius: 2.4rem;
         background: #0b1b28; padding: .6rem; box-shadow: 0 25px 50px -12px rgba(12, 42, 64, .45); }
.phone::before { content: ""; position: absolute; top: 1.05rem; left: 50%; width: 4.2rem; height: .9rem; transform: translateX(-50%);
                 background: #0b1b28; border-radius: 1rem; z-index: 2; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 1.9rem; display: block; background: var(--sp-paper); }
.phone-sm { max-width: 220px; }
.phone-tilt-l { transform: rotate(-6deg) translateY(1.5rem); }
.phone-tilt-r { transform: rotate(6deg) translateY(1.5rem); }
a.phone-link { display: block; transition: transform .2s; }
a.phone-link:hover { transform: translateY(-6px); }

.hero-title { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.15; }
/* Üst bölümün alt eğrisi dağların dibindeki renkle (turkuaz katman lacivert üstünde) aynı; yoksa arada basamak görünür. */
.hero-curve { color: #10535b; }
.hero-mountains { position: absolute; left: 0; bottom: 0; width: 100%; height: 45%; pointer-events: none; opacity: .9; }
.lang-chip { display: inline-flex; align-items: center; gap: .6rem; padding: .55rem 1rem; border-radius: 1rem; background: rgba(255, 255, 255, .08);
             color: #fff; font-family: Fredoka, sans-serif; font-weight: 500; }
.lang-chip b { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: .6rem; font-size: .85rem; }

.step-badge { width: 3rem; height: 3rem; border-radius: 1rem; display: inline-grid; place-items: center; font-family: Fredoka, sans-serif;
              font-weight: 700; font-size: 1.4rem; background: var(--sp-amber); color: var(--sp-navy); box-shadow: 0 4px 0 var(--sp-amber-dark); }
.feature-icon { width: 3.5rem; height: 3.5rem; border-radius: 1.1rem; display: inline-grid; place-items: center; background: var(--sp-teal-light); color: var(--sp-teal); }
.stat-octagon { background-image: url('/assets/media/svg/misc/octagon.svg'); }
.quote-card { background: #fff; border-radius: 1.5rem; box-shadow: 0 10px 30px -15px rgba(12, 42, 64, .25); }
.avatar-initials { width: 3.25rem; height: 3.25rem; border-radius: 50%; display: inline-grid; place-items: center; font-family: Fredoka, sans-serif; font-weight: 600; font-size: 1.15rem; }
.cta-band { background: linear-gradient(100deg, var(--sp-teal) 0%, #0f9f86 100%); border-radius: 1.75rem; }
@media (max-width: 991.98px) { .phone-tilt-l, .phone-tilt-r { transform: none; } }

/* Mağaza düğmeleri */
.store-btn { display: inline-flex; align-items: center; gap: .65rem; padding: .55rem 1.1rem .55rem .9rem; border-radius: .9rem;
             background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .25); transition: transform .15s, background .15s; }
.store-btn:hover { color: #fff; background: #111; transform: translateY(-2px); }
.store-btn i { font-size: 1.6rem; color: #fff; }
.store-btn-text { display: flex; flex-direction: column; line-height: 1.1; font-family: Fredoka, sans-serif; font-weight: 600; font-size: 1.05rem; text-align: left; }
.store-btn-text small { font-family: Nunito, sans-serif; font-size: .62rem; font-weight: 700; letter-spacing: .06em; opacity: .75; }
.store-btn-compact { padding: .45rem .85rem .45rem .7rem; }
.store-btn-compact i { font-size: 1.35rem; }
.store-btn-compact .store-btn-text { font-size: .92rem; }
[data-kt-sticky-landing-header="on"] .store-btn { border-color: transparent; }
@media (max-width: 991.98px) {
    .store-btn-compact { width: 2.6rem; height: 2.6rem; padding: 0; justify-content: center; border-radius: .75rem; }
    .store-btn-compact .store-btn-text { display: none; }
    .store-btn-compact i { font-size: 1.2rem; }
}
.drawer-stores .store-btn { justify-content: flex-start; }

/* İndirme bandı */
.download-band { border-radius: 2rem; }
.download-mountains { position: absolute; left: 0; bottom: 0; width: 100%; height: 55%; pointer-events: none; }
.download-phone { max-width: 230px; margin-bottom: -6rem; }
@media (max-width: 991.98px) { .download-phone { margin-bottom: -9rem; } }

/* Mobil menü (çekmece): simgeli, ayraçlı bağlantılar. Geniş ekranda simgeler gizli. */
@media (max-width: 991.98px) {
    .landing-drawer:not(.drawer) { display: none; }
    .landing-drawer.drawer { display: flex; flex-direction: column; overflow-y: auto; }
    .landing-drawer #kt_landing_menu { flex: 0 0 auto; }
}
#kt_landing_menu .menu-ico { display: none; }
@media (max-width: 991.98px) {
    #kt_landing_menu .menu-item + .menu-item { border-top: 1px solid var(--bs-gray-200); }
    #kt_landing_menu .menu-link { font-family: Fredoka, sans-serif; font-size: 1.1rem; font-weight: 500; color: var(--sp-navy) !important;
                                  padding: .8rem .5rem !important; border-radius: .75rem; margin: .3rem 0; }
    #kt_landing_menu .menu-link.active, #kt_landing_menu .menu-link:hover { background: var(--sp-teal-light); color: var(--sp-teal) !important; }
    #kt_landing_menu .menu-ico { display: inline-grid; place-items: center; width: 2.3rem; height: 2.3rem; margin-right: .9rem; border-radius: .7rem;
                                 background: var(--sp-teal-light); color: var(--sp-teal); flex-shrink: 0; }
    #kt_landing_menu .menu-ico i { color: var(--sp-teal); font-size: 1rem; }
    #kt_landing_menu .menu-link.active .menu-ico { background: var(--sp-teal); }
    #kt_landing_menu .menu-link.active .menu-ico i { color: #fff; }
}

/* İçerik sayfaları (KVKK, gizlilik vb.): okunur satır aralığı, editörün ürettiği başlık/liste/alıntı/hizalama. */
.content-page { font-size: 1.1rem; line-height: 1.75; color: var(--bs-gray-800); }
.content-page h2, .content-page h3, .content-page h4 { color: var(--sp-navy); margin: 2.25rem 0 1rem; }
.content-page h2 { font-size: 1.75rem; }
.content-page h3 { font-size: 1.4rem; }
.content-page > :first-child { margin-top: 0; }
.content-page p, .content-page ul, .content-page ol, .content-page blockquote { margin-bottom: 1.15rem; }
.content-page ul, .content-page ol { padding-left: 1.5rem; }
.content-page li { margin-bottom: .4rem; }
.content-page a { color: var(--sp-teal); text-decoration: underline; }
.content-page blockquote { border-left: 4px solid var(--sp-teal); background: var(--sp-teal-light); padding: 1rem 1.25rem; border-radius: 0 1rem 1rem 0; }
.content-page .ql-align-center { text-align: center; }
.content-page .ql-align-right { text-align: right; }
.content-page .ql-align-justify { text-align: justify; }

/* Çerez bandı (Partials/_CookieBanner): geniş ekranda sol altta kart, dar ekranda alta yayılır. */
.cookie-banner { position: fixed; left: 1.5rem; bottom: 1.5rem; z-index: 1060; max-width: 560px; display: flex; align-items: center; gap: 1rem;
                 padding: 1.1rem 1.25rem; border-radius: 1.25rem; background: var(--sp-navy); color: #d5e1ea;
                 box-shadow: 0 20px 45px -15px rgba(12, 42, 64, .6); font-size: .95rem; line-height: 1.5; }
.cookie-banner[hidden] { display: none; }
.cookie-banner-icon { flex-shrink: 0; width: 2.75rem; height: 2.75rem; border-radius: .9rem; display: grid; place-items: center;
                      background: rgba(251, 176, 33, .15); }
.cookie-banner-icon i { color: var(--sp-amber); font-size: 1.35rem; }
.cookie-banner-title { font-family: Fredoka, Nunito, sans-serif; font-weight: 600; font-size: 1.05rem; color: #fff; margin-bottom: .15rem; }
.cookie-banner a { color: var(--sp-amber); text-decoration: underline; white-space: nowrap; }
.cookie-banner a:hover { color: #ffbe3b; }
.cookie-banner-accept { flex-shrink: 0; font-size: 1rem; padding: .65rem 1.3rem; }
@media (max-width: 575.98px) {
    .cookie-banner { left: .75rem; right: .75rem; bottom: .75rem; max-width: none; flex-wrap: wrap; }
    .cookie-banner-icon { display: none; }
    .cookie-banner-accept { width: 100%; }
}
