:root {
  --bg: #0b0f14;
  --bg-alt: #121a24;
  --surface: #161e27;
  --border: #23303c;
  --text: #eef2f6;
  --text-muted: #9fb0bf;
  --accent: #4f9dff;
  --accent-soft: rgba(79, 157, 255, 0.12);
  --radius: 14px;
  --max-width: 1080px;
  font-size: 16px;
}

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

html { scroll-behavior: smooth; }

h1, h2, h3 { line-height: 1.2; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip; /* hero arka planı 100vw, yatay kaydırma çıkmasın */
}

a { color: inherit; text-decoration: none; }

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

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.logo img { display: block; height: 40px; width: auto; }

.nav-links { display: flex; gap: 22px; }

.nav-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--text); }

/* Dil geçişi: [ TR | EN ] anahtarı; seçili dilin altında logo degradeli dolgu, basınca karşı tarafa kayar */
.nav-links { margin-left: auto; }
.lang-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  margin-left: 24px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  isolation: isolate;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.lang-switch::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: linear-gradient(135deg, #2f7bff, #6a2cff);
  box-shadow: 0 2px 10px rgba(79, 110, 255, 0.45);
  z-index: -1;
  transition: transform 0.3s cubic-bezier(0.6, 0, 0.2, 1);
}
.ls-opt { padding: 6px 9px; color: var(--text-muted); transition: color 0.25s ease; }
.ls-opt.on { color: #fff; }
.lang-switch.ls-right::before { transform: translateX(100%); }
.lang-switch:hover { border-color: rgba(79, 157, 255, 0.5); box-shadow: 0 0 0 3px rgba(79, 157, 255, 0.08); }
.lang-switch:hover .ls-opt:not(.on) { color: var(--text); }
/* Üstüne gelince dolgu karşı dile doğru hafifçe uzanır */
.lang-switch:hover::before { transform: translateX(5px); }
.lang-switch.ls-right:hover::before { transform: translateX(calc(100% - 5px)); }
/* Basınca dolgu karşı tarafa kayar, sonra sayfa geçişi başlar */
.lang-switch.switching::before { transform: translateX(100%); }
.lang-switch.ls-right.switching::before { transform: translateX(0); }
.lang-switch.switching .ls-opt.on { color: var(--text-muted); }
.lang-switch.switching .ls-opt:not(.on) { color: #fff; }

/* Sayfalar arası geçiş (TR ↔ EN, makaleler): eski sayfa bulanıklaşıp söner, yenisi netleşerek gelir;
   menü yerinde kalır. Desteklemeyen tarayıcıda normal geçiş olur. */
@view-transition { navigation: auto; }
.nav { view-transition-name: site-nav; }
::view-transition-old(root) { animation: vt-out 0.35s ease both; }
::view-transition-new(root) { animation: vt-in 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes vt-out { to { opacity: 0; filter: blur(10px); transform: scale(0.98); } }
@keyframes vt-in { from { opacity: 0; filter: blur(10px); transform: scale(1.02); } }
/* Dil geçişi (TR ↔ EN): yeni sayfa 🌐 düğmesinden büyüyen daireyle açılır, eskisi arkada küçülüp kararır */
html.vt-lang::view-transition-old(root) { animation: vt-recede 0.85s cubic-bezier(0.7, 0, 0.2, 1) both; }
html.vt-lang::view-transition-new(root) { animation: vt-circle 0.85s cubic-bezier(0.7, 0, 0.2, 1) both; }
@keyframes vt-circle {
  from { clip-path: circle(0 at var(--vt-x, 90%) var(--vt-y, 40px)); }
  to { clip-path: circle(var(--vt-r, 150vmax) at var(--vt-x, 90%) var(--vt-y, 40px)); }
}
@keyframes vt-recede { to { transform: scale(0.92); filter: brightness(0.45); } }
/* Dil geçişinde menü yerinde sabit: dönüşüm/solma yok, yeni menü hemen görünür (telefonda kayboluyordu) */
html.vt-lang .nav, html.vt-lang .nav-inner { transition: none; }
html.vt-lang::view-transition-group(site-nav) { animation: none; }
html.vt-lang::view-transition-old(site-nav) { display: none; }
html.vt-lang::view-transition-new(site-nav) { animation: none; }
/* Telefonda menü ayrı katmana alınmaz: Safari yapışkan menüyü kaydırılmamış yerine çizip kaybediyordu.
   Menü sayfayla birlikte geçer; eski menü daire kaplayana kadar görünür kalır. */
@media (max-width: 780px) {
  .nav { view-transition-name: none; }
  html.vt-lang::view-transition-old(root) { animation-name: vt-recede-soft; }
}
@keyframes vt-recede-soft { to { filter: brightness(0.5); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}
.logo { white-space: nowrap; flex-shrink: 0; }
/* Tablet / dar masaüstü: menü sığsın, isim iki satıra düşüp menüye binmesin */
@media (min-width: 781px) and (max-width: 1080px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.85rem; }
  .lang-switch { margin-left: 16px; }
}
@media (min-width: 781px) and (max-width: 940px) {
  .logo span { display: none; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 0.8rem; }
  .lang-switch { margin-left: 12px; }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}

/* Hero */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 96px 24px 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  position: relative;
  isolation: isolate;
}

/* 404'teki gibi: yavaşça dolaşan mavi/mor ışıklar + kenarlara doğru sönen ince ızgara */
.hero-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
  /* Izgara ortada görünür, kenarlarda ve altta zemine karışır */
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 35%, #000 35%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 35%, #000 35%, transparent 80%);
}

.hero-bg .glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.4;
}

