/* GeoTrackMe — geotrackme.com
   Açık zemin, ince (light) yazı ağırlıkları. Tek stil dosyası; sayfa sayısı az
   olduğu için bölmenin getireceği ek istek maliyeti faydasından büyük. */

/* ---------- 1. Token ---------- */
:root {
    --ink: #16203a;
    --ink-soft: #4d5875;
    --ink-faint: #7b869f;
    --line: #e6eaf2;
    --line-soft: #f0f3f8;
    --bg: #ffffff;
    --bg-tint: #f7f9fd;
    --bg-card: #ffffff;
    --brand: #3f6fe6;
    --brand-soft: #eef3ff;
    --brand-deep: #2b52b8;
    --mint: #22b8a0;
    --mint-soft: #e8f8f5;
    --amber: #c8871a;
    --amber-soft: #fdf4e3;
    --rose: #d4506a;
    --rose-soft: #fdeef1;
    --shadow-sm: 0 1px 2px rgba(22, 32, 58, .05), 0 4px 14px rgba(22, 32, 58, .04);
    --shadow-md: 0 2px 6px rgba(22, 32, 58, .06), 0 18px 40px rgba(22, 32, 58, .07);
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 26px;
    --wrap: 1100px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
    -webkit-text-size-adjust: 100%;
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink-soft);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 1.0625rem;
    line-height: 1.72;
    letter-spacing: .002em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    color: var(--ink);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -.022em;
    margin: 0 0 .6em;
}

h1 { font-size: clamp(2.4rem, 6vw, 3.9rem); letter-spacing: -.032em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.55rem); letter-spacing: -.026em; }
h3 { font-size: 1.1875rem; font-weight: 500; letter-spacing: -.014em; }
h4 { font-size: 1.0625rem; font-weight: 500; }

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

strong { color: var(--ink); font-weight: 500; }
em { font-style: normal; color: var(--brand-deep); font-weight: 400; }

a { color: var(--brand); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--brand-deep); }

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 4px;
}

img, svg { max-width: 100%; }

.container {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 clamp(1.15rem, 4vw, 2rem);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ink);
    color: #fff;
    padding: .7rem 1.1rem;
    border-radius: 0 0 var(--r-sm) 0;
    z-index: 100;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 3. Başlık / gezinme ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }

.nav {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: .85rem clamp(1.15rem, 4vw, 2rem);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: var(--ink);
    font-weight: 500;
    font-size: 1.06rem;
    letter-spacing: -.02em;
    margin-inline-end: auto;
}
.brand:hover { color: var(--ink); }
.brand-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: linear-gradient(150deg, var(--brand) 0%, #6d97ff 55%, var(--mint) 130%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(63, 111, 230, .28);
    flex: none;
}
.brand-mark svg { width: 19px; height: 19px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(.35rem, 1.4vw, 1.35rem);
}
.nav-links > a {
    color: var(--ink-soft);
    font-size: .95rem;
    font-weight: 400;
    padding: .4rem .1rem;
    white-space: nowrap;
}
.nav-links > a:hover { color: var(--ink); }
.nav-links > a[aria-current="page"] { color: var(--ink); font-weight: 500; }

/* Dil seçici */
.lang-switch { position: relative; }
.lang-switch > summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    padding: .42rem .7rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: .875rem;
    background: #fff;
    transition: border-color .18s var(--ease), color .18s var(--ease);
}
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary:hover { border-color: #cfd8e8; color: var(--ink); }
.lang-switch > summary svg { width: 15px; height: 15px; flex: none; }
.lang-switch > summary .chevron { width: 13px; height: 13px; opacity: .55; transition: transform .2s var(--ease); }
.lang-switch[open] > summary .chevron { transform: rotate(180deg); }

.lang-menu {
    position: absolute;
    top: calc(100% + .5rem);
    inset-inline-end: 0;
    min-width: 190px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
    padding: .4rem;
    z-index: 60;
}
.lang-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .55rem .7rem;
    border-radius: var(--r-sm);
    color: var(--ink-soft);
    font-size: .93rem;
}
.lang-menu a:hover { background: var(--bg-tint); color: var(--ink); }
.lang-menu a[aria-current="true"] { color: var(--brand); background: var(--brand-soft); font-weight: 500; }
.lang-menu a span:last-child { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; opacity: .6; }

/* ---------- 4. Düğmeler ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .82rem 1.5rem;
    border-radius: 999px;
    font-size: .97rem;
    font-weight: 500;
    letter-spacing: -.008em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .18s var(--ease), box-shadow .22s var(--ease), background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary {
    background: linear-gradient(135deg, var(--brand) 0%, #5b87f2 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(63, 111, 230, .26);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(63, 111, 230, .32); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: #cfd8e8; transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ---------- 5. Bölüm ---------- */
.section { padding: clamp(3.4rem, 7vw, 6rem) 0; }
.section.tinted { background: var(--bg-tint); border-block: 1px solid var(--line-soft); }

