/* ============================================================
   DijitalErişilebilirlik.com — Corpowid
   Düz HTML / CSS / JS — MVC'ye taşınabilir tasarım sistemi
   Açık tema · Inter yazı tipi
   ============================================================ */

:root {
  --bg: #FFFFFF;
  --bg-soft: #F6F8FB;
  --surface: #FFFFFF;
  --surface-hover: #EEF2F7;
  --border: #E5E9F0;
  --border-strong: #CBD5E1;
  --text: #0F172A;
  --text-2: #1E293B;
  --muted: #475569;
  --muted-2: #64748B;
  --brand: #1D4ED8;
  --brand-hover: #1E40AF;
  --brand-soft: #EEF3FF;
  --cyan: #0891B2;
  --emerald: #059669;
  --emerald-soft: #ECFDF5;
  --yellow: #FACC15;
  --yellow-hover: #EAB308;
  --red: #E30A17;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 4px 12px -4px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 50px -20px rgba(15, 23, 42, 0.18);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--brand); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

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

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

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 1rem;
}

.container {
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) { .container { padding-inline: 2rem; } }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10001;
  background: var(--text);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px -16px rgba(15, 23, 42, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand-mark { height: 40px; width: auto; max-width: 180px; object-fit: contain; flex: none; }

/* Uzun (yatay) logo: en-boy nisbeti qorunur, hundurluk sabit qalir */
.brand-logo {
  display: block;
  height: 34px;
  width: auto;
  max-width: 58vw;
  object-fit: contain;
  object-position: left center;
  flex: none;
}
@media (min-width: 768px) { .brand-logo { height: 40px; max-width: 280px; } }
@media (min-width: 1024px) { .brand-logo { height: 44px; max-width: 320px; } }
.brand-text {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.brand-text small {
  display: block;
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 2px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.7rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.25s ease;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.icon-btn:hover { background: var(--surface-hover); transform: translateY(-2px); }
.icon-btn svg { width: 20px; height: 20px; }

.burger { display: inline-flex; }
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .burger { display: none; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav-links { gap: 1.05rem; }
  .nav-links a { font-size: 0.86rem; }
}

.mobile-nav {
  display: none;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 1rem 1.25rem 1.5rem; display: grid; gap: 0.25rem; }
.mobile-nav a {
  display: block;
  padding: 0.8rem 0.5rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(29, 78, 216, 0.5);
}
.btn-primary:hover { background: var(--brand-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(29, 78, 216, 0.6); }
.btn-ghost {
  background: #fff;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-hover); transform: translateY(-2px); color: var(--text); border-color: var(--muted-2); }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.02rem; }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.btn-yellow { background: var(--yellow); color: #111827; box-shadow: 0 10px 24px -10px rgba(234, 179, 8, 0.45); }
.btn-yellow:hover { background: var(--yellow-hover); color: #111827; transform: translateY(-2px); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 165px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(800px 460px at 90% -10%, rgba(29, 78, 216, 0.10), transparent 60%),
    radial-gradient(600px 380px at -5% 40%, rgba(5, 150, 105, 0.08), transparent 60%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
}

.hero-title {
  font-size: clamp(2.1rem, 4.8vw, 3.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
  overflow-wrap: break-word;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-title .line > span {
  display: block;
  transform: translateY(112%);
  animation: lineUp 0.9s var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes lineUp { to { transform: translateY(0); } }
.hero-title .accent { color: var(--brand); }

.hero-sub {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 34rem;
  margin: 0 0 2rem;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.4rem; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  list-style: none;
  margin: 0; padding: 0;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}
.hero-trust svg { width: 16px; height: 16px; color: var(--emerald); flex: none; }

/* Hero tarama kartı */
.audit-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: 1.9rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(30px);
  animation: cardIn 1s var(--ease-out) 0.5s forwards;
}
@keyframes cardIn { to { opacity: 1; transform: translateY(0); } }
.audit-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  background: var(--emerald-soft);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1rem;
}
.audit-card-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.audit-card h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.audit-card p { color: var(--muted); font-size: 0.95rem; margin: 0 0 1.2rem; }
.audit-form { display: flex; flex-direction: column; gap: 0.7rem; }
.audit-form input {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-soft);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.98rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.audit-form input::placeholder { color: var(--muted-2); }
.audit-form input:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15); }

/* ---------- T.C. Genelge güven bandı ---------- */
.trust-band {
  border-block: 1px solid rgba(227, 10, 23, 0.18);
  background: linear-gradient(90deg, rgba(227, 10, 23, 0.06), rgba(227, 10, 23, 0.02) 45%, rgba(227, 10, 23, 0.06));
}
.trust-band-inner {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.1rem 0;
  flex-wrap: wrap;
}
.trust-flag {
  flex: none;
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 6px 14px rgba(227, 10, 23, 0.25));
}
.trust-flag svg { width: 100%; height: 100%; display: block; }
.trust-text { flex: 1 1 300px; }
.trust-text strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.trust-text p { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.9rem; }
.trust-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--border);
  background: var(--bg-soft);
  overflow: hidden;
  padding: 1.05rem 0;
}
.marquee-track {
  display: flex;
  gap: 3.2rem;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-track span {
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 3.2rem;
  white-space: nowrap;
}
.marquee-track span::after { content: "•"; color: var(--brand); font-size: 1rem; }

/* ---------- Bölümler ---------- */
.section { padding: 6rem 0; position: relative; }
@media (min-width: 1024px) { .section { padding: 2.5rem 0; } }
.section-head { max-width: 46rem; margin-bottom: 3.5rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Bento hizmetler ---------- */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
@media (min-width: 768px) { .bento { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(12, 1fr); } }

.b-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), border-color 0.3s ease, box-shadow 0.4s ease;
}
.b-card:hover {
  transform: translateY(-5px);
  border-color: rgba(29, 78, 216, 0.35);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}
.b-card::after {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.10), transparent 70%);
  transition: transform 0.5s var(--ease-out), opacity 0.4s ease;
  opacity: 0;
}
.b-card:hover::after { opacity: 1; transform: scale(1.4); }
@media (min-width: 768px) {
  .b-span-8 { grid-column: span 6; }
  .b-span-4 { grid-column: span 3; }
  .b-span-12 { grid-column: span 6; }
}
@media (min-width: 1024px) {
  .b-span-8 { grid-column: span 8; }
  .b-span-4 { grid-column: span 4; }
  .b-span-12 { grid-column: span 12; }
}