.hero-bg .glow-blue {
  width: 420px;
  height: 420px;
  background: #2f7bff;
  top: -140px;
  left: 8%;
  animation: hero-drift 9s ease-in-out infinite alternate;
}

.hero-bg .glow-purple {
  width: 460px;
  height: 460px;
  background: #6a2cff;
  bottom: -60px;
  right: 10%;
  animation: hero-drift 11s ease-in-out infinite alternate-reverse;
}

@keyframes hero-drift {
  to { transform: translate(220px, 110px) scale(1.25); }
}

.hero-photo {
  position: relative;
  width: 320px;
  aspect-ratio: 4 / 5;
  margin: 0;
  isolation: isolate;
}

/* Arkada logo renklerinde yumuşak ışık */
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 8% -12% 0;
  background: radial-gradient(closest-side, rgba(47, 123, 255, 0.45), rgba(106, 44, 255, 0.25) 60%, transparent);
  filter: blur(30px);
  z-index: -1;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  filter: brightness(1.12) contrast(1.05);
  /* Alt kısım site zeminine karışsın */
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
}

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-lead {
  max-width: 640px;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--accent); color: #06111f; }

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-meta a:hover { color: var(--accent); }

/* Rakamlar şeridi */
.stats {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 28px 12px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat + .stat { border-left: 1px solid var(--border); }

.stat-value {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums; /* sayarken rakamlar zıplamasın */
  background: linear-gradient(135deg, #4f9dff, #7a4dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

/* Sections */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px 24px;
}

/* Alternatif bölümler: köşelerden hafif mavi/mor ışık, kenarlarda ortası parlayan degrade çizgi */
.section.alt {
  background:
    radial-gradient(ellipse 60% 70% at 0% 0%, rgba(47, 123, 255, 0.09), transparent 70%),
    radial-gradient(ellipse 60% 70% at 100% 100%, rgba(106, 44, 255, 0.08), transparent 70%),
    var(--bg-alt);
  border-top: 1px solid;
  border-bottom: 1px solid;
  border-image: linear-gradient(90deg, transparent, rgba(47, 123, 255, 0.5), rgba(106, 44, 255, 0.5), transparent) 1;
  max-width: 100%;
}
/* İçerik düz bölümlerle aynı hizada kalsın (onlarda 1080px'e yan boşluk dahil) */
.section.alt > * { max-width: calc(var(--max-width) - 48px); margin-left: auto; margin-right: auto; }

.section-title {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

/* Başlık altında logo degradesiyle kısa çizgi */
.section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 12px;
  border-radius: 3px;
  background: linear-gradient(90deg, #2f7bff, #6a2cff);
}

.section-text {
  color: var(--text-muted);
  max-width: 720px;
  font-size: 1.02rem;
}

/* Grid & Cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover { border-color: var(--accent); transform: translateY(-2px); }

.card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.94rem; }

.card-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 36px; }

.timeline-item {
  border-left: 2px solid var(--border);
  padding-left: 24px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

/* Nokta yerine firma / okul logosu (çizginin üstüne ortalı küçük kutu) */
.timeline-item.has-logo { padding-left: 44px; }
.timeline-item.has-logo::before { display: none; }
.timeline-logo {
  position: absolute;
  left: -23px;
  top: -8px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 2px solid var(--bg);
  outline: 1px solid var(--border);
  background: #fff;
  object-fit: cover;
}
/* Açık zeminli bölümde kenar o zemine karışsın */
.alt .timeline-logo { border-color: var(--bg-alt); }

/* Telefonda logo ekran kenarına yapışmasın: çizgiyi biraz içeri al, logoyu küçült */
@media (max-width: 780px) {
  .timeline-item.has-logo { margin-left: 18px; padding-left: 34px; }
  .timeline-logo { width: 36px; height: 36px; left: -19px; top: -6px; border-radius: 9px; }
}

.timeline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}

.timeline-head h3 { font-size: 1.15rem; }

.timeline-date {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Güncel iş: reklam panelindeki "Aktif" kampanya gibi nabız atan yeşil nokta */
.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4ade80;
}
.live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: live-pulse 2s infinite;
}
@keyframes live-pulse {
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.timeline-company {
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 12px;
}

.timeline-item ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.timeline-item li {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-left: 18px;
  position: relative;
}

.timeline-item li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }

/* Araçlar grupları: her grubun kendi rengi (--c, RGB), soldan sağa sönen degrade zemin */
.tool-group {
  --c: 79, 157, 255;
  position: relative;
  padding: 20px 22px 22px;
  border: 1px solid rgba(var(--c), 0.22);
  border-radius: var(--radius);
  background: linear-gradient(100deg, rgba(var(--c), 0.10), rgba(var(--c), 0.02) 55%, transparent);
  overflow: hidden;
}
.tool-group::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgb(var(--c)), rgba(var(--c), 0.2));
}
.tool-group + .tool-group { margin-top: 16px; }
.tool-group .tags-title { color: rgb(var(--c)); }
.tool-group .tag { border-color: rgba(var(--c), 0.28); }

