/* ============================================================
   KPSS Pusula — Ana Stil Dosyası
   ============================================================ */

:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #5a6675;
  --line: #e2e8f0;
  --brand: #4f46e5;
  --brand-strong: #4338ca;
  --brand-soft: #eef2ff;
  --brand-ink: #3730a3;
  --accent: #0f766e;
  --accent-soft: #f0fdfa;
  --good: #15803d;
  --good-soft: #f0fdf4;
  --good-line: #86efac;
  --bad: #dc2626;
  --bad-soft: #fef2f2;
  --bad-line: #fca5a5;
  --warn: #b45309;
  --warn-soft: #fffbeb;
  --rose: #e11d48;
  --rose-soft: #fff1f2;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px -12px rgba(15, 23, 42, .12);
  --shadow-lg: 0 4px 12px rgba(15, 23, 42, .06), 0 24px 48px -16px rgba(15, 23, 42, .18);
  --radius: 16px;
  --radius-sm: 10px;
  --font-head: "Lexend", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --surface: #111a2c;
    --surface-2: #16213a;
    --ink: #e6edf7;
    --ink-2: #c3cfe0;
    --muted: #8fa0b8;
    --line: #22304a;
    --brand: #818cf8;
    --brand-strong: #a5b4fc;
    --brand-soft: #1c2547;
    --brand-ink: #c7d2fe;
    --accent: #2dd4bf;
    --accent-soft: #10262c;
    --good: #4ade80;
    --good-soft: #0f2419;
    --good-line: #166534;
    --bad: #f87171;
    --bad-soft: #2a1215;
    --bad-line: #7f1d1d;
    --warn: #fbbf24;
    --warn-soft: #292008;
    --rose: #fb7185;
    --rose-soft: #2b141b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .5);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, .4), 0 24px 48px -16px rgba(0, 0, 0, .6);
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* dekoratif katmanlar yatay kaydırma açmasın */
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; letter-spacing: -.01em; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.icon { width: 1.25em; height: 1.25em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-lg { width: 1.75em; height: 1.75em; }

/* ---------- Üst menü ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav { display: flex; align-items: center; gap: 20px; height: 68px; flex-wrap: nowrap; }

/* ---------- Logo ---------- */

.logo {
  display: flex; align-items: center; gap: 11px; flex: none;
  color: var(--ink); text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo .logo-mark {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: linear-gradient(140deg, #6366f1 0%, var(--brand) 45%, var(--accent) 100%);
  display: grid; place-items: center;
  box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--brand) 65%, transparent),
              inset 0 1px 0 rgba(255, 255, 255, .28);
  transition: transform .2s ease;
}
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.04); }
.logo .logo-glyph { width: 24px; height: 24px; }
.logo .logo-text {
  display: flex; flex-direction: column; gap: 2px; line-height: 1.05;
  white-space: nowrap;
}
.logo .logo-text b {
  font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -.02em;
}
.logo .logo-text em { font-style: normal; color: var(--brand); }
.logo .logo-text small {
  font-family: var(--font-body); font-size: 10.5px; font-weight: 600;
  color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-top: 3px;
}
@media (max-width: 420px) {
  .logo .logo-text b { font-size: 18px; }
  .logo .logo-text small { display: none; }
}

/* ---------- Menü ---------- */