.b-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(29, 78, 216, 0.2);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  margin-bottom: 1.2rem;
}
.b-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.b-card.featured h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.b-card p { color: var(--muted); font-size: 0.97rem; margin: 0 0 1.4rem; flex: 1; }
.b-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--brand);
}
.b-link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.b-card:hover .b-link svg, .post-card:hover .b-link svg { transform: translateX(5px); }

.b-feature-list {
  list-style: none;
  margin: 0 0 1.4rem; padding: 0;
  display: grid;
  gap: 0.5rem;
}
.b-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.94rem;
  color: var(--muted);
}
.b-feature-list svg { width: 17px; height: 17px; color: var(--emerald); flex: none; margin-top: 3px; }

/* Geniş Corpowid kartı */
.b-card.corpowid {
  background: linear-gradient(120deg, #EEF3FF 0%, #F0FDFA 60%, #ECFDF5 100%);
  border-color: rgba(29, 78, 216, 0.25);
}
.b-corpowid-inner { display: grid; gap: 1.6rem; align-items: center; }
@media (min-width: 1024px) { .b-corpowid-inner { grid-template-columns: 1.2fr 0.8fr; } }
.b-corpowid-stats { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.b-stat strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand);
}
.b-stat span { font-size: 0.82rem; color: var(--muted); font-weight: 500; }