.section-head { max-width: 660px; margin: 0 0 2.6rem; }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--brand);
    margin: 0 0 .9rem;
}
.eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    background: currentColor;
    opacity: .5;
}
.section-head.centered .eyebrow::before { display: none; }

/* ---------- 6. Hero ---------- */
.hero {
    position: relative;
    padding: clamp(3.2rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
    text-align: center;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: -40% 50% auto;
    width: 130vw;
    height: 90vh;
    transform: translateX(-50%);
    background:
        radial-gradient(closest-side, rgba(63, 111, 230, .14), transparent 70%),
        radial-gradient(closest-side, rgba(34, 184, 160, .12), transparent 70%);
    background-position: 30% 40%, 72% 30%;
    background-size: 60% 70%, 55% 65%;
    background-repeat: no-repeat;
    pointer-events: none;
}
.hero .container { position: relative; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .34rem .85rem .34rem .55rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    color: var(--ink-soft);
    font-size: .84rem;
    margin-bottom: 1.6rem;
}
.badge b {
    color: var(--brand-deep);
    background: var(--brand-soft);
    border-radius: 999px;
    padding: .12rem .55rem;
    font-weight: 500;
    font-size: .8rem;
}

.hero h1 { margin-bottom: .5em; }
.grad {
    background: linear-gradient(105deg, var(--brand) 0%, #5f8bf5 42%, var(--mint) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 400;
}

.lead {
    max-width: 660px;
    margin: 0 auto 2rem;
    font-size: clamp(1.06rem, 2.1vw, 1.22rem);
    line-height: 1.68;
    color: var(--ink-soft);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
    margin-bottom: 1.4rem;
}
.hero-note { font-size: .9rem; color: var(--ink-faint); margin: 0; }

.stat-row {
    list-style: none;
    margin: clamp(2.6rem, 5vw, 3.6rem) auto 0;
    padding: 0;
    max-width: 860px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.stat-row li {
    background: #fff;
    padding: 1.5rem 1rem;
    text-align: center;
}
.stat-row strong {
    display: block;
    font-size: 1.7rem;
    font-weight: 300;
    letter-spacing: -.03em;
    color: var(--ink);
    margin-bottom: .2rem;
}
.stat-row span { font-size: .855rem; color: var(--ink-faint); line-height: 1.45; display: block; }

/* ---------- 7. Kartlar ---------- */
.grid {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
}
.grid.two { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 1.7rem 1.6rem;
    transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #dde4f0; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .975rem; margin: 0; }

.card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-soft);
    color: var(--brand);
    margin-bottom: 1.05rem;
}
.card-icon svg { width: 21px; height: 21px; }
.card-icon.mint { background: var(--mint-soft); color: var(--mint); }
.card-icon.amber { background: var(--amber-soft); color: var(--amber); }
.card-icon.rose { background: var(--rose-soft); color: var(--rose); }

/* Kullanım senaryosu */
.case {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 1.45rem 1.5rem;
}
.case .card-icon { margin: 0; flex: none; }
.case h3 { margin-bottom: .35rem; }
.case p { font-size: .96rem; margin: 0; }

/* ---------- 8. Adımlar ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps > li {
    counter-increment: s;
    position: relative;
    padding: 0 0 2rem 3.6rem;
}
.steps > li::before {
    content: counter(s);
    position: absolute;
    inset-inline-start: 0;
    top: -.1rem;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--brand);
    font-size: .93rem;
    font-weight: 500;
}
.steps > li::after {
    content: "";
    position: absolute;
    inset-inline-start: 1.15rem;
    top: 2.5rem;
    bottom: .35rem;
    width: 1px;
    background: var(--line);
}
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { display: none; }
.steps h3 { margin-bottom: .3rem; }
.steps p { font-size: .975rem; margin: 0; }

/* ---------- 9. Tablo ---------- */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: #fff;
    -webkit-overflow-scrolling: touch;
}
table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
    font-size: .96rem;
}
th, td {
    text-align: start;
    padding: .95rem 1.25rem;
    border-bottom: 1px solid var(--line-soft);
    vertical-align: top;
}
thead th {
    background: var(--bg-tint);
    color: var(--ink);
    font-weight: 500;
    font-size: .84rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
}
tbody tr:last-child td { border-bottom: none; }
tbody td:first-child { color: var(--ink); font-weight: 400; }

/* ---------- 10. Not kutusu ---------- */
.note {
    border: 1px solid var(--line);
    border-inline-start: 3px solid var(--brand);
    background: #fff;
    border-radius: var(--r-sm);
    padding: 1.25rem 1.4rem;
    margin: 1.5rem 0 0;
}
.note.mint { border-inline-start-color: var(--mint); }
.note.amber { border-inline-start-color: var(--amber); }
.note h3 { font-size: 1rem; margin-bottom: .35rem; }
.note p { font-size: .96rem; margin: 0; }

