/* =========================================================
   Portfolyo — siber güvenlik teması
   Sade, koyu, mono vurgulu. Animasyonlar hafif ve
   prefers-reduced-motion'a saygılı.
   ========================================================= */

:root {
  --accent: #2ee6a6;
  --accent-2: #5ab8ff;
  --accent-soft: color-mix(in srgb, var(--accent) 14%, transparent);
  --accent-line: color-mix(in srgb, var(--accent) 38%, transparent);

  --bg: #06080c;
  --bg-2: #0a0d13;
  --surface: #0d1118;
  --surface-2: #121823;
  --border: #1a2230;
  --border-2: #243042;
  --grid: rgba(120, 140, 170, 0.07);

  --text: #e6ebf2;
  --text-2: #b4bdca;
  --muted: #7a8698;
  --dim: #556073;

  --ok: #2ee6a6;
  --warn: #ffbd2e;
  --off: #ff5f6d;

  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --radius: 14px;
  --radius-sm: 9px;
  --container: 1160px;
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; letter-spacing: -0.02em; font-weight: 650; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--accent); color: #031; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.mono { font-family: var(--mono); }
.dim { color: var(--muted); }
.accent { color: var(--accent); }
.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; }
.ic { width: 18px; height: 18px; flex: none; }

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

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: #021; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Arka plan ---------- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 75%);
}
.bg-glow {
  position: absolute; left: 50%; top: -320px; width: 1100px; height: 720px; transform: translateX(-50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 13%, transparent), transparent 70%);
  filter: blur(10px);
}

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .ic { width: 17px; height: 17px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #03140d; box-shadow: 0 0 0 0 var(--accent-soft); }
.btn-primary:hover { box-shadow: 0 8px 30px -8px color-mix(in srgb, var(--accent) 60%, transparent); transform: translateY(-1px); }
.btn-ghost { background: color-mix(in srgb, var(--surface-2) 70%, transparent); border-color: var(--border-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent-line); color: var(--accent); }
.btn-outline { border-color: var(--accent-line); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent-soft); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 9px; }

.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border-2); background: transparent; color: var(--text-2); cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.icon-btn:hover { color: var(--accent); border-color: var(--accent-line); }
.icon-btn-sm { width: 32px; height: 32px; border-radius: 8px; }
.icon-btn-sm .ic { width: 15px; height: 15px; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font: inherit; }
.linklike:hover { color: var(--accent); }