/* Çerez kartı */
.b-card.cookie {
  background: linear-gradient(120deg, #FFFBEB 0%, #FFFFFF 55%);
  border-color: rgba(234, 179, 8, 0.35);
}
.b-card.cookie .b-badge { color: #A16207; background: #FEF9C3; border-color: rgba(234, 179, 8, 0.4); }

/* ---------- Neden / istatistik ---------- */
.why { background: var(--bg-soft); border-block: 1px solid var(--border); }
.stats-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover { transform: translateY(-5px); border-color: rgba(29, 78, 216, 0.35); box-shadow: var(--shadow-lg); }
.stat-card .stat-num {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.8rem;
  color: var(--brand);
}
.stat-card h3 { font-size: 1.08rem; margin-bottom: 0.45rem; }
.stat-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---------- Süreç ---------- */
.steps { display: grid; gap: 0; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: 0; }
.step-num {
  counter-increment: step;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand);
  flex: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.step:hover .step-num { background: var(--brand); border-color: var(--brand); color: #fff; }
.step-num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; max-width: 44rem; }

/* ---------- Spotlight (görsel + içerik) ---------- */
.spotlight-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .spotlight-grid { grid-template-columns: 1fr 1fr; } }
.spotlight-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.spotlight-media img {
  display: block;
  width: 100%;
  height: auto;
  /* Ekran goruntusu tipli gorseller kesilmesin: oz en-boy nisbeti saxlanilir */
  object-fit: contain;
}
.check-list { list-style: none; margin: 1.6rem 0 2rem; padding: 0; display: grid; gap: 0.9rem; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--muted); font-size: 0.98rem; }
.check-list strong { color: var(--text); font-weight: 600; }
.check-list svg { width: 20px; height: 20px; color: var(--emerald); flex: none; margin-top: 2px; }

