/* ==========================================================================
   WiChat — Site Tasarim Sistemi
   Mevcut landing paletinden cikarildi (src/landing/main.jsx STYLES blogu).
   Cok sayfali site + rehber portali icin genisletildi.
   ========================================================================== */

/* ---------- Tokenlar ---------- */
:root {
    /* Marka */
    --brand: #FF4949;
    --brand-hover: #e03e3e;
    --brand-soft: rgba(255, 73, 73, .08);
    --brand-ring: rgba(255, 73, 73, .25);
    --logo: #E84B3C;

    /* Slate olcegi */
    --s900: #0f172a;
    --s800: #1e293b;
    --s700: #334155;
    --s600: #475569;
    --s500: #64748b;
    --s400: #94a3b8;
    --s300: #cbd5e1;
    --s200: #e2e8f0;
    --s100: #f1f5f9;
    --s50: #f8fafc;
    --white: #ffffff;

    /* Kanal renkleri */
    --wa: #25D366;
    --tg: #26A5E4;
    --ig: #E4405F;
    --fb: #0084FF;
    --voip: #E84B3C;

    /* Durum */
    --ok: #16a34a;
    --ok-bg: #dcfce7;
    --warn: #d97706;
    --warn-bg: #fef3c7;
    --info: #2563eb;
    --info-bg: #dbeafe;
    --danger: #dc2626;
    --danger-bg: #fee2e2;

    /* Olcu */
    --container: 1200px;
    --nav-h: 68px;
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;

    /* Golge */
    --sh-sm: 0 1px 3px rgba(15, 23, 42, .06);
    --sh-md: 0 4px 16px rgba(15, 23, 42, .07);
    --sh-lg: 0 12px 32px rgba(15, 23, 42, .10);
    --sh-brand: 0 8px 24px rgba(255, 73, 73, .22);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--white);
    color: var(--s700);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }

/* Klavye erisilebilirligi */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 2000;
    background: var(--brand); color: #fff; padding: 12px 20px;
    border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Yerlesim ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: var(--s50); }
.section-dark { background: var(--s900); color: var(--s300); }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow {
    display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; color: var(--s900); letter-spacing: -.02em; margin-bottom: 14px; line-height: 1.2; }
.section-head p { font-size: 17px; color: var(--s500); }
.accent { color: var(--brand); }

/* ---------- Tipografi ---------- */
h1, h2, h3, h4 { color: var(--s900); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
h1 { font-size: clamp(32px, 4.4vw, 54px); }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: clamp(19px, 2vw, 23px); font-weight: 700; }
h4 { font-size: 17px; font-weight: 700; }
p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

.lead { font-size: 19px; color: var(--s500); line-height: 1.7; }

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 26px; border-radius: var(--r-sm); font-weight: 600; font-size: 15px;
    border: 1px solid transparent; transition: all .2s; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); box-shadow: var(--sh-brand); transform: translateY(-1px); }
.btn-secondary { background: var(--white); color: var(--s800); border-color: var(--s200); }
.btn-secondary:hover { border-color: var(--s300); background: var(--s50); box-shadow: var(--sh-sm); }
.btn-ghost { background: transparent; color: var(--s600); }
.btn-ghost:hover { background: var(--s100); color: var(--s900); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Navigasyon ---------- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255, 255, 255, .88); backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.nav.scrolled { border-bottom-color: var(--s200); box-shadow: var(--sh-sm); }
.nav-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo svg { width: 34px; height: 34px; }
.nav-logo-text { font-size: 21px; font-weight: 800; color: var(--s800); letter-spacing: -.5px; }
.nav-logo-text span { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { color: var(--s600); font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: var(--r-sm); transition: all .18s; }
.nav-link:hover { color: var(--s900); background: var(--s100); }
.nav-link.active { color: var(--brand); font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: none; padding: 8px; color: var(--s700); }

/* Acilir menu */
.nav-dd { position: relative; }
.nav-dd-panel {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(-6px);
    background: #fff; border: 1px solid var(--s200); border-radius: var(--r-md);
    box-shadow: var(--sh-lg); padding: 10px; min-width: 480px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
    opacity: 0; visibility: hidden; transition: all .2s;
}
.nav-dd:hover .nav-dd-panel, .nav-dd:focus-within .nav-dd-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dd-item { display: flex; gap: 11px; padding: 11px 12px; border-radius: var(--r-sm); transition: background .16s; }
.nav-dd-item:hover { background: var(--s50); }
.nav-dd-item .ic { flex-shrink: 0; width: 34px; height: 34px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--s100); }
.nav-dd-item strong { display: block; font-size: 14px; font-weight: 600; color: var(--s900); margin-bottom: 2px; }
.nav-dd-item span { font-size: 12.5px; color: var(--s500); line-height: 1.45; }

