/* uzat.net — tasarım sistemi v3
   Fikir: bir sicil defteri / ölçüm cihazı. Sakin deniz-yeşili zemin, tek vurgu rengi, veri için monospace. */

:root {
  --ink: #0f2a33;
  --ink-2: #3b525a;
  --ink-3: #6b8087;
  --sea: #0b3d44;
  --sea-2: #11555d;
  --teal: #12908e;
  --teal-d: #0c6f6d;
  --foam: #dff1ee;
  --fog: #eef3f2;
  --paper: #ffffff;
  --line: #d6e2e0;
  --amber: #c98300;
  --amber-bg: #fff3d6;
  --red: #c4381f;
  --red-bg: #fde8e3;
  --green: #17824f;
  --green-bg: #dff3e8;

  /* eski değişken adları (admin ve eski görünümler için) */
  --uzat-primary: var(--teal-d);
  --uzat-primary-hover: var(--teal);
  --uzat-primary-light: var(--foam);
  --uzat-secondary: var(--ink-2);
  --uzat-secondary-light: var(--fog);
  --uzat-emerald: var(--green);
  --uzat-emerald-light: var(--green-bg);
  --uzat-accent: var(--amber);

  --r: 10px;
  --r-lg: 16px;
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-d: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--fog); color: var(--ink); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--font-d); color: var(--ink); letter-spacing: -0.015em; line-height: 1.15; }
a { color: var(--teal-d); }
a:hover { color: var(--sea); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--foam); }
.font-weight-mono, code, pre, .mono { font-family: var(--mono); }
.text-muted { color: var(--ink-3) !important; }
.text-primary { color: var(--teal-d) !important; }
.bg-light { background: var(--fog) !important; }
.rounded-xl { border-radius: var(--r-lg) !important; }
.shadow-sm { box-shadow: 0 1px 2px rgba(15, 42, 51, .06), 0 6px 20px -12px rgba(15, 42, 51, .18) !important; }
.border { border-color: var(--line) !important; }
.border-bottom { border-color: var(--line) !important; }
.container { max-width: 1120px; }

