/* ─── AccessNox — style.css ─────────────────────────────── */

:root {
  --bg: #F7F6FB;
  --surface: #FFFFFF;
  --ink: #191636;
  --muted: #5B5876;
  --line: #E7E4F2;
  --primary: #5A31E6;
  --primary-hover: #4926C7;
  --primary-soft: #EFEAFD;
  --primary-softer: #F8F6FE;
  --success: #0E7A56;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(25, 22, 54, .06);
  --shadow-md: 0 12px 32px -12px rgba(25, 22, 54, .18);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
h3 small { font-weight: 600; color: var(--muted); font-size: .8em; }
p { margin: 0 0 1em; }

a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--primary-soft); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px;
  border-radius: 0 0 10px 10px; font-weight: 600; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius-sm);
  font: 600 .97rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 14px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }

.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--primary-softer); color: var(--primary-hover); }

/* ─── Header ────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 32px;
  min-height: 72px;
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.brand-mark { width: 30px; height: 30px; color: var(--primary); flex: none; }
.brand-name { font-size: 1.22rem; font-weight: 800; letter-spacing: -.02em; }
.brand-accent { color: var(--primary); }

.site-nav { margin: 0 auto; }
.nav-list {
  display: flex; align-items: center; gap: 36px;
  list-style: none; margin: 0; padding: 0;
}
.nav-list a:not(.btn) {
  display: block; padding: 6px 0;
  color: #565370; text-decoration: none; font-weight: 500; font-size: .94rem;
  transition: color .15s ease;
}
.nav-list a:not(.btn):hover,
.nav-list a:not(.btn)[aria-current="page"] { color: var(--ink); background: none; }

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-login { color: #565370; text-decoration: none; font-weight: 500; font-size: .94rem; }
.header-login:hover { color: var(--ink); }
.site-header .btn-primary { padding: 10px 20px; font-size: .92rem; }

.lang-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border: 1.5px solid var(--line); border-radius: 10px;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: .85rem;
  letter-spacing: .04em;
}
.lang-link:hover { border-color: var(--primary); color: var(--primary); }

.nav-toggle { display: none; }
.nav-cta-mobile { display: none; }

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 88px 0 72px;
  background:
    radial-gradient(680px 420px at 82% 8%, rgba(90, 49, 230, .10), transparent 65%),
    radial-gradient(circle at 1px 1px, rgba(25, 22, 54, .05) 1px, transparent 0);
  background-size: auto, 26px 26px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.04fr .96fr;
  gap: 56px; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .88rem; font-weight: 600; color: var(--muted);
  box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }

.hero h1 em { font-style: normal; color: var(--primary); }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; margin-bottom: 32px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.hero-notes {
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  list-style: none; margin: 0; padding: 0;
  color: var(--muted); font-size: .92rem;
}
.hero-notes li { display: flex; align-items: center; gap: 8px; }
.hero-notes li::before {
  content: "✓"; color: var(--success); font-weight: 700;
}

/* Hero mockup */
.hero-visual { position: relative; }
.browser-mock {
  position: relative;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow-md);
}
.browser-top {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 16px; border-bottom: 1px solid var(--line);
}
.b-dot { width: 10px; height: 10px; border-radius: 50%; }
.d1 { background: #F87171; } .d2 { background: #FBBF24; } .d3 { background: #34D399; }
.browser-url {
  flex: 1; margin-left: 10px; padding: 6px 14px;
  background: var(--bg); border-radius: 8px;
  font-size: .82rem; color: var(--muted);
}
.browser-body { padding: 26px 26px 34px; }
.sk { background: #ECEAF4; border-radius: 6px; }
.sk-title { height: 22px; width: 52%; margin-bottom: 14px; }
.sk-line { height: 11px; margin-bottom: 10px; }
.w80 { width: 80%; } .w70 { width: 70%; } .w60 { width: 60%; } .w50 { width: 50%; }
.sk-cards { display: flex; gap: 12px; margin: 18px 0; }
.sk-card { height: 64px; flex: 1; border-radius: 10px; }

.widget-mock {
  position: absolute; right: -18px; bottom: -26px; width: 250px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-md);
  padding: 14px 16px 16px; font-size: .85rem;
}
.widget-mock-head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 10px;
}
.widget-mock-head svg { border-radius: 5px; }
.widget-mock-chips { display: flex; gap: 6px; margin-bottom: 12px; }
.chip {
  padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600;
  background: var(--bg); color: var(--muted); border: 1px solid var(--line);
}
.chip-on { background: var(--primary-soft); color: var(--primary); border-color: transparent; }
.widget-mock-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 0; color: var(--ink);
}
.switch {
  width: 34px; height: 19px; border-radius: 999px; background: #D8D5E6; position: relative; flex: none;
}
.switch::after {
  content: ""; position: absolute; top: 2.5px; left: 3px;
  width: 14px; height: 14px; border-radius: 50%; background: #fff;
  box-shadow: var(--shadow-sm);
}
.switch.on { background: var(--primary); }
.switch.on::after { left: auto; right: 3px; }
.stepper { color: var(--muted); font-size: .8rem; }
.stepper b { color: var(--primary); }