/* Mobil menu */
.nav-mobile {
    display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: 999;
    background: #fff; overflow-y: auto; padding: 20px 24px 40px;
}
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 13px 0; font-size: 16px; font-weight: 500; color: var(--s700); border-bottom: 1px solid var(--s100); }
.nav-mobile .grp { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--s400); margin: 22px 0 4px; }
.nav-mobile .acts { margin-top: 26px; display: grid; gap: 10px; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav-h) + 72px) 0 80px; position: relative; overflow: hidden; }
.hero::before {
    content: ''; position: absolute; top: -260px; right: -160px; width: 680px; height: 680px;
    background: radial-gradient(circle, rgba(255, 73, 73, .10) 0%, transparent 68%);
    pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-note { font-size: 13.5px; color: var(--s400); }

.badge-pill {
    display: inline-flex; align-items: center; gap: 8px; background: var(--brand-soft);
    color: var(--brand); font-size: 13px; font-weight: 600; padding: 7px 15px;
    border-radius: 999px; margin-bottom: 22px;
}
.badge-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* ---------- Kartlar ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: #fff; border: 1px solid var(--s200); border-radius: var(--r-lg);
    padding: 26px; transition: all .22s;
}
.card:hover { border-color: var(--s300); box-shadow: var(--sh-md); transform: translateY(-2px); }
.card .ic {
    width: 46px; height: 46px; border-radius: var(--r-md); display: grid; place-items: center;
    background: var(--brand-soft); margin-bottom: 16px;
}
.card h3 { font-size: 18px; margin-bottom: 9px; }
.card p { font-size: 14.5px; color: var(--s500); line-height: 1.65; }

.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--brand); }
.card-link:hover { gap: 9px; }

/* Kanal karti */
.ch-card { display: flex; gap: 16px; align-items: flex-start; }
.ch-card .ch-ic { width: 46px; height: 46px; border-radius: var(--r-md); display: grid; place-items: center; flex-shrink: 0; background: var(--s50); border: 1px solid var(--s200); }

/* ---------- Istatistik seridi ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--s200); border: 1px solid var(--s200); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: #fff; padding: 28px 22px; text-align: center; }
.stat .v { font-size: 30px; font-weight: 800; color: var(--s900); letter-spacing: -.02em; }
.stat .l { font-size: 13.5px; color: var(--s500); margin-top: 5px; }

/* ---------- Adimlar ---------- */
.steps { display: grid; gap: 20px; counter-reset: step; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; }
.step-n {
    counter-increment: step; width: 44px; height: 44px; border-radius: 50%;
    background: var(--brand); color: #fff; display: grid; place-items: center;
    font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.step-n::before { content: counter(step); }
.step-body h3 { font-size: 18px; margin-bottom: 7px; }
.step-body p { font-size: 15px; color: var(--s500); }

/* ---------- Ekran goruntusu cercevesi ---------- */
.shot { margin: 28px 0; }
.shot-frame {
    border: 1px solid var(--s200); border-radius: var(--r-md); overflow: hidden;
    box-shadow: var(--sh-lg); background: #fff;
}
.shot-bar {
    height: 34px; background: var(--s100); border-bottom: 1px solid var(--s200);
    display: flex; align-items: center; padding: 0 13px; gap: 6px;
}
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--s300); display: block; }
.shot-bar .t { margin-left: 10px; font-size: 11.5px; color: var(--s500); font-style: normal; }
.shot img { width: 100%; display: block; }
.shot figcaption { font-size: 13.5px; color: var(--s500); margin-top: 11px; text-align: center; line-height: 1.6; }
.shot figcaption b { color: var(--s700); font-weight: 600; }

/* Gorsel bekleniyor yer tutucu */
.shot-pending {
    border: 2px dashed var(--s300); border-radius: var(--r-md); background: var(--s50);
    padding: 40px 26px; text-align: center;
}
.shot-pending .lbl { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--s400); margin-bottom: 10px; }
.shot-pending .desc { font-size: 14px; color: var(--s600); max-width: 560px; margin: 0 auto; line-height: 1.65; }

