/* ===================== TOKENS ===================== */
:root {
  --bg: #0b1120;
  --bg-2: #0f1729;
  --bg-3: #131c30;
  --surface: rgba(255,255,255,.04);
  --surface-2: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.09);
  --border-2: rgba(255,255,255,.14);
  --text: #e8edf6;
  --muted: #93a1bd;
  --muted-2: #6b7a99;
  --blue: #3776ab;      /* python blue */
  --blue-light: #4b9fe0;
  --yellow: #ffd43b;    /* python yellow */
  --accent: #5eead4;    /* teal accent */
  --grad: linear-gradient(135deg, #4b9fe0 0%, #5eead4 55%, #ffd43b 120%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(0,0,0,.6);
  --maxw: 1140px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; padding: 15px; }
.btn-primary {
  color: #06121f; background: var(--grad); background-size: 160% 160%;
  box-shadow: 0 10px 30px -10px rgba(75,159,224,.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(94,234,212,.55); }
.btn-ghost { color: var(--text); background: var(--surface); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,17,32,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.3px; }
.logo-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: var(--grad); color: #06121f; box-shadow: 0 6px 18px -6px rgba(94,234,212,.6);
}
.logo-accent { color: var(--accent); }
.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .18s; }
.main-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  background: var(--surface); border: 1px solid var(--border-2); color: var(--text);
  font-weight: 700; font-size: 13px; padding: 8px 12px; border-radius: 999px; cursor: pointer;
  transition: background .18s; letter-spacing: .5px;
}
.lang-toggle:hover { background: var(--surface-2); }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero { position: relative; padding: 84px 0 72px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: -40% -20% auto -20%; height: 120%;
  background:
    radial-gradient(45% 45% at 20% 15%, rgba(75,159,224,.22), transparent 70%),
    radial-gradient(40% 40% at 85% 10%, rgba(94,234,212,.16), transparent 70%),
    radial-gradient(50% 50% at 60% 90%, rgba(255,212,59,.08), transparent 70%);
  filter: blur(10px); z-index: 0; pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .3px;
  color: var(--accent); background: rgba(94,234,212,.1); border: 1px solid rgba(94,234,212,.25);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: -1.2px; font-weight: 800; margin-bottom: 20px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 18px; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 26px; list-style: none; }
.hero-badges li { display: flex; flex-direction: column; }
.hero-badges strong { font-size: 22px; color: var(--text); }
.hero-badges span { font-size: 13px; color: var(--muted-2); }