/* ---------- Navigasyon ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { font-family: var(--mono); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; display: inline-flex; align-items: center; }
.logo-path { color: var(--accent); }
.logo-caret { color: var(--accent); animation: blink 1.1s steps(1) infinite; margin-left: 1px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  position: relative; padding: 8px 12px; border-radius: 8px; font-size: 14.5px; color: var(--text-2);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.is-active { color: var(--accent); }
.nav-links a.is-active::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: var(--accent); }
.nav-contact-mobile { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }
.nav-toggle .ic-close { display: none; }

@media (max-width: 1080px) {
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; margin: 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px; background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .nav-links a.is-active::after { display: none; }
  .nav.is-open .nav-links { opacity: 1; transform: none; visibility: visible; }
  .nav.is-open { background: var(--bg); border-bottom-color: var(--border); }
  .nav-actions { margin-left: auto; }
  .nav-toggle { display: inline-grid; }
  .nav.is-open .nav-toggle .ic-open { display: none; }
  .nav.is-open .nav-toggle .ic-close { display: block; }
  .nav-contact-mobile { display: block; }
}
@media (max-width: 560px) { .nav-cta { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(calc(100vh - var(--nav-h)), 920px); min-height: min(calc(100svh - var(--nav-h)), 920px);
  display: flex; align-items: center; padding: 48px 0 96px;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 40%), color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%);
  transition: opacity .4s;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-copy { min-width: 0; }

.status-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 12px; border-radius: 999px;
  font-size: 13px; color: var(--text-2); border: 1px solid var(--border-2); background: color-mix(in srgb, var(--surface) 80%, transparent);
  margin-bottom: 28px;
}
.status-pill .dot, .status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; flex: none; }
.status-pill .dot { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); animation: ping 2.4s infinite; }
.is-warn .dot, .status-dot.is-warn { background: var(--warn); }
.is-off .dot, .status-dot.is-off { background: var(--off); animation: none; }
.status-dot { margin-right: 8px; vertical-align: 1px; }

.hero-eyebrow { color: var(--accent); font-size: 15px; margin-bottom: 10px; }
.hero-name { font-size: clamp(42px, 6.4vw, 76px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; margin-bottom: 18px; }
.hero-name .scr { color: var(--accent); opacity: .85; }
.hero-role { font-size: clamp(16px, 2vw, 20px); color: var(--text-2); display: flex; align-items: center; gap: 10px; min-height: 1.6em; margin-bottom: 24px; }
.role-prefix { color: var(--accent); }
.type-caret { display: inline-block; width: 9px; height: 1.15em; background: var(--accent); margin-left: 2px; animation: blink 1s steps(1) infinite; vertical-align: -3px; }
.hero-text { color: var(--text-2); font-size: 17.5px; max-width: 580px; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.social-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.social-list a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--border); color: var(--muted); transition: color .2s, border-color .2s, transform .2s var(--ease);
}
.social-list a:hover { color: var(--accent); border-color: var(--accent-line); transform: translateY(-2px); }

/* Giriş animasyonu (yalnızca ilk yükleme) */
.js .hero-in { opacity: 0; transform: translateY(12px); animation: heroIn .7s var(--ease) forwards; }
.js .hero-copy .hero-in:nth-child(1) { animation-delay: .05s; }
.js .hero-copy .hero-in:nth-child(2) { animation-delay: .12s; }
.js .hero-copy .hero-in:nth-child(3) { animation-delay: .18s; }
.js .hero-copy .hero-in:nth-child(4) { animation-delay: .26s; }
.js .hero-copy .hero-in:nth-child(5) { animation-delay: .34s; }
.js .hero-copy .hero-in:nth-child(6) { animation-delay: .42s; }
.js .hero-copy .hero-in:nth-child(7) { animation-delay: .5s; }
.js .hero-visual.hero-in { animation-delay: .3s; }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid var(--border-2); border-radius: 14px; display: block; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: scrollDot 2s var(--ease) infinite; }

