/* Sms Kes web sitesi — tasarım sistemi.
   Derleme adımı yok: bu dosya doğrudan sunulur (layout'ta ?v=dosya-zamanı ile önbellek kırılır). */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokenlar ---------- */
:root {
    --navy: #101828;
    --dark: #0B1220;
    --red: #E5484D;
    --red-hover: #C9363E;
    /* Erişilebilir tonlar: beyaz yazılı düğme zemini (4.6:1) ve beyaz zeminde kırmızı metin (5.3:1). #E5484D ikon/vurgu için. */
    --red-button: #D63B40;
    --red-button-hover: #B92F36;
    --red-text: #C9363E;
    --white: #FFFFFF;
    --soft: #F7F8FA;
    --text: #182230;
    --muted: #667085;
    --line: #E4E7EC;
    --ok: #16A34A;
    /* Koyu zeminde ikincil metin (AA kontrast) */
    --on-dark-muted: #A8B1C2;
    --on-dark-line: rgba(255, 255, 255, .12);

    --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
    --radius: 12px;
    --radius-lg: 16px;
    --container: 1160px;
    --header-h: 64px;
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --shadow-phone: 0 30px 60px -20px rgba(11, 18, 32, .45);
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white);
    text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-text); text-underline-offset: 3px; }
a:hover { color: var(--red-button-hover); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 var(--s4); overflow-wrap: break-word; }
h1 { font-size: clamp(32px, 5.2vw, 56px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 var(--s4); }
code { font-size: .92em; background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 50; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Düğmeler ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
    min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
    font: 600 15px/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--red-button); color: #fff; }
.btn-primary:hover { background: var(--red-button-hover); color: #fff; }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--line); }
.btn-secondary:hover { border-color: #C9CED6; color: var(--navy); }
.btn-on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-on-dark:hover { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn:active { transform: translateY(1px); }

/* ---------- Üst menü ---------- */
.site-header {
    position: sticky; top: 0; z-index: 30; height: var(--header-h);
    /* Düz zemin: backdrop-filter, içindeki position:fixed mobil menüyü başlığın içine hapseder. */
    background: var(--white);
    border-bottom: 1px solid var(--line);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: var(--s5); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; font-size: 19px; text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; }
.brand:hover { color: var(--navy); }
.nav-desktop { display: flex; gap: var(--s1); margin-left: auto; }
.nav-desktop a, .nav-mobile a:not(.btn) { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-desktop a { padding: 8px 12px; border-radius: 8px; }
.nav-desktop a:hover { background: var(--soft); color: var(--navy); }
.header-cta { margin-left: var(--s2); }

/* Mobil menü: <details> — JavaScript olmadan da açılır, klavyeyle kullanılır. */
.nav-mobile { display: none; margin-left: auto; position: relative; }
.nav-mobile > summary {
    list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 10px;
    display: grid; place-items: center; border: 1px solid var(--line); background: var(--white);
}
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile > summary svg { width: 22px; height: 22px; color: var(--navy); }
.nav-mobile .icon-close { display: none; }
.nav-mobile[open] .icon-open { display: none; }
.nav-mobile[open] .icon-close { display: block; }
.nav-mobile .menu {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; overflow-y: auto;
    background: var(--white); padding: var(--s4) 20px var(--s7); border-top: 1px solid var(--line);
    display: flex; flex-direction: column;
}
.nav-mobile .menu a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
.nav-mobile .menu .btn { margin-top: var(--s5); }

@media (max-width: 960px) {
    .nav-desktop, .header-cta { display: none; }
    .nav-mobile { display: block; }
}

/* ---------- Bölümler ---------- */
.section { padding: var(--s9) 0; }
.section-soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--dark); color: #E6E9EF; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .muted, .section-dark p.lead { color: var(--on-dark-muted); }
.section-head { max-width: 680px; margin: 0 0 var(--s7); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: var(--s4);
    font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--red-text);
}
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); }
/* Koyu zeminde kırmızı metin açık tonda (AA kontrast). */
.hero .eyebrow, .section-dark .eyebrow { color: #FF8A8E; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--dark); color: #E6E9EF; padding: var(--s8) 0 var(--s9); }
.hero::before {
    /* Tek, ölçülü derinlik: telefonun arkasında yumuşak ışık. */
    content: ''; position: absolute; right: -10%; top: -20%; width: 70%; height: 140%;
    background: radial-gradient(closest-side, rgba(229, 72, 77, .18), transparent 70%); pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s8); align-items: center; }
.hero h1 { color: #fff; margin-bottom: var(--s5); }
.hero .lead { color: var(--on-dark-muted); max-width: 540px; margin-bottom: var(--s6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.hero-note { margin-top: var(--s5); font-size: 14px; color: var(--on-dark-muted); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--ok); flex: none; }
.hero-visual { display: flex; justify-content: center; }

/* ---------- Telefon çerçevesi (gerçek ekran görüntüsü taşır) ---------- */
.phone {
    position: relative; width: 100%; max-width: 290px; margin: 0 auto; padding: 24px 10px 12px;
    background: #05080F; border-radius: 36px; border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: var(--shadow-phone);
}
.phone::before { /* ön kamera: ekranın üstündeki çerçevede, ekran görüntüsünü örtmez */
    content: ''; position: absolute; top: 9px; left: 50%; width: 8px; height: 8px; transform: translateX(-50%);
    background: #1E2633; border-radius: 50%;
}
.phone img { width: 100%; aspect-ratio: 1 / 2; object-fit: cover; border-radius: 20px; background: #1b1416; }
.phone-caption { margin-top: var(--s4); text-align: center; font-size: 13px; color: var(--muted); }
.hero .phone-caption { color: var(--on-dark-muted); }

/* ---------- Güven şeridi ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--white); }
.trust ul { list-style: none; margin: 0; padding: var(--s5) 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.trust li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--navy); }
.trust svg { width: 20px; height: 20px; color: var(--ok); flex: none; }

/* ---------- Kartlar ---------- */
.grid { display: grid; gap: var(--s5); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s6); }
.card h3 { margin-top: var(--s4); margin-bottom: var(--s2); }
.card p { color: var(--muted); margin: 0; }
.card .tag { display: inline-block; margin-top: var(--s4); font-size: 12px; font-weight: 600; color: var(--muted); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.icon-box { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #FDECEC; color: var(--red); }
.icon-box svg { width: 22px; height: 22px; }
.feature-card { transition: border-color .15s ease, transform .15s ease; }
.feature-card:hover { border-color: #C9CED6; transform: translateY(-2px); }

/* ---------- Problem / çözüm ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; }
.inbox { display: grid; gap: var(--s3); }
.msg { display: grid; grid-template-columns: 40px 1fr auto; gap: var(--s3); align-items: start; padding: var(--s4); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.msg .avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 14px; color: #fff; background: #98A2B3; }
.msg .from { font-weight: 600; color: var(--navy); font-size: 15px; }
.msg .body { color: var(--muted); font-size: 14px; line-height: 1.45; }
.msg .state { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.msg.spam { background: #FFF7F7; border-color: #F6D4D5; }
.msg.spam .avatar { background: var(--red-button); }
.msg.spam .state { color: var(--red-hover); background: #FDECEC; }
.msg.ok .state { color: #166534; background: #EAF7EE; }
.msg.ok .avatar { background: #3F6FD8; }
.check-list { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; gap: var(--s3); }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.check-list svg { width: 20px; height: 20px; color: var(--ok); margin-top: 3px; }
.disclaimer { font-size: 13px; color: var(--muted); margin-top: var(--s4); }

/* ---------- Nasıl çalışır ---------- */
.platform-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); counter-reset: step; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: var(--s4); align-items: start; }
.steps li::before {
    counter-increment: step; content: counter(step);
    width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
    background: var(--navy); color: #fff; font-weight: 600; font-size: 15px;
}
.steps strong { display: block; color: var(--navy); }
.steps span { color: var(--muted); font-size: 15px; }
.platform-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 var(--s5); }
.platform-card h3 svg { width: 22px; height: 22px; color: var(--navy); }

/* ---------- Ekranlar ---------- */
.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); align-items: start; }
.screens figure { margin: 0; }
.screens .phone { max-width: 250px; }
.screens figcaption { margin-top: var(--s4); text-align: center; }
.screens figcaption strong { display: block; color: var(--navy); }
.screens figcaption span { font-size: 14px; color: var(--muted); }

/* ---------- Gizlilik ---------- */
.privacy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); }
.section-dark .card { background: rgba(255, 255, 255, .04); border-color: var(--on-dark-line); }
.section-dark .card p { color: var(--on-dark-muted); }
.section-dark .icon-box { background: rgba(229, 72, 77, .14); }
.section-dark a { color: #FF8A8E; }
.section-dark a:hover { color: #FFB3B5; }

/* ---------- Fiyat ---------- */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: var(--s5); justify-content: center; }
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.price-card .badge { position: absolute; top: -12px; left: var(--s6); background: var(--navy); color: #fff; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 4px 12px; }
.price { font-size: 40px; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; line-height: 1.1; margin: var(--s3) 0 var(--s1); }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card ul { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; gap: var(--s2); color: var(--text); font-size: 15px; }
.price-card li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.price-card li svg { width: 18px; height: 18px; color: var(--ok); margin-top: 3px; }
.pricing-note { max-width: 760px; margin: var(--s6) auto 0; text-align: center; font-size: 14px; color: var(--muted); }

/* ---------- SSS ---------- */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
    padding: 20px 4px; font-weight: 600; font-size: 17px; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--muted); transition: transform .2s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .answer { padding: 0 4px 20px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- İndirme / CTA ---------- */
.cta { text-align: center; }
.cta .lead { max-width: 620px; margin: 0 auto var(--s6); }
.store-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); }
.store-badge {
    display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 20px;
    border-radius: 14px; border: 1px solid rgba(255, 255, 255, .22); color: #fff; text-decoration: none; text-align: left;
}
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge small { display: block; font-size: 11px; opacity: .75; line-height: 1.2; }
.store-badge strong { display: block; font-size: 17px; line-height: 1.2; }
a.store-badge:hover { border-color: rgba(255, 255, 255, .6); color: #fff; }
.store-badge.soon { opacity: .75; cursor: default; }
.store-badge .pill { margin-left: 4px; font-size: 11px; font-weight: 600; background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 2px 8px; }
.light .store-badge { border-color: var(--line); color: var(--navy); }
.light .store-badge .pill { background: var(--soft); color: var(--muted); }

/* ---------- Alt bilgi ---------- */
.site-footer { background: var(--soft); border-top: 1px solid var(--line); padding: var(--s8) 0 var(--s5); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s6); }
.footer-grid h2 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s4); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.footer-grid a { color: var(--text); text-decoration: none; }
.footer-grid a:hover { color: var(--red-text); }
.footer-grid .brand { margin-bottom: var(--s3); }
.footer-grid p { color: var(--muted); font-size: 14px; max-width: 320px; }
.footer-bottom { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line); text-align: center; font-size: 14px; color: var(--muted); padding-bottom: 72px; }