.nav-links {
  display: flex; gap: 2px; margin-left: auto; align-items: center; flex-wrap: nowrap;
}
.nav-links > a {
  padding: 8px 12px; border-radius: 10px; color: var(--ink-2);
  font-weight: 500; font-size: 14.5px; white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav-links > a:hover { background: var(--surface-2); text-decoration: none; color: var(--ink); }
.nav-links > a.active { background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; }

.nav-sep { width: 1px; height: 22px; background: var(--line); margin: 0 8px; flex: none; }

.nav-links .nav-account {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600;
}
.nav-links .nav-account .icon { width: 17px; height: 17px; }
.nav-links .nav-cta { margin-left: 6px; white-space: nowrap; flex: none; }
.nav-links .nav-cta:hover { color: #fff; }

.nav-toggle {
  display: none; margin-left: auto; background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; padding: 9px; color: var(--ink); cursor: pointer;
}
.nav-toggle:hover { border-color: var(--brand); color: var(--brand); }

/* Dar ekranda menü açılır panele döner */
@media (max-width: 1080px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px 16px 18px;
    box-shadow: var(--shadow-lg); z-index: 60;
  }
  .nav-links.open { display: flex; }
  .nav-links > a { border-radius: 10px; padding: 12px 14px; font-size: 15.5px; }
  .nav-sep { width: auto; height: 1px; margin: 8px 0; }
  .nav-links .nav-cta { margin: 8px 0 0; justify-content: center; }
}

/* ---------- Butonlar ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--brand) 60%, transparent); }
.btn-primary:hover { background: var(--brand-strong); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-soft { background: var(--brand-soft); color: var(--brand-ink); }
.btn-good { background: var(--good); color: #fff; }
.btn-rose { background: var(--rose); color: #fff; box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--rose) 60%, transparent); }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Hero ---------- */

.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 300px at 15% 0%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%),
    radial-gradient(500px 260px at 90% 10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%);
}
.hero .container { position: relative; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: 13.5px; font-weight: 600; color: var(--brand);
  box-shadow: var(--shadow);
}

.hero h1, .hero-v2 h1 {
  font-size: clamp(30px, 4.4vw, 48px); font-weight: 800;
  margin: 22px 0 18px; max-width: 660px; line-height: 1.16;
}
.hero h1 .grad, .hero-v2 h1 .grad {
  background: linear-gradient(100deg, var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead, .hero-v2 p.lead {
  font-size: 17.5px; color: var(--muted); max-width: 620px; margin-bottom: 30px; line-height: 1.65;
}
.hero-kicker { max-width: 100%; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 560px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 40px; }
.hero-stat { display: flex; align-items: center; gap: 12px; }
.hero-stat .hs-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--brand); box-shadow: var(--shadow);
}
.hero-stat b { display: block; font-family: var(--font-head); font-size: 17px; }
.hero-stat small { color: var(--muted); font-size: 13px; }

/* ---------- Bölümler ---------- */

.section { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 16px; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ---------- Kartlar ---------- */

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card.hoverable:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }

.card .card-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 16px;
}
.card .card-icon.accent { background: var(--accent-soft); color: var(--accent); }
.card .card-icon.good { background: var(--good-soft); color: var(--good); }
.card .card-icon.warn { background: var(--warn-soft); color: var(--warn); }
.card .card-icon.rose { background: var(--rose-soft); color: var(--rose); }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* Ders kartı */
.subject-card { display: flex; flex-direction: column; gap: 0; }
.subject-card .sc-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.subject-card .sc-top .card-icon { margin-bottom: 0; }
.subject-card h3 { margin-bottom: 2px; }
.subject-card .sc-count { color: var(--muted); font-size: 13.5px; font-weight: 500; }
.subject-card .sc-topics { color: var(--muted); font-size: 13.5px; margin: 4px 0 16px; }
.sc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.subject-card .sc-actions { margin-top: auto; }

/* Deneme kartı */
.exam-card { position: relative; }
.exam-card .badge {
  position: absolute; top: 20px; right: 20px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 12px;
}
.exam-card .exam-meta { display: flex; gap: 16px; flex-wrap: wrap; margin: 14px 0 18px; }
.exam-card .exam-meta span { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.exam-card .exam-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Adımlar */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; padding-bottom: 28px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-ink);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 18px;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 2px;
  background: var(--line);
}
.step h3 { font-size: 17px; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 14.5px; max-width: 560px; }

/* SSS */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 10px; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; font-weight: 600; font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { transition: transform .2s; color: var(--muted); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 20px 16px; color: var(--muted); font-size: 14.5px; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: 40px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 32px; padding: 40px 0; justify-content: space-between; }
.footer-inner .f-col h4 { font-size: 14px; margin-bottom: 12px; color: var(--ink); }
.footer-inner .f-col a { display: block; color: var(--muted); font-size: 14px; padding: 3px 0; }
.footer-inner .f-brand p { color: var(--muted); font-size: 13.5px; max-width: 280px; margin-top: 10px; }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  color: var(--muted); font-size: 13px;
}
.footer-heart { color: var(--muted); opacity: .55; transition: opacity .2s, color .2s; display: inline-flex; }
.footer-heart:hover { color: var(--rose); opacity: 1; }