/* ---------- Terminal kartı ---------- */
.term {
  position: relative; border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--border-2); overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02) inset;
}
.term-hero::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, var(--accent-line), transparent 35%, transparent 65%, color-mix(in srgb, var(--accent-2) 30%, transparent));
  padding: 1px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
}
.term-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.term-dots { display: inline-flex; gap: 7px; }
.term-dots i { width: 11px; height: 11px; border-radius: 50%; background: #2a3342; display: block; }
.term-dots i:nth-child(1) { background: #ff5f57; opacity: .85; }
.term-dots i:nth-child(2) { background: #febc2e; opacity: .85; }
.term-dots i:nth-child(3) { background: #28c840; opacity: .85; }
.term-title { font-family: var(--mono); font-size: 12.5px; color: var(--muted); flex: 1; text-align: center; margin-right: 40px; }
.term-body { padding: 20px 22px 24px; font-size: 14px; line-height: 1.85; }
.term-body .ln { white-space: pre-wrap; word-break: break-word; }
.term-body .p { color: var(--accent); margin-right: 6px; }
.term-body .out { color: var(--text-2); padding-left: 16px; margin-bottom: 6px; }
.term-body .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.t-chip { font-size: 12.5px; padding: 1px 8px; border-radius: 6px; border: 1px solid var(--accent-line); color: var(--accent); background: var(--accent-soft); line-height: 1.7; }
.term-body .ls { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.term-body .ls b { color: var(--accent-2); font-weight: 500; }
.term-body .ls i { font-style: normal; color: var(--muted); }
.status-ok { color: var(--ok) !important; }
.status-warn { color: var(--warn) !important; }
.status-off { color: var(--off) !important; }
.cursor { display: inline-block; width: 9px; height: 1.1em; background: var(--accent); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
.js .term-hero .ln { opacity: 0; animation: lnIn .35s var(--ease) forwards; }
.js .term-hero .ln:nth-child(1) { animation-delay: .6s; }
.js .term-hero .ln:nth-child(2) { animation-delay: .85s; }
.js .term-hero .ln:nth-child(3) { animation-delay: 1.15s; }
.js .term-hero .ln:nth-child(4) { animation-delay: 1.4s; }
.js .term-hero .ln:nth-child(5) { animation-delay: 1.7s; }
.js .term-hero .ln:nth-child(6) { animation-delay: 1.95s; }
.js .term-hero .ln:nth-child(7) { animation-delay: 2.25s; }
.js .term-hero .ln:nth-child(8) { animation-delay: 2.5s; }
.js .term-hero .ln:nth-child(9) { animation-delay: 2.75s; }

/* ---------- Bölümler ---------- */
.section { padding: 110px 0; position: relative; }
.section + .section::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(var(--container), calc(100% - 48px)); height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-2), transparent);
}
.page-top { padding-top: 64px; }
.sec-head { margin-bottom: 52px; max-width: 680px; }
.sec-kicker { display: flex; align-items: center; gap: 10px; font-size: 13.5px; margin-bottom: 14px; }
.sec-num { color: var(--accent); }
.sec-path { color: var(--muted); }
.sec-kicker::after { content: ''; height: 1px; width: 64px; background: linear-gradient(90deg, var(--accent-line), transparent); }
.sec-title { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; }
.sec-sub { margin-top: 12px; color: var(--muted); font-size: 17px; }
.section-more { margin-top: 40px; display: flex; justify-content: center; }

/* ---------- Kartlar ---------- */
.card {
  position: relative; background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .25s, transform .3s var(--ease), background .25s;
}
.card.spot::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 8%, transparent), transparent 65%);
}
.card.spot:hover::before { opacity: 1; }
.card:hover { border-color: var(--border-2); }
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.card-head h3 { font-size: 17px; flex: 1; }
.card-ic, .service-ic {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; flex: none;
  color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.card-ic .ic, .service-ic .ic { width: 20px; height: 20px; }
.card-count { font-size: 12.5px; color: var(--dim); }

/* Hakkımda */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: start; }
.avatar-frame {
  position: relative; aspect-ratio: 1; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border-2); display: grid; place-items: center; margin-bottom: 24px;
}
.avatar-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius) - 1px); filter: grayscale(.15) contrast(1.05); }
.avatar-frame::before, .avatar-frame::after { content: ''; position: absolute; width: 26px; height: 26px; border: 2px solid var(--accent); pointer-events: none; }
.avatar-frame::before { top: -8px; left: -8px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.avatar-frame::after { bottom: -8px; right: -8px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }
.avatar-initials { font-size: 84px; font-weight: 600; color: var(--accent); letter-spacing: -0.04em; opacity: .9; }
.facts { margin: 0; display: grid; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 16px; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.facts > div:last-child { border-bottom: 0; }
.facts dt { display: flex; align-items: center; gap: 9px; color: var(--muted); }
.facts dt .ic { width: 16px; height: 16px; color: var(--accent); }
.facts dd { margin: 0; text-align: right; color: var(--text); min-width: 0; overflow-wrap: anywhere; }
.facts dd a:hover { color: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin-top: 40px; }
.stat { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.stat-value { display: block; font-size: 32px; font-weight: 600; color: var(--accent); letter-spacing: -0.03em; line-height: 1.1; }
.stat-label { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; }

/* Yetenekler */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.skill-card { padding: 26px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 13.5px; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--border-2);
  color: var(--text-2); background: var(--bg-2); transition: border-color .2s, color .2s;
}
.chip:hover { border-color: var(--accent-line); color: var(--accent); }
.bars { list-style: none; display: grid; gap: 16px; margin-bottom: 18px; }
.bars:last-child { margin-bottom: 0; }
.bar-top { display: flex; justify-content: space-between; font-size: 14.5px; margin-bottom: 7px; }
.bar { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 1.2s var(--ease); }
.no-js .bar span { width: 50%; }

/* Hizmetler */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.service { padding: 28px; display: flex; flex-direction: column; }
.service:hover { transform: translateY(-3px); border-color: var(--accent-line); }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.service-idx { font-size: 12.5px; color: var(--dim); }
.service h3 { font-size: 19px; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 15px; }
.ticks { list-style: none; display: grid; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--border-2); }
.ticks li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-2); align-items: flex-start; }
.ticks .ic { width: 16px; height: 16px; color: var(--accent); margin-top: 4px; }