/* ---------- Sabit WhatsApp ---------- */
.whatsapp {
    position: fixed; right: 20px; bottom: 20px; z-index: 25; display: flex; align-items: center; gap: 8px;
    min-height: 48px; padding: 10px 18px 10px 14px; border-radius: 999px; background: #0E7A40; color: #fff;
    font-weight: 600; text-decoration: none; box-shadow: 0 6px 18px rgba(11, 18, 32, .22);
}
.whatsapp:hover { background: #0B6534; color: #fff; }
.whatsapp svg { width: 24px; height: 24px; fill: #fff; }

/* ---------- İçerik sayfaları (gizlilik, koşullar...) ---------- */
.page-head { background: var(--soft); border-bottom: 1px solid var(--line); padding: var(--s8) 0 var(--s7); }
.page-head h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: var(--s3); }
.page-head p { color: var(--muted); margin: 0; max-width: 680px; }
.page-body { padding: var(--s7) 0 var(--s9); }
.prose { max-width: 760px; font-size: 17px; line-height: 1.7; }
.prose h2 { font-size: 22px; margin-top: var(--s7); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: var(--s2); }
.prose .muted { font-size: 15px; }

/* İletişim */
.contact-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-bottom: var(--s6); }
.btn-wa { background: #0E7A40; color: #fff; }
.btn-wa:hover { background: #0B6534; color: #fff; }
.map { margin-top: var(--s5); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.map iframe { display: block; width: 100%; height: 360px; border: 0; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: var(--s2) var(--s4); margin: 0; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; color: var(--navy); font-weight: 500; overflow-wrap: anywhere; }

/* 404 */
.not-found { text-align: center; padding: var(--s9) 0; }
.not-found .code { font-size: 64px; font-weight: 700; color: var(--red); letter-spacing: -0.03em; line-height: 1; }

/* ---------- Duyarlı düzen ---------- */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr 300px; gap: var(--s6); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .trust ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .section { padding: var(--s8) 0; }
    .hero { padding: var(--s7) 0 var(--s8); }
    .hero .container { grid-template-columns: 1fr; text-align: left; }
    .hero-visual { order: 2; }
    .split, .platform-tabs, .privacy-grid, .grid-2 { grid-template-columns: 1fr; gap: var(--s6); }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .screens { grid-template-columns: 1fr; gap: var(--s7); }
    .pricing { grid-template-columns: minmax(0, 420px); }
}
@media (max-width: 560px) {
    .container { padding: 0 16px; }
    .grid-3, .trust ul, .footer-grid { grid-template-columns: 1fr; }
    .card { padding: var(--s5); }
    .hero-actions .btn { flex: 1 1 100%; }
    .msg { grid-template-columns: 36px 1fr; }
    .msg .avatar { width: 36px; height: 36px; }
    .msg .state { grid-column: 2; justify-self: start; }
    .whatsapp span { display: none; }
    .whatsapp { padding: 12px; }
    dl.facts { grid-template-columns: 1fr; gap: 0; }
    dl.facts dd { margin-bottom: var(--s3); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