/* ---------- Üst şerit ve gezinme ---------- */
.uzat-topbar { background: var(--sea); font-size: 13px; padding: 7px 0; }
.uzat-topbar a, .uzat-topbar .text-secondary { color: #a9c9c6 !important; text-decoration: none; }
.uzat-topbar a:hover, .uzat-topbar a.text-white { color: #fff !important; }
.uzat-navbar { background: rgba(238, 243, 242, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); padding: 10px 0; z-index: 1030; }
.uzat-brand { display: inline-flex; align-items: center; gap: 2px; font-family: var(--font-d); font-size: 1.6rem; color: var(--ink); text-decoration: none !important; letter-spacing: -0.03em; font-weight: 800; }
.uzat-brand:hover { color: var(--ink); }
.uzat-brand-gradient { color: var(--teal-d); font-weight: 800; }
.uzat-brand-badge { width: 8px; height: 8px; background: var(--amber); border-radius: 2px; margin-left: 3px; transform: translateY(5px); }
.uzat-footer .uzat-brand, .uzat-footer .uzat-brand span { color: #fff !important; }
.uzat-footer .uzat-brand-gradient { color: #6fd6d2 !important; }
.uzat-nav-link { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 8px; color: var(--ink-2); font-weight: 600; font-size: .95rem; text-decoration: none !important; transition: background .15s, color .15s; }
.uzat-nav-link i { color: var(--ink-3); width: 1em; text-align: center; }
.uzat-nav-link:hover { background: var(--foam); color: var(--sea); }
.uzat-nav-link.active { background: var(--sea); color: #fff; }
.uzat-nav-link.active i { color: #6fd6d2; }
.btn-uzat-primary, .btn-uzat-primary:visited { background: var(--teal-d); border: 0; color: #fff; font-weight: 700; border-radius: 9px; transition: background .15s, transform .1s; }
.btn-uzat-primary:hover { background: var(--sea); color: #fff; }
.btn-uzat-primary:active { transform: translateY(1px); }
.navbar-toggler:focus { outline: 3px solid var(--amber); }

/* ---------- Hero ---------- */
.uzat-hero { position: relative; background: var(--sea); color: #fff; padding: 64px 0 80px; overflow: hidden; }
.uzat-hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(900px 340px at 85% -10%, rgba(18, 144, 142, .55), transparent 70%),
  repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 64px); pointer-events: none; }
.uzat-hero.py-5 { padding-top: 48px !important; padding-bottom: 72px !important; }
.uzat-hero .text-center, .uzat-hero .text-md-center { text-align: left !important; }
.uzat-hero .justify-content-center { justify-content: flex-start !important; }
.uzat-badge-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #d4ebe8; padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; margin-bottom: 18px; }
.uzat-badge-pill i { color: #f2c14e !important; margin: 0 !important; }
.uzat-hero-title { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; color: #fff; max-width: 17ch; margin: 0 0 14px; }
.uzat-hero h1.h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); font-weight: 800; color: #fff !important; max-width: 20ch; }
.uzat-hero-title .uzat-brand-gradient { color: #6fd6d2; }
.uzat-hero-subtitle { color: #b6d3d0; font-size: 1.08rem; max-width: 56ch; margin-bottom: 28px; }
.uzat-hero .text-white-50 { color: #b6d3d0 !important; max-width: 60ch; font-size: 1rem !important; }

/* arama konsolu */
.uzat-search-card { background: var(--paper); border-radius: var(--r-lg); padding: 8px; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .55); max-width: 760px; position: relative; }
.uzat-modes { display: flex; gap: 4px; padding: 4px 4px 8px; }
.uzat-mode { appearance: none; border: 0; background: transparent; color: var(--ink-3); font: 700 .88rem var(--font); padding: 7px 14px; border-radius: 8px; cursor: pointer; transition: background .15s, color .15s; display: inline-flex; align-items: center; gap: 7px; }
.uzat-mode:hover { color: var(--sea); background: var(--fog); }
.uzat-mode[aria-selected="true"] { background: var(--foam); color: var(--sea); }
.uzat-search-input-group { display: flex; align-items: center; gap: 8px; background: var(--fog); border: 2px solid transparent; border-radius: 11px; padding: 5px 5px 5px 14px; transition: border-color .15s, background .15s; }
.uzat-search-input-group:focus-within { border-color: var(--teal); background: #fff; }
.uzat-search-icon { color: var(--ink-3); font-size: 1rem; }
.uzat-search-input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 1.1rem var(--mono); color: var(--ink); padding: 11px 4px; outline: none; }
.uzat-search-input::placeholder { color: #8aa0a6; font-family: var(--font); font-weight: 400; }
.uzat-search-btn { appearance: none; border: 0; background: var(--teal-d); color: #fff; font: 700 1rem var(--font); padding: 12px 22px; border-radius: 9px; cursor: pointer; white-space: nowrap; transition: background .15s, transform .1s; }
.uzat-search-btn:hover { background: var(--sea); }
.uzat-search-btn:active { transform: translateY(1px); }
.uzat-search-btn[disabled] { opacity: .7; cursor: progress; }
.uzat-quick-tlds { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.uzat-tld-chip { color: #d4ebe8; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 7px; padding: 3px 11px; font: 500 .88rem var(--mono); text-decoration: none !important; transition: background .15s; }
.uzat-tld-chip:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.uzat-hero + * , .uzat-hero ~ div > .container { position: relative; }

/* ---------- Durum bantları ---------- */
.uzat-status-banner { border-radius: var(--r-lg); padding: 18px 22px; margin-bottom: 22px; border: 1px solid var(--line); background: var(--paper); }
.uzat-status-banner h4 { font-family: var(--font-d); margin: 0; }
.uzat-status-icon { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.uzat-status-available { background: var(--green-bg); border-color: #b4e0c8; color: #0d5e37; }
.uzat-status-available .uzat-status-icon { background: var(--green); color: #fff; }
.uzat-status-taken { background: var(--red-bg); border-color: #f3c4ba; color: #8a2412; }
.uzat-status-taken .uzat-status-icon { background: var(--red); color: #fff; }
.uzat-btn-register { background: var(--green); color: #fff !important; border-radius: 9px; padding: 11px 20px; font-weight: 700; text-decoration: none !important; display: inline-flex; align-items: center; transition: background .15s; }
.uzat-btn-register:hover { background: #0f6a3f; }

/* ---------- Ölçü kartları ---------- */
.uzat-metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.uzat-metric-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; border-left: 4px solid var(--teal); }
.uzat-metric-label { font-size: .82rem; font-weight: 600; color: var(--ink-3); margin-bottom: 4px; }
.uzat-metric-value { font-family: var(--font-d); font-weight: 700; font-size: 1.12rem; color: var(--ink); word-break: break-word; }

/* ---------- Terminal / ham kayıt ---------- */
.uzat-terminal-card { background: #0a2a30; border-radius: var(--r); overflow: hidden; border: 1px solid #0a2a30; }
.uzat-terminal-header { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #08242a; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.uzat-terminal-dots { display: flex; gap: 6px; }
.uzat-dot { width: 10px; height: 10px; border-radius: 50%; }
.uzat-dot-red { background: #e5694f; } .uzat-dot-yellow { background: #e9b53b; } .uzat-dot-green { background: #3fb67a; }
.uzat-terminal-title { color: #7fa8a6; font: 500 .8rem var(--mono); }
.uzat-terminal-body { max-height: 440px; overflow: auto; padding: 16px 18px; }
.uzat-terminal-body pre { margin: 0; color: #cfe8e4; font: 400 .84rem/1.65 var(--mono); white-space: pre-wrap; word-break: break-word; background: none; }
.uzat-terminal-body::-webkit-scrollbar { width: 8px; height: 8px; }
.uzat-terminal-body::-webkit-scrollbar-track { background: transparent; }
.uzat-terminal-body::-webkit-scrollbar-thumb { background: #2b5a60; border-radius: 4px; }

/* ---------- Son sorgular ---------- */
.uzat-recent-section { background: var(--paper); border-top: 1px solid var(--line); }
.uzat-recent-card { display: flex; align-items: center; justify-content: space-between; background: var(--fog); border: 1px solid transparent; border-radius: var(--r); padding: 11px 14px; text-decoration: none !important; transition: border-color .15s, background .15s; height: 100%; }
.uzat-recent-card:hover { border-color: var(--teal); background: #fff; }
.uzat-domain-avatar { width: 34px; height: 34px; border-radius: 8px; background: var(--foam); color: var(--teal-d); display: inline-flex; align-items: center; justify-content: center; margin-right: 11px; flex-shrink: 0; font-size: .85rem; }
.uzat-recent-name { color: var(--ink); font: 600 .95rem var(--mono); }
.uzat-recent-time { color: var(--ink-3); font-size: .78rem; }
.uzat-badge-avail, .uzat-badge-taken { font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 6px; }
.uzat-badge-avail { background: var(--green-bg); color: var(--green); }
.uzat-badge-taken { background: #e4ecea; color: var(--ink-2); }

/* ---------- Özellik kutuları ---------- */
.uzat-feature-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; height: 100%; transition: border-color .15s; }
.uzat-feature-box:hover { border-color: var(--teal); }
.uzat-feature-icon { width: 46px; height: 46px; border-radius: 11px; background: var(--foam); color: var(--teal-d); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 14px; }

/* ---------- Araç kartları (ana sayfa) ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tool-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; text-decoration: none !important; color: var(--ink); transition: border-color .15s, transform .15s; }
.tool-card:hover { border-color: var(--teal); transform: translateY(-2px); color: var(--ink); }
.tool-card h3 { font-size: 1.15rem; margin: 14px 0 6px; }
.tool-card p { color: var(--ink-2); font-size: .93rem; margin: 0; }
.tool-card .more { margin-top: auto; padding-top: 14px; color: var(--teal-d); font-weight: 700; font-size: .9rem; }

/* ---------- Dosya (dossier) bileşenleri ---------- */
.dossier { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 18px; overflow: hidden; }
.dossier-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: #f8fbfa; }
.dossier-head h3 { margin: 0; font-size: 1.02rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.dossier-head h3 i { color: var(--teal-d); width: 1.1em; text-align: center; }
.dossier-body { padding: 6px 20px 14px; }
.kv { display: grid; grid-template-columns: minmax(130px, 200px) 1fr; gap: 4px 18px; padding: 10px 0; border-bottom: 1px solid #e9f0ef; align-items: baseline; }
.kv:last-child { border-bottom: 0; }
.kv dt { color: var(--ink-3); font-weight: 600; font-size: .88rem; margin: 0; }
.kv dd { margin: 0; color: var(--ink); word-break: break-word; }
.kv dd.mono, .mono-v { font-family: var(--mono); font-size: .92rem; }
@media (max-width: 575px) { .kv { grid-template-columns: 1fr; } }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #e4ecea; color: var(--ink-2); white-space: nowrap; }
.pill.ok { background: var(--green-bg); color: var(--green); }
.pill.warn { background: var(--amber-bg); color: #8a5a00; }
.pill.bad { background: var(--red-bg); color: var(--red); }
.pill.info { background: var(--foam); color: var(--teal-d); }

.lead-card { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 18px; }
.lead-card h2 { margin: 0 0 4px; font-size: clamp(1.3rem, 3vw, 1.9rem); font-family: var(--mono); font-weight: 600; letter-spacing: -.02em; word-break: break-all; }
.lead-card .sub { color: var(--ink-2); margin: 0 0 10px; }
.lead-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-ghost { appearance: none; background: var(--fog); border: 1px solid var(--line); color: var(--ink-2); font: 600 .85rem var(--font); padding: 6px 12px; border-radius: 8px; cursor: pointer; text-decoration: none !important; display: inline-flex; align-items: center; gap: 6px; transition: border-color .15s, color .15s; }
.btn-ghost:hover { border-color: var(--teal); color: var(--sea); }
.flag-big { font-size: 3rem; line-height: 1; width: 76px; height: 76px; background: var(--foam); border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 575px) { .lead-card { grid-template-columns: 1fr; } }

/* puan halkası */
.score { --v: 0; --c: var(--teal); width: 92px; height: 92px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--v) * 1%), #e1ebe9 0); display: grid; place-items: center; position: relative; flex-shrink: 0; }
.score::after { content: ""; position: absolute; inset: 9px; background: var(--paper); border-radius: 50%; }
.score b { position: relative; z-index: 1; font: 800 1.7rem var(--font-d); color: var(--ink); }
.score.good { --c: var(--green); } .score.mid { --c: var(--amber); } .score.low { --c: var(--red); }

/* kontrol listesi */
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid #e9f0ef; }
.checks li:last-child { border-bottom: 0; }
.checks .ic { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .66rem; flex-shrink: 0; margin-top: 2px; color: #fff; }
.checks .ic.ok { background: var(--green); } .checks .ic.warn { background: var(--amber); } .checks .ic.bad { background: var(--red); } .checks .ic.na { background: #9db0b4; }
.checks .t { font-weight: 600; } .checks .d { color: var(--ink-3); font-size: .88rem; display: block; word-break: break-word; }

/* kayıt tablosu (DNS) */
.rec { width: 100%; border-collapse: collapse; font-size: .9rem; }
.rec th { text-align: left; color: var(--ink-3); font-weight: 600; font-size: .8rem; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.rec td { padding: 8px 10px; border-bottom: 1px solid #e9f0ef; vertical-align: top; font-family: var(--mono); font-size: .85rem; word-break: break-all; }
.rec td.ty { width: 70px; font-weight: 600; color: var(--teal-d); }
.rec td.ttl { width: 70px; color: var(--ink-3); text-align: right; }
.rec tr:last-child td { border-bottom: 0; }

/* kara liste ızgarası */
.bl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.bl { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; font-size: .9rem; font-weight: 600; }

.skeleton { background: linear-gradient(90deg, #e6eeed 25%, #f3f8f7 50%, #e6eeed 75%); background-size: 200% 100%; animation: sk 1.3s infinite linear; border-radius: 6px; height: 14px; margin: 10px 0; }
@keyframes sk { to { background-position: -200% 0; } }

.map-frame { width: 100%; height: 260px; border: 0; border-radius: var(--r); background: var(--fog); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { background: var(--fog); border: 1px solid var(--line); border-radius: 7px; padding: 3px 10px; font-size: .85rem; font-weight: 600; }
.tag small { color: var(--ink-3); font-weight: 500; }
.tabs-inline { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 14px; }

/* ---------- Alt bilgi ---------- */
.uzat-footer { background: var(--sea); color: #a9c9c6; padding: 56px 0 24px; margin-top: 0; }
.uzat-footer h5 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.uzat-footer p, .uzat-footer .text-muted { color: #a9c9c6 !important; }
.uzat-footer a { color: #cfe6e3; text-decoration: none; }
.uzat-footer a:hover { color: #fff; text-decoration: underline; }
.uzat-footer .btn-outline-light { border-color: rgba(255, 255, 255, .35); }
.uzat-footer .btn-outline-secondary { color: #cfe6e3; border-color: rgba(255, 255, 255, .25); }
.uzat-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 20px; font-size: .88rem; }

/* ---------- Uyum ---------- */
@media (max-width: 767px) {
  .uzat-hero { padding: 40px 0 88px; }
  .uzat-search-input-group { flex-wrap: wrap; padding: 8px; }
  .uzat-search-input { flex: 1 1 100%; order: 1; font-size: 1rem; }
  .uzat-search-icon { display: none; }
  .uzat-search-btn { flex: 1 1 100%; order: 2; }
  .uzat-mode { padding: 7px 10px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.uzat-recent-card > div:first-child { min-width: 0; flex: 1; }
.uzat-recent-card .text-right { margin-left: 8px; }
.uzat-footer a.text-primary { color: #8fe3df !important; }
.text-secondary { color: var(--ink-2) !important; }
.badge-primary-light { background: var(--foam); }

.uzat-logo { width: 34px; height: 34px; margin-right: 9px; border-radius: 9px; flex-shrink: 0; }
.uzat-brand-badge { display: none; }
.uzat-footer .uzat-logo { box-shadow: 0 0 0 1px rgba(255,255,255,.18); }

/* blog kartları (ana sayfa) */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.post-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none !important; color: var(--ink); transition: border-color .15s; }
.post-card:hover { border-color: var(--teal); color: var(--ink); }
.post-card .thumb { aspect-ratio: 16 / 9; background: var(--foam) center / cover no-repeat; display: grid; place-items: center; color: var(--teal-d); font-size: 2rem; }
.post-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.1rem; margin: 0 0 8px; }
.post-card p { color: var(--ink-2); font-size: .92rem; margin: 0 0 14px; flex: 1; }
.post-card time { color: var(--ink-3); font-size: .82rem; }