/* Projeler */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter {
  height: 36px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--border-2); background: transparent;
  color: var(--text-2); font-size: 14px; cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; gap: 8px;
}
.filter span { font-size: 12px; color: var(--muted); }
.filter:hover { color: var(--text); border-color: var(--muted); }
.filter.is-active { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 22px; }
.project { display: flex; flex-direction: column; overflow: hidden; }
.project:hover { transform: translateY(-4px); border-color: var(--accent-line); }
.project.is-hidden { display: none; }
.project-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.project-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project:hover .project-cover img { transform: scale(1.04); }
.cover-gen {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 18px 20px;
  background:
    radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 55%),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--bg-2);
}
.cover-path { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cover-ic { align-self: flex-end; color: var(--accent); opacity: .8; }
.cover-ic .ic { width: 46px; height: 46px; stroke-width: 1.3; }
.badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--border-2); color: var(--text-2); background: var(--surface-2); vertical-align: middle;
}
.badge .ic { width: 12px; height: 12px; }
.badge-accent { position: absolute; bottom: 16px; left: 18px; color: var(--accent); border-color: var(--accent-line); background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(6px); }
.project-body { padding: 22px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta span + span::before { content: '/'; color: var(--dim); margin-right: 10px; }
.meta .ic { width: 14px; height: 14px; }
.project h3, .post-card h3 { font-size: 19px; margin-bottom: 10px; }
.project h3 a, .post-card h3 a { transition: color .2s; }
.project:hover h3 a, .post-card:hover h3 a { color: var(--accent); }
.stretched::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.project-summary, .post-excerpt { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.tags li { font-family: var(--mono); font-size: 12px; padding: 3px 9px; border-radius: 6px; color: var(--accent-2); background: color-mix(in srgb, var(--accent-2) 9%, transparent); border: 1px solid color-mix(in srgb, var(--accent-2) 20%, transparent); }
.project-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border); }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-size: 14px; font-weight: 500; position: relative; z-index: 2; }
.link-arrow .ic { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.project:hover .link-arrow .ic:last-child, a.link-arrow:hover .ic:last-child { transform: translateX(3px); }
.project-links { display: inline-flex; gap: 6px; position: relative; z-index: 2; }
.project-links a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: var(--muted); transition: color .2s, background .2s; }
.project-links a:hover { color: var(--accent); background: var(--surface-2); }

/* Zaman çizelgesi */
.timeline-grid { display: grid; gap: 48px; }
.timeline-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.col-title { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 26px; }
.col-title .ic { color: var(--accent); }
.timeline { list-style: none; position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--accent-line), var(--border) 30%, var(--border)); }
.tl-item { position: relative; padding-bottom: 36px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -28px; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.tl-item:first-child .tl-dot { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.tl-period { font-size: 12.5px; color: var(--accent); margin-bottom: 6px; }
.tl-item h4 { font-size: 18px; margin-bottom: 4px; }
.tl-org { color: var(--text-2); font-size: 15px; margin-bottom: 10px; }

/* Sertifikalar */
.certs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px; }
.cert { padding: 24px; display: flex; gap: 18px; align-items: flex-start; }
.cert:hover { border-color: var(--accent-line); }
.cert-badge {
  flex: none; width: 64px; height: 64px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-2); border: 1px solid var(--border-2); color: var(--accent); overflow: hidden;
}
.cert-badge img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.cert-badge .ic { width: 28px; height: 28px; stroke-width: 1.5; }
.cert-body { min-width: 0; flex: 1; }
.cert h3 { font-size: 17px; margin-bottom: 4px; }
.cert-issuer { color: var(--text-2); font-size: 14.5px; margin-bottom: 12px; }
.cert-meta { margin: 0 0 14px; display: grid; gap: 4px; font-size: 12.5px; }
.cert-meta div { display: flex; gap: 10px; }
.cert-meta dt { color: var(--dim); min-width: 74px; }
.cert-meta dd { margin: 0; color: var(--text-2); overflow-wrap: anywhere; }