/* ============================================================
   TEST MOTORU
   ============================================================ */

.quiz-shell { max-width: 780px; margin: 0 auto; padding: 24px 20px 80px; }

.quiz-top {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 0 12px;
}
.quiz-top .qt-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; font-weight: 500; }
.quiz-top .qt-title { font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.quiz-top .qt-right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px; padding: 6px 13px; font-size: 13.5px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2);
}
.pill.good { background: var(--good-soft); border-color: var(--good-line); color: var(--good); }
.pill.bad { background: var(--bad-soft); border-color: var(--bad-line); color: var(--bad); }
.pill.brand { background: var(--brand-soft); border-color: transparent; color: var(--brand-ink); }
.pill.timer-low { background: var(--bad-soft); border-color: var(--bad-line); color: var(--bad); animation: pulse-soft 1s infinite; }

.progress-track { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; margin: 6px 0 26px; }
.progress-fill { height: 100%; width: 0%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--accent)); transition: width .35s ease; }

.q-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.q-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.q-meta .pill { font-size: 12.5px; padding: 4px 11px; }
.q-text { font-size: 17px; line-height: 1.65; font-weight: 500; white-space: pre-line; }

.opts { display: grid; gap: 10px; margin-top: 24px; }

.opt {
  display: flex; align-items: flex-start; gap: 14px; width: 100%; text-align: left;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 14px 16px; font-family: var(--font-body); font-size: 15.5px; color: var(--ink); line-height: 1.5;
  cursor: pointer; transition: border-color .15s, background .15s, transform .1s;
}
.opt:hover:not([disabled]) { border-color: var(--brand); background: var(--brand-soft); }
.opt .opt-letter {
  flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--surface-2); color: var(--ink-2); font-weight: 700; font-size: 14px;
  transition: background .15s, color .15s;
}
.opt:hover:not([disabled]) .opt-letter { background: var(--brand); color: #fff; }
.opt[disabled] { cursor: default; }

.opt.correct {
  border-color: var(--good); background: var(--good-soft);
  animation: pop-good .4s ease;
}
.opt.correct .opt-letter { background: var(--good); color: #fff; }
.opt.wrong {
  border-color: var(--bad); background: var(--bad-soft);
  animation: shake .35s ease;
}
.opt.wrong .opt-letter { background: var(--bad); color: #fff; }
.opt.dimmed { opacity: .55; }

@keyframes pop-good {
  0% { transform: scale(1); }
  40% { transform: scale(1.02); }
  100% { transform: scale(1); }
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: .6; }
}

.explain {
  display: none; margin-top: 20px; border-radius: 12px; padding: 16px 18px;
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  font-size: 14.5px; color: var(--ink-2);
}
.explain.show { display: block; animation: fade-up .3s ease; }
.explain b { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-family: var(--font-head); margin-bottom: 4px; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-nav { display: flex; gap: 10px; margin-top: 22px; justify-content: space-between; align-items: center; }
.quiz-nav .qn-right { display: flex; gap: 10px; }

/* Streak toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--ink); color: var(--bg);
  border-radius: 999px; padding: 12px 22px; font-weight: 600; font-size: 14.5px;
  display: flex; align-items: center; gap: 8px;
  opacity: 0; transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .3s; z-index: 90;
  box-shadow: var(--shadow-lg);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast .icon { color: var(--warn); }

/* ---------- Sonuç ekranı ---------- */

.result-hero { text-align: center; padding: 36px 0 8px; }
.result-hero .rh-ring {
  width: 150px; height: 150px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; position: relative;
}
.result-hero .rh-ring svg.ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.result-hero .rh-ring .rh-val { font-family: var(--font-head); font-size: 34px; font-weight: 800; }
.result-hero .rh-ring .rh-val small { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.result-hero h2 { font-size: 26px; margin-bottom: 6px; }
.result-hero p { color: var(--muted); }

.result-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0; }
@media (max-width: 620px) { .result-tiles { grid-template-columns: repeat(2, 1fr); } }
.r-tile { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-align: center; }
.r-tile b { display: block; font-family: var(--font-head); font-size: 24px; }
.r-tile span { font-size: 13px; color: var(--muted); }
.r-tile.t-good b { color: var(--good); }
.r-tile.t-bad b { color: var(--bad); }
.r-tile.t-brand b { color: var(--brand); }

.subject-bars { display: grid; gap: 14px; margin: 8px 0 28px; }
.sb-row { display: grid; grid-template-columns: 130px 1fr 70px; gap: 12px; align-items: center; font-size: 14px; }
@media (max-width: 520px) { .sb-row { grid-template-columns: 100px 1fr 64px; } }
.sb-row .sb-name { font-weight: 600; color: var(--ink-2); }
.sb-row .sb-track { height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; }
.sb-row .sb-fill { height: 100%; border-radius: 999px; background: var(--brand); transition: width .6s ease; }
.sb-row .sb-val { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }

.review-list { display: grid; gap: 12px; }
.review-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; font-size: 14.5px; }
.review-item .ri-q { font-weight: 500; margin-bottom: 10px; white-space: pre-line; }
.review-item .ri-a { display: flex; flex-direction: column; gap: 4px; color: var(--muted); }
.review-item .ri-a .good-t { color: var(--good); font-weight: 600; }
.review-item .ri-a .bad-t { color: var(--bad); font-weight: 600; }
.review-item .ri-exp { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); color: var(--ink-2); }

/* ---------- Başlangıç / mod seçim ekranı ---------- */

.start-card { max-width: 560px; margin: 48px auto; text-align: center; padding: 40px 32px; }
.start-card .card-icon { margin: 0 auto 18px; width: 60px; height: 60px; border-radius: 18px; }
.start-card .card-icon .icon { width: 30px; height: 30px; }
.start-card h2 { font-size: 24px; margin-bottom: 8px; }
.start-card p { color: var(--muted); margin-bottom: 24px; }
.start-card .start-meta { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.start-card .start-meta .pill { font-size: 13px; }
.start-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.switch-row {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 22px;
  font-size: 14px; color: var(--ink-2); font-weight: 500;
}
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .sl {
  position: absolute; inset: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: background .2s;
}
.switch .sl::before {
  content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; top: 3px; left: 3px; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.switch input:checked + .sl { background: var(--brand); }
.switch input:checked + .sl::before { transform: translateX(20px); }

/* ---------- İstatistik ---------- */

.stat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 800px) { .stat-tiles { grid-template-columns: repeat(2, 1fr); } }
.stat-tile { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
.stat-tile .st-top { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.stat-tile b { font-family: var(--font-head); font-size: 28px; font-weight: 800; }
.stat-tile small { color: var(--muted); font-size: 12.5px; display: block; margin-top: 2px; }

.table-wrap { overflow-x: auto; }
table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.data-table th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.data-table td { padding: 12px; border-bottom: 1px solid var(--line); }
.data-table tr:last-child td { border-bottom: none; }
.data-table .net-cell { font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; }

.empty-state { text-align: center; padding: 48px 24px; color: var(--muted); }
.empty-state .icon { width: 44px; height: 44px; margin: 0 auto 14px; opacity: .5; }

/* ---------- Blog ---------- */

.article-card h3 { font-size: 17px; line-height: 1.4; }
.article-card .ac-meta { display: flex; gap: 12px; color: var(--muted); font-size: 13px; margin: 10px 0 12px; }
.article-card .ac-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; margin-top: 8px; }

.article { max-width: 760px; margin: 0 auto; padding: 48px 20px; }
.article .a-meta { display: flex; gap: 14px; color: var(--muted); font-size: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.article h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 18px; }
.article .a-intro { font-size: 17.5px; color: var(--ink-2); margin-bottom: 28px; }
.article h2 { font-size: 23px; margin: 36px 0 14px; }
.article p { margin-bottom: 14px; color: var(--ink-2); font-size: 15.5px; }
.article ul { margin: 0 0 16px 22px; color: var(--ink-2); font-size: 15.5px; }
.article ul li { margin-bottom: 6px; }
.article .a-cta {
  margin: 36px 0; padding: 24px; border-radius: var(--radius);
  background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent);
}
.article .a-cta h3 { margin-bottom: 6px; }
.article .a-cta p { margin-bottom: 14px; }

/* ---------- Sayfa başlığı bandı ---------- */

.page-head { padding: 48px 0 8px; }
.page-head h1 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 10px; }
.page-head p { color: var(--muted); font-size: 16px; max-width: 620px; }

/* ---------- Yardımcılar ---------- */

.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.hidden { display: none !important; }

::selection { background: color-mix(in srgb, var(--brand) 25%, transparent); }

/* ============================================================
   PRO SÜRÜM EKLERİ
   ============================================================ */

/* ---------- Geri sayım şeridi ---------- */

.countdown-bar {
  background: linear-gradient(90deg, var(--brand), #6d28d9 55%, var(--accent));
  color: #fff; font-size: 14px; font-weight: 600;
}
.countdown-bar .cb-inner {
  display: flex; align-items: center; justify-content: center; gap: 8px 12px;
  padding: 9px 16px; flex-wrap: wrap; text-align: center;
}
@media (max-width: 560px) {
  .countdown-bar { font-size: 13px; }
  .countdown-bar .cb-inner { padding: 8px 14px; gap: 6px 10px; }
  .countdown-bar .cb-inner > svg { display: none; }
}
.countdown-bar .cb-days {
  background: rgba(255, 255, 255, .18); border-radius: 999px; padding: 2px 12px;
  font-family: var(--font-head); font-weight: 800; letter-spacing: .02em;
}
.countdown-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero v2 (iki kolon + canlı demo) ---------- */

.hero-v2 { padding: 64px 0 72px; position: relative; overflow: hidden; }
.hero-v2::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(720px 360px at 8% -5%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
    radial-gradient(640px 320px at 100% 20%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 70%),
    radial-gradient(400px 260px at 55% 110%, color-mix(in srgb, #8b5cf6 10%, transparent), transparent 70%);
}
.hero-v2::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 9%, transparent) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(600px 400px at 30% 20%, #000, transparent 75%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }

.hero-demo { position: relative; }
.hero-demo .hd-glow {
  position: absolute; inset: -8%; border-radius: 32px; filter: blur(48px); opacity: .35; z-index: 0;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}
.demo-card {
  position: relative; z-index: 1;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 24px; box-shadow: var(--shadow-lg);
}
.demo-card .dc-top {
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .07em;
}
.demo-card .dc-top .dc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); animation: pulse-soft 1.6s infinite; }
.demo-card .q-text { font-size: 15.5px; }
.demo-card .opts { margin-top: 16px; gap: 8px; }
.demo-card .opt { padding: 11px 13px; font-size: 14.5px; border-radius: 10px; }
.demo-card .opt .opt-letter { width: 26px; height: 26px; font-size: 12.5px; border-radius: 8px; }
.demo-card .demo-after { display: none; margin-top: 14px; text-align: center; }
.demo-card .demo-after.show { display: block; animation: fade-up .35s ease; }
.demo-card .demo-after p { font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }

/* Yüzen mini rozetler */
.float-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 14px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow-lg);
  animation: float-y 5s ease-in-out infinite;
}
.float-chip .icon { color: var(--good); }
.float-chip.fc-1 { top: -18px; right: -10px; animation-delay: 0s; }
.float-chip.fc-2 { bottom: -14px; left: -14px; animation-delay: 1.2s; }
.float-chip.fc-2 .icon { color: var(--brand); }
@media (max-width: 960px) { .float-chip { display: none; } }
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Güven şeridi (hero altı) */
.trust-row {
  display: flex; gap: 10px 22px; flex-wrap: wrap; margin-top: 30px;
  color: var(--muted); font-size: 13.5px; font-weight: 500;
}
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row .icon { color: var(--good); width: 1.05em; height: 1.05em; }