.float-card {
  position: absolute; top: 58px; left: -26px;
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow-md);
  padding: 10px 16px; font-size: .85rem; font-weight: 600;
}

.check {
  display: inline-grid; place-items: center;
  width: 19px; height: 19px; border-radius: 50%; flex: none;
  background: #E3F5EC; color: var(--success);
  font-size: .72rem; font-weight: 800;
}

/* ─── Stats ─────────────────────────────────────────────── */
.stats { background: var(--ink); color: #fff; padding: 44px 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.stat strong { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.stat span { color: #B9B5D4; font-size: .9rem; line-height: 1.45; display: block; margin-top: 4px; }
.stat small { font-size: .82em; }

/* ─── Sections ──────────────────────────────────────────── */
.section { padding: 100px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: 52px; }
.kicker {
  font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 12px;
}
.section-lead { font-size: 1.08rem; color: var(--muted); }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.section-alt .card { background: var(--bg); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #D9D4EE; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

.card-icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--primary-soft); color: var(--primary);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }

.card-solution h3 { color: var(--primary); }

/* ─── Live band ─────────────────────────────────────────── */
.live-band { padding: 0 0 8px; }
.live-band-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: linear-gradient(120deg, var(--primary), #7A52F4);
  color: #fff; border-radius: var(--radius);
  padding: 26px 32px; flex-wrap: wrap;
  box-shadow: 0 16px 40px -18px rgba(90, 49, 230, .55);
}
.live-band-text { display: grid; gap: 3px; }
.live-band-text strong { font-size: 1.08rem; }
.live-band-text span { color: #E5DDFE; font-size: .95rem; max-width: 46rem; }

/* ─── Steps / code ──────────────────────────────────────── */
.steps-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.step { display: flex; gap: 20px; }
.step-no {
  font-size: .95rem; font-weight: 800; color: var(--primary);
  background: var(--primary-soft); border-radius: 11px;
  width: 44px; height: 44px; display: grid; place-items: center; flex: none;
}
.step h3 { margin-bottom: 4px; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }
.step code {
  background: var(--primary-softer); color: var(--primary);
  padding: 1px 7px; border-radius: 6px; font-size: .88em;
}

.code-panel {
  background: #1E1B38; border-radius: var(--radius);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.code-head {
  padding: 13px 20px; border-bottom: 1px solid #322D55;
  color: #8F89B8; font-size: .82rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.code-panel pre {
  margin: 0; padding: 24px 20px; overflow-x: auto;
  font: .88rem/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #DCD9F0;
}
.c-tag { color: #8FB5FF; }
.c-attr { color: #C4B5FD; }
.c-str { color: #86EFAC; }
.code-note {
  display: flex; align-items: center; gap: 10px;
  margin: 0; padding: 14px 20px; border-top: 1px solid #322D55;
  color: #B9B5D4; font-size: .88rem;
}

/* ─── FAQ ───────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq summary {
  padding: 18px 52px 18px 22px; cursor: pointer; position: relative;
  font-weight: 600; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%); font-size: 1.35rem; font-weight: 500;
  color: var(--primary); transition: transform .18s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details[open] summary { color: var(--primary); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }
.faq details code {
  background: var(--primary-softer); color: var(--primary);
  padding: 1px 7px; border-radius: 6px; font-size: .88em;
}

/* ─── Contact ───────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.contact-points { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.contact-points li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.contact-mail { color: var(--muted); }

.contact-form {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block; font-size: .85rem; font-weight: 600;
  margin-bottom: 7px; letter-spacing: .01em;
}
.form-row label span { color: #C2410C; }
.form-row input, .form-row textarea {
  width: 100%; padding: 12px 15px;
  border: 1.5px solid var(--line); border-radius: 10px;
  font: 400 .97rem var(--font); color: var(--ink); background: var(--bg);
  transition: border-color .15s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.form-row textarea { resize: vertical; }
.form-hp { position: absolute; left: -9999px; }
.form-status { margin: 14px 0 0; font-weight: 600; color: var(--success); min-height: 1.2em; }
.form-note { margin: 12px 0 0; font-size: .84rem; color: var(--muted); }

/* ─── Footer ────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #B9B5D4; padding: 64px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand-mark { color: var(--primary); }
.footer-brand p { font-size: .93rem; max-width: 22rem; }
.footer-col h3 {
  color: #fff; font-size: .85rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: #B9B5D4; text-decoration: none; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding-top: 24px; padding-bottom: 24px;
  border-top: 1px solid #2E2A52; font-size: .87rem;
}
.footer-bottom p { margin: 0; }

/* ─── Reveal animation ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ─── Reduced motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  .hero { padding: 56px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .widget-mock { right: 4px; bottom: -30px; }
  .float-card { left: -6px; }

  .header-actions .btn, .header-actions .header-login { display: none; }

  .nav-toggle {
    display: grid; place-items: center;
    width: 42px; height: 42px; border-radius: 10px;
    background: none; border: 1.5px solid var(--line); cursor: pointer;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    display: block; width: 18px; height: 2px; border-radius: 2px;
    background: var(--ink); position: relative; content: "";
    transition: transform .18s ease, opacity .18s ease;
  }
  .nav-toggle-bar::before { position: absolute; top: -6px; }
  .nav-toggle-bar::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: rotate(-90deg); top: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { opacity: 0; }

  .nav-list {
    display: none;
    position: absolute; left: 16px; right: 16px; top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 12px;
  }
  .nav-list.open { display: flex; }
  .nav-cta-mobile { display: block; margin-top: 8px; }
  .nav-cta-mobile .btn { width: 100%; }

  .section { padding: 68px 0; }
  .live-band-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .grid-3, .grid-4, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .contact-form { padding: 24px 20px; }
  .widget-mock { position: static; width: auto; margin: 14px 12px 16px; }
  .float-card { display: none; }
}

/* ─── Nav dropdown (Kaynaklar) ──────────────────────────── */
.has-sub { position: relative; }
.sub-toggle {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 0; border: none; background: none;
  font: 500 .94rem var(--font); color: #565370; cursor: pointer;
  transition: color .15s ease;
}
.sub-toggle:hover, .has-sub.open .sub-toggle { color: var(--ink); background: none; }
.sub-toggle svg { transition: transform .15s ease; opacity: .55; }
.has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.sub-menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 60;
  min-width: 250px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-md);
  list-style: none; margin: 0; display: none;
}
.has-sub.open .sub-menu { display: block; }
.sub-menu a {
  display: block; padding: 10px 13px; border-radius: 9px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .94rem;
}
.sub-menu a:hover { background: var(--primary-softer); color: var(--primary); }

/* ─── Dil değiştirici ───────────────────────────────────── */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); color: #565370; cursor: pointer;
  font: 600 .84rem var(--font); letter-spacing: .04em;
}
.lang-btn:hover { border-color: #CFCBE4; color: var(--ink); }
.lang-btn svg { opacity: .7; }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 60;
  min-width: 150px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow-md);
  list-style: none; margin: 0; display: none;
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu a {
  display: block; padding: 9px 12px; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .93rem;
}
.lang-menu a:hover { background: var(--primary-softer); color: var(--primary); }
.lang-menu a[aria-current="true"] { color: var(--primary); font-weight: 700; }
.lang-menu a[aria-current="true"]::after { content: " ✓"; }