/* ---------- 11. SSS ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--line);
    padding: .35rem 0;
}
.faq-item > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.1rem .2rem;
    color: var(--ink);
    font-size: 1.06rem;
    font-weight: 400;
    letter-spacing: -.012em;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
    content: "";
    flex: none;
    width: 11px;
    height: 11px;
    margin-top: .5rem;
    border-inline-end: 1.5px solid var(--ink-faint);
    border-bottom: 1.5px solid var(--ink-faint);
    transform: rotate(45deg);
    transition: transform .22s var(--ease);
}
.faq-item[open] > summary::after { transform: rotate(-135deg); }
.faq-item > summary:hover { color: var(--brand); }
.faq-item .answer { padding: 0 .2rem 1.25rem; font-size: .99rem; max-width: 68ch; }

/* ---------- 12. Kılavuz ---------- */
.doc-layout {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3.4rem);
    align-items: start;
}
.toc {
    position: sticky;
    top: 106px;
    border-inline-start: 1px solid var(--line);
    padding-inline-start: 1.1rem;
}
.toc p {
    font-size: .76rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin: 0 0 .75rem;
    font-weight: 500;
}
.toc a {
    display: block;
    padding: .32rem 0;
    font-size: .92rem;
    color: var(--ink-soft);
    line-height: 1.45;
}
.toc a:hover { color: var(--brand); }

.doc h2 {
    font-size: clamp(1.45rem, 2.6vw, 1.85rem);
    padding-top: .5rem;
    margin-top: 2.6rem;
}
.doc > section:first-child h2 { margin-top: 0; }
.doc h3 { margin-top: 1.7rem; }
.doc ul, .doc ol { padding-inline-start: 1.35rem; margin: 0 0 1.15rem; }
.doc li { margin-bottom: .55rem; }
.doc li::marker { color: var(--ink-faint); }
.kbd {
    display: inline-block;
    padding: .06rem .45rem;
    border: 1px solid var(--line);
    border-bottom-width: 2px;
    border-radius: 6px;
    background: var(--bg-tint);
    color: var(--ink);
    font-size: .87em;
    font-weight: 400;
    white-space: nowrap;
}

@media (max-width: 860px) {
    .doc-layout { grid-template-columns: 1fr; }
    .toc {
        position: static;
        border-inline-start: none;
        border: 1px solid var(--line);
        border-radius: var(--r-md);
        padding: 1.1rem 1.25rem;
        background: var(--bg-tint);
        margin-bottom: 2rem;
    }
    .toc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 1rem; }
}

/* ---------- 13. Bağlantı kartları ---------- */
.link-grid { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.link-card {
    display: flex;
    align-items: center;
    gap: .95rem;
    padding: 1.15rem 1.3rem;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: #fff;
    color: var(--ink-soft);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.link-card:hover { color: var(--ink-soft); transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #dde4f0; }
.link-card .card-icon { margin: 0; flex: none; width: 38px; height: 38px; border-radius: 11px; }
.link-card .card-icon svg { width: 18px; height: 18px; }
.link-card strong { display: block; font-weight: 500; font-size: .99rem; line-height: 1.35; }
.link-card small { display: block; font-size: .855rem; color: var(--ink-faint); line-height: 1.45; }
.link-card .arrow { margin-inline-start: auto; width: 15px; height: 15px; flex: none; opacity: .4; }

/* ---------- 14. CTA ---------- */
.cta-band {
    background: linear-gradient(140deg, #f2f6ff 0%, #f7fcfb 100%);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: clamp(2.2rem, 5vw, 3.4rem);
    text-align: center;
}
.cta-band h2 { margin-bottom: .5rem; }
.cta-band p { max-width: 560px; margin: 0 auto 1.7rem; }

/* ---------- 15. Alt bilgi ---------- */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 3rem 0 2.4rem;
    background: var(--bg-tint);
}
.footer-top {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 2.4rem;
}
.footer-top p { font-size: .93rem; color: var(--ink-faint); max-width: 34ch; margin: .8rem 0 0; }
.footer-col h4 {
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-faint);
    font-weight: 500;
    margin-bottom: .8rem;
}
.footer-col a {
    display: block;
    padding: .27rem 0;
    font-size: .93rem;
    color: var(--ink-soft);
}
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.5rem;
    align-items: center;
    justify-content: space-between;
    font-size: .875rem;
    color: var(--ink-faint);
}

/* ---------- 16. Görünürlük animasyonu ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease); }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 17. Dar ekran ---------- */
@media (max-width: 720px) {
    body { font-size: 1.02rem; }
    .nav { gap: .5rem; }
    .nav-links > a { font-size: .9rem; }
    .lang-switch > summary .lang-name { display: none; }
    .lang-switch > summary { padding: .42rem .55rem; }
    .steps > li { padding-inline-start: 3.1rem; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    .nav-links > a.nav-hide { display: none; }
    .footer-top { grid-template-columns: 1fr; gap: 1.6rem; }
    .hero-actions .btn { width: 100%; justify-content: center; }
}
