/* ==========================================================================
   NetQuery 2.0 — Canlı tasarım sistemi
   Palet: canlı mor / mavi / turkuaz / yeşil / turuncu / pembe
   ========================================================================== */

:root {
    /* Marka renkleri */
    --violet-700: #6d28d9;
    --violet-600: #7c3aed;
    --violet-500: #8b5cf6;
    --indigo-600: #4f46e5;
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --cyan-500: #06b6d4;
    --teal-500: #14b8a6;
    --green-600: #16a34a;
    --green-500: #22c55e;
    --lime-600: #65a30d;
    --amber-500: #f59e0b;
    --orange-500: #f97316;
    --pink-500: #ec4899;
    --fuchsia-500: #d946ef;

    /* Yüzeyler */
    --bg: #ffffff;
    --bg-soft: #f7f8fe;
    --bg-tint: #f1f4ff;
    --bg-ink: #0e1030;
    --line: #e6e9f7;
    --line-strong: #d3d9f0;

    --text: #0b1020;
    --text-soft: #3d4560;
    --muted: #5f6884;

    --grad-hero: linear-gradient(120deg, #7c3aed 0%, #4f46e5 38%, #06b6d4 100%);
    --grad-accent: linear-gradient(90deg, #ec4899 0%, #f97316 100%);
    --grad-cool: linear-gradient(90deg, #06b6d4 0%, #22c55e 100%);
    --grad-warm: linear-gradient(90deg, #f59e0b 0%, #ec4899 100%);
    --grad-text: linear-gradient(100deg, #7c3aed 0%, #2563eb 45%, #06b6d4 100%);

    --shadow-sm: 0 2px 8px rgba(24, 30, 70, .06);
    --shadow-md: 0 12px 30px -14px rgba(37, 99, 235, .35);
    --shadow-lg: 0 28px 60px -30px rgba(79, 70, 229, .45);
    --shadow-glow: 0 0 0 4px rgba(124, 58, 237, .14);

    --r-btn: 10px;
    --r-input: 12px;
    --r-card: 18px;
    --r-pill: 999px;

    --container: 1180px;
    --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-mono: "JetBrains Mono", "Cascadia Mono", ui-monospace, Menlo, monospace;
}

/* Ton sistemi: rozet, kart ve kenarlıklarda kullanılır */
.tone-blue    { --tone: #2563eb; --tone-soft: #e8efff; }
.tone-violet  { --tone: #7c3aed; --tone-soft: #f1ebff; }
.tone-indigo  { --tone: #4f46e5; --tone-soft: #ecebff; }
.tone-cyan    { --tone: #06b6d4; --tone-soft: #e2f8fd; }
.tone-teal    { --tone: #0d9488; --tone-soft: #e2f7f3; }
.tone-green   { --tone: #16a34a; --tone-soft: #e6f8ec; }
.tone-lime    { --tone: #65a30d; --tone-soft: #eef9df; }
.tone-amber   { --tone: #d97706; --tone-soft: #fef3dd; }
.tone-orange  { --tone: #ea580c; --tone-soft: #ffede1; }
.tone-pink    { --tone: #db2777; --tone-soft: #fdeaf4; }
.tone-fuchsia { --tone: #c026d3; --tone-soft: #fbe9fe; }
.tone-red     { --tone: #dc2626; --tone-soft: #fdecec; }
.tone-slate   { --tone: #475569; --tone-soft: #eef1f7; }

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0 0 .5rem; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1rem; color: var(--text-soft); }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0 0 1rem; padding-left: 1.1rem; }
li { color: var(--text-soft); }
/* Sayfa içi bağlantılar yapışkan üst menünün altında kalmasın */
[id] { scroll-margin-top: 92px; }
code, pre, .mono { font-family: var(--font-mono); font-size: .88em; }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid rgba(124, 58, 237, .5); outline-offset: 2px; border-radius: 6px; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 100;
    background: var(--violet-600); color: #fff; padding: .7rem 1rem; border-radius: 0 0 var(--r-btn) 0;
}
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* --------------------------------------------------------------------------
   Üst menü
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(150%) blur(14px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { display: inline-flex; filter: drop-shadow(0 6px 14px rgba(124, 58, 237, .35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.06rem; font-weight: 800; color: var(--text); letter-spacing: -.03em; }
.brand-text span { font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }

.main-nav { display: flex; gap: .25rem; margin-left: auto; }
.nav-link {
    padding: .5rem .8rem; border-radius: var(--r-btn); font-weight: 600; font-size: .93rem;
    color: var(--text-soft); text-decoration: none; transition: background .18s ease, color .18s ease;
}
.nav-link:hover { background: var(--bg-tint); color: var(--violet-700); text-decoration: none; }
.nav-link.is-active { color: var(--violet-700); background: linear-gradient(90deg, rgba(124,58,237,.12), rgba(6,182,212,.12)); }

.header-actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }

/* Üst menüdeki "IP Adresim" açılır paneli */
.ip-pop { position: relative; }
.ip-pop-panel {
    position: absolute; top: calc(100% + .55rem); right: 0; z-index: 60;
    width: min(320px, 82vw); padding: 1rem 1.1rem;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
    box-shadow: var(--shadow-md);
}
.ip-pop-panel[hidden] { display: none; }
.ip-pop-link { display: inline-block; margin-top: .65rem; font-size: .8rem; font-weight: 700; color: var(--violet-700); text-decoration: none; }
.ip-pop-link:hover { text-decoration: underline; }

.lang-switch { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 3px; }
.lang-link { padding: .28rem .6rem; border-radius: var(--r-pill); font-size: .8rem; font-weight: 700; color: var(--muted); }
.lang-link.is-active { background: var(--grad-hero); color: #fff; }
.lang-link:hover { text-decoration: none; }

.nav-toggle { display: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r-btn); padding: .55rem; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; position: relative;
}
.nav-toggle-bars::before { content: ""; position: absolute; top: -6px; }
.nav-toggle-bars::after { content: ""; position: absolute; top: 6px; }

/* --------------------------------------------------------------------------
   Düğmeler
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .72rem 1.15rem; border-radius: var(--r-btn); border: 1px solid transparent;
    font: inherit; font-weight: 700; font-size: .93rem; cursor: pointer; text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0) scale(.99); }
.btn-primary { background: var(--grad-hero); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { box-shadow: 0 18px 34px -14px rgba(79, 70, 229, .6); }
.btn-accent { background: var(--grad-accent); color: #fff; box-shadow: 0 12px 26px -14px rgba(236, 72, 153, .6); }
.btn-cool { background: var(--grad-cool); color: #04331f; }
.btn-soft { background: var(--bg-tint); color: var(--violet-700); border-color: #dfe4ff; }
.btn-soft:hover { background: #e7ecff; }
.btn-ghost { background: transparent; color: var(--text-soft); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--violet-500); color: var(--violet-700); }
.btn-sm { padding: .45rem .8rem; font-size: .84rem; }
.btn-lg { padding: .95rem 1.6rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .65; pointer-events: none; }

/* --------------------------------------------------------------------------
   Bölümler ve kartlar
   -------------------------------------------------------------------------- */
main { display: block; }
.section { padding: 3.4rem 0; }
.section-tight { padding: 2.2rem 0; }
.section-head { max-width: 720px; margin-bottom: 1.8rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .45rem; font-size: .76rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .14em; color: var(--violet-600); margin-bottom: .6rem;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--grad-accent); }
.section-title { margin-bottom: .5rem; }
.section-sub { color: var(--muted); margin: 0; }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
    padding: 1.35rem; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md), 0 0 0 1px rgba(124, 58, 237, .14); border-color: rgba(124, 58, 237, .34); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.card-head h3, .card-head h2 { margin: 0; }
.card-tint { background: linear-gradient(160deg, #ffffff 0%, var(--bg-tint) 100%); }
.card-note { color: var(--muted); font-size: .85rem; margin: 0; }

.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1.2rem; align-items: start; }

/* --------------------------------------------------------------------------
   Sorgu sonrası bilgi paneli (tescil · SSL · ad sunucusu)
   -------------------------------------------------------------------------- */
.domain-panel {
    margin-top: 1.4rem; padding: 1.15rem 1.25rem;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
    box-shadow: var(--shadow-sm);
}
.domain-panel .card-head { margin-bottom: .95rem; }
.domain-panel .card-head h3 { font-size: 1.05rem; }

.info-grid { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.info-block { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.05rem; }
.info-block-wide { grid-column: 1 / -1; }
.info-title {
    margin: 0 0 .8rem; font-size: .74rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
}
.info-block .kv-list div:last-child { border-bottom: 0; padding-bottom: 0; }

.ssl-bar { height: 6px; margin-top: .9rem; border-radius: var(--r-pill); background: var(--line); overflow: hidden; }
.ssl-bar > span { display: block; height: 100%; border-radius: var(--r-pill); background: var(--tone, var(--violet-600)); transition: width .35s ease; }

.share-box {
    margin-bottom: 1rem; padding: .9rem 1rem; background: var(--bg-soft);
    border: 1px solid var(--line); border-radius: 16px;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .8rem; align-items: end;
}
.share-box-copy { min-width: 0; }

.history-grid { display: grid; gap: 1rem; }
.history-card {
    background: #fff; border: 1px solid var(--line); border-radius: 18px;
    box-shadow: var(--shadow-sm); padding: 1rem 1.05rem;
}
.history-card-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: .8rem; margin-bottom: .55rem;
}
.history-card-head h3 { margin: 0; font-size: 1.02rem; }
.history-card-meta { font-size: .82rem; color: var(--muted); margin-bottom: .85rem; }
.history-record + .history-record { margin-top: .8rem; padding-top: .8rem; border-top: 1px dashed var(--line); }
.history-entry-list { list-style: none; margin: .55rem 0 0; padding: 0; display: grid; gap: .45rem; }
.history-entry-list li {
    display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: .7rem;
    align-items: start; font-size: .88rem;
}
.history-entry-list span { color: var(--muted); font-weight: 600; }
.history-entry-list strong { font-weight: 700; word-break: break-word; }

/* İstatistik kutuları */
.stat {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 1rem 1.1rem;
    position: relative; overflow: hidden;
}
.stat::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--tone, var(--violet-600)); }
.stat-label { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.stat-value { font-size: 1.5rem; font-weight: 800; margin-top: .3rem; word-break: break-word; }
.stat-value small { font-size: .8rem; font-weight: 600; color: var(--muted); }
.stat-hint { font-size: .8rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; padding: 3.6rem 0 3rem; overflow: hidden; background: linear-gradient(180deg, #fbfbff 0%, #ffffff 60%); }
/* Işıma katmanları: geniş blur filtresi tarayıcıda pahalıya mal olduğu için
   yumuşaklık doğrudan radyal geçişle sağlanır (görsel fark yok, boyama hızlı). */
.hero::before, .hero::after {
    content: ""; position: absolute; border-radius: 50%; opacity: .5; z-index: 0; pointer-events: none;
}
.hero::before { width: 620px; height: 620px; background: radial-gradient(circle, rgba(124,58,237,.36), rgba(124,58,237,0) 68%); top: -240px; right: -140px; }
.hero::after { width: 560px; height: 560px; background: radial-gradient(circle, rgba(6,182,212,.32), rgba(6,182,212,0) 68%); bottom: -260px; left: -180px; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
.hero-copy { max-width: 780px; }
.hero h1 { margin-bottom: .8rem; }
.hero-sub { font-size: 1.06rem; color: var(--text-soft); max-width: 62ch; }
.badge-line { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: var(--r-pill);
    background: #fff; border: 1px solid var(--line); font-size: .78rem; font-weight: 700; color: var(--violet-700); box-shadow: var(--shadow-sm); margin-bottom: 1rem; }
.badge-line .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-cool); box-shadow: 0 0 0 4px rgba(34,197,94,.18); }

/* --------------------------------------------------------------------------
   Form
   -------------------------------------------------------------------------- */
.query-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.3rem; box-shadow: var(--shadow-lg); }
.query-row { display: grid; grid-template-columns: minmax(0, 1fr) 210px auto; gap: .7rem; }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.input, .select {
    width: 100%; padding: .8rem .95rem; border: 1px solid var(--line-strong); border-radius: var(--r-input);
    font: inherit; font-size: .95rem; color: var(--text); background: #fff; transition: border-color .16s ease, box-shadow .16s ease;
}
.input:focus, .select:focus { border-color: var(--violet-500); box-shadow: var(--shadow-glow); outline: none; }
.input::placeholder { color: #a3abbf; }
.input-mono { font-family: var(--font-mono); }
.input-sm { padding: .55rem .7rem; font-size: .88rem; }
.form-hint { font-size: .82rem; color: var(--muted); margin: 0; }
.form-error { color: #b91c1c; font-size: .86rem; font-weight: 600; margin: 0; }
.examples { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .84rem; color: var(--muted); }
.example-chip { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-pill); padding: .2rem .6rem; font-family: var(--font-mono); font-size: .78rem; color: var(--text-soft); cursor: pointer; }
.example-chip:hover { border-color: var(--violet-500); color: var(--violet-700); }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
    display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .7rem; border-radius: var(--r-pill);
    border: 1px solid var(--line-strong); background: #fff; color: var(--text-soft);
    font-family: var(--font-mono); font-size: .8rem; font-weight: 600; cursor: pointer; user-select: none;
    transition: all .16s ease;
}
.chip:hover { border-color: var(--tone, var(--violet-500)); color: var(--tone, var(--violet-700)); }
.chip.is-active { background: var(--tone-soft, var(--bg-tint)); border-color: var(--tone, var(--violet-500)); color: var(--tone, var(--violet-700)); box-shadow: 0 0 0 3px rgba(124,58,237,.08); }
.chip-input { position: absolute; opacity: 0; pointer-events: none; }

.advanced-toggle { background: none; border: 0; padding: 0; color: var(--violet-700); font: inherit; font-weight: 700; cursor: pointer; }
.advanced-body[hidden] { display: none; }
.advanced-body { margin-top: .9rem; padding-top: .9rem; border-top: 1px dashed var(--line-strong); display: grid; gap: .9rem; }

/* --------------------------------------------------------------------------
   Rozetler, uyarılar, etiketler
   -------------------------------------------------------------------------- */
.badge {
    display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .55rem; border-radius: var(--r-pill);
    background: var(--tone-soft, var(--bg-tint)); color: var(--tone, var(--violet-700));
    font-size: .76rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap;
}
.badge-outline { background: #fff; border: 1px solid var(--tone, var(--line-strong)); }
.badge-mono { font-family: var(--font-mono); font-weight: 600; }

.alert { display: flex; gap: .7rem; padding: .9rem 1rem; border-radius: var(--r-input); border: 1px solid var(--line); background: var(--bg-soft); font-size: .92rem; }
.alert-pass { background: #eafaf0; border-color: #b6ebc8; color: #0f5132; }
.alert-warn { background: #fff7e6; border-color: #f8dda0; color: #7a4c00; }
.alert-fail { background: #fdecec; border-color: #f6bcbc; color: #8a1c1c; }
.alert-info { background: #eaf2ff; border-color: #bdd4ff; color: #123a7a; }
.alert strong { color: inherit; }

.pill-row { display: flex; flex-wrap: wrap; gap: .4rem; }

/* --------------------------------------------------------------------------
   Tablolar
   -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
table.data-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 620px; }
table.data-table th, table.data-table td { padding: .7rem .85rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data-table thead th {
    background: var(--bg-soft); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em;
    color: var(--muted); font-weight: 800; position: sticky; top: 0;
}
table.data-table tbody tr:last-child td { border-bottom: 0; }
table.data-table tbody tr:hover { background: #fbfcff; }
table.data-table .val { font-family: var(--font-mono); font-size: .86rem; word-break: break-word; }
table.data-table .val-strong { font-weight: 700; }
.cell-actions { white-space: nowrap; }

/* Kayıt grubu başlığı */
.record-group { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; margin-bottom: 1rem; background: #fff; }
.record-group-head {
    display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem;
    background: linear-gradient(90deg, var(--tone-soft, var(--bg-tint)), #fff 70%);
    border-bottom: 1px solid var(--line);
}
.record-group-head h4 { margin: 0; font-size: 1rem; display: flex; align-items: center; gap: .5rem; }
.record-group-head .meta { margin-left: auto; display: flex; gap: .5rem; align-items: center; color: var(--muted); font-size: .8rem; }
.record-empty { padding: .9rem 1rem; color: var(--muted); font-size: .9rem; }
.record-list { margin: 0; padding: 0; list-style: none; }
.record-list li { display: flex; gap: .8rem; padding: .65rem 1rem; border-bottom: 1px dashed var(--line); align-items: flex-start; }
.record-list li:last-child { border-bottom: 0; }
.record-list .val { font-family: var(--font-mono); font-size: .87rem; word-break: break-all; color: var(--text); flex: 1; }
.record-list .ttl { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.record-list .name { color: var(--muted); font-size: .8rem; }

/* --------------------------------------------------------------------------
   Sekmeler
   -------------------------------------------------------------------------- */
.tabs { display: flex; gap: .3rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 1.2rem; }
.tab {
    background: none; border: 0; border-bottom: 3px solid transparent; padding: .6rem .9rem;
    font: inherit; font-weight: 700; font-size: .93rem; color: var(--muted); cursor: pointer; border-radius: 8px 8px 0 0;
}
.tab:hover { color: var(--violet-700); background: var(--bg-soft); }
.tab.is-active { color: var(--violet-700); border-bottom-color: var(--violet-600); }
.tab-panel[hidden] { display: none; }

/* --------------------------------------------------------------------------
   Ölçüm / puan göstergeleri
   -------------------------------------------------------------------------- */
.score-ring { --pct: 0; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center;
    background: conic-gradient(var(--ring, var(--violet-600)) calc(var(--pct) * 1%), var(--line) 0); position: relative; }
.score-ring::before { content: ""; position: absolute; inset: 10px; background: #fff; border-radius: 50%; }
.score-ring .score-value { position: relative; font-size: 2rem; font-weight: 800; }
.score-ring .score-value span { font-size: .9rem; color: var(--muted); font-weight: 600; }

.progress { height: 9px; border-radius: var(--r-pill); background: var(--bg-tint); overflow: hidden; }
.progress-bar { height: 100%; background: var(--tone, var(--violet-600)); border-radius: var(--r-pill); transition: width .4s ease; }

.kv-list { display: grid; gap: .55rem; margin: 0; }
.kv-list div { display: flex; gap: .8rem; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed var(--line); padding-bottom: .5rem; }
.kv-list dt { color: var(--muted); font-size: .84rem; font-weight: 600; }
.kv-list dd { margin: 0; font-weight: 700; text-align: right; word-break: break-word; }
.kv-list .mono { font-weight: 500; }

/* --------------------------------------------------------------------------
   Boş durum, yükleme, toast
   -------------------------------------------------------------------------- */
.empty-state { text-align: center; padding: 2.6rem 1rem; color: var(--muted); }
.empty-state svg { opacity: .5; margin-bottom: .6rem; }

.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(124,58,237,.25); border-top-color: var(--violet-600); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loader-inline { display: inline-flex; align-items: center; gap: .5rem; color: var(--violet-700); font-weight: 600; font-size: .9rem; }

.skeleton { background: linear-gradient(90deg, #eef0f9 25%, #f7f8ff 37%, #eef0f9 63%); background-size: 400% 100%; animation: shimmer 1.3s ease infinite; border-radius: 8px; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.skeleton-line { height: 14px; margin-bottom: .6rem; }

.toast-wrap { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; gap: .5rem; }
.toast {
    background: var(--bg-ink); color: #fff; padding: .7rem 1rem; border-radius: var(--r-btn);
    box-shadow: var(--shadow-lg); font-size: .88rem; font-weight: 600; animation: fadeUp .22s ease;
}
.toast.is-error { background: #b91c1c; }
.toast.is-pass { background: #15803d; }

/* --------------------------------------------------------------------------
   Öne çıkan özellik kartları
   -------------------------------------------------------------------------- */
.feature-card { position: relative; overflow: hidden; border-radius: 22px; padding: 1.6rem; color: #fff; background: var(--grad-hero); box-shadow: var(--shadow-lg); }
.feature-card.grad-2 { background: linear-gradient(120deg, #ec4899 0%, #f97316 60%, #f59e0b 100%); }
.feature-card.grad-3 { background: linear-gradient(120deg, #06b6d4 0%, #2563eb 55%, #4f46e5 100%); }
.feature-card::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.18); filter: blur(40px); top: -90px; right: -70px; }
.feature-card h3 { color: #fff; font-size: 1.28rem; }
.feature-card p { color: rgba(255,255,255,.9); position: relative; z-index: 1; }
.feature-card .btn { background: #fff; color: var(--violet-700); margin-top: .4rem; }
.feature-card .feature-ico { font-size: 1.6rem; margin-bottom: .5rem; display: block; }
.feature-list { list-style: none; padding: 0; margin: 0 0 .8rem; }
.feature-list li { color: rgba(255,255,255,.92); font-size: .9rem; padding-left: 1.1rem; position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: #fff; }

/* --------------------------------------------------------------------------
   Akordeon (SSS)
   -------------------------------------------------------------------------- */
.accordion { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: #fff; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 0; }
.accordion summary { cursor: pointer; padding: 1rem 1.1rem; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.3rem; color: var(--violet-600); line-height: 1; }
.accordion details[open] summary::after { content: "–"; }
.accordion .acc-body { padding: 0 1.1rem 1.1rem; color: var(--text-soft); font-size: .94rem; }
.accordion details[open] summary { background: var(--bg-soft); }

/* --------------------------------------------------------------------------
   Yayılım tablosu yardımcıları
   -------------------------------------------------------------------------- */
.flag-code { font-family: var(--font-mono); font-weight: 700; font-size: .78rem; letter-spacing: .06em; }
.loc-cell { display: flex; flex-direction: column; }
.loc-cell strong { font-size: .92rem; }
.loc-cell span { font-size: .78rem; color: var(--muted); }
.match-cell { max-width: 420px; }
.match-val { font-family: var(--font-mono); font-size: .8rem; word-break: break-all; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: var(--tone, var(--muted)); box-shadow: 0 0 0 3px var(--tone-soft, transparent); }

/* --------------------------------------------------------------------------
   Alt bilgi
   -------------------------------------------------------------------------- */
.site-footer { margin-top: 3rem; background: var(--bg-ink); color: rgba(255,255,255,.78); padding: 2.6rem 0 1.2rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 1.6rem; }
.site-footer h3 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: #fff; }
.footer-about p { color: rgba(255,255,255,.7); font-size: .9rem; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text span { color: rgba(255,255,255,.55); }
.footer-note { font-size: .78rem; color: rgba(255,255,255,.5); margin: .5rem 0 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }
.footer-links a { color: rgba(255,255,255,.65); }

/* --------------------------------------------------------------------------
   Animasyonlar
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp .3s ease both; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
    .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Duyarlı
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
    .split { grid-template-columns: minmax(0, 1fr); }
    .query-row { grid-template-columns: minmax(0, 1fr); }
    .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 760px) {
    .nav-toggle { display: inline-flex; margin-left: auto; }
    .main-nav {
        position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column;
        background: #fff; border-bottom: 1px solid var(--line); padding: .6rem; gap: .2rem; box-shadow: var(--shadow-md);
    }
    .main-nav.is-open { display: flex; }
    .header-actions { gap: .4rem; }
    .header-actions .btn { display: none; }
    /* "IP Adresim" düğmesi mobilde de erişilebilir kalsın */
    .header-actions .ip-pop > .btn { display: inline-flex; }
    .hero { padding-top: 2.2rem; }
    .section { padding: 2.4rem 0; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
    table.data-table { min-width: 520px; }
}

/* --------------------------------------------------------------------------
   Yazdırma (rapor sayfası)
   -------------------------------------------------------------------------- */
@media print {
    .site-header, .site-footer, .no-print, .toast-wrap { display: none !important; }
    body { background: #fff; font-size: 11.5pt; }
    .card, .table-wrap, .record-group { box-shadow: none; border-color: #ccc; break-inside: avoid; }
    a { color: #000; text-decoration: none; }
    .section { padding: 0 0 1rem; }
    .print-header { display: block !important; margin-bottom: 1rem; }
}
.print-header { display: none; }

/* ==========================================================================
   Genişletilmiş tasarım sistemi — alt sayfalar
   Hizmetler, kurumsal, blog ve yasal sayfalar aynı token'ları paylaşır.
   ========================================================================== */

.nq-icon { display: inline-block; vertical-align: middle; flex: none; }

/* --- Alt sayfa hero ------------------------------------------------------- */
.page-hero {
    position: relative; overflow: hidden;
    padding: 2.8rem 0 2.2rem;
    background: linear-gradient(180deg, var(--bg-tint) 0%, #ffffff 100%);
    border-bottom: 1px solid var(--line);
}
.page-hero::before {
    content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
    background: radial-gradient(circle, rgba(124,58,237,.22), rgba(124,58,237,0) 70%);
    top: -280px; right: -120px; pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-bottom: .6rem; }
.page-hero .lead { font-size: 1.04rem; color: var(--text-soft); max-width: 68ch; margin: 0; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }

/* --- Kırıntı navigasyonu -------------------------------------------------- */
.breadcrumbs { margin-bottom: 1rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: 0; font-size: .82rem; }
.breadcrumbs li { color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--violet-700); }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 600; }

/* --- İkon kutucuğu ------------------------------------------------------- */
.icon-tile {
    width: 46px; height: 46px; border-radius: 13px; display: inline-grid; place-items: center;
    background: var(--tone-soft, var(--bg-tint)); color: var(--tone, var(--violet-600));
    border: 1px solid rgba(11, 16, 32, .06);
    margin-bottom: .9rem;
}
.icon-tile-sm { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 0; }
.feature-card .icon-tile, .page-cta .icon-tile { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.35); color: #fff; }

/* --- Hizmet kartları ----------------------------------------------------- */
.svc-card { display: flex; flex-direction: column; height: 100%; }
.svc-card h3 { font-size: 1.16rem; margin-bottom: .45rem; }
.svc-card > p { flex: 0 0 auto; }
.svc-card .feature-list { margin: 0 0 1.1rem; padding: 0; }
.svc-card .feature-list li {
    color: var(--text-soft); font-size: .9rem; padding-left: 1.5rem; position: relative; margin-bottom: .3rem;
}
.svc-card .feature-list li::before {
    content: ""; position: absolute; left: .1rem; top: .52em; width: 7px; height: 7px;
    border-radius: 2px; background: var(--tone, var(--violet-500)); transform: rotate(45deg);
}
.svc-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }

/* --- Metin + görsel ikili bölüm ----------------------------------------- */
.svc-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.svc-detail > * { min-width: 0; }
.svc-detail.reverse .svc-visual { order: -1; }
.svc-visual {
    border-radius: 22px; border: 1px solid var(--line); padding: 1.4rem;
    background: linear-gradient(155deg, #ffffff 0%, var(--bg-tint) 100%);
    box-shadow: var(--shadow-sm);
}
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.mini-list li {
    display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; background: #fff;
    border: 1px solid var(--line); border-radius: var(--r-input); font-size: .88rem;
    font-family: var(--font-mono); color: var(--text-soft);
}
.mini-list li .nq-icon { color: var(--tone, var(--violet-600)); flex: 0 0 auto; }
.mini-list li a { color: var(--text-soft); }
.mini-list li a:hover { color: var(--violet-700); text-decoration: none; }

/* --- İlkeler / değerler -------------------------------------------------- */
.principle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.principle { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.25rem; }
.principle h3 { font-size: 1rem; margin-bottom: .35rem; }
.principle p { font-size: .9rem; margin: 0; }

/* --- Numaralı adımlar ---------------------------------------------------- */
.steps { display: grid; gap: .85rem; counter-reset: nq-step; list-style: none; margin: 0; padding: 0; }
.steps li {
    counter-increment: nq-step; display: flex; gap: 1rem; align-items: flex-start;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.1rem 1.2rem;
}
.steps li::before {
    content: counter(nq-step, decimal-leading-zero); font-family: var(--font-mono); font-weight: 700;
    font-size: .84rem; color: var(--violet-700); background: var(--bg-tint); border: 1px solid #dfe4ff;
    border-radius: 9px; padding: .3rem .5rem; flex: none;
}
.steps h3 { font-size: 1rem; margin-bottom: .25rem; }
.steps p { margin: 0; font-size: .91rem; }

/* --- Güven göstergeleri -------------------------------------------------- */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.trust-item {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
    padding: 1.15rem 1.2rem; border-left: 4px solid var(--tone, var(--violet-600));
}
.trust-item strong { display: block; font-size: 1.9rem; font-weight: 800; line-height: 1; color: var(--text); margin: .1rem 0 .4rem; }
.trust-item span { display: block; color: var(--muted); font-size: .87rem; }
.trust-item .nq-icon { color: var(--tone, var(--violet-600)); margin-bottom: .5rem; }

/* --- Kapanış çağrısı ----------------------------------------------------- */
.page-cta {
    position: relative; overflow: hidden; border-radius: 24px; padding: 2.4rem 2rem; color: #fff;
    background: var(--grad-hero); box-shadow: var(--shadow-lg); text-align: center;
}
.page-cta::after {
    content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
    background: rgba(255,255,255,.16); filter: blur(50px); top: -120px; left: -60px;
}
.page-cta > * { position: relative; z-index: 1; }
.page-cta h2 { color: #fff; margin-bottom: .5rem; }
.page-cta p { color: rgba(255,255,255,.9); max-width: 62ch; margin-inline: auto; }
.page-cta .page-hero-actions { justify-content: center; }
.page-cta .btn-light { background: #fff; color: var(--violet-700); }
.page-cta .btn-outline-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.page-cta .btn-outline-light:hover { background: rgba(255,255,255,.22); }

/* --- Kayıt türü listesi (hizmet detayı) --------------------------------- */
.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .55rem; }
.type-item {
    display: flex; align-items: center; gap: .65rem; padding: .6rem .75rem;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-input);
}
.type-item .type-name { font-family: var(--font-mono); font-weight: 700; font-size: .84rem; color: var(--tone, var(--violet-700)); }
.type-item .type-desc { font-size: .82rem; color: var(--muted); margin-left: auto; text-align: right; }

/* --- Blog ---------------------------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.blog-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; padding: 0; }
.blog-card-top { padding: 1.3rem 1.35rem .2rem; }
.blog-meta { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; font-size: .78rem; color: var(--muted); margin-bottom: .7rem; }
.blog-meta .badge { font-size: .72rem; }
.blog-card h2, .blog-card h3 { font-size: 1.14rem; margin-bottom: .45rem; }
.blog-card h2 a, .blog-card h3 a { color: var(--text); }
.blog-card h2 a:hover, .blog-card h3 a:hover { color: var(--violet-700); text-decoration: none; }
.blog-card p { font-size: .91rem; }
.blog-card-foot { padding: 0 1.35rem 1.3rem; margin-top: auto; }
.read-link { font-weight: 700; font-size: .89rem; display: inline-flex; align-items: center; gap: .35rem; }
.read-link .nq-icon { transition: transform .2s ease; }
.read-link:hover .nq-icon { transform: translateX(3px); }

/* --- Yazı içeriği (markdown çıktısı) ------------------------------------ */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin: 1.8rem 0 .6rem; }
.prose h3 { font-size: 1.08rem; margin: 1.4rem 0 .4rem; }
.prose p, .prose li { color: var(--text-soft); }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: .35rem; }
.prose code { background: var(--bg-tint); border: 1px solid var(--line); border-radius: 6px; padding: .1rem .35rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 2rem; align-items: start; }
.article-aside { position: sticky; top: 92px; display: grid; gap: 1rem; }

/* --- İletişim ------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.6rem; align-items: start; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.form-grid .field-full { grid-column: 1 / -1; }
.field-error { font-size: .82rem; color: #b91c1c; font-weight: 600; min-height: 1em; }
.field-hint { font-size: .8rem; color: var(--muted); }
.input[aria-invalid="true"], textarea.input[aria-invalid="true"] { border-color: #f0a3a3; background: #fffafa; }
textarea.input { resize: vertical; min-height: 150px; font-family: var(--font-sans); }
.form-status { border-radius: var(--r-input); padding: .85rem 1rem; font-size: .92rem; margin-bottom: 1rem; }
.form-status.is-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.form-status.is-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.contact-info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.contact-info-list li { display: flex; gap: .7rem; align-items: flex-start; }
.contact-info-list .nq-icon { color: var(--violet-600); margin-top: .15rem; }
.contact-info-list strong { display: block; font-size: .92rem; }
.contact-info-list span { color: var(--muted); font-size: .88rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Yasal sayfalar ----------------------------------------------------- */
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 2rem; align-items: start; }
.legal-toc { position: sticky; top: 92px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: nq-toc; display: grid; gap: .3rem; }
.legal-toc a { font-size: .88rem; color: var(--text-soft); }
.legal-toc a:hover { color: var(--violet-700); }
.legal-body section { scroll-margin-top: 96px; }
.legal-body section + section { margin-top: 1.9rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.legal-body h2 { font-size: 1.2rem; }
.legal-body h2 .legal-num { color: var(--violet-600); font-family: var(--font-mono); font-size: .9rem; margin-right: .4rem; }

/* --- Araç panelleri (IP / WHOIS) ---------------------------------------- */
.tool-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem; align-items: start; }
.tool-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.35rem; box-shadow: var(--shadow-sm); }
.tool-inline-form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: flex-end; }
.tool-inline-form .field { flex: 1 1 240px; }

/* --- Duyarlı (genişletilmiş) -------------------------------------------- */
@media (max-width: 980px) {
    .svc-detail, .article-layout, .contact-grid, .tool-grid, .legal-layout { grid-template-columns: minmax(0, 1fr); }
    .svc-detail.reverse .svc-visual { order: 0; }
    .article-aside, .legal-toc { position: static; }
}

@media (max-width: 760px) {
    .page-hero { padding: 2rem 0 1.6rem; }
    .page-cta { padding: 1.8rem 1.2rem; border-radius: 18px; }
    .type-item { flex-wrap: wrap; }
    .type-item .type-desc { margin-left: 0; text-align: left; width: 100%; }
    .share-box, .history-entry-list li { grid-template-columns: minmax(0, 1fr); }
}