/* terminal */
.terminal {
  background: #0a0f1c; border: 1px solid var(--border-2); border-radius: 14px;
  box-shadow: var(--shadow); overflow: hidden; font-family: var(--mono);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--border); }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f57; } .dot.yellow { background: #febc2e; } .dot.green { background: #28c840; }
.terminal-title { margin-left: 8px; font-size: 12px; color: var(--muted-2); }
.terminal-body { padding: 20px; font-size: 13.5px; line-height: 1.7; color: #cfe3ff; min-height: 240px; white-space: pre-wrap; }
.terminal-body .cursor { display: inline-block; color: var(--accent); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tok-kw { color: #ff7b9c; } .tok-fn { color: #ffd43b; } .tok-str { color: #5eead4; } .tok-com { color: #6b7a99; font-style: italic; }

/* ===================== TRUST STRIP ===================== */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; padding: 20px 24px; }
.trust-inner span { color: var(--muted-2); font-weight: 600; font-size: 14px; letter-spacing: .3px; position: relative; }
.trust-inner span::before { content: "›"; color: var(--accent); margin-right: 10px; }

/* ===================== SECTIONS ===================== */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(27px, 3.6vw, 38px); letter-spacing: -.8px; line-height: 1.15; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ===================== SERVICE CARDS ===================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .2s ease, border-color .2s, background .2s;
  position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius); padding: 1px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .25s;
}
.card:hover { transform: translateY(-5px); background: var(--surface-2); }
.card:hover::after { opacity: .7; }
.card-icon { font-size: 30px; margin-bottom: 16px; }
.card h3 { font-size: 19px; margin-bottom: 10px; letter-spacing: -.3px; }
.card p { color: var(--muted); font-size: 15px; }

/* ===================== STEPS ===================== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; position: relative;
}
.step-no {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad); color: #06121f; font-weight: 800; font-size: 18px; margin-bottom: 16px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ===================== FEATURES ===================== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 30px; }
.feature { display: flex; gap: 16px; align-items: flex-start; padding: 8px; }
.feature-ic {
  flex-shrink: 0; font-size: 22px; width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px;
}
.feature h4 { font-size: 16px; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* ===================== CASE ===================== */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.case-copy p { color: var(--muted); font-size: 16.5px; margin-bottom: 20px; }
.case-copy strong { color: var(--text); }
.case-list { list-style: none; display: grid; gap: 12px; margin-bottom: 26px; }
.case-list li { position: relative; padding-left: 30px; color: var(--text); font-size: 15px; }
.case-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: #06121f; font-weight: 800; font-size: 12px;
  width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--accent);
}
.code-block {
  background: #0a0f1c; border: 1px solid var(--border-2); border-radius: var(--radius);
  padding: 26px; font-family: var(--mono); font-size: 14.5px; line-height: 1.9; color: #cfe3ff;
  box-shadow: var(--shadow); overflow-x: auto;
}
.code-block .k { color: #5eead4; } .code-block .s { color: #ffd43b; } .code-block .n { color: #ff9d7a; }

/* ===================== FAQ ===================== */
.faq { display: grid; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 4px 22px; transition: border-color .2s, background .2s;
}
.faq-item[open] { background: var(--surface-2); border-color: var(--border-2); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 16.5px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 24px; font-weight: 400; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); font-size: 15.5px; padding: 0 0 20px; }

/* ===================== CONTACT ===================== */
.section-contact { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 26px; align-items: start; }
.wa-card {
  display: flex; gap: 16px; align-items: center; padding: 26px 24px;
  background: linear-gradient(135deg, rgba(37,211,102,.14), rgba(37,211,102,.04));
  border: 1px solid rgba(37,211,102,.3); border-radius: var(--radius); transition: transform .2s, border-color .2s;
  height: 100%;
}
.wa-card:hover { transform: translateY(-3px); border-color: rgba(37,211,102,.55); }
.wa-ic { color: #25d366; flex-shrink: 0; width: 52px; height: 52px; display: grid; place-items: center; background: rgba(37,211,102,.12); border-radius: 14px; }
.wa-card strong { display: block; font-size: 17px; margin-bottom: 3px; }
.wa-card span { color: var(--muted); font-size: 14px; }
.contact-form {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 13px 15px; color: var(--text); font-family: var(--font); font-size: 15px; transition: border-color .18s, box-shadow .18s;
  resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-light); box-shadow: 0 0 0 3px rgba(75,159,224,.18); }
.form-note { text-align: center; color: var(--muted-2); font-size: 13px; margin-top: 14px; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 52px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 34px; }
.footer-brand { max-width: 340px; }
.footer-brand .logo-text { font-size: 20px; font-weight: 800; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.footer-nav a { color: var(--muted); font-size: 15px; transition: color .18s; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted-2); font-size: 13.5px;
}