/* ---------- Sayaç şeridi ---------- */

.counter-band {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.counter-band .cb-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); text-align: center;
}
@media (max-width: 720px) { .counter-band .cb-grid { grid-template-columns: repeat(2, 1fr); } }
.counter-band .cb-item { padding: 26px 12px; border-left: 1px solid var(--line); }
.counter-band .cb-item:first-child { border-left: none; }
@media (max-width: 720px) { .counter-band .cb-item:nth-child(3) { border-left: none; } .counter-band .cb-item { border-top: 1px solid var(--line); } .counter-band .cb-item:nth-child(-n+2) { border-top: none; } }
.counter-band b { display: block; font-family: var(--font-head); font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.counter-band span { font-size: 13.5px; color: var(--muted); font-weight: 500; }

/* ---------- Scroll reveal ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip { animation: none; }
}

/* ---------- Kart üst şeridi (pro dokunuş) ---------- */

.card.topline { position: relative; overflow: hidden; }
.card.topline::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.card.topline:hover::before { transform: scaleX(1); }

/* ---------- Karşılaştırma tablosu ---------- */

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14.5px; }
.compare th, .compare td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: none; }
.compare th { font-family: var(--font-head); font-size: 14px; }
.compare th:first-child, .compare td:first-child { text-align: left; font-weight: 500; color: var(--ink-2); }
.compare .col-us { background: color-mix(in srgb, var(--brand) 6%, transparent); font-weight: 700; }
.compare th.col-us { color: var(--brand); font-size: 15px; }
.compare .yes { color: var(--good); } .compare .no { color: var(--muted); opacity: .6; }
.compare .icon { margin: 0 auto; }