.tg-ads    { --c: 79, 157, 255; }
.tg-ai     { --c: 155, 107, 255; }
.tg-design { --c: 255, 107, 181; }
.tg-web    { --c: 63, 209, 193; }

.tags-title {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.timeline-item li strong { color: var(--text); }

.timeline-company:last-child { margin-bottom: 0; }

/* Eğitim altındaki Sertifikalar / Diller blokları */
.info-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.info-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }

.info-list li { display: flex; flex-direction: column; gap: 2px; }

.info-list strong { font-size: 1rem; }

.info-list span { color: var(--text-muted); font-size: 0.9rem; }

.tag {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-card:hover { border-color: var(--accent); transform: translateY(-2px); }

.contact-extra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.social-links { display: flex; gap: 10px; }
.social-links a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.social-links a:hover { color: var(--accent); border-color: var(--accent); }
.social-links svg { width: 18px; height: 18px; }

.cv-link {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.cv-link:hover { color: var(--accent); }

.contact-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-value { font-weight: 600; }

/* Footer */
.footer {
  text-align: center;
  padding: 32px 24px;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 780px) {
  .logo img { height: 34px; }

  /* Kartvizit düzeni: solda küçük foto, sağında unvan + isim, gerisi altta */
  .hero {
    grid-template-columns: 120px 1fr;
    grid-template-areas:
      "photo eyebrow"
      "photo name"
      "lead  lead"
      "actions actions"
      "meta  meta";
    column-gap: 16px;
    row-gap: 0;
    align-items: end;
    padding: 32px 20px 48px;
  }

  .hero-inner { display: contents; }

  .hero-photo {
    grid-area: photo;
    width: 120px;
    aspect-ratio: 4 / 5;
    align-self: center;
  }

  .hero-photo::before { inset: -10%; filter: blur(18px); }

  .hero-bg .glow { filter: blur(70px); }
  .hero-bg .glow-blue { width: 260px; height: 260px; top: -100px; left: -60px; }
  .hero-bg .glow-purple { width: 280px; height: 280px; bottom: -120px; right: -80px; }

  .hero-photo img {
    -webkit-mask-image: none;
    mask-image: none;
    border: 1px solid var(--border);
    border-radius: 14px;
  }

  .eyebrow {
    grid-area: eyebrow;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    line-height: 1.4;
    margin-bottom: 6px;
  }

  .hero h1 {
    grid-area: name;
    align-self: start;
    font-size: 1.75rem;
    margin-bottom: 0;
  }

  .hero-lead { grid-area: lead; font-size: 1rem; margin: 24px 0; }
  .hero-actions { grid-area: actions; margin-bottom: 24px; }
  .hero-meta { grid-area: meta; gap: 10px 16px; font-size: 0.85rem; }

  .stats { padding: 0 20px; }
  .stat { padding: 20px 6px; }
  .stat-label { font-size: 0.68rem; letter-spacing: 0.05em; }

  .section { padding: 48px 20px; }
  .section-title { font-size: 1.35rem; margin-bottom: 20px; }
  .timeline-head h3 { font-size: 1.05rem; }
  .card h3 { font-size: 1rem; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .lang-switch { margin-left: auto; margin-right: 14px; order: 1; }
  .nav-toggle { order: 2; }
  .grid-3, .grid-2, .contact-grid, .info-cols { grid-template-columns: 1fr; }
}

/* Yazılar (ana sayfa kartı): Projeler kartlarıyla aynı, görselsiz */
.post-card { display: flex; flex-direction: column; }
.post-card .post-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 10px;
}
.post-card .post-meta time { color: var(--text-muted); }
.post-card .card-link { margin-top: auto; padding-top: 12px; }

/* Makale sayfası */
.article { max-width: 720px; margin: 0 auto; padding: 48px 24px 72px; }
.article-back { color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s ease; }
.article-back:hover { color: var(--accent); }
.article-header { margin: 28px 0 36px; }
.article-header h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); letter-spacing: -0.02em; margin-bottom: 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--text-muted); font-size: 0.9rem; }

.article-body { font-size: 1.08rem; line-height: 1.8; }
.article-body > * + * { margin-top: 1.2em; }
.article-body h2 { font-size: 1.45rem; margin-top: 2.2em; }
.article-body h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-top: 10px;
  border-radius: 3px;
  background: linear-gradient(90deg, #2f7bff, #6a2cff);
}
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body ul { padding-left: 1.3em; }
.article-body li + li { margin-top: 6px; }
.article-body li::marker { color: var(--accent); }