/* ---------- Çerez bölümü (ana sayfa) ---------- */
.cookie-section { background: #FFFBEB; border-block: 1px solid rgba(234, 179, 8, 0.3); }
.cookie-section .eyebrow, .cookie-section .eyebrow::before { color: #A16207; background-color: transparent; }
.cookie-section .eyebrow::before { background: #A16207; }
.cookie-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cookie-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cookie-grid { grid-template-columns: repeat(4, 1fr); } }
.cookie-card {
  background: #fff;
  border: 1px solid rgba(234, 179, 8, 0.35);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.3s ease;
}
.cookie-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cookie-card .cookie-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #FEF3C7;
  color: #A16207;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.cookie-card .cookie-icon svg { width: 22px; height: 22px; }
.cookie-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.cookie-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.cookie-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.cookie-tags li {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(234, 179, 8, 0.4);
  color: #854D0E;
}

/* ---------- SSS ---------- */
.faq { border-block: 1px solid var(--border); background: var(--bg-soft); }
.faq-list { max-width: 52rem; display: grid; gap: 0.9rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item[open] { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  transition: color 0.25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }
.faq-item summary .faq-icon {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.35s var(--ease-out), background-color 0.3s ease;
}
.faq-item[open] summary .faq-icon { transform: rotate(45deg); background: var(--brand); border-color: var(--brand); color: #fff; }
.faq-item .faq-body { padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: 0.97rem; }

/* ---------- Lead formu ---------- */
.lead-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .lead-grid { grid-template-columns: 1fr 1fr; } }
.lead-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: 2.2rem;
  box-shadow: var(--shadow-lg);
}
.form-field { margin-bottom: 1.2rem; }
.form-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.form-field label .req { color: var(--red); }
.form-field input {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-soft);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.98rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.form-field input::placeholder { color: var(--muted-2); }
.form-field input:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15); }
.form-field input[aria-invalid="true"] { border-color: #DC2626; }
.form-error {
  display: none;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: #B91C1C;
}
.form-field.invalid .form-error { display: block; }
.form-note { font-size: 0.8rem; color: var(--muted-2); margin-top: 1rem; }
.form-success {
  display: none;
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(5, 150, 105, 0.4);
  background: var(--emerald-soft);
  color: #047857;
  font-size: 0.94rem;
  font-weight: 600;
}
.form-success.show { display: block; }

/* ---------- Blog kartları ---------- */
.blog-grid { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), border-color 0.3s ease, box-shadow 0.4s ease;
}
.post-card:hover { transform: translateY(-5px); border-color: rgba(29, 78, 216, 0.35); box-shadow: var(--shadow-lg); color: var(--text); }
.post-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted-2);
  margin-bottom: 0.9rem;
}
.post-cat {
  color: var(--emerald);
  background: var(--emerald-soft);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.post-card h3 { font-size: 1.15rem; line-height: 1.35; margin-bottom: 0.6rem; }
.post-card p { color: var(--muted); font-size: 0.93rem; margin: 0 0 1.2rem; flex: 1; }

/* Blog liste araçları */
.blog-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.blog-search {
  flex: 1 1 260px;
  max-width: 380px;
  position: relative;
}
.blog-search input {
  width: 100%;
  padding: 0.85rem 1.1rem 0.85rem 2.8rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
}
.blog-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15); }
.blog-search svg {
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  width: 17px; height: 17px;
  color: var(--muted-2);
}
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.chip:hover { color: var(--text); background: var(--surface-hover); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.blog-empty {
  display: none;
  text-align: center;
  padding: 4rem 1rem;
  color: var(--muted);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
}
.blog-empty.show { display: block; }

/* ---------- Kütüphane (terim kartları) ---------- */
.term-count { color: var(--muted-2); font-size: 0.9rem; margin: -1rem 0 1.6rem; }
.term-count strong { color: var(--text); }
.term-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .term-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .term-grid { grid-template-columns: repeat(3, 1fr); } }
.term-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease;
}
.term-card:hover { transform: translateY(-4px); border-color: rgba(29, 78, 216, 0.35); box-shadow: var(--shadow-lg); }
.term-cat {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(29, 78, 216, 0.2);
  border-radius: 999px;
  padding: 0.22rem 0.7rem;
  margin-bottom: 0.9rem;
}
.term-card h2 { font-size: 1.12rem; line-height: 1.35; margin-bottom: 0.5rem; }
.term-card p { color: var(--muted); font-size: 0.92rem; margin: 0 0 1.1rem; flex: 1; }
.term-card .b-link { text-decoration: none; }
.term-card .b-link:hover svg { transform: translateX(5px); }
a.term-card { text-decoration: none; color: var(--text); }
a.term-card:hover { color: var(--text); }
.term-card h3 { font-size: 1.1rem; line-height: 1.35; margin-bottom: 0.5rem; }
.term-nav { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.term-nav .btn { white-space: normal; text-align: center; }

/* ---------- İç sayfa hero ---------- */
.page-hero {
  position: relative;
  padding: 150px 0 60px;
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 90% -10%, rgba(29, 78, 216, 0.10), transparent 60%),
    radial-gradient(500px 340px at 0% 40%, rgba(5, 150, 105, 0.07), transparent 60%),
    var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 52rem;
  overflow-wrap: break-word;
}
.page-hero .lead-text { font-size: 1.12rem; color: var(--muted); max-width: 44rem; margin: 0 0 1.8rem; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  list-style: none;
  margin: 0 0 1.6rem; padding: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted-2);
}
.breadcrumb a { color: var(--muted-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb li[aria-current] { color: var(--brand); font-weight: 600; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--border-strong); }

/* ---------- Prose (içerik sayfaları) ---------- */
.prose-layout { display: grid; gap: 3rem; padding: 4.5rem 0 6rem; }
@media (min-width: 1024px) { .prose-layout { grid-template-columns: 1fr 300px; } }

.prose { max-width: 46rem; font-size: 1.04rem; }
.prose h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  margin: 2.8rem 0 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.8rem 0 0.6rem; }
.prose p { color: var(--text-2); margin: 0 0 1.1rem; }
.prose ul, .prose ol { color: var(--text-2); margin: 0 0 1.2rem; padding-left: 1.3rem; }
.prose li { margin-bottom: 0.45rem; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--text); }
.prose blockquote {
  margin: 1.6rem 0;
  padding: 1.2rem 1.5rem;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text);
  font-size: 1.02rem;
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.15em 0.45em;
  color: #0E7490;
}
.prose pre {
  background: #0F172A;
  border: 1px solid #1E293B;
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  overflow-x: auto;
  margin: 0 0 1.4rem;
}
.prose pre code { background: none; border: 0; padding: 0; font-size: 0.84rem; color: #A5F3FC; }

/* ---------- Kontrol listesi iceriginde islenen bloklar ----------
   Bu siniflar BK maddelerinin HTML icerigi icinde gelir (code-compare,
   table-wrap, criterion-nav, meta-note, sr-only). */

/* Yalniz ekran okuyucu ucun metin: "…, yeni sekmede acilir" kimi. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Icerik icindeki baglantilar her zaman alti cizili qalir ki, yalniz rengden
   asili olmasin. Duymeler (.btn) ve ox-lu baglantilar (.b-link) kenarda qalir —
   `.prose a` onlardan daha spesifikdir ve rengini ezib gorunmez edir. */
.prose a:not(.btn):not(.b-link) { color: var(--brand); text-decoration: underline; }
.prose a:not(.btn):not(.b-link):hover { color: var(--brand-hover); }

/* Hatali / Dogru kod karsilasdirmasi: masaustunde yan-yana, mobilde alt-alta */
.code-compare {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin: 0 0 1.6rem;
}
@media (min-width: 900px) { .code-compare { grid-template-columns: 1fr 1fr; } }
.code-compare figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.code-compare figcaption {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid var(--border);
}
/* Reng yalniz elave ipucudur: etiket metni ve isaret her halda oxunur. */
.code-compare figcaption::before { font-size: 0.95rem; line-height: 1; }
.code-bad figcaption { color: #B91C1C; background: #FEF2F2; border-bottom-color: #FECACA; }
.code-bad figcaption::before { content: "\2717"; }
.code-good figcaption { color: #047857; background: var(--emerald-soft); border-bottom-color: #A7F3D0; }
.code-good figcaption::before { content: "\2713"; }
.code-compare pre {
  margin: 0;
  flex: 1;
  border: 0;
  border-radius: 0;
}

/* Cedveller: dar ekranda yatay sürüsdürülur */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin: 0 0 1.6rem;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.prose caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.86rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
}
.prose th, .prose td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
}
.prose thead th {
  background: var(--bg-soft);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}
.prose tbody th { white-space: nowrap; color: var(--text); font-weight: 700; }
.prose tbody tr:last-child th, .prose tbody tr:last-child td { border-bottom: 0; }

/* Maddeler arasi gezinme (icerikden gelen criterion-nav) */
.criterion-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: space-between;
  margin: 2.5rem 0 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
}
.criterion-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-soft);
}
.criterion-nav a:hover { border-color: var(--brand); background: var(--brand-soft); }