/* ─── Sayfa başlığı (alt sayfalar) ──────────────────────── */
.page-hero {
  padding: 56px 0 52px;
  background:
    radial-gradient(560px 320px at 85% 0%, rgba(90, 49, 230, .08), transparent 65%),
    radial-gradient(circle at 1px 1px, rgba(25, 22, 54, .05) 1px, transparent 0);
  background-size: auto, 26px 26px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); max-width: 22ch; }
.page-hero .section-lead { max-width: 46rem; margin-bottom: 0; }

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: .85rem; margin-bottom: 22px; color: var(--muted);
}
.breadcrumb a { color: var(--muted); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span[aria-current] { color: var(--ink); font-weight: 600; }
.crumb-sep { color: #C6C2DC; }

/* ─── Makale gövdesi ────────────────────────────────────── */
.article { padding: 64px 0 84px; }
.article-body { max-width: 760px; }
.article-body h2 { font-size: 1.45rem; margin-top: 2.2em; }
.article-body h3 { font-size: 1.12rem; margin-top: 1.8em; }
.article-body p, .article-body li { color: #3D3A58; font-size: 1.02rem; }
.article-body ul, .article-body ol { padding-left: 1.35em; margin-bottom: 1.2em; }
.article-body li { margin-bottom: .45em; }
.article-body a { font-weight: 600; }
.article-body blockquote {
  margin: 1.6em 0; padding: 18px 24px;
  background: var(--primary-softer); border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0; color: var(--ink);
}
.article-body blockquote p { margin: 0; color: var(--ink); }
.article-meta { color: var(--muted); font-size: .9rem; margin-bottom: 2em; }
.info-box {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--primary-softer); border: 1px solid #E2D9FB;
  border-radius: var(--radius-sm); padding: 18px 20px; margin: 1.6em 0;
}
.info-box p { margin: 0; font-size: .97rem; }

/* ─── Blog kartları ─────────────────────────────────────── */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  text-decoration: none; color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #D9D4EE; color: var(--ink); }
.post-tag {
  align-self: flex-start; font-size: .76rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--primary);
  background: var(--primary-soft); padding: 4px 11px; border-radius: 999px;
  margin-bottom: 14px;
}
.post-card h3 { font-size: 1.08rem; line-height: 1.35; }
.post-card p { color: var(--muted); font-size: .93rem; margin: 0 0 16px; flex: 1; }
.post-date { color: var(--muted); font-size: .84rem; }
.post-more { color: var(--primary); font-weight: 600; font-size: .93rem; }

/* ─── Araçlar ───────────────────────────────────────────── */
.tool-panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm);
  max-width: 760px;
}
.tool-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 22px; }
.tool-field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 8px; }
.color-input { display: flex; gap: 10px; align-items: center; }
.color-input input[type="color"] {
  width: 46px; height: 46px; padding: 3px; border: 1.5px solid var(--line);
  border-radius: 10px; background: var(--surface); cursor: pointer;
}
.color-input input[type="text"] {
  flex: 1; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: 500 .95rem ui-monospace, Menlo, monospace; color: var(--ink); background: var(--bg);
  text-transform: uppercase;
}
.color-input input[type="text"]:focus { outline: none; border-color: var(--primary); }
.ratio-box {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 22px 24px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--line); margin-bottom: 20px;
}
.ratio-value { font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; }
.ratio-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge {
  padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700;
}
.badge-pass { background: #E3F5EC; color: var(--success); }
.badge-fail { background: #FDE8E8; color: #B42318; }
.contrast-preview {
  border-radius: var(--radius-sm); padding: 22px 24px; border: 1px solid var(--line);
}
.contrast-preview p { margin: 0; }
.tool-note { color: var(--muted); font-size: .88rem; margin-top: 18px; }

/* ─── Canlı önizleme sekmeleri (demo sayfası) ───────────── */
.demo-card {
  background: var(--ink); border-radius: var(--radius);
  padding: 28px; color: #fff; box-shadow: var(--shadow-md);
}
.demo-label {
  font-size: .76rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #B9B5D4; margin: 0 0 14px;
}
.demo-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.demo-tab {
  padding: 8px 16px; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .88);
  border: none; font: 600 .85rem var(--font);
  transition: background .15s ease, color .15s ease;
}
.demo-tab:hover { background: rgba(255, 255, 255, .18); }
.demo-tab[aria-pressed="true"] { background: var(--primary); color: #fff; }
.demo-stage {
  background: var(--surface); color: var(--ink);
  border-radius: 12px; padding: 24px;
  transition: background .2s ease, color .2s ease;
}
.demo-stage h4 { font-size: 1.05rem; margin: 0 0 8px; }
.demo-stage p { font-size: .92rem; color: var(--muted); margin-bottom: 12px; }
.demo-stage a { font-weight: 600; }
.demo-btn {
  margin-top: 12px; padding: 9px 20px; border-radius: 10px; border: none;
  background: var(--primary); color: #fff; font: 600 .87rem var(--font); cursor: pointer;
}
.demo-stage.is-contrast { background: #14122B; color: #fff; }
.demo-stage.is-contrast p { color: #C9C5E2; }
.demo-stage.is-contrast a { color: #FDE047; }
.demo-stage.is-dyslexia { letter-spacing: .1em; word-spacing: .2em; line-height: 2.05; }
.demo-stage.is-links a { background: #FEF3C7; padding: 2px 6px; border-radius: 6px; text-decoration: underline; }
.demo-note { margin: 16px 0 0; font-size: .88rem; color: #B9B5D4; }
.demo-note strong { color: #fff; }

/* ─── CTA bandı butonları ───────────────────────────────── */
.cta-section { padding-top: 0; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-outline-w { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-outline-w:hover { border-color: #fff; color: #fff; }

/* ─── Kart bağlantı düzeni ──────────────────────────────── */
.card-link { text-decoration: none; color: inherit; display: block; }
.card-link:hover { color: inherit; }
.card-link .card-more { color: var(--primary); font-weight: 600; font-size: .92rem; margin-top: 14px; display: inline-block; }

/* ─── Responsive ek ─────────────────────────────────────── */
@media (max-width: 1020px) {
  .post-grid { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 860px) {
  .sub-menu {
    position: static; display: block; border: none; box-shadow: none;
    padding: 0 0 4px 14px; min-width: 0;
  }
  .sub-toggle { pointer-events: none; width: 100%; }
  .sub-toggle svg { display: none; }
  .lang-btn { padding: 8px 10px; }
  .tool-row { grid-template-columns: 1fr; }
}

/* ─── Blog dizini (CookieNox tarzı) ─────────────────────── */
.blog-tabs {
  display: flex; gap: 28px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  margin-bottom: 44px;
}
.blog-tab {
  padding: 12px 2px 14px; border: none; background: none; cursor: pointer;
  font: 500 .95rem var(--font); color: #565370;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .15s ease, border-color .15s ease;
}
.blog-tab:hover { color: var(--ink); }
.blog-tab[aria-pressed="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }

.kicker-star {
  font-size: .76rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 16px;
}

.featured-grid {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px;
  margin-bottom: 56px; align-items: stretch;
}
.featured-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease;
}
.featured-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--ink); }
.featured-card img {
  width: 100%; height: 280px; object-fit: cover; display: block;
}
.featured-body { padding: 26px 30px 28px; }
.featured-body h2 { font-size: 1.45rem; margin: 12px 0 10px; }
.featured-body p { color: var(--muted); font-size: .97rem; margin-bottom: 16px; }

.popular-box {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.popular-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.02rem; font-weight: 700; margin: 0 0 22px;
}
.popular-title::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--primary);
}
.popular-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.popular-list a {
  display: flex; gap: 16px; align-items: baseline;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
  line-height: 1.45;
}
.popular-list a:hover { color: var(--primary); }
.popular-no {
  font-size: 1.05rem; font-weight: 800; color: #C9C5E0; flex: none;
  font-variant-numeric: tabular-nums;
}
.popular-list a:hover .popular-no { color: var(--primary); }

.post-card { padding: 0; overflow: hidden; }
.post-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.post-card-body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }

/* ─── Yazı sayfası kapak görseli ────────────────────────── */
.article-cover { margin: 0 0 2em; }
.article-cover img {
  width: 100%; aspect-ratio: 21 / 9; object-fit: cover;
  border-radius: var(--radius); display: block;
}
.article-cover figcaption { font-size: .82rem; color: var(--muted); margin-top: 10px; }

@media (max-width: 1020px) {
  .featured-grid { grid-template-columns: 1fr; }
  .featured-card img { height: 230px; }
}

/* ─── Kurulum kodu: içerik bulanık gösterilir ───────────── */
.code-panel pre code {
  filter: blur(3px);
  user-select: none;
}