/* Blog kartları */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.posts-grid.cols-2 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.post-card { display: flex; flex-direction: column; overflow: hidden; }
.post-card:hover { transform: translateY(-4px); border-color: var(--accent-line); }
.post-card.is-hidden { display: none; }
.post-cover { aspect-ratio: 16 / 8; overflow: hidden; border-bottom: 1px solid var(--border); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-body .tags { margin-top: auto; margin-bottom: 0; }

.blog-tools { display: grid; gap: 18px; margin-bottom: 34px; }
.blog-tools .filters { margin-bottom: 0; }
.search-box {
  display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; max-width: 520px;
  border: 1px solid var(--border-2); border-radius: 11px; background: var(--surface); transition: border-color .2s;
}
.search-box:focus-within { border-color: var(--accent-line); }
.search-box .ic { color: var(--muted); }
.search-box input { flex: 1; background: none; border: 0; outline: 0; color: var(--text); font-family: var(--mono); font-size: 14px; min-width: 0; }
.empty-state { color: var(--muted); padding: 40px 0; }

/* Blog: rozetler, önem dereceleri */
.post-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 10px; }
.post-cat { font-size: 12px; color: var(--accent); letter-spacing: .02em; }
.post-cat + .badge, .post-cat + .sev { margin-left: 2px; }
.badge-owasp { font-size: 11px; color: var(--accent-2); border-color: color-mix(in srgb, var(--accent-2) 30%, transparent); background: color-mix(in srgb, var(--accent-2) 8%, transparent); padding: 1px 8px; }
.sev { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; padding: 1px 8px; border-radius: 999px; border: 1px solid; line-height: 1.7; }
.sev::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sev-critical { color: #ff4d6a; border-color: color-mix(in srgb, #ff4d6a 40%, transparent); background: color-mix(in srgb, #ff4d6a 10%, transparent); }
.sev-high { color: #ff8a4c; border-color: color-mix(in srgb, #ff8a4c 40%, transparent); background: color-mix(in srgb, #ff8a4c 10%, transparent); }
.sev-medium { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, transparent); background: color-mix(in srgb, var(--warn) 10%, transparent); }
.sev-low { color: var(--accent-2); border-color: color-mix(in srgb, var(--accent-2) 40%, transparent); background: color-mix(in srgb, var(--accent-2) 10%, transparent); }
.sev-info { color: var(--muted); border-color: var(--border-2); }
.post-foot { margin-top: auto; padding-top: 4px; }
.post-foot .meta { margin-bottom: 12px; }
.post-body .post-foot .tags { margin: 0; }

/* Blog sayfası */
.search-box .btn { height: 34px; flex: none; }
.cat-tabs { margin: 18px 0 34px; }
a.filter { text-decoration: none; }
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px dashed var(--border); }
.clear-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); }
.clear-link .ic { width: 14px; height: 14px; }
.blog-side { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 18px; }
.side-box { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 80%, transparent); }
.side-title { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 14px; letter-spacing: 0; }
.owasp-list { list-style: none; display: grid; gap: 2px; }
.owasp-list a { display: grid; grid-template-columns: 40px 1fr auto; gap: 8px; align-items: baseline; padding: 7px 8px; border-radius: 8px; font-size: 13.5px; color: var(--text-2); transition: background .2s, color .2s; }
.owasp-list a:hover { background: var(--surface-2); color: var(--text); }
.owasp-list a.is-active { background: var(--accent-soft); color: var(--accent); }
.owasp-list b { color: var(--accent-2); font-weight: 500; font-size: 12.5px; }
.owasp-list i { font-style: normal; font-size: 12px; color: var(--dim); }
.tag-cloud { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud a { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; padding: 4px 10px; border-radius: 7px; border: 1px solid var(--border-2); color: var(--text-2); transition: all .2s; }
.tag-cloud a span { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.tag-cloud a:hover { border-color: var(--accent-line); color: var(--accent); }
.tag-cloud a.is-active { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.btn-block { width: 100%; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; font-size: 14px; }
.pagination a { display: inline-flex; align-items: center; gap: 6px; min-width: 40px; height: 40px; padding: 0 12px; justify-content: center; border-radius: 9px; border: 1px solid var(--border-2); color: var(--text-2); transition: all .2s; }
.pagination a:hover { border-color: var(--accent-line); color: var(--accent); }
.pagination a.is-active { background: var(--accent); border-color: var(--accent); color: #03140d; font-weight: 600; }
.pagination .ic { width: 15px; height: 15px; }
.pagination .gap { color: var(--dim); padding: 0 4px; }
.tag-links a { color: inherit; }
.tag-links li:hover { border-color: var(--accent-2); }

/* Yazı künyesi */
.vuln-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; margin: 26px 0 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: color-mix(in srgb, var(--surface) 80%, transparent); font-size: 13px; }
.vuln-card > div { padding: 12px 16px; border-right: 1px solid var(--border); min-width: 0; }
.vuln-card > div:last-child { border-right: 0; }
.vuln-card dt { color: var(--dim); font-size: 11.5px; margin-bottom: 4px; }
.vuln-card dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.vuln-card a { color: var(--accent); display: inline-flex; align-items: center; gap: 5px; }
.vuln-card a .ic { width: 13px; height: 13px; }
@media (max-width: 1000px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-side { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 600px) { .vuln-card > div { border-right: 0; border-bottom: 1px solid var(--border); } }

/* İletişim */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-grid.no-form { grid-template-columns: 1fr; max-width: 640px; }
.lead { font-size: 18px; color: var(--text-2); margin-bottom: 28px; }
.contact-list { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: color-mix(in srgb, var(--surface) 70%, transparent); }
.contact-list li > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow-wrap: anywhere; }
.contact-list small { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.contact-list a:hover { color: var(--accent); }
.contact-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; color: var(--accent); background: var(--accent-soft); flex: none; }
.contact-form { padding: 30px; display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; color: var(--text-2); font-weight: 500; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border-2);
  background: var(--bg-2); color: var(--text); font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-status { font-size: 14px; font-family: var(--mono); color: var(--muted); flex: 1; }
.form-status.is-success { color: var(--ok); }
.form-status.is-error { color: var(--off); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Detay sayfaları ---------- */
.detail { padding: 48px 0 100px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); margin-bottom: 36px; flex-wrap: wrap; }
.breadcrumb a { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); }
.breadcrumb a .ic { width: 15px; height: 15px; }
.breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.detail-head { margin-bottom: 36px; }
.detail-head h1 { font-size: clamp(32px, 5vw, 50px); letter-spacing: -0.035em; margin-bottom: 18px; }
.detail-lead { font-size: 19px; color: var(--text-2); margin-bottom: 22px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.detail-cover { margin: 0 0 44px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.detail-cover img { width: 100%; }
.detail-foot { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--border); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; }
.pager-link { padding: 20px 22px; display: grid; gap: 6px; }
.pager-link small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; }
.pager-link small .ic { width: 14px; height: 14px; }
.pager-link span { font-weight: 600; }
.pager-link:hover { border-color: var(--accent-line); }
.pager-link.next { text-align: right; justify-items: end; grid-column: 2; }
.related { margin-top: 72px; }
.related-title { font-size: 15px; color: var(--muted); font-weight: 500; margin-bottom: 22px; }
.toc { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 22px; margin-bottom: 40px; background: color-mix(in srgb, var(--surface) 70%, transparent); }
.toc summary { cursor: pointer; color: var(--accent); font-size: 13.5px; }
.toc ol { list-style: none; margin-top: 12px; display: grid; gap: 6px; }
.toc li.lv3 { padding-left: 18px; }
.toc a { color: var(--text-2); font-size: 15px; }
.toc a:hover { color: var(--accent); }

/* ---------- Markdown içerik ---------- */
.prose { color: var(--text-2); overflow-wrap: break-word; }
.prose-lg { font-size: 17px; line-height: 1.8; }
.prose-sm { font-size: 14.5px; color: var(--muted); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { color: var(--text); margin-top: 2em; scroll-margin-top: calc(var(--nav-h) + 20px); }
.prose h2 { font-size: 1.55em; }
.prose h2::before { content: '# '; color: var(--accent); font-family: var(--mono); font-weight: 400; }
.prose h3 { font-size: 1.25em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose ul li::marker { color: var(--accent); }
.prose ol li::marker { color: var(--accent); font-family: var(--mono); font-size: .9em; }
.prose li.task { list-style: none; margin-left: -1.3em; display: flex; gap: 10px; align-items: baseline; }
.task-box { width: 15px; height: 15px; border: 1.5px solid var(--border-2); border-radius: 4px; flex: none; transform: translateY(2px); }
.task.done .task-box { background: var(--accent); border-color: var(--accent); }
.task.done { color: var(--muted); }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--accent); color: var(--text-2); font-style: italic; }
.prose code { font-family: var(--mono); font-size: .86em; padding: .15em .45em; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); color: var(--accent); }
.prose pre { position: relative; margin: 1.6em 0; padding: 20px 22px; border-radius: 12px; background: #080b10; border: 1px solid var(--border-2); overflow-x: auto; font-size: 14px; line-height: 1.7; }
.prose pre[data-lang] { padding-top: 40px; }
.prose pre[data-lang]::before { content: attr(data-lang); position: absolute; top: 10px; left: 16px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); text-transform: lowercase; }
.prose pre code { padding: 0; background: none; border: 0; color: #d7e0ea; font-size: inherit; }
.prose code, .prose pre { font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0; }
.copy-code { position: absolute; top: 8px; right: 8px; height: 28px; padding: 0 10px; border-radius: 7px; border: 1px solid var(--border-2); background: var(--surface); color: var(--muted); font-family: var(--mono); font-size: 11.5px; cursor: pointer; opacity: 0; transition: opacity .2s, color .2s; }
.prose pre:hover .copy-code, .copy-code:focus { opacity: 1; }
.copy-code:hover { color: var(--accent); }
.prose hr { border: 0; height: 1px; background: var(--border-2); margin: 2.4em 0; }
.prose img { border-radius: 12px; border: 1px solid var(--border); margin: 1.6em auto; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92em; }
.prose th, .prose td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.prose th { color: var(--text); font-weight: 600; background: var(--surface-2); font-family: var(--mono); font-size: .88em; }
.prose tr:last-child td { border-bottom: 0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 48px 0 28px; margin-top: 40px; background: linear-gradient(transparent, color-mix(in srgb, var(--bg-2) 80%, transparent)); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 22px; border-top: 1px dashed var(--border); font-size: 12.5px; color: var(--dim); }
.footer-links { display: inline-flex; align-items: center; gap: 18px; }
.footer-links a:hover { color: var(--accent); }
.to-top { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border); }
.to-top .ic { width: 14px; height: 14px; }

/* ---------- Etkileşimli terminal ---------- */
.console { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.console[hidden] { display: none; }
.console-backdrop { position: absolute; inset: 0; background: rgba(2, 4, 8, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.console-win {
  position: relative; width: min(760px, 100%); height: min(520px, calc(100vh - 32px)); display: flex; flex-direction: column;
  background: #070a0f; border: 1px solid var(--border-2); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .9), 0 0 0 1px var(--accent-soft);
  animation: popIn .22s var(--ease);
}
.console-win .term-title { margin-right: 0; }
.console-out { flex: 1; overflow-y: auto; padding: 18px 20px 6px; font-family: var(--mono); font-size: 13.5px; line-height: 1.75; color: var(--text-2); }
.console-out .c-line { white-space: pre-wrap; word-break: break-word; }
.console-out .c-cmd { color: var(--text); }
.console-out .c-cmd .p { color: var(--accent); }
.console-out .c-acc { color: var(--accent); }
.console-out .c-blue { color: var(--accent-2); }
.console-out .c-dim { color: var(--muted); }
.console-out .c-err { color: var(--off); }
.console-out a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.console-in { display: flex; align-items: center; gap: 10px; padding: 12px 20px 16px; font-family: var(--mono); font-size: 13.5px; }
.console-in .prompt { color: var(--accent); white-space: nowrap; }
.console-in input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; caret-color: var(--accent); }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 95; transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  padding: 10px 16px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--accent-line); color: var(--accent);
  font-family: var(--mono); font-size: 13px; transition: opacity .2s, transform .25s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Hata sayfası ---------- */
.error-page .term { margin-top: 40px; }
.error-actions { margin-top: 28px; }

/* ---------- Kaydırınca beliren öğeler ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Animasyonlar ---------- */
@keyframes blink { 50% { opacity: 0; } }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@keyframes lnIn { from { opacity: 0; transform: translateX(-4px); } to { opacity: 1; transform: none; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes popIn { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }

/* ---------- Duyarlı tasarım ---------- */
@media (max-width: 960px) {
  .hero { min-height: auto; padding: 40px 0 110px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-visual { min-width: 0; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .about-side { max-width: 420px; }
  .timeline-grid.cols-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 84px 0; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section + .section::before { width: calc(100% - 32px); }
  .hero-text { font-size: 16px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .term-body { padding: 16px; font-size: 12.5px; }
  .term-title { margin-right: 0; text-align: right; }
  .projects-grid, .posts-grid, .certs-grid, .skills-grid, .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .cert { padding: 20px; }
  .pager { grid-template-columns: 1fr; }
  .pager-link.next { grid-column: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .scroll-hint { display: none; }
  .sec-head { margin-bottom: 36px; }
  .facts > div { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal, .js .hero-in, .js .term-hero .ln { opacity: 1; transform: none; }
}