/* Sehifenin sonundaki surum / mesuliyyet qeydi */
.meta-note {
  margin: 2rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
}
.meta-note small { font-size: 0.84rem; line-height: 1.6; }

/* Kontrol listesi kartinda ustbaslik: kateqoriya hapi deyil, uzun meta metn */
.term-cat--meta {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0.6rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* TOC */
.toc {
  position: sticky;
  top: 110px;
  align-self: start;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--bg-soft);
}
.toc h2 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.9rem;
}
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.toc a {
  display: block;
  padding: 0.4rem 0.7rem;
  border-left: 2px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.toc a:hover, .toc a.active { color: var(--brand); border-left-color: var(--brand); }

/* Makale üst bilgisi */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted-2);
  margin-bottom: 1.4rem;
}
.article-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  margin: 2rem 0 0;
}
.article-hero-img img { aspect-ratio: 21 / 9; width: 100%; object-fit: cover; }

/* Makale içi CTA */
.inline-cta {
  margin: 2.6rem 0;
  padding: 1.8rem;
  border-radius: var(--radius);
  border: 1px solid rgba(29, 78, 216, 0.25);
  background: linear-gradient(120deg, #EEF3FF, #ECFDF5);
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
}
.inline-cta h3 { margin: 0 0 0.3rem; font-size: 1.15rem; }
.inline-cta p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- CTA bandı ---------- */
.cta-band {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  padding: 3.5rem 2rem;
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% -20%, rgba(255, 255, 255, 0.18), transparent 70%),
    var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
}
@media (min-width: 768px) { .cta-band { padding: 5rem 3rem; } }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); max-width: 40rem; margin-inline: auto; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 34rem; margin: 0 auto 2rem; }
.cta-band .hero-ctas { justify-content: center; margin-bottom: 0; }
.cta-band .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.3); }
.cta-band .btn-primary:hover { background: #F1F5F9; color: var(--brand-hover); }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 4.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 3.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand p { color: var(--muted); font-size: 0.92rem; max-width: 22rem; margin: 1rem 0 1.4rem; }
.footer-col h2 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 0.92rem; transition: color 0.25s ease; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--muted-2);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--muted); }

/* ---------- Küçük ekran uyarlamaları ---------- */
@media (max-width: 640px) {
  .hero { padding: 130px 0 70px; }
  .section { padding: 4.5rem 0; }
  .lead-form-card { padding: 1.6rem; }
  .cta-band { padding: 3rem 1.4rem; }
  .header-actions .btn { display: none; }
  .btn { white-space: normal; text-align: center; }
  .hero-ctas .btn { width: 100%; }
}

/* ---------- Hareket azaltma tercihi ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-title .line > span { transform: none; }
  .audit-card { opacity: 1; transform: none; }
  [data-reveal] { opacity: 1; transform: none; }
}
