/* DoktorSEO tasarım sistemi — TEK kaynak (CLAUDE.md).
   Yön: klinik-temiz teal; nabız çizgisi motifi; sakin, yargılamayan ton.
   2026-11 yenileme: Plus Jakarta Sans, katmanlı gölge, sticky blur nav,
   gradyan hero, altı çizgili sekmeler, iskelet yükleyici, hover hareketleri. */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --paper: #F4F8F7;
  --paper-2: #EDF4F2;
  --card: #FFFFFF;
  --ink: #142A26;
  --ink-2: #2B4540;
  --muted: #5F7772;
  --line: #DCE7E3;
  --line-2: #EAF1EE;
  --accent: #0E7C6E;
  --accent-strong: #0A5D53;
  --accent-soft: #E1F1EE;
  --accent-glow: rgba(14, 124, 110, .22);
  --good: #1A7F45;
  --good-soft: #E3F3E9;
  --warn: #A96A0B;
  --warn-soft: #F8EFDC;
  --crit: #B3372E;
  --crit-soft: #F9E7E5;
  --shadow: 0 1px 2px rgba(20, 42, 38, .05), 0 2px 8px rgba(20, 42, 38, .05);
  --shadow-md: 0 2px 4px rgba(20, 42, 38, .05), 0 10px 28px -8px rgba(20, 42, 38, .14);
  --shadow-lg: 0 4px 8px rgba(20, 42, 38, .06), 0 24px 56px -16px rgba(20, 42, 38, .22);
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: .6em 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent-soft); color: var(--accent-strong); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 720px; }

/* — bileşenler — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: .95rem;
  padding: 11px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none !important;
  transition: background .18s var(--ease), border-color .18s, color .18s,
              transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: linear-gradient(180deg, #13907F 0%, var(--accent) 60%, var(--accent-strong) 100%);
  color: #fff; box-shadow: 0 1px 2px rgba(10, 93, 83, .25), 0 6px 16px -6px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-strong); box-shadow: 0 2px 4px rgba(10, 93, 83, .3), 0 10px 22px -8px var(--accent-glow); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--line); }
.btn-ghost:hover { background: var(--accent-soft); border-color: var(--accent); }
.btn-soft { background: var(--accent-soft); color: var(--accent-strong); }
.btn-soft:hover { background: #D2EAE5; }
.btn-danger { background: var(--crit); color: #fff; }
.btn-danger:hover { background: #8F2B24; }
.btn:disabled { opacity: .55; cursor: wait; transform: none; box-shadow: none; }
.btn-lg { padding: 14px 30px; font-size: 1.05rem; }
.btn-sm { padding: 7px 14px; font-size: .84rem; }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px;
  transition: box-shadow .22s var(--ease), transform .22s var(--ease), border-color .22s;
}
a.card, .card-hover { cursor: pointer; }
a.card:hover, .card-hover:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #CDDDD8; text-decoration: none; }
.card-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-md); position: relative; }
.card-soft { background: var(--accent-soft); border-color: transparent; box-shadow: none; }
.card-dashed { border-style: dashed; box-shadow: none; background: transparent; }

.input {
  font: inherit; color: var(--ink); background: var(--card);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 14px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px var(--accent-glow); }
.input::placeholder { color: #9AADA8; }
label { font-size: .88rem; font-weight: 600; display: block; margin-bottom: 5px; }
.field { margin-bottom: 16px; }
.err { color: var(--crit); font-size: .86rem; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .74rem; font-weight: 650; letter-spacing: .02em;
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
  background: var(--paper-2); color: var(--muted);
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .75; }
.badge.good { background: var(--good-soft); color: var(--good); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.crit { background: var(--crit-soft); color: var(--crit); }
.badge.accent { background: var(--accent-soft); color: var(--accent-strong); }
.badge.plain::before { display: none; }

.muted { color: var(--muted); }
.small { font-size: .86rem; }
.tnum { font-variant-numeric: tabular-nums; }
.eyebrow { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

/* — üst bar — */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; gap: 16px;
}
.nav .links { display: flex; gap: 20px; align-items: center; font-weight: 600; font-size: .93rem; }
.nav .links a:not(.btn) { color: var(--ink-2); padding: 4px 2px; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.nav .links a:not(.btn):hover { color: var(--accent-strong); text-decoration: none; border-color: var(--accent); }
.nav .btn { padding: 9px 18px; font-size: .9rem; }
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 248, 247, .78);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.navbar.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(20, 42, 38, .25); }
.logo {
  display: inline-flex; align-items: center; gap: 0;
  font-weight: 800; font-size: 1.22rem; letter-spacing: -.03em; color: var(--ink);
  text-decoration: none !important;
}
.logo svg { color: var(--accent); margin-right: 9px; }
.logo b { color: var(--accent); font-weight: 800; }
@media (max-width: 760px) {
  .nav .links { gap: 10px; font-size: .86rem; }
  .nav .btn { padding: 8px 12px; font-size: .82rem; white-space: nowrap; }
  .logo { font-size: 1.1rem; }
  .nav .links .hide-m { display: none; }
}