/* ===================== REVEAL ANIMATION ===================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===================== MOBILE MENU ===================== */
@media (max-width: 860px) {
  .main-nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 8px 24px 20px;
    transform: translateY(-120%); transition: transform .3s ease; margin-left: 0;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
  .nav-burger { display: flex; }
  .header-actions .btn { display: none; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 480px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .case { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero { padding: 56px 0 48px; }
  .section { padding: 60px 0; }
  .cards, .steps, .features { grid-template-columns: 1fr; }
  .terminal { transform: none; }
  .hero-badges { gap: 20px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   BLOG — listeleme, kartlar, makale, kod blokları
   ============================================================ */

/* ---- Blog hero (blog/index.html) ---- */
.blog-hero { position: relative; padding: 64px 0 20px; overflow: hidden; }
.blog-hero .hero-bg { position: absolute; inset: -60% -20% auto -20%; height: 140%;
  background: radial-gradient(40% 40% at 25% 20%, rgba(75,159,224,.18), transparent 70%),
             radial-gradient(35% 35% at 80% 10%, rgba(94,234,212,.12), transparent 70%);
  z-index: 0; }
.blog-hero .container { position: relative; z-index: 1; }
.blog-hero h1 { font-size: clamp(30px, 4.5vw, 44px); letter-spacing: -1px; margin-bottom: 12px; }
.blog-hero p { color: var(--muted); font-size: 18px; max-width: 620px; }

/* ---- Post grid + kartlar ---- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, border-color .2s, background .2s;
}
.post-card:hover { transform: translateY(-5px); border-color: var(--border-2); background: var(--surface-2); }
.post-thumb {
  height: 148px; display: grid; place-items: center; font-size: 46px; position: relative;
  background: linear-gradient(135deg, rgba(75,159,224,.22), rgba(94,234,212,.14) 55%, rgba(255,212,59,.16));
  border-bottom: 1px solid var(--border);
}
.series-badge {
  position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; letter-spacing: .6px;
  color: #06121f; background: var(--yellow); padding: 4px 10px; border-radius: 999px;
  text-transform: uppercase; box-shadow: 0 4px 12px -4px rgba(255,212,59,.5);
}
.post-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-tag {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  color: var(--accent); background: rgba(94,234,212,.1); border: 1px solid rgba(94,234,212,.22);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.post-card h3 { font-size: 18.5px; line-height: 1.3; letter-spacing: -.3px; margin-bottom: 9px; }
.post-card h3 a { transition: color .18s; }
.post-card h3 a:hover { color: var(--accent); }
.post-card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.post-meta { display: flex; gap: 14px; margin-top: 16px; color: var(--muted-2); font-size: 13px; }
.post-meta span { display: inline-flex; align-items: center; gap: 5px; }

/* ---- Ana sayfa blog teaser ---- */
.posts-teaser-foot { text-align: center; margin-top: 40px; }

/* ============================================================
   MAKALE SAYFASI
   ============================================================ */
.article { padding: 40px 0 20px; }
.breadcrumb { font-size: 13.5px; color: var(--muted-2); margin-bottom: 22px; }
.breadcrumb a { color: var(--muted); transition: color .18s; }
.breadcrumb a:hover { color: var(--accent); }
.article-head { max-width: 780px; margin: 0 auto 8px; }
.article-head .post-tag { margin-bottom: 16px; }
.article-head h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; letter-spacing: -1px; margin-bottom: 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted-2); font-size: 14px; padding-bottom: 26px; border-bottom: 1px solid var(--border); }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }

.article-body { max-width: 780px; margin: 0 auto; padding-top: 32px; font-size: 17px; }
.article-body > p { color: #cdd6e6; margin-bottom: 20px; }
.article-body h2 { font-size: 26px; letter-spacing: -.5px; margin: 42px 0 16px; padding-top: 8px; }
.article-body h3 { font-size: 20px; margin: 30px 0 12px; }
.article-body a.inline { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 4px; list-style: none; }
.article-body ul li, .article-body ol li { position: relative; padding-left: 28px; margin-bottom: 10px; color: #cdd6e6; }
.article-body ul li::before { content: "▹"; position: absolute; left: 4px; color: var(--accent); }
.article-body ol { counter-reset: li; }
.article-body ol li { counter-increment: li; }
.article-body ol li::before { content: counter(li); position: absolute; left: 0; top: 1px; width: 20px; height: 20px;
  background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 50%; font-size: 12px;
  display: grid; place-items: center; color: var(--accent); font-weight: 700; }
.article-body strong { color: #fff; }
.article-body code.inline {
  font-family: var(--mono); font-size: .88em; background: var(--surface-2); border: 1px solid var(--border);
  padding: 2px 7px; border-radius: 6px; color: #ffd9a8;
}

/* callout kutusu */
.callout {
  display: flex; gap: 14px; background: rgba(94,234,212,.07); border: 1px solid rgba(94,234,212,.22);
  border-left: 3px solid var(--accent); border-radius: 12px; padding: 18px 20px; margin: 24px 0; font-size: 15.5px;
}
.callout .callout-ic { font-size: 20px; flex-shrink: 0; }
.callout p { margin: 0; color: #cdd6e6; }

/* ---- Kod blokları ---- */
.code {
  background: #0a0f1c; border: 1px solid var(--border-2); border-radius: 12px; margin: 22px 0;
  overflow: hidden; box-shadow: var(--shadow);
}
.code-head { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px;
  background: rgba(255,255,255,.03); border-bottom: 1px solid var(--border); }
.code-lang { font-family: var(--mono); font-size: 12px; color: var(--muted-2); letter-spacing: .5px; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px; background: var(--surface-2); border: 1px solid var(--border-2);
  color: var(--muted); font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 7px; cursor: pointer;
  transition: color .15s, background .15s, border-color .15s; font-family: var(--font);
}
.copy-btn:hover { color: var(--text); background: rgba(255,255,255,.1); }
.copy-btn.copied { color: var(--accent); border-color: rgba(94,234,212,.4); }
.code pre { margin: 0; padding: 18px 20px; overflow-x: auto; font-family: var(--mono); font-size: 14px; line-height: 1.75; }
.code code { color: #cfe3ff; white-space: pre; }
.t-com { color: #6b7a99; font-style: italic; }
.t-str { color: #ffd43b; }
.t-num { color: #ff9d7a; }
.t-kw  { color: #ff7b9c; }
.t-bif { color: #5eead4; }

/* makale sonu CTA */
.article-cta {
  margin: 48px auto 10px; max-width: 780px; text-align: center;
  background: linear-gradient(135deg, rgba(75,159,224,.12), rgba(94,234,212,.06));
  border: 1px solid var(--border-2); border-radius: var(--radius); padding: 36px 28px;
}
.article-cta h3 { font-size: 23px; letter-spacing: -.4px; margin-bottom: 10px; }
.article-cta p { color: var(--muted); margin-bottom: 22px; }
.article-cta .btn + .btn { margin-left: 10px; }

/* ilgili yazılar */
.related { max-width: 780px; margin: 56px auto 0; }
.related h3 { font-size: 18px; margin-bottom: 18px; color: var(--muted); }
.related-links { display: grid; gap: 12px; }
.related-links a {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px; transition: border-color .2s, background .2s, transform .15s;
}
.related-links a:hover { border-color: var(--border-2); background: var(--surface-2); transform: translateX(3px); }
.related-links .rl-emoji { font-size: 22px; }
.related-links strong { font-size: 15.5px; }

/* ---- Kategori filtre çubuğu (blog index) ---- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-btn {
  background: var(--surface); border: 1px solid var(--border-2); color: var(--muted);
  font-family: var(--font); font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px;
  cursor: pointer; transition: color .18s, background .18s, border-color .18s;
}
.filter-btn:hover { color: var(--text); background: var(--surface-2); }
.filter-btn.active { color: #06121f; background: var(--grad); border-color: transparent; }
.post-card.hide { display: none; }

/* ---- Seri kutusu (makale içi) ---- */
.series-box {
  background: rgba(75,159,224,.08); border: 1px solid rgba(75,159,224,.25);
  border-radius: 12px; padding: 18px 22px; margin-bottom: 30px;
}
.series-label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .3px; color: var(--blue-light); margin-bottom: 12px; }
.series-list { list-style: none; counter-reset: none; padding: 0; margin: 0; }
.series-list li { padding: 6px 0 6px 4px; color: var(--muted); font-size: 15px; border-left: 2px solid transparent; }
.series-list li.cur { color: var(--text); border-left-color: var(--accent); padding-left: 12px; }
.series-list li a { color: var(--blue-light); text-decoration: underline; text-underline-offset: 3px; }
.series-list li a:hover { color: var(--accent); }
.series-list li em { color: var(--muted-2); font-style: normal; font-size: 13px; }

@media (max-width: 960px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .post-grid { grid-template-columns: 1fr; }
  .article-cta .btn { display: block; width: 100%; }
  .article-cta .btn + .btn { margin-left: 0; margin-top: 10px; }
}
