/* ============================================================================
   STOOLS REKLAM - TANITIM (herkese acik sayfa, public/tanitim.php)

   StoolsDigital sitesinin (Landing v6) diliyle: koyu murekkep yazi ve
   dugmeler, tek vurgu rengi (indigo), genis bosluklar, ince cizgili kartlar,
   koyu son cagri ve sutunlu alt bilgi. app.css YUKLENMEZ; dil secicinin
   kurallari login.css'te (bu sayfa onu da yukler) ve ayni degisken adlarini
   kullanir (--bg-1, --border, --fg-*, --accent-ink).
   ============================================================================ */

html { scroll-padding-top: 76px; scroll-behavior: smooth; }

.tn-govde, .tn-govde *, .tn-govde *::before, .tn-govde *::after { box-sizing: border-box; }

.tn-govde {
    --ink: #111111;
    --ink-2: #2a2a2e;
    --bg-0: #fafaf9;
    --bg-1: #ffffff;
    --bg-2: #f4f4f5;
    --border: #e7e5e4;
    --border-strong: #d4d4d8;
    --fg-0: #111111;
    --fg-1: #3f3f46;
    --fg-2: #71717a;
    --accent: #4f46e5;
    --accent-ink: #4338ca;
    --accent-wash: #eef2ff;
    --iyi: #059669;
    --kotu: #dc2626;
    --radius: 12px;
    color-scheme: light;
    margin: 0;
    background: var(--bg-0);
    color: var(--fg-0);
    font-family: "Gilroy", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.tn-govde a { color: inherit; }
/* :where -> sinif kurallari (.tn-h1 vb.) bu sifirlamayi ezebilsin */
.tn-govde :where(h1, h2, h3, h4, p) { margin: 0; }
.tn-govde :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tn-kap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* --- tipografi --- */
.tn-etiket { margin-bottom: 14px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.tn-h1 { margin-bottom: 20px; font-size: clamp(38px, 5.6vw, 64px); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; }
.tn-h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; }
.tn-h3 { margin-bottom: 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.tn-lead { color: var(--fg-1); font-size: 18px; line-height: 1.6; }

/* --- ust serit --- */
.tn-ust { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border); background: rgba(250, 250, 249, 0.88); backdrop-filter: saturate(1.4) blur(12px); }
.tn-ust-ic { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.tn-marka { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.tn-marka-isaret { display: inline-grid; grid-template-columns: 1fr 1fr; width: 32px; height: 32px; overflow: hidden; border-radius: 9px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; }
.tn-marka-isaret span { display: grid; place-items: center; }
.tn-marka-isaret span:last-child { background: var(--accent); }
.tn-menu { display: flex; align-items: center; gap: 4px 26px; }
.tn-menu a { color: var(--fg-1); font-size: 15px; font-weight: 600; text-decoration: none; }
.tn-menu a:hover { color: var(--fg-0); }
.tn-ust-eylem { display: flex; align-items: center; gap: 10px; }
.tn-dil { order: 0; }

/* --- dugmeler --- */
.tn-dugme {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 999px;
    background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap;
    transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.tn-govde .tn-dugme { color: #fff; }
.tn-dugme:hover { background: var(--ink-2); transform: translateY(-1px); }
.tn-dugme.is-ikincil { border-color: var(--border-strong); background: var(--bg-1); }
.tn-govde .tn-dugme.is-ikincil { color: var(--fg-0); }
.tn-dugme.is-ikincil:hover { border-color: var(--fg-0); background: var(--bg-1); }
.tn-dugme.is-kucuk { min-height: 38px; padding: 0 16px; font-size: 14px; }
.tn-dugme.is-buyuk { min-height: 52px; padding: 0 28px; font-size: 16px; }
.tn-dugme.is-tam { width: 100%; }
.tn-dugme.is-acik { border-color: #fff; background: #fff; }
.tn-govde .tn-dugme.is-acik { color: var(--ink); }
.tn-dugme.is-acik:hover { background: #f4f4f5; }
.tn-dugme.is-cizgi { border-color: rgba(255, 255, 255, 0.3); background: transparent; }
.tn-dugme.is-cizgi:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.tn-dugmeler { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- giris (hero) --- */
.tn-hero { padding: 88px 0 96px; overflow: hidden; }
.tn-hero-ic { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 56px; }
.tn-hero-metin .tn-lead { max-width: 560px; margin-bottom: 32px; }
.tn-guven { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--fg-1); font-size: 14.5px; font-weight: 600; }
.tn-guven li { display: inline-flex; align-items: center; gap: 7px; }
.tn-guven svg, .tn-tikli svg { flex: none; color: var(--accent); }

/* urun onizlemesi (ornek rakamlar) */
.tn-onizleme { position: relative; margin: 0; }
.tn-onizleme::before {
    content: ""; position: absolute; inset: -40px -60px -40px 10%; z-index: -1; border-radius: 40px;
    background: radial-gradient(60% 60% at 60% 40%, rgba(79, 70, 229, 0.16), transparent 70%);
}
.tn-pencere { overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: var(--bg-1); box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04), 0 24px 60px -24px rgba(17, 17, 17, 0.22); }
.tn-pencere-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.tn-pencere-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.tn-pencere-bar span { margin-left: 10px; color: var(--fg-2); font-size: 12.5px; font-weight: 600; }
.tn-pencere-ic { display: grid; gap: 14px; padding: 20px; }
.tn-kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tn-kpi > div { display: grid; gap: 2px; min-width: 0; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; }
.tn-kpi span { overflow: hidden; color: var(--fg-2); font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.tn-kpi strong { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tn-kpi em { color: var(--iyi); font-size: 12px; font-style: normal; font-weight: 700; }
.tn-grafik { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 14px 14px 0; border: 1px solid var(--border); border-radius: 12px; }
.tn-grafik i { flex: 1; border-radius: 6px 6px 0 0; background: var(--accent-wash); }
.tn-grafik i:nth-child(1) { height: 34%; }
.tn-grafik i:nth-child(2) { height: 48%; }
.tn-grafik i:nth-child(3) { height: 40%; }
.tn-grafik i:nth-child(4) { height: 58%; }
.tn-grafik i:nth-child(5) { height: 52%; }
.tn-grafik i:nth-child(6) { height: 66%; }
.tn-grafik i:nth-child(7) { height: 62%; }
.tn-grafik i:nth-child(8) { height: 76%; }
.tn-grafik i:nth-child(9) { height: 84%; background: var(--accent); }
.tn-grafik i:nth-child(10) { height: 92%; background: var(--accent); }
.tn-uyari { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #fecaca; border-radius: 12px; background: #fef2f2; }
.tn-uyari b { flex: none; padding: 3px 8px; border-radius: 999px; background: var(--kotu); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.tn-uyari div { display: grid; min-width: 0; }
.tn-uyari strong { font-size: 14px; }
.tn-uyari span { color: var(--fg-1); font-size: 12.5px; }
.tn-oto { display: flex; align-items: center; gap: 10px; color: var(--fg-1); font-size: 13.5px; font-weight: 600; }
.tn-nokta { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--iyi); box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15); }
.tn-onizleme figcaption { margin-top: 12px; color: var(--fg-2); font-size: 12.5px; text-align: center; }

/* --- bolumler --- */
.tn-bolum { padding: 104px 0; }
.tn-bolum.is-beyaz { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-1); }
.tn-bas { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 24px 64px; margin-bottom: 52px; }
.tn-bas .tn-lead { font-size: 17px; }

.tn-ozellikler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--border); border-radius: 20px; background: var(--border); }
.tn-ozellik { padding: 32px 30px; background: var(--bg-1); transition: background-color .15s ease; }
.tn-ozellik:hover { background: var(--bg-0); }
.tn-ozellik p, .tn-adimlar p { color: var(--fg-1); font-size: 15.5px; }
.tn-ikon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 12px; background: var(--accent-wash); color: var(--accent); }

.tn-adimlar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.tn-adimlar li { position: relative; padding: 30px; border: 1px solid var(--border); border-radius: 20px; background: var(--bg-1); }
.tn-adim-no { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 16px; font-weight: 800; }

/* --- fiyat --- */
.tn-fiyat-kart { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--border); border-radius: 24px; background: var(--bg-1); box-shadow: 0 24px 60px -32px rgba(17, 17, 17, 0.25); }
.tn-fiyat-kart.is-bos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 32px; }
.tn-fiyat-sol { display: grid; align-content: start; gap: 20px; padding: 40px; }
.tn-fiyat-sag { padding: 40px; border-left: 1px solid var(--border); background: var(--bg-0); }
.tn-fiyat-ana { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.tn-fiyat-ana strong { font-size: clamp(40px, 5vw, 56px); font-weight: 800; line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.tn-fiyat-ana span { color: var(--fg-2); font-size: 17px; font-weight: 600; }
.tn-fiyat-alt { color: var(--fg-1); font-size: 16px; }
.tn-hesapla { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-0); }
.tn-hesapla label { font-size: 15px; font-weight: 700; }
.tn-sayac { display: inline-flex; align-items: center; overflow: hidden; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--bg-1); }
.tn-sayac button { width: 42px; height: 42px; border: 0; background: transparent; color: var(--fg-0); font: inherit; font-size: 20px; font-weight: 700; cursor: pointer; }
.tn-sayac button:hover { background: var(--bg-2); }
.tn-sayac input { width: 56px; height: 42px; border: 0; border-right: 1px solid var(--border); border-left: 1px solid var(--border); background: transparent; color: var(--fg-0); font: inherit; font-size: 17px; font-weight: 800; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.tn-sayac input::-webkit-outer-spin-button, .tn-sayac input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.tn-toplam { display: grid; gap: 8px; margin: 0; }
.tn-toplam > div { display: flex; justify-content: space-between; gap: 16px; color: var(--fg-1); font-size: 15px; }
.tn-toplam dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tn-toplam .is-toplam { padding-top: 12px; border-top: 1px solid var(--border); color: var(--fg-0); font-size: 18px; font-weight: 800; }
.tn-fiyat-baslik { margin-bottom: 18px; color: var(--fg-2); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.tn-tikli { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.tn-tikli li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; font-weight: 600; }
.tn-tikli svg { margin-top: 3px; }

/* --- SSS --- */
.tn-sss-ic { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; gap: 40px 72px; }
.tn-sss-ic .tn-lead { margin-top: 16px; font-size: 17px; }
.tn-sss { border-top: 1px solid var(--border); }
.tn-sss details { border-bottom: 1px solid var(--border); }
.tn-sss summary { position: relative; padding: 22px 40px 22px 0; font-size: 17px; font-weight: 700; list-style: none; cursor: pointer; }
.tn-sss summary::-webkit-details-marker { display: none; }
.tn-sss summary::after { content: "+"; position: absolute; top: 50%; right: 4px; color: var(--fg-2); font-size: 24px; font-weight: 400; line-height: 1; transform: translateY(-50%); transition: transform .15s ease; }
.tn-sss details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.tn-sss details p { padding: 0 40px 22px 0; color: var(--fg-1); font-size: 16px; }

/* --- son cagri --- */
.tn-cagri { padding: 0 0 104px; }
.tn-cagri-ic { display: grid; justify-items: center; gap: 16px; padding-top: 80px; padding-bottom: 80px; border-radius: 28px; background: var(--ink); color: #fff; text-align: center; }
.tn-cagri-ic p { max-width: 560px; color: rgba(255, 255, 255, 0.72); font-size: 18px; }
.tn-cagri-ic .tn-dugmeler { justify-content: center; margin-top: 12px; }

/* --- alt bilgi --- */
.tn-alt { padding: 72px 0 32px; border-top: 1px solid var(--border); background: var(--bg-1); }
.tn-alt-ic { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; }
.tn-alt-marka p { max-width: 320px; margin-top: 16px; color: var(--fg-2); font-size: 14.5px; }
.tn-alt h4 { margin-bottom: 16px; color: var(--fg-0); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.tn-alt ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tn-alt ul a { color: var(--fg-1); font-size: 14.5px; text-decoration: none; overflow-wrap: anywhere; }
.tn-alt ul a:hover { color: var(--fg-0); text-decoration: underline; }
.tn-adres { margin-top: 14px; color: var(--fg-2); font-size: 13.5px; line-height: 1.55; }
.tn-alt-taban { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--fg-2); font-size: 13.5px; }
.tn-alt-taban nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.tn-alt-taban a { color: var(--fg-2); text-decoration: none; }
.tn-alt-taban a:hover { color: var(--fg-0); text-decoration: underline; }

/* --- duyarli --- */
@media (max-width: 980px) {
    .tn-menu { display: none; }
    .tn-hero { padding: 56px 0 72px; }
    .tn-hero-ic, .tn-bas, .tn-sss-ic { grid-template-columns: 1fr; }
    .tn-hero-ic { gap: 48px; }
    .tn-ozellikler { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tn-adimlar { grid-template-columns: 1fr; }
    .tn-fiyat-kart { grid-template-columns: 1fr; }
    .tn-fiyat-sag { border-top: 1px solid var(--border); border-left: 0; }
    .tn-alt-ic { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tn-alt-marka { grid-column: 1 / -1; }
    .tn-bolum { padding: 80px 0; }
}

@media (max-width: 640px) {
    .tn-kap { padding: 0 16px; }
    .tn-ust-ic { min-height: 60px; gap: 10px; }
    .tn-ust-eylem .is-ikincil { display: none; }
    .tn-marka { font-size: 16px; }
    .tn-ozellikler { grid-template-columns: 1fr; }
    .tn-ozellik, .tn-adimlar li { padding: 26px 22px; }
    .tn-fiyat-sol, .tn-fiyat-sag { padding: 28px 22px; }
    .tn-kpi strong { font-size: 16px; }
    .tn-kpi > div { padding: 10px; }
    .tn-cagri-ic { padding: 56px 20px; border-radius: 22px; }
    .tn-alt-ic { grid-template-columns: 1fr; gap: 32px; }
    .tn-dugmeler .tn-dugme { flex: 1 1 100%; }
    .tn-bolum { padding: 64px 0; }
}