/* ---------- Uyari kutulari ---------- */
.callout { border-radius: var(--r-md); padding: 17px 20px; margin: 22px 0; border-left: 4px solid; font-size: 14.5px; line-height: 1.65; }
.callout strong { display: block; margin-bottom: 5px; font-weight: 700; }
.callout-info { background: var(--info-bg); border-color: var(--info); color: #1e3a8a; }
.callout-warn { background: var(--warn-bg); border-color: var(--warn); color: #78350f; }
.callout-ok { background: var(--ok-bg); border-color: var(--ok); color: #14532d; }
.callout-danger { background: var(--danger-bg); border-color: var(--danger); color: #7f1d1d; }

/* ---------- Kod ---------- */
code { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; font-size: .89em; background: var(--s100); padding: 2px 6px; border-radius: 4px; color: var(--s800); }
pre {
    background: var(--s900); color: #e2e8f0; padding: 20px 22px; border-radius: var(--r-md);
    overflow-x: auto; margin: 20px 0; font-size: 13.5px; line-height: 1.7;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}
pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.code-head {
    background: var(--s800); color: var(--s300); font-size: 12.5px; font-weight: 600;
    padding: 9px 18px; border-radius: var(--r-md) var(--r-md) 0 0; margin: 20px 0 0;
    border-bottom: 1px solid #334155; font-family: 'SFMono-Regular', Consolas, monospace;
}
.code-head + pre { margin-top: 0; border-radius: 0 0 var(--r-md) var(--r-md); }

/* ---------- Tablo ---------- */
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--s200); border-radius: var(--r-md); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { padding: 13px 17px; text-align: left; border-bottom: 1px solid var(--s200); }
th { background: var(--s50); font-weight: 700; color: var(--s800); font-size: 13.5px; white-space: nowrap; }
tr:last-child td { border-bottom: none; }
td code { white-space: nowrap; }

/* ---------- SSS akordeon ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--s200); }
.faq-q {
    width: 100%; background: none; border: none; text-align: left; padding: 20px 40px 20px 0;
    font-size: 16.5px; font-weight: 600; color: var(--s900); position: relative; line-height: 1.5;
}
.faq-q::after {
    content: ''; position: absolute; right: 6px; top: 26px; width: 9px; height: 9px;
    border-right: 2px solid var(--s400); border-bottom: 2px solid var(--s400);
    transform: rotate(45deg); transition: transform .22s;
}
.faq-item.open .faq-q::after { transform: rotate(-135deg); }
.faq-a { display: none; padding: 0 40px 22px 0; font-size: 15px; color: var(--s500); line-height: 1.75; }
.faq-item.open .faq-a { display: block; }

/* ---------- Fiyatlandirma ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan { background: #fff; border: 1px solid var(--s200); border-radius: var(--r-lg); padding: 30px; position: relative; }
.plan.featured { border-color: var(--brand); border-width: 2px; box-shadow: var(--sh-brand); }
.plan-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 15px; border-radius: 999px; }
.plan h3 { font-size: 20px; margin-bottom: 6px; }
.plan .desc { font-size: 14px; color: var(--s500); margin-bottom: 20px; min-height: 42px; }
.plan .price { font-size: 36px; font-weight: 800; color: var(--s900); letter-spacing: -.02em; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--s400); }
.plan ul { list-style: none; margin: 22px 0; display: grid; gap: 11px; }
.plan li { font-size: 14.5px; color: var(--s600); padding-left: 26px; position: relative; line-height: 1.55; }
.plan li::before {
    content: ''; position: absolute; left: 0; top: 6px; width: 15px; height: 9px;
    border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg);
}

/* ---------- Rehber (dokumantasyon) duzeni ---------- */
.docs { display: grid; grid-template-columns: 268px minmax(0, 1fr) 216px; gap: 44px; align-items: start; padding: calc(var(--nav-h) + 40px) 0 80px; }

.docs-side { position: sticky; top: calc(var(--nav-h) + 24px); max-height: calc(100vh - var(--nav-h) - 48px); overflow-y: auto; padding-right: 8px; }
.docs-search { width: 100%; padding: 10px 14px; border: 1px solid var(--s200); border-radius: var(--r-sm); font-size: 14px; margin-bottom: 20px; background: var(--s50); }
.docs-search:focus { outline: none; border-color: var(--brand); background: #fff; }
.docs-nav-grp { margin-bottom: 22px; }
.docs-nav-grp > .t { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--s400); margin-bottom: 9px; }
.docs-nav-grp a { display: block; padding: 7px 12px; font-size: 14px; color: var(--s600); border-radius: 6px; border-left: 2px solid transparent; line-height: 1.45; }
.docs-nav-grp a:hover { background: var(--s50); color: var(--s900); }
.docs-nav-grp a.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; border-left-color: var(--brand); }
.docs-nav-grp a.hidden { display: none; }

.docs-main { min-width: 0; }
.docs-main h1 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.docs-main h2 { font-size: 25px; margin: 44px 0 16px; padding-top: 12px; border-top: 1px solid var(--s100); }
.docs-main h3 { font-size: 19px; margin: 30px 0 12px; }
.docs-main p, .docs-main li { font-size: 15.5px; line-height: 1.78; color: var(--s600); }
.docs-main ul, .docs-main ol { margin: 0 0 18px 22px; display: grid; gap: 8px; }
.docs-main .lead { margin-bottom: 30px; }
.docs-main strong { color: var(--s800); font-weight: 600; }
.docs-main a:not(.btn):not(.card-link) { color: var(--brand); font-weight: 500; border-bottom: 1px solid transparent; }
.docs-main a:not(.btn):not(.card-link):hover { border-bottom-color: var(--brand); }

.docs-toc { position: sticky; top: calc(var(--nav-h) + 24px); font-size: 13.5px; }
.docs-toc .t { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--s400); margin-bottom: 11px; }
.docs-toc a { display: block; padding: 5px 0 5px 12px; color: var(--s500); border-left: 2px solid var(--s200); line-height: 1.45; }
.docs-toc a:hover { color: var(--brand); border-left-color: var(--brand); }

.breadcrumb { font-size: 13.5px; color: var(--s400); margin-bottom: 16px; }
.breadcrumb a { color: var(--s500); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { margin: 0 7px; }

.docs-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--s200); }
.docs-next a { border: 1px solid var(--s200); border-radius: var(--r-md); padding: 17px 20px; transition: all .2s; }
.docs-next a:hover { border-color: var(--brand); box-shadow: var(--sh-sm); }
.docs-next .d { font-size: 12px; color: var(--s400); margin-bottom: 4px; }
.docs-next .n { font-size: 15px; font-weight: 600; color: var(--s900); }
.docs-next .prev { text-align: left; }
.docs-next .next { text-align: right; grid-column: 2; }