/* — hero — */
.hero {
  position: relative; padding: 56px 0 10px; text-align: center; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0 -20%; z-index: -1;
  background:
    radial-gradient(42% 55% at 22% 30%, rgba(14, 124, 110, .16), transparent 70%),
    radial-gradient(38% 50% at 78% 20%, rgba(26, 127, 69, .12), transparent 70%),
    radial-gradient(60% 60% at 50% 100%, rgba(255, 255, 255, .9), transparent 70%);
  pointer-events: none;
}
.hero-grid::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(60% 70% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(60% 70% at 50% 30%, #000 30%, transparent 100%);
  opacity: .8; pointer-events: none;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--accent-strong), var(--accent) 50%, #1D9E6E);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-form {
  display: flex; gap: 8px; max-width: 640px; margin: 0 auto; padding: 8px 8px 8px 18px;
  border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); transition: box-shadow .2s, border-color .2s;
}
.hero-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow), var(--shadow-lg); }
.hero-form .input { border: none; background: transparent; font-size: 1.05rem; padding: 10px 6px; box-shadow: none; }
.hero-form .btn { flex-shrink: 0; }
.hero-meta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 14px; font-size: .86rem; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { color: var(--good); }
@media (max-width: 560px) {
  .hero-form { flex-direction: column; border-radius: var(--radius-lg); padding: 10px; }
  .hero-form .btn { width: 100%; }
}

/* — bölümler — */
.section { margin-top: 84px; }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 32px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.feature .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-strong); font-size: 1.25rem; margin-bottom: 14px;
}
.feature .icon svg { width: 22px; height: 22px; }
.feature p { color: var(--ink-2); }