/* ---------- Hesap / auth ---------- */

.auth-wrap { display: grid; grid-template-columns: 1fr .8fr; gap: 40px; align-items: start; max-width: 980px; margin: 0 auto; }
@media (max-width: 860px) { .auth-wrap { grid-template-columns: 1fr; } }
.auth-card { padding: 0; overflow: hidden; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.auth-tab {
  padding: 16px; background: var(--surface-2); border: none; cursor: pointer;
  font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--muted);
}
.auth-tab.active { background: var(--surface); color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); }
.auth-body { padding: 30px 28px; }
.auth-pane h1, .auth-pane .auth-h { font-size: 24px; margin-bottom: 6px; font-family: var(--font-head); line-height: 1.25; }
.auth-pane p { margin-bottom: 20px; }
.auth-pane label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 14px; }
.auth-pane input {
  display: block; width: 100%; margin-top: 6px;
  padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink); font-family: var(--font-body); font-size: 15px; outline: none;
  transition: border-color .15s;
}
.auth-pane input:focus { border-color: var(--brand); }
.auth-error { color: var(--bad); font-size: 13.5px; min-height: 20px; margin-bottom: 8px; }
.auth-pane .btn { width: 100%; }
.auth-side h2 { font-size: 20px; margin-bottom: 16px; }
.auth-perks { list-style: none; display: grid; gap: 16px; margin-bottom: 18px; }
.auth-perks li { display: flex; gap: 12px; align-items: flex-start; }
.auth-perks .icon { color: var(--brand); margin-top: 2px; }
.auth-perks b { display: block; font-size: 14.5px; }
.auth-perks span { font-size: 13.5px; color: var(--muted); }