/* ---------- Rozet ---------- */
.badge { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 5px; letter-spacing: .02em; }
.badge-ok { background: var(--ok-bg); color: #14532d; }
.badge-info { background: var(--info-bg); color: #1e3a8a; }
.badge-warn { background: var(--warn-bg); color: #78350f; }
.badge-neutral { background: var(--s100); color: var(--s600); }

/* ---------- CTA seridi ---------- */
.cta-band { background: linear-gradient(135deg, var(--s900) 0%, #1a2744 100%); border-radius: var(--r-xl); padding: 56px 44px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; top: -110px; right: -90px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(255, 73, 73, .20) 0%, transparent 68%); }
.cta-band h2 { color: #fff; margin-bottom: 14px; position: relative; }
.cta-band p { color: var(--s400); font-size: 17px; max-width: 560px; margin: 0 auto 28px; position: relative; }
.cta-band .acts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---------- Footer ---------- */
.footer { background: var(--s900); color: var(--s400); padding: 60px 0 30px; margin-top: 88px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; margin-bottom: 44px; }
.footer-brand .nav-logo-text { color: #fff; }
.footer-brand p { font-size: 14px; color: var(--s500); margin-top: 14px; line-height: 1.7; max-width: 300px; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 15px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer li a { font-size: 14px; color: var(--s400); transition: color .18s; }
.footer li a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--s500); }

/* ---------- Yardimcilar ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-4 { margin-bottom: 32px; }
.muted { color: var(--s500); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ==========================================================================
   Duyarli (responsive)
   ========================================================================== */

@media (max-width: 1080px) {
    .docs { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
    .docs-toc { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links, .nav-right .btn-ghost { display: none; }
    .nav-toggle { display: block; }
    .section { padding: 60px 0; }
    .section-head { margin-bottom: 40px; }

    /* Rehber: kenar cubugu ustte acilir liste */
    .docs { grid-template-columns: 1fr; gap: 0; padding-top: calc(var(--nav-h) + 24px); }
    .docs-side {
        position: static; max-height: none; overflow: visible;
        border: 1px solid var(--s200); border-radius: var(--r-md);
        padding: 16px; margin-bottom: 28px; background: var(--s50);
    }
    .docs-next { grid-template-columns: 1fr; }
    .docs-next .next { grid-column: 1; text-align: left; }
}

@media (max-width: 620px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-band { padding: 40px 24px; }
    .hero { padding: calc(var(--nav-h) + 44px) 0 56px; }
    .section { padding: 48px 0; }
    .card { padding: 22px; }
    .btn { width: 100%; }
    .hero-actions .btn, .cta-band .acts .btn { width: 100%; }
    pre { font-size: 12.5px; padding: 16px; }
    th, td { padding: 10px 12px; font-size: 13.5px; }
}

/* ---------- Baski ---------- */
@media print {
    .nav, .footer, .docs-side, .docs-toc, .docs-next, .cta-band { display: none; }
    .docs { grid-template-columns: 1fr; padding-top: 0; }
    body { color: #000; }
}

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