.steps { counter-reset: adim; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { position: relative; padding: 22px 22px 22px 70px; }
.step::before {
  counter-increment: adim; content: counter(adim);
  position: absolute; left: 22px; top: 22px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: .95rem;
  background: var(--ink); color: #fff;
}

.price .amount { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; margin: .15em 0 .1em; display: flex; align-items: baseline; gap: 4px; }
.price .amount .per { font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 9px; }
.price li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.price li::before { content: "✓"; color: var(--good); font-weight: 800; flex: 0 0 auto; }
.price .ribbon {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
}

details.faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
details.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 1.3rem; line-height: 1; transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { margin: 0 0 16px; color: var(--ink-2); }

.cta-band {
  margin-top: 84px; padding: 46px 28px; border-radius: var(--radius-lg); text-align: center; color: #fff;
  background: radial-gradient(80% 120% at 10% 0%, #15988A, transparent 60%), linear-gradient(120deg, var(--accent-strong), #0B4D45);
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .78); }
.cta-band .btn-light { background: #fff; color: var(--accent-strong); }
.cta-band .btn-light:hover { background: var(--accent-soft); }

/* — sekmeler (panel) — */
.tabs {
  display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--line); margin: 18px 0 20px;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs .tab {
  font: inherit; font-weight: 600; font-size: .9rem; color: var(--muted);
  background: none; border: none; cursor: pointer; white-space: nowrap;
  padding: 10px 14px; margin-bottom: -1px; border-bottom: 2px solid transparent;
  border-radius: 6px 6px 0 0; transition: color .15s, background .15s, border-color .15s;
}
.tabs .tab:hover { color: var(--ink); background: var(--paper-2); }
.tabs .tab[aria-selected="true"] { color: var(--accent-strong); border-bottom-color: var(--accent); }

/* — stat kutuları — */
.stat { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; background: var(--card); }
.stat .k { font-size: .78rem; color: var(--muted); font-weight: 600; }
.stat .v { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }

/* — site kartı (panel) — */
.site-card { display: block; color: inherit; text-decoration: none !important; padding: 20px; }
.site-card .host { font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.site-card .score { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.site-card .meta { display: flex; gap: 18px; margin-top: 14px; align-items: flex-end; }
.site-card .meta .k { font-size: .76rem; color: var(--muted); font-weight: 600; margin-bottom: 4px; }

/* — boş durum — */
.empty { text-align: center; padding: 42px 22px; color: var(--muted); }
.empty svg { color: var(--accent); opacity: .7; margin-bottom: 10px; }
.empty h3 { color: var(--ink); }

/* — skor halkası — */
.score-ring { position: relative; width: 132px; height: 132px; flex: 0 0 auto; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring circle:last-of-type { transition: stroke-dashoffset .9s var(--ease); }
.score-ring .val {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1;
}
.score-ring .val small { font-size: .62rem; font-weight: 700; color: var(--muted); letter-spacing: .1em; margin-top: 5px; }

/* — nabız ayracı — */
.pulse-divider { display: flex; align-items: center; gap: 14px; margin: 40px 0; color: var(--muted); }
.pulse-divider .rule { flex: 1; height: 1px; background: var(--line); }
.pulse-divider svg { color: var(--accent); flex: 0 0 auto; }

/* — yükleniyor nabzı + iskelet — */
@keyframes pulse-dash { to { stroke-dashoffset: -120; } }
.pulse-loader polyline { stroke-dasharray: 60 60; animation: pulse-dash 1.1s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.skel {
  display: block; border-radius: 8px; min-height: 14px;
  background: linear-gradient(90deg, var(--paper-2) 25%, #F7FAF9 50%, var(--paper-2) 75%);
  background-size: 200% 100%; animation: shimmer 1.3s linear infinite;
}
.skel.lg { min-height: 28px; } .skel.block { min-height: 120px; border-radius: var(--radius); }

@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fade-up .35s var(--ease) both; }

footer { border-top: 1px solid var(--line); margin-top: 84px; padding: 36px 0 44px; color: var(--muted); font-size: .88rem; }
footer .cols { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; }
footer a { color: var(--ink-2); }
footer .fcol { display: grid; gap: 8px; min-width: 150px; }
footer .fcol b { color: var(--ink); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }

/* — toast — */
#toast-host { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 10px; z-index: 100; }
.toast {
  background: var(--ink); color: var(--paper); padding: 11px 18px;
  border-radius: var(--radius-sm); font-size: .92rem; box-shadow: var(--shadow-lg);
  animation: fade-up .25s var(--ease) both;
}
.toast.crit { background: var(--crit); color: #fff; }

/* — tablo — */
.tablebox { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th, table.data td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line-2); }
table.data tbody tr:last-child td { border-bottom: none; }
table.data tbody tr:hover td { background: var(--paper); }
table.data thead th { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--paper-2); position: sticky; top: 0; }

/* — uygulama (panel) başlıkları: landing'den daha sakin ölçek — */
#view h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