.profile-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.profile-avatar {
  width: 64px; height: 64px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-size: 26px; font-weight: 800;
}
.profile-head h1 { font-size: 26px; }

/* ---------- Soru paleti (deneme modu) ---------- */

.palette-toggle { cursor: pointer; }
.palette {
  display: none; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px; margin-bottom: 18px;
}
.palette.open { display: grid; }
.palette button {
  height: 34px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface);
  font-size: 12.5px; font-weight: 600; color: var(--muted); cursor: pointer;
}
.palette button.done { background: var(--good-soft); border-color: var(--good-line); color: var(--good); }
.palette button.blank-q { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 40%, transparent); color: var(--warn); }
.palette button.current { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 30%, transparent); }

/* ---------- Klavye ipucu ---------- */

.kbd-hint { display: flex; gap: 14px; justify-content: center; margin-top: 18px; color: var(--muted); font-size: 12.5px; flex-wrap: wrap; }
.kbd-hint kbd {
  background: var(--surface); border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 6px; padding: 1px 7px; font-family: var(--font-body); font-size: 11.5px; font-weight: 600;
}
@media (max-width: 720px) { .kbd-hint { display: none; } }

/* ---------- Koyu footer ---------- */

.footer-pro { background: #0d1526; color: #94a3b8; margin-top: 56px; }
@media (prefers-color-scheme: dark) { .footer-pro { background: #070d1a; } }
.footer-pro .fp-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 36px; padding: 56px 0 42px;
}
@media (max-width: 900px) { .footer-pro .fp-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 560px) { .footer-pro .fp-grid { grid-template-columns: 1fr; } }
.footer-pro .fp-brand { max-width: 340px; }
.footer-pro .logo { color: #fff; }
.footer-pro .logo .logo-text small { color: #7c8ba3; }
.footer-pro .f-desc { font-size: 13.5px; margin-top: 16px; line-height: 1.75; color: #94a3b8; }
.footer-pro .fp-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-pro .fp-badges span {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(148, 163, 184, .12); border-radius: 999px; padding: 5px 12px;
  font-size: 12px; font-weight: 600; color: #cbd5e1;
}
.footer-pro .fp-badges .icon { width: 14px; height: 14px; color: #4ade80; }
.footer-pro h4 { color: #e2e8f0; font-size: 12.5px; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 14px; }
.footer-pro a { display: block; color: #94a3b8; font-size: 14px; padding: 5px 0; }
.footer-pro a:hover { color: #fff; text-decoration: none; }
.footer-pro .fp-bottom {
  border-top: 1px solid rgba(148, 163, 184, .15); padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 13px;
}
.footer-pro .fp-bottom-right { display: flex; align-items: center; gap: 18px; }
.footer-pro .fp-bottom-right a { display: inline-block; padding: 0; font-size: 13px; }
.footer-pro .footer-heart { color: #56637a; opacity: .8; }
.footer-pro .footer-heart:hover { color: var(--rose); opacity: 1; }

/* ---------- Bölüm zebra ---------- */

.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Konu kapsamı (sekmeli) ---------- */

.topic-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.topic-tabs button {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; font-family: var(--font-body); font-size: 14.5px; font-weight: 600;
  color: var(--ink-2); cursor: pointer; transition: all .15s;
}
.topic-tabs button:hover { border-color: var(--brand); color: var(--brand); }
.topic-tabs button.active {
  background: var(--brand); border-color: var(--brand); color: #fff;
  box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--brand) 60%, transparent);
}
.topic-tabs button .icon { width: 16px; height: 16px; }
.topic-tabs button b { font-weight: 700; opacity: .75; font-size: 13px; }

.topic-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.topic-panel .tp-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: wrap; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.topic-panel .tp-head h3 { font-size: 18px; }
.topic-panel .tp-head .tp-meta { color: var(--muted); font-size: 13.5px; }
.topic-list { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-list .tl-item {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface-2); border-radius: 9px; padding: 7px 12px;
  font-size: 13.5px; color: var(--ink-2);
}
.topic-list .tl-item b {
  background: var(--brand-soft); color: var(--brand-ink);
  border-radius: 6px; padding: 1px 7px; font-size: 12px; font-weight: 700;
}
.topic-panel .tp-actions { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Yol haritası ---------- */

.roadmap-card { display: flex; flex-direction: column; }
.roadmap-card .rc-phase {
  display: inline-block; align-self: flex-start;
  background: var(--brand-soft); color: var(--brand-ink);
  border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 700;
  margin-bottom: 12px;
}
.roadmap-card h3 { font-size: 19px; margin-bottom: 8px; }
.roadmap-card > p { color: var(--muted); font-size: 14.5px; }
.rc-list { list-style: none; margin: 16px 0 20px; display: grid; gap: 9px; }
.rc-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--ink-2); }
.rc-list .icon { width: 16px; height: 16px; color: var(--good); margin-top: 3px; flex: none; }
.roadmap-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Blog: kırıntı, içindekiler, ilgili yazılar ---------- */

.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs span:last-child { color: var(--ink-2); }

.toc {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 22px; margin: 0 0 28px;
}
.toc b { display: block; font-family: var(--font-head); font-size: 14px; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; color: var(--muted); font-size: 14.5px; }
.toc li { margin-bottom: 4px; }

.related { margin-top: 44px; }
.related h2 { font-size: 20px; margin-bottom: 14px; }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 720px) { .rel-grid { grid-template-columns: 1fr; } }
.rel-card {
  display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px; transition: border-color .15s, transform .15s;
}
.rel-card:hover { border-color: var(--brand); transform: translateY(-2px); text-decoration: none; }
.rel-card b { display: block; font-size: 14.5px; color: var(--ink); line-height: 1.45; margin-bottom: 6px; }
.rel-card span { font-size: 12.5px; color: var(--muted); }

/* ---------- Çıkmış set kartı ---------- */

.year-card { position: relative; }
.year-card .yc-year {
  font-family: var(--font-head); font-size: 40px; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 6px;
}
.year-card .yc-dist { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; }
.year-card .yc-dist span {
  background: var(--surface-2); border-radius: 8px; padding: 4px 10px;
  font-size: 12.5px; color: var(--ink-2); font-weight: 500;
}

/* ---------- Puan hesaplama aracı ---------- */

.calc-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: start; }
@media (max-width: 880px) { .calc-wrap { grid-template-columns: 1fr; } }

.calc-rows { display: grid; gap: 10px; }
.calc-row {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 72px; gap: 10px; align-items: center;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2);
}
@media (max-width: 560px) { .calc-row { grid-template-columns: 1fr 1fr 1fr; } .calc-row .cr-label { grid-column: 1 / -1; } }
.calc-row .cr-label { font-weight: 600; font-size: 14.5px; }
.calc-row .cr-label small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 500; }
.calc-row .cr-in { display: flex; flex-direction: column; gap: 3px; }
.calc-row .cr-in span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.calc-row input {
  width: 100%; padding: 8px 10px; border-radius: 8px; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink); font-family: var(--font-body); font-size: 15px;
  font-variant-numeric: tabular-nums; outline: none; transition: border-color .15s;
}
.calc-row input:focus { border-color: var(--brand); }
.calc-row .cr-net {
  text-align: right; font-family: var(--font-head); font-weight: 700; font-size: 15px;
  color: var(--brand); font-variant-numeric: tabular-nums;
}
.calc-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.calc-result { position: sticky; top: 84px; }
.calc-net { text-align: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.calc-net .cn-label { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.calc-net b {
  display: block; font-family: var(--font-head); font-size: 46px; font-weight: 800; line-height: 1.1;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.calc-net .cn-sub { font-size: 13px; color: var(--muted); }
.calc-scores { display: grid; gap: 8px; margin: 18px 0; }
.calc-scores .cs-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 14px; border-radius: 10px; background: var(--surface-2);
}
.calc-scores .cs-item:first-child { background: var(--brand-soft); }
.calc-scores .cs-item span { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.calc-scores .cs-item small { color: var(--muted); font-weight: 500; }
.calc-scores .cs-item b {
  font-family: var(--font-head); font-size: 19px; color: var(--brand); font-variant-numeric: tabular-nums;
}
.calc-split { display: grid; gap: 10px; }

/* ---------- Sonuç ekranı: boş rozetleri ---------- */

.ri-tag {
  display: inline-flex; align-items: center; gap: 5px;
  border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; margin-bottom: 8px;
}
.ri-tag.tag-wrong { background: var(--bad-soft); color: var(--bad); }
.ri-tag.tag-blank { background: var(--warn-soft); color: var(--warn); }