.article-body blockquote {
  border-left: 3px solid;
  border-image: linear-gradient(#2f7bff, #6a2cff) 1;
  padding: 4px 0 4px 22px;
  font-size: 1.18rem;
  font-style: italic;
}
.article-body blockquote cite {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  font-style: normal;
  color: var(--text-muted);
}
.article-body blockquote cite::before { content: "— "; }

.article-body figure { margin-top: 2em; margin-bottom: 2em; }
.article-body figure:has(img) {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}
.article-body figure img { border-radius: 10px; width: 100%; height: auto; filter: brightness(0.88) saturate(0.9); }
.article-body figure img.square { max-width: 420px; margin: 0 auto; }
.article-body figcaption { margin-top: 12px; font-size: 0.9rem; line-height: 1.6; color: var(--text-muted); text-align: center; }

.article-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.article-stats div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.article-stats strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1.2;
  background: linear-gradient(90deg, #2f7bff, #6a2cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.article-stats span { font-size: 0.88rem; line-height: 1.5; color: var(--text-muted); }

.article-scenarios { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.scenario { border: 1px solid var(--border); border-left-width: 3px; border-radius: 10px; padding: 16px 18px; background: var(--surface); }
.scenario p { font-size: 0.98rem; line-height: 1.6; margin-top: 6px; }
.scenario-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.scenario-bad { border-left-color: #ff5c5c; }
.scenario-bad .scenario-label { color: #ff8a8a; }
.scenario-good { border-left-color: #2fd08a; }
.scenario-good .scenario-label { color: #5fe0a6; }

.article-table { width: 100%; border-collapse: collapse; font-size: 1rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.article-table th, .article-table td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.article-table th { background: var(--bg-alt); font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }
.article-table td:last-child, .article-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.article-table tbody tr:first-child td { color: var(--accent); font-weight: 600; }
.article-table tbody tr:last-child td { border-bottom: none; }

.article-footer { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--border); }
.article-author { display: flex; gap: 18px; align-items: center; }
.article-author img { width: 64px; height: 80px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.article-author p { color: var(--text-muted); font-size: 0.94rem; margin-top: 4px; }
.article-origin { margin-top: 20px; font-size: 0.88rem; color: var(--text-muted); }
.article-origin a { color: var(--accent); }
.article-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

@media (max-width: 780px) {
  .article { padding-top: 32px; }
  .article-body { font-size: 1.02rem; }
  .article-stats, .article-scenarios { grid-template-columns: 1fr; }
  .article-table th, .article-table td { padding: 10px 12px; }
}

/* "Hareketi azalt" açık olanlarda kaydırma ve hover hareketleri kapalı */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .card:hover, .contact-card:hover, .post-card:hover { transform: none; }
}

/* Kaydırınca belirme (script.js ekler; JS yoksa ya da hareket azaltılmışsa her şey baştan görünür) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* Başlık altındaki degrade çizgi soldan sağa çizilir */
.section-title.reveal::after {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s;
}
.section-title.reveal.in::after { transform: scaleX(1); }

/* Çalıştığım Markalar: sabit logo duvarı, üstüne gelince kalkar */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 12px;
  list-style: none;
  margin-top: 28px;
}
.brand {
  display: block;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.brand img { width: 100%; height: 100%; object-fit: cover; }
.brand span {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.brand:hover, .brand:focus-visible {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(79, 70, 255, 0.25);
}

@media (max-width: 780px) {
  .brands-grid { grid-template-columns: repeat(5, 1fr); gap: 10px; }
}

/* Kart ikonları: logo degradesinde küçük çizgi ikon, üstüne gelince hafifçe döner */
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  color: #a9c6ff;
  background: linear-gradient(135deg, rgba(47, 123, 255, 0.22), rgba(106, 44, 255, 0.22));
  border: 1px solid rgba(110, 120, 255, 0.35);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.3s ease, box-shadow 0.3s ease;
}
.card-icon svg { width: 22px; height: 22px; }
.card:hover .card-icon {
  transform: translateY(-2px) rotate(-6deg) scale(1.06);
  color: #fff;
  box-shadow: 0 6px 20px rgba(79, 70, 255, 0.35);
}

/* Fareyi takip eden ışık (script.js --mx/--my verir; dokunmatikte görünmez) */
.card, .contact-card { position: relative; isolation: isolate; }
.card::before, .contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(79, 157, 255, 0.13), rgba(106, 44, 255, 0.06) 40%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.card:hover::before, .contact-card:hover::before { opacity: 1; }

/* Üstte kaydırma ilerleme çubuğu */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #2f7bff, #6a2cff);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  pointer-events: none;
}

@media (max-width: 780px) {
  .card-icon { width: 38px; height: 38px; margin-bottom: 10px; border-radius: 10px; }
  .card-icon svg { width: 19px; height: 19px; }
}

/* Açılış koreografisi: hero öğeleri bulanıktan netleşerek sırayla gelir, isim harf harf yazılır */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(18px); filter: blur(8px); }
}
@keyframes char-in {
  from { opacity: 0; transform: translateY(0.45em) rotate(6deg); filter: blur(6px); }
}
@keyframes photo-in {
  from { opacity: 0; transform: translateY(24px) scale(0.94); filter: blur(10px); }
}
.hero .eyebrow, .hero-lead, .hero-actions, .hero-meta {
  animation: hero-in 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero .eyebrow { animation-delay: 0.05s; }
.hero-lead { animation-delay: 0.6s; }
.hero-actions { animation-delay: 0.75s; }
.hero-meta { animation-delay: 0.9s; }
.hero-photo { animation: photo-in 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s both; }
.hero h1 .word { display: inline-block; white-space: nowrap; }
.hero h1 .ch {
  display: inline-block;
  animation: char-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(0.15s + var(--i) * 35ms);
}

/* Fotoğraf fareye göre hafifçe 3D eğilir, üstünde parlama gezer */
.hero-photo { perspective: 900px; }
.hero-photo img {
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hero-photo.tilting img { transition-duration: 0.12s; }
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, 0.14), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
  mask-image: linear-gradient(to bottom, #000 60%, transparent);
}
.hero-photo.tilting::after { opacity: 1; }

/* Mıknatıslı butonlar: imlece doğru hafifçe çekilir */
.hero-actions .btn { transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.15s ease, border-color 0.2s ease; }
.hero-actions .btn.magnet { transition-duration: 0.12s; }

/* Zaman çizelgesi: firma ekrana girince çizgi bir kez mavi→mor çizilir ve dolu kalır */
.timeline-item::after {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(#2f7bff, #6a2cff);
  transform-origin: top;
  transition: transform 1.1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
  pointer-events: none;
}
.timeline-item.line-pending::after { transform: scaleY(0); }
.timeline-item.has-logo .timeline-logo { z-index: 1; }

/* Menüde o an bakılan bölüm: degrade alt çizgi */
@media (min-width: 781px) {
  .nav-links a { position: relative; }
  .nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #2f7bff, #6a2cff);
    transform: scaleX(0);
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .nav-links a.active { color: var(--text); }
  .nav-links a.active::after { transform: scaleX(1); }
}

/* Kartlarda dönen degrade kenar */
@property --spin {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes spin-border { to { --spin: 360deg; } }
.card::after, .contact-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--spin), #2f7bff, #6a2cff, #ff6bb5, #2f7bff 60%, transparent 75%, #2f7bff);
  -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 exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.35s ease;
  animation: spin-border 3s linear infinite paused;
  pointer-events: none;
}
.card:hover::after, .contact-card:hover::after { opacity: 1; animation-play-state: running; }
.card:hover, .contact-card:hover { box-shadow: 0 14px 40px -12px rgba(79, 70, 255, 0.35); }

/* Ana butonda ara ara geçen parlama + hover'da ışıma */
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #4f9dff, #6a7bff);
  box-shadow: 0 6px 24px -8px rgba(79, 157, 255, 0.6);
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: btn-shine 4.5s ease-in-out 1.6s infinite;
  pointer-events: none;
}
@keyframes btn-shine {
  0% { left: -60%; }
  30%, 100% { left: 130%; }
}
.btn-primary:hover { box-shadow: 0 10px 34px -6px rgba(106, 123, 255, 0.85); }

/* Rakamlarda yavaşça akan renk */
.stat-value {
  background: linear-gradient(110deg, #4f9dff, #7a4dff 40%, #b98bff 50%, #7a4dff 60%, #4f9dff);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: stat-flow 6s linear infinite;
}
@keyframes stat-flow { to { background-position: -250% 0; } }

/* Araç etiketleri: grup görününce sırayla zıplayarak gelir, üstüne gelince grubun renginde parlar */
.tag { display: inline-block; transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.tool-group .tag:hover {
  transform: translateY(-2px);
  background: rgba(var(--c), 0.14);
  border-color: rgba(var(--c), 0.7);
  box-shadow: 0 6px 18px -6px rgba(var(--c), 0.6);
}
@keyframes tag-pop {
  from { opacity: 0; transform: translateY(10px) scale(0.85); }
}
.tags.pending .tag { opacity: 0; }
.tags.pop .tag { animation: tag-pop 0.45s cubic-bezier(0.3, 1.4, 0.5, 1) backwards; animation-delay: calc(var(--i) * 40ms); }

/* Yetkinlikler: bento düzen — geniş kartlar sırayla sol/sağ, sağ altta soluk büyük ikon */
.bento .wide { grid-column: span 2; overflow: hidden; }
.bento .wide p { max-width: 68%; }
.card-art {
  position: absolute;
  right: 18px;
  bottom: -26px;
  width: 150px;
  height: 150px;
  color: #8fb3ff;
  opacity: 0.08;
  z-index: -1;
  transform: rotate(-10deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.4s ease;
  pointer-events: none;
}
.card-art svg { width: 100%; height: 100%; stroke-width: 1.2; }
.card.wide:hover .card-art { opacity: 0.16; transform: rotate(0deg) scale(1.08) translateY(-6px); }
/* Dar kartlardaki büyük ikon sadece telefonda (tek sütunda hepsinde olsun) */
.bento .card:not(.wide) .card-art { display: none; }

/* İletişim kartlarında ikon solda */
.contact-card.has-icon {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  row-gap: 2px;
  align-items: center;
}
.contact-card.has-icon .card-icon { grid-row: span 2; margin-bottom: 0; }
.contact-card.has-icon .contact-value { min-width: 0; overflow-wrap: anywhere; }
.contact-card:hover .card-icon {
  transform: translateY(-2px) rotate(-6deg) scale(1.06);
  color: #fff;
  box-shadow: 0 6px 20px rgba(79, 70, 255, 0.35);
}

/* Hero'da üçüncü, pembe ışık */
.hero-bg .glow-pink {
  width: 300px;
  height: 300px;
  background: #ff6bb5;
  top: 30%;
  left: 45%;
  opacity: 0.18;
  animation: hero-drift-2 13s ease-in-out infinite alternate;
}
@keyframes hero-drift-2 {
  to { transform: translate(-260px, -60px) scale(1.3); }
}

/* Sayfaya çok hafif film greni (dokuyu düzleştirmemek için) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Kart bağlantılarındaki ok üstüne gelince kayar */
.card-link { transition: transform 0.25s ease, color 0.2s ease; }
.card:hover .card-link { transform: translateX(4px); }

@media (max-width: 780px) {
  .bento .wide { grid-column: auto; }
  .bento .wide p { max-width: none; }
  .bento .card { overflow: hidden; }
  .bento .card:not(.wide) .card-art { display: block; }
  .card-art { width: 110px; height: 110px; bottom: -20px; right: 10px; opacity: 0.06; }
  .hero-bg .glow-pink { width: 200px; height: 200px; }
}

/* Öne Çıkan Projeler: ikon, her projenin renginde degradeli bir kapağa dönüşür */
.projects-grid .card { overflow: hidden; --c: 79, 157, 255; }
.projects-grid .card:nth-child(1) { --c: 255, 138, 76; }   /* Hazume: sıcak turuncu */
.projects-grid .card:nth-child(2) { --c: 79, 157, 255; }   /* CPAS: mavi */
.projects-grid .card:nth-child(3) { --c: 155, 107, 255; }  /* E-ticaret: mor */
.projects-grid .card:nth-child(4) { --c: 63, 209, 193; }   /* Web & Mobil: turkuaz */
.projects-grid .card-icon {
  display: flex;
  width: calc(100% + 48px);
  height: 120px;
  margin: -24px -24px 20px;
  border: 0;
  border-bottom: 1px solid rgba(var(--c), 0.25);
  border-radius: 0;
  color: rgb(var(--c));
  background:
    radial-gradient(circle at 50% 120%, rgba(var(--c), 0.35), transparent 65%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(135deg, rgba(var(--c), 0.16), rgba(var(--c), 0.03));
}
.projects-grid .card-icon svg {
  width: 46px;
  height: 46px;
  stroke-width: 1.5;
  filter: drop-shadow(0 0 14px rgba(var(--c), 0.6));
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.projects-grid .card:hover .card-icon {
  transform: none;
  color: rgb(var(--c));
  box-shadow: none;
}
.projects-grid .card:hover .card-icon svg { transform: scale(1.15) rotate(-6deg); }

/* Rakam şeridi: her rakam ayrı cam kart */
.stats { gap: 16px; }
.stat, .stat + .stat {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(79, 157, 255, 0.07), rgba(106, 44, 255, 0.03) 60%, rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(122, 140, 255, 0.8), transparent);
}
.stat:hover {
  transform: translateY(-3px);
  border-color: rgba(106, 123, 255, 0.5);
  box-shadow: 0 14px 40px -14px rgba(79, 70, 255, 0.45);
}

/* Yazılar: tam genişlik, dergi listesi gibi; büyük başlık, sağda yuvarlak ok */
.posts-list { grid-template-columns: 1fr; }
.posts-list .post-card {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 32px;
  align-items: center;
  padding: 30px 32px;
}
.posts-list .post-card > * { grid-column: 1; }
.posts-list .post-card h3 { font-size: 1.4rem; letter-spacing: -0.01em; margin-bottom: 10px; }
.posts-list .post-card .post-meta { justify-content: flex-start; gap: 16px; }
.posts-list .post-card .card-link {
  grid-column: 2;
  grid-row: 1 / span 3;
  margin: 0;
  padding: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(79, 157, 255, 0.4);
  display: grid;
  place-items: center;
  font-size: 0;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), background 0.3s ease, border-color 0.3s ease;
}
.posts-list .post-card .card-link::before { content: "→"; font-size: 1.3rem; color: var(--accent); transition: color 0.3s ease; }
.posts-list .post-card:hover .card-link {
  transform: rotate(-45deg);
  background: linear-gradient(135deg, #2f7bff, #6a2cff);
  border-color: transparent;
}
.posts-list .post-card:hover .card-link::before { color: #fff; }

@media (max-width: 780px) {
  .stats { gap: 8px; }
  .stat, .stat + .stat { padding: 18px 6px; }
  .projects-grid .card-icon { height: 96px; margin-bottom: 16px; }
  .posts-list .post-card { grid-template-columns: 1fr; padding: 24px; }
  .posts-list .post-card h3 { font-size: 1.15rem; }
  .posts-list .post-card .card-link {
    grid-column: 1;
    grid-row: auto;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    display: inline-block;
    font-size: 0.88rem;
    margin-top: 12px;
  }
  .posts-list .post-card .card-link::before { content: none; }
  .posts-list .post-card:hover .card-link { transform: translateX(4px); background: none; }
}

/* Sertifikalar / Diller: solda degradeli rozet (ikon ya da dil kodu) */
.info-list li.has-badge {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  align-items: center;
}
.info-list li.has-badge > :not(.info-badge) { grid-column: 2; }
.info-badge {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #a9c6ff;
  background: linear-gradient(135deg, rgba(47, 123, 255, 0.22), rgba(106, 44, 255, 0.22));
  border: 1px solid rgba(110, 120, 255, 0.35);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.3s ease;
}
.info-badge svg { width: 20px; height: 20px; }
.info-list li.has-badge:hover .info-badge { transform: rotate(-8deg) scale(1.08); color: #fff; }

/* Markalar: üstüne gelince fareye göre 3D eğilir, üstünde parlama gezer */
.brands-grid { perspective: 700px; }
.brand { position: relative; transform-style: preserve-3d; }
.brand.tilting {
  transform: translateY(-3px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.08);
  transition-duration: 0.1s;
  z-index: 1;
}
.brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.35), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.brand.tilting::after { opacity: 1; }

/* Altbilgi: solda logo, ortada telif, sağda yukarı çık */
.footer-rich {
  position: relative;
  border-top: 0;
  padding: 28px 24px;
}
.footer-rich::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2f7bff, #6a2cff, transparent);
}
.footer-inner {
  max-width: calc(var(--max-width) - 48px); /* bölüm içerikleriyle aynı hiza */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
}
.footer-brand img { height: 28px; width: auto; }
.to-top {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(79, 157, 255, 0.4);
  color: var(--accent);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.to-top svg { width: 18px; height: 18px; }
.to-top:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, #2f7bff, #6a2cff);
  border-color: transparent;
  color: #fff;
}

@media (max-width: 780px) {
  .footer-inner { flex-direction: column; gap: 14px; }
  .footer-meta { order: 3; }
}

/* Menü: kaydırınca yüzen cam bir hapa dönüşür (ilerleme çubuğu hapın altında) */
.nav { transition: padding 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease; }
.nav-inner {
  position: relative;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: margin 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), padding 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    max-width 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.nav.scrolled {
  padding-top: 10px; /* hapın üstünde boşluk (margin dışarı taşıyordu) */
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}
.nav.scrolled .nav-inner {
  max-width: calc(var(--max-width) - 48px);
  padding: 9px 22px 9px 16px;
  background: rgba(17, 23, 31, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.scroll-progress {
  left: 28px;
  right: 28px;
  width: auto;
  bottom: -1px;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.nav.scrolled .scroll-progress { opacity: 1; }

/* Bölüm başlıkları: kelimeler maskenin altından kayarak çıkar */
.section-title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.section-title .w > span { display: inline-block; }
.section-title.reveal .w > span { transform: translateY(110%); }
.section-title.reveal.in .w > span {
  transform: none;
  transition: transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(0.05s + var(--i) * 70ms);
}

/* Profesyonel Özet: kaydırdıkça kelime kelime aydınlanır (geri sönmez); önemli ifadeler beyaz */
.summary .hl { color: var(--text); font-weight: 500; }
.summary .sw { transition: opacity 0.35s ease; }
.summary.scrolly .sw:not(.on) { opacity: 0.22; }

@media (max-width: 780px) {
  .nav.scrolled { padding-top: 8px; }
  .nav.scrolled .nav-inner { margin: 0 10px; padding: 8px 14px 8px 12px; }
  .nav.scrolled .nav-links { top: calc(100% + 8px); border: 1px solid var(--border); border-radius: 16px; }
  .scroll-progress { left: 20px; right: 20px; }
}

/* Hero fotoğrafı perde gibi aşağıdan yukarı açılır */
@keyframes photo-curtain {
  from { clip-path: inset(100% 0 0 0 round 16px); transform: scale(1.08); }
  to { clip-path: inset(0 0 0 0 round 16px); transform: scale(1); }
}
.hero-photo { animation: none; }
.hero-photo img { animation: photo-curtain 1.3s cubic-bezier(0.7, 0, 0.2, 1) 0.2s backwards; } /* bitince bırakır, 3D eğilme çalışsın */

/* Sayfa sonunda dev SA amblemi (kontur): görününce aşağıdan yükselir, alt kısmı altbilgiye karışır */
.big-mark {
  max-width: var(--max-width);
  margin: 0 auto;
  margin-top: -40px; /* İletişim'in alt boşluğuna bin, araya fazla boşluk girmesin */
  padding: 0 24px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  user-select: none;
}
.big-mark img {
  width: min(440px, 62%);
  height: auto;
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  mask-image: linear-gradient(#000 55%, transparent);
  margin-bottom: -9%;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 1.2s ease, filter 0.4s ease;
}
.big-mark.pending img { transform: translateY(40%); opacity: 0; }
.big-mark img:hover { filter: brightness(1.5) drop-shadow(0 0 24px rgba(106, 44, 255, 0.35)); }

.local-time { font-variant-numeric: tabular-nums; }


/* Altbilgi: telif altında İstanbul saati */
.footer-meta { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.colophon { font-size: 0.76rem; letter-spacing: 0.02em; opacity: 0.7; font-variant-numeric: tabular-nums; }

/* Rakamlarla Sonuçlar: dört büyük rakam, süreç adımları, vaka kartları */
.results-figures {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.rf {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 22px 22px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(79, 157, 255, 0.07), rgba(106, 44, 255, 0.03) 60%, rgba(255, 255, 255, 0.01));
}
.rf-value {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.rf-main {
  background:
    radial-gradient(circle at 100% 0%, rgba(106, 44, 255, 0.28), transparent 60%),
    linear-gradient(160deg, rgba(47, 123, 255, 0.22), rgba(106, 44, 255, 0.10));
  border-color: rgba(110, 120, 255, 0.4);
}
.rf-main .rf-value {
  font-size: clamp(2.6rem, 6vw, 4rem);
  background: linear-gradient(110deg, #4f9dff, #7a4dff 40%, #b98bff 50%, #7a4dff 60%, #4f9dff);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: stat-flow 6s linear infinite;
}
.rf-label { color: var(--text-muted); font-size: 0.85rem; font-weight: 600; }

.process {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 22px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.process li { display: inline-flex; align-items: center; gap: 8px; }
.process li + li::before { content: "→"; color: #6a7bff; margin-right: 6px; }
.process span {
  font-size: 0.72rem;
  font-weight: 800;
  color: #a9c6ff;
  padding: 3px 7px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(47, 123, 255, 0.22), rgba(106, 44, 255, 0.22));
}

.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 4 vaka: 2×2 */
  gap: 16px;
  margin-top: 24px;
}
.case {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.case:hover { transform: translateY(-3px); border-color: rgba(106, 123, 255, 0.5); box-shadow: 0 14px 40px -14px rgba(79, 70, 255, 0.45); }
.case-sector {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}
.case h3 { font-size: 1.12rem; letter-spacing: -0.01em; margin-bottom: 14px; }
/* Ciro çubuğu (tam genişlik) içinde harcamanın payı: ne kadar küçük olduğu görünsün */
.case-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f7bff, #6a2cff);
  overflow: hidden;
  margin-bottom: 6px;
}
.case-spend {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  min-width: 6px;
  background: #ff8a4c;
  border-radius: 999px 0 0 999px;
}
.case-legend { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: var(--text-muted); margin-bottom: 16px; }
.case-legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.case-legend .lg-spend { background: #ff8a4c; }
.case-legend .lg-rev { background: linear-gradient(90deg, #2f7bff, #6a2cff); margin-left: 8px; }
.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.case-stats div { display: flex; flex-direction: column; justify-content: space-between; gap: 2px; } /* etiket iki satıra düşse de rakamlar aynı hizada */
.case-stats dt { font-size: 0.72rem; color: var(--text-muted); }
.case-stats dd { font-size: 1.05rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.cases-hint { display: none; }
.results-note { margin-top: 14px; font-size: 0.76rem; color: var(--text-muted); opacity: 0.8; }
.brands-title { margin-top: 48px; margin-bottom: 6px; }

/* Çubuk görününce soldan dolar */
.cases.bar-pending .case-bar { clip-path: inset(0 100% 0 0 round 999px); }
.case-bar { transition: clip-path 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); clip-path: inset(0 0 0 0 round 999px); }
.case:nth-child(2) .case-bar { transition-delay: 0.15s; }
.case:nth-child(3) .case-bar { transition-delay: 0.3s; }
.case:nth-child(4) .case-bar { transition-delay: 0.45s; }

@media (max-width: 780px) {
  /* Telefonda: ₺92M üstte, diğer üç rakam tek satırda küçük kartlar (tek kalan kart olmasın) */
  .results-figures { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .rf-main { grid-column: 1 / -1; padding: 20px; }
  .rf { padding: 14px 10px; gap: 4px; justify-content: flex-start; } /* rakamlar üstte hizalı, etiket satır sayısı fark etmesin */
  .rf:not(.rf-main) .rf-value { font-size: 1.35rem; }
  .rf:not(.rf-main) .rf-label { font-size: 0.7rem; line-height: 1.3; }
  /* Vakalar yana kaydırılan şerit: bir kart ekranı kaplar, sıradakinin kenarı görünür */
  .cases {
    display: flex;
    gap: 12px;
    margin: 24px -20px 0;
    padding: 0 20px 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 20px;
    scrollbar-width: none;
  }
  .cases::-webkit-scrollbar { display: none; }
  .section.alt > .cases { margin: 24px -20px 0; max-width: none; } /* alt bölüm hizalama kuralını ez, şerit ekran kenarına uzansın */
  .case { flex: 0 0 86%; scroll-snap-align: start; padding: 20px; }
  .case h3 { font-size: 1.02rem; }
  .cases-hint { display: block; margin-top: 10px; font-size: 0.78rem; color: var(--accent); }
  .process { font-size: 0.85rem; flex-direction: column; align-items: flex-start; gap: 8px; }
  .process li + li::before { content: none; }
}
