/* ==========================================================================
   BT Klinik — Tasarım Sistemi
   Tüm renkler bt-klinik logo dosyalarından türetilmiştir.
   Kontrast oranları WCAG 2.1 AA'ya göre ölçülerek seçildi.
   ========================================================================== */

:root {
  /* --- Marka: logodan birebir --- */
  --ink:            #12263F;   /* logo laciverti · beyaz üstünde 15.28:1 */
  --teal:           #14A89C;   /* logo nabız teal'i · yalnızca grafik/yüzey */
  --teal-ink:       #0E776E;   /* türetilmiş · açık zeminde metin 5.19:1 */
  --teal-bright:    #2ED3C4;   /* ikon teal'i · yalnızca koyu zeminde 8.17:1 */

  /* --- Yüzeyler --- */
  --bg:             #FBFAF8;   /* kırık beyaz */
  --bg-alt:         #F4F2EE;
  --card:           #FFFFFF;
  --dark:           #0B1826;   /* koyu bant · markanın kendi habitatı */
  --dark-2:         #10233A;

  /* --- Metin --- */
  --text:           #12263F;
  --text-muted:     #5F6D7C;   /* logo grisinin okunabilir hali 5.08:1 */
  --text-on-dark:   #FFFFFF;
  --text-on-dark-m: #93A3B5;

  /* --- Çizgiler --- */
  --line:           rgba(18, 38, 63, .10);
  --line-strong:    rgba(18, 38, 63, .18);
  --line-dark:      rgba(255, 255, 255, .12);


  /* --- Tema duyarlı yüzeyler (karanlık modda yeniden tanımlanır) --- */
  --tint:           #ECF8F7;                 /* teal karışımlı açık yüzey */
  --tint-line:      rgba(20, 168, 156, .30);
  --wash:           rgba(18, 38, 63, .05);   /* çok hafif yüzey vurgusu */
  --header-bg:      rgba(251, 250, 248, .78);
  --header-bg-scr:  rgba(251, 250, 248, .92);
  --tersi-bg:       #12263F;                 /* ters zemin (dolgu buton/rozet) */
  --tersi-fg:       #FFFFFF;
  --dugme-bg:       #0E776E;
  --dugme-fg:       #FFFFFF;
  --dugme-bg-hover: #0A5A54;
  --footer-bg:      #E9F2F0;                 /* teal'e çalan yumuşak zemin · soluk metin 4.65:1 */
  --footer-line:    rgba(20, 168, 156, .22);
  --hata:           #C0342B;                 /* hata metni · beyaz üstünde 5.57:1 */
  --kod:            #0C6A62;                 /* satır içi kod · teal zemin üstünde 5.29:1 */

  /* --- Tipografi --- */
  --font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --tracking-label: .18em;     /* logonun geniş harf aralığının yankısı */
  --yazi-olcu: 44rem;          /* blog yazısı okuma genişliği ≈ 70 karakter */
  --yan-sutun: 17.5rem;        /* yazı sayfasının yardımcı sütunu */

  /* --- Köşe yarıçapı: ikon dosyasının geometrisinden --- */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* --- Gölge: minimalizmde gölge fısıldar --- */
  --shadow-sm: 0 1px 2px rgba(18, 38, 63, .04), 0 8px 24px -14px rgba(18, 38, 63, .16);
  --shadow-md: 0 2px 4px rgba(18, 38, 63, .04), 0 20px 48px -24px rgba(18, 38, 63, .24);

  /* --- Ritim --- */
  --section-y: clamp(3rem, 5.5vw, 5rem);
  --container: 1200px;

  /* --- Bootstrap 5.3 ezmeleri --- */
  --bs-body-bg: var(--bg);
  --bs-body-color: var(--text);
  --bs-body-font-family: var(--font);
  --bs-body-font-size: 1.0625rem;
  --bs-body-line-height: 1.65;
  --bs-primary: #0E776E;
  --bs-primary-rgb: 14, 119, 110;
  --bs-link-color: var(--teal-ink);
  --bs-link-color-rgb: 14, 119, 110;
  --bs-link-hover-color: #0A5A54;
  --bs-border-color: var(--line);
  --bs-border-radius: var(--r-sm);
  --bs-emphasis-color: var(--ink);
}

/* ==========================================================================
   Temel
   ========================================================================== */

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;   /* eski tarayıcı geri dönüşü */
  overflow-x: clip;     /* sticky'yi bozmaz, kaydırma konteyneri oluşturmaz */
}

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

::selection { background: var(--teal-bright); color: var(--ink); }

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

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

.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(2.25rem, 4vw, 3.5rem); }

/* Bağlantı atlama — klavye kullanıcısı için */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--tersi-bg); color: var(--tersi-fg); padding: .75rem 1.25rem;
  border-radius: var(--r-xs); font-weight: 600; text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ==========================================================================
   Tipografi
   ========================================================================== */

h1, h2, h3, h4, h5 {
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.12;
  color: var(--ink);
  margin: 0;
}

.display-xl {
  font-size: clamp(2.5rem, 6.2vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -.038em;
  line-height: 1.04;
}
.display-lg {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  letter-spacing: -.032em;
  line-height: 1.1;
}
.display-md {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -.025em;
}

.lead-bt {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 400;
}

/* Etiket — logonun 0.2em/0.4em harf aralığından geliyor */
.label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--teal-ink);
}
.label::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: .5;
}
.label-dark { color: var(--teal-bright); }
.label-plain::before { display: none; }

.text-muted-bt { color: var(--text-muted); }
.text-ink { color: var(--ink); }

/* Vurgulu kelime — nabız çizgisiyle altı çizili */
/* Vurgu şeridi — sözde eleman + z-index:-1 kullanmıyoruz;
   o yöntem şeridi sayfa zemininin arkasına düşürüyordu. */
.underline-pulse {
  white-space: nowrap;
  background-image: linear-gradient(to top,
    rgba(20, 168, 156, .24) .34em,
    rgba(20, 168, 156, .24) .34em,
    transparent .34em);
  background-repeat: no-repeat;
  background-position: 0 .06em;
  background-size: 100% 100%;
  padding-bottom: .04em;
}

/* ==========================================================================
   Butonlar
   ========================================================================== */

.btn-bt {
  --btn-bg: var(--dugme-bg);
  --btn-fg: var(--dugme-fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;               /* dokunma hedefi 44px+ */
  padding: .85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font);
  font-size: .975rem;
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .22s ease, transform .22s ease, box-shadow .22s ease, border-color .22s ease, color .22s ease;
}
.btn-bt:hover {
  background: var(--dugme-bg-hover);
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -14px rgba(14, 119, 110, .7);
}
.btn-bt:active { transform: translateY(0); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: var(--wash);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: none;
}

.btn-ink { --btn-bg: var(--tersi-bg); --btn-fg: var(--tersi-fg); }
.btn-ink:hover { background: #1B3A5C; box-shadow: 0 12px 28px -14px rgba(18, 38, 63, .7); }

.btn-bright {
  --btn-bg: var(--teal-bright);
  --btn-fg: #06202B;
}
.btn-bright:hover { background: #4EE3D5; color: #06202B; box-shadow: 0 12px 32px -14px rgba(46, 211, 196, .8); }

.btn-outline-dark-bt {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: var(--line-dark);
}
.btn-outline-dark-bt:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); box-shadow: none; }

.btn-sm-bt { min-height: 44px; padding: .6rem 1.15rem; font-size: .9rem; }

/* ==========================================================================
   Nabız motifi — logodaki EKG çizgisinin arayüzdeki karşılığı
   ========================================================================== */

.pulse-rule {
  display: flex;
  align-items: center;
  width: 100%;
  height: 28px;
}
/* Çizgiler artan alanı eşit paylaşır → sivri uç her genişlikte tam ortada */
.pulse-line {
  flex: 1 1 0;
  height: 1px;
  background: var(--line-strong);
}
/* Sabit ölçü: hiçbir ekran genişliğinde ezilmez */
.pulse-spike {
  flex: 0 0 auto;
  display: block;
  color: var(--teal);
}

/* ==========================================================================
   Üst menü
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background-color .3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: var(--header-bg-scr);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img { width: 38px; height: 38px; border-radius: 10px; display: block; }
.brand-name {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--ink);
  line-height: 1;
}
.brand-name em { font-style: normal; color: var(--teal-ink); }
.brand-sub {
  display: block;
  font-size: .5rem;
  font-weight: 600;
  letter-spacing: .3em;
  color: var(--text-muted);
  margin-top: .3rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 992px) { .nav-links { display: flex; } }

.nav-links > li > a {
  position: relative;
  display: inline-block;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: .7rem 0;               /* dokunma hedefi ~40px */
  transition: color .2s ease;
}
.nav-links > li > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: .35rem;
  width: 0; height: 1.5px;
  background: var(--teal-ink);
  transition: width .25s ease;
}
.nav-links > li > a:hover { color: var(--ink); }
.nav-links > li > a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-login {
  display: none;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s ease;
}
.nav-login:hover { color: var(--ink); }
@media (min-width: 768px) { .nav-login { display: inline-block; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
  transition: background-color .2s ease;
}
.nav-toggle:hover { background: rgba(18,38,63,.04); }
@media (min-width: 992px) { .nav-toggle { display: none; } }
.nav-toggle span {
  position: relative;
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform .25s ease, background-color .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute; left: 0;
  width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform .25s ease, top .25s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Mobil panel */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 1.75rem;
}
.mobile-menu.is-open { display: block; }
@media (min-width: 992px) { .mobile-menu, .mobile-menu.is-open { display: none; } }
/* Bağlantı stilleri .m-nav / .m-sub kurallarında; burada yalnızca buton */
.mobile-menu .btn-bt { width: 100%; }

/* ==========================================================================
   Hero
   ========================================================================== */

/* Hero görsel çerçevesi */
.hero-visual { position: relative; }
.hero-frame {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.hero-frame img { display: block; width: 100%; }

/* Panelin üstünde yüzen sıralama rozeti */
.rank-chip {
  position: absolute;
  left: clamp(-.5rem, -1vw, -1.5rem);
  bottom: clamp(1rem, 4vw, 2.25rem);
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 1.15rem;
  background: var(--dark);
  color: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  max-width: calc(100% - 2rem);
}
.rank-chip .rc-arrow {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(46, 211, 196, .16);
  color: var(--teal-bright);
  flex-shrink: 0;
}
.rank-chip .rc-kw {
  font-size: .8rem;
  color: var(--text-on-dark-m);
  line-height: 1.3;
}
.rank-chip .rc-val {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.rank-chip .rc-val b { color: var(--teal-bright); font-weight: 700; }

/* ==========================================================================
   Ortak: bölüm başlığı
   ========================================================================== */

.section-head { max-width: 46rem; margin-bottom: clamp(1.75rem, 3.2vw, 2.75rem); }
.section-head .label { margin-bottom: 1.1rem; }
.section-head h2 { margin-bottom: 1.1rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .label::before { display: none; }

/* ==========================================================================
   Problem
   ========================================================================== */

.problem { background: var(--bg-alt); }

.problem-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (min-width: 768px) { .problem-grid { grid-template-columns: repeat(3, 1fr); } }

.problem-cell {
  background: var(--bg-alt);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.problem-cell .num {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  color: var(--teal-ink);
  margin-bottom: 1.5rem;
  display: block;
}
.problem-cell h3 { font-size: 1.2rem; margin-bottom: .7rem; letter-spacing: -.02em; }
.problem-cell p { color: var(--text-muted); font-size: .975rem; margin: 0; }

/* ==========================================================================
   Adımlar
   ========================================================================== */

.steps { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(20, 168, 156, .35);
}
.step-num {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: rgba(20, 168, 156, .12);
  color: var(--teal-ink);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: .65rem; }
.step p { color: var(--text-muted); font-size: .975rem; margin: 0 0 1.25rem; }
.step ul { list-style: none; margin: 0; padding: 0; }
.step li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .9rem;
  color: var(--text-muted);
}
.step li + li { margin-top: .5rem; }
.step li::before {
  content: "";
  position: absolute;
  left: 0; top: .52em;
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
}

/* ==========================================================================
   Özellikler — bento
   ========================================================================== */

.bento { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento-lg { grid-column: span 3; }
  .bento-md { grid-column: span 3; }
  .bento-sm { grid-column: span 2; }
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 2.8vw, 2.1rem);
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.feature:hover {
  border-color: rgba(20, 168, 156, .35);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--wash);
  color: var(--ink);
  margin-bottom: 1.35rem;
}
.feature h3 { font-size: 1.1rem; margin-bottom: .55rem; letter-spacing: -.02em; }
.feature p { color: var(--text-muted); font-size: .94rem; margin: 0; }

.feature-accent { background: var(--ink); border-color: var(--ink); }
.feature-accent h3 { color: #fff; }
.feature-accent p { color: var(--text-on-dark-m); }
.feature-accent .feature-icon { background: rgba(46, 211, 196, .16); color: var(--teal-bright); }
.feature-accent:hover { border-color: var(--teal); }
.feature-accent .eeat {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.25rem; padding: .4rem .75rem;
  border-radius: var(--r-pill);
  background: rgba(46, 211, 196, .14);
  color: var(--teal-bright);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}

/* ==========================================================================
   KOYU BANT — Sonuç
   ========================================================================== */

.results {
  position: relative;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}
.results::before {
  content: "";
  position: absolute;
  top: -20%; left: 50%;
  width: min(900px, 100vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(46, 211, 196, .10) 0%, rgba(46, 211, 196, 0) 65%);
  pointer-events: none;
}
.results h2 { color: #fff; }
.results .lead-bt { color: var(--text-on-dark-m); }

.results-grid { position: relative; display: grid; gap: 1.5rem; }
@media (min-width: 992px) { .results-grid { grid-template-columns: 1.35fr 1fr; align-items: stretch; } }

.panel-dark {
  background: var(--dark-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.panel-dark h3 {
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  margin-bottom: .35rem;
}
.panel-dark .sub {
  font-size: .82rem;
  color: var(--text-on-dark-m);
  margin: 0 0 1.75rem;
}

.chart-wrap { position: relative; }
.chart-wrap svg { display: block; width: 100%; height: auto; }

/* Kelime tablosu */
.kw-table { width: 100%; border-collapse: collapse; }
.kw-table caption { text-align: left; caption-side: top; }
.kw-table th {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-on-dark-m);
  text-align: left;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font);
}
.kw-table th:last-child, .kw-table td:last-child { text-align: right; }
.kw-table td {
  padding: .9rem 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: .92rem;
  color: #E6ECF3;
  vertical-align: middle;
}
.kw-table tr:last-child td { border-bottom: 0; }
.kw-pos { font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.kw-delta {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .82rem; font-weight: 700;
  color: var(--teal-bright);
  font-variant-numeric: tabular-nums;
}

.integrations {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-top: 1.75rem;
}
.integration {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .9rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-pill);
  font-size: .8rem;
  font-weight: 500;
  color: #C8D4E0;
}
.integration .dot-live {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 3px rgba(46, 211, 196, .18);
}

.results-note {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: .85rem;
  color: var(--text-on-dark-m);
  max-width: 44rem;
}

/* Koyu banttaki istatistik şeridi */
.stat-strip {
  display: grid;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 1.5rem;
}
@media (min-width: 576px) { .stat-strip { grid-template-columns: repeat(3, 1fr); } }
.stat-cell { background: var(--dark-2); padding: 1.5rem; }
.stat-cell .v {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1;
  margin-bottom: .5rem;
}
.stat-cell .k {
  font-size: .78rem;
  color: var(--text-on-dark-m);
  letter-spacing: .04em;
}

/* ==========================================================================
   Paketler
   ========================================================================== */

.plans { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 992px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.plan {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3vw, 2.25rem);
}
.plan-featured {
  background: var(--dark);
  border-color: var(--dark);
  position: relative;
}
@media (min-width: 992px) { .plan-featured { transform: scale(1.03); } }
.plan-badge {
  position: absolute; top: 1.5rem; right: 1.5rem;
  padding: .35rem .7rem;
  border-radius: var(--r-pill);
  background: rgba(46, 211, 196, .16);
  color: var(--teal-bright);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.plan h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.plan .plan-for { font-size: .88rem; color: var(--text-muted); margin: 0 0 1.75rem; }
.plan-price {
  display: flex; align-items: baseline; gap: .4rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.75rem;
}
.plan-price .amount {
  font-size: clamp(1.9rem, 3.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -.035em;
  color: var(--ink);
  line-height: 1;
}
.plan-price .per { font-size: .85rem; color: var(--text-muted); }
.plan ul { list-style: none; margin: 0 0 2rem; padding: 0; flex-grow: 1; }
.plan li {
  position: relative;
  padding-left: 1.7rem;
  font-size: .93rem;
  color: var(--text-muted);
}
.plan li + li { margin-top: .7rem; }
.plan li svg { position: absolute; left: 0; top: .18em; color: var(--teal-ink); }
.plan .btn-bt { width: 100%; }

.plan-featured h3, .plan-featured .plan-price .amount { color: #fff; }
.plan-featured .plan-for, .plan-featured .plan-price .per, .plan-featured li { color: var(--text-on-dark-m); }
.plan-featured .plan-price { border-bottom-color: var(--line-dark); }
.plan-featured li svg { color: var(--teal-bright); }

/* ==========================================================================
   Kapanış CTA
   ========================================================================== */

.cta-final { padding-bottom: var(--section-y); }
.cta-box {
  position: relative;
  background: var(--dark);
  border-radius: var(--r-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  bottom: -60%; left: 50%;
  width: min(820px, 110vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(46, 211, 196, .14) 0%, rgba(46, 211, 196, 0) 62%);
  pointer-events: none;
}
.cta-box > * { position: relative; }
.cta-box h2 { color: #fff; margin-bottom: 1.1rem; }
.cta-box p { color: var(--text-on-dark-m); max-width: 38rem; margin: 0 auto 2.25rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }
.cta-fine {
  margin-top: 2rem !important;
  font-size: .82rem;
  color: rgba(147, 163, 181, .8);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-line);
  padding-block: clamp(3rem, 5vw, 4.5rem) 2rem;
}
.footer-grid { display: grid; gap: 2.5rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; } }

.footer-about p {
  color: var(--text-muted);
  font-size: .93rem;
  max-width: 22rem;
  margin: 1.25rem 0 0;
}
.footer-col h4 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: .15rem; }
.footer-col a {
  display: inline-block;
  padding-block: .55rem;          /* dokunma hedefi ~36px */
  font-size: .93rem;
  color: var(--ink);
  text-decoration: none;
  transition: color .2s ease;
}
@media (max-width: 767px) {
  .footer-col a { padding-block: .8rem; }   /* mobilde ~44px */
}
.footer-col a:hover { color: var(--teal-ink); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--footer-line);
  font-size: .85rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }

/* ==========================================================================
   Kaydırmada beliriş — reduced-motion saygılı
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.22, .61, .36, 1), transform .6s cubic-bezier(.22, .61, .36, 1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero-pulse-path { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
}

/* Hero nabız çizgisi çizim animasyonu */
.hero-pulse-path {
  stroke-dasharray: 110;
  stroke-dashoffset: 110;
  animation: draw 1.9s cubic-bezier(.65, .05, .36, 1) .25s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Koyu banttaki grafik çizgisi */
.chart-line {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
}
.is-visible .chart-line { animation: draw 2.2s cubic-bezier(.65, .05, .36, 1) forwards; }

/* Paket bölümü alt notu */
.plans-note {
  max-width: 34rem;
  margin: 2rem auto 0;
  text-align: center;
  font-size: .85rem;
  color: var(--text-muted);
}

/* Paket kartı — "Ek olarak" bloğu */
.plan-extras {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  margin-bottom: 2rem;
}
.plan-extras-label {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--teal-ink);
  margin-bottom: 1rem;
}
.plan-extras ul { margin: 0 !important; flex-grow: 0 !important; }
.plan-extras li { color: var(--ink) !important; font-weight: 500; }
.plan-featured .plan-extras { border-top-color: var(--line-dark); }
.plan-featured .plan-extras-label { color: var(--teal-bright); }
.plan-featured .plan-extras li { color: #fff !important; }
/* Ek blok varsa ana liste kartı itmesin */
.plan:has(.plan-extras) > ul { flex-grow: 0; margin-bottom: 1.5rem; }

/* ==========================================================================
   Paket kartı — katlanır özellik listesi
   Kapalıyken üç kart da 7 madde gösterir, yükseklikleri eşitlenir.
   ========================================================================== */

/* Açıklama satırı iki satıra sabitlenir ki kartlar piksel piksel eşitlensin */
.plan .plan-for {
  min-height: 2.9em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.plan li.plan-hidden { display: none; }
.plan.is-expanded li.plan-hidden { display: list-item; }

.plan-more {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  margin-bottom: 1.75rem;
  padding: 0;
  background: none;
  border: 0;
  font-family: var(--font);
  font-size: .88rem;
  font-weight: 600;
  color: var(--teal-ink);
  cursor: pointer;
  transition: color .2s ease;
}
.plan-more:hover { color: #0A5A54; }
.plan-more:hover .plan-more-text { text-decoration: underline; text-underline-offset: 3px; }
.plan-more-icon { transition: transform .3s ease; }
.plan-more[aria-expanded="true"] .plan-more-icon { transform: rotate(180deg); }

.plan-featured .plan-more { color: var(--teal-bright); }
.plan-featured .plan-more:hover { color: #6FF0E3; }

/* Katlanır liste varken ana liste alt boşluğunu düğmeye bırakır */
.plan > ul { margin-bottom: 1.25rem !important; }

/* ==========================================================================
   Başlangıç ve Pro kartları — logo yeşilinden türetilmiş yüzey
   var(--tint) = logo teal'i (#14A89C) beyaz üstüne %8 karıştırılmış hâli.
   Mürekkep metin 14.07:1 · soluk metin 4.88:1 · her ikisi de AA üstü.
   ========================================================================== */

.plan:not(.plan-featured) {
  background: var(--tint);
  border-color: var(--tint-line);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.plan:not(.plan-featured):hover {
  border-color: rgba(20, 168, 156, .55);
  box-shadow: 0 20px 48px -28px rgba(20, 168, 156, .55);
}
/* Kart içindeki ayraçlar da yeşil aileden olsun */
.plan:not(.plan-featured) .plan-price,
.plan:not(.plan-featured) .plan-extras {
  border-color: var(--tint-line);
}

/* ==========================================================================
   İLETİŞİM SAYFASI
   ========================================================================== */

/* --- Sayfa yolu --- */
.breadcrumb-bt {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .82rem;
  color: var(--text-muted);
  padding-top: 2rem;
  margin-bottom: 2.5rem;
}
.breadcrumb-bt a {
  display: inline-block;
  padding-block: .2rem;   /* dokunma hedefi 24px+ */
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumb-bt a:hover { color: var(--ink); }
.breadcrumb-bt span[aria-current] { color: var(--ink); font-weight: 500; }

/* --- Sayfa başlığı --- */
.page-hero {
  position: relative;
  /* Alt boşluk küçük: sonraki bölüm zaten kendi üst boşluğunu veriyor,
     ikisi üst üste binince başlıkla içerik arasında ölü alan kalıyordu. */
  padding-bottom: clamp(.75rem, 1.6vw, 1.5rem);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -35%; right: -12%;
  width: min(680px, 80vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(20, 168, 156, .10) 0%, rgba(20, 168, 156, 0) 68%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;   /* yan maddeler başlıkla aynı hizadan başlar */
}
@media (min-width: 992px) {
  .page-hero-inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr); }
}

/* h1..h5 genel kuralı margin:0 verdiği için sayfa başlıkları alt metne
   yapışıyordu; alt çizgi vurgusu paragrafa değiyordu. */
.page-hero-inner h1 { margin-bottom: 1.15rem; }

/* Yan madde listesi olmayan sayfa başlıkları: ızgara tek sütuna düşer,
   sağda hayalet sütun kalmaz. */
.page-hero-inner.tek-sutun { grid-template-columns: minmax(0, 1fr); }
.page-hero-inner.tek-sutun h1 { max-width: 52rem; }

.page-hero-points { list-style: none; margin: 0; padding: 0; }
/* Geniş ekranda liste, üstündeki etiket satırı + başlığın üst boşluğu kadar
   aşağı iner; böylece ilk çizgi h1'in tepesiyle aynı hizada başlar. */
@media (min-width: 992px) {
  .page-hero-points { margin-top: 3.05rem; }
}
.page-hero-points li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}
.page-hero-points li:last-child { border-bottom: 1px solid var(--line); }
.php-num {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--teal-ink);
}
.php-txt { font-size: .92rem; color: var(--text-muted); }

/* --- Yerleşim --- */
.contact-layout { display: grid; gap: clamp(2.5rem, 4vw, 3.5rem); }
@media (min-width: 992px) {
  .contact-layout { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; }
}

.contact-form-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
}

/* --- Form ızgarası --- */
.form-grid { display: grid; gap: 1.35rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.field-full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .55rem;
  letter-spacing: -.005em;
}
.field .req { color: var(--teal-ink); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: .8rem 1rem;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.55; }

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235F6D7C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
}

.field input::placeholder,
.field textarea::placeholder { color: #9AA6B2; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(18, 38, 63, .3); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--card);
  border-color: var(--teal-ink);
  box-shadow: 0 0 0 3px rgba(20, 168, 156, .18);
}

.field-hint {
  margin: .5rem 0 0;
  font-size: .82rem;
  color: var(--text-muted);
}
.field-error {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: .5rem 0 0;
  font-size: .82rem;
  font-weight: 500;
  color: var(--hata);
}
.field-error::before {
  content: "";
  width: 14px; height: 14px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--hata); }
.field.has-error input:focus,
.field.has-error select:focus,
.field.has-error textarea:focus { box-shadow: 0 0 0 3px rgba(192, 52, 43, .16); }

/* --- Onay kutusu --- */
.check-row {
  display: flex !important;
  align-items: flex-start;
  gap: .8rem;
  font-weight: 400 !important;
  font-size: .88rem !important;
  line-height: 1.55;
  color: var(--text-muted) !important;
  cursor: pointer;
  margin-bottom: 0 !important;
}
.check-row input[type="checkbox"] {
  width: 20px; height: 20px;
  min-height: 20px;
  margin: .12rem 0 0;
  flex-shrink: 0;
  accent-color: var(--teal-ink);
  cursor: pointer;
}
.check-row a { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 2px; }

/* --- Gönder --- */
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.form-fine { margin: 0; font-size: .82rem; color: var(--text-muted); }

.form-status {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-sm);
  font-size: .92rem;
  border: 1px solid;
}
.form-status.ok {
  background: rgba(20, 168, 156, .10);
  border-color: rgba(20, 168, 156, .35);
  color: var(--teal-ink);
}
.form-status.err {
  background: rgba(192, 52, 43, .07);
  border-color: rgba(192, 52, 43, .3);
  color: var(--hata);
}

/* --- Yan sütun --- */
.contact-aside { display: grid; gap: 1.25rem; }

.contact-card {
  background: var(--tint);
  border: 1px solid var(--tint-line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.1rem);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: .95rem 0;
  border-top: 1px solid rgba(20, 168, 156, .22);
  text-decoration: none;
  color: inherit;
  transition: color .2s ease;
}
.contact-item:first-of-type { border-top: 0; padding-top: 0; }
a.contact-item:hover .ci-value { color: var(--teal-ink); }
.ci-icon {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(20, 168, 156, .14);
  color: var(--teal-ink);
}
.ci-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .3rem;
}
.ci-value {
  display: block;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  transition: color .2s ease;
}

.contact-card-dark {
  background: var(--dark);
  border-color: var(--dark);
}
.after-steps { list-style: none; margin: 0; padding: 0; counter-reset: adim; }
.after-steps li {
  display: flex;
  gap: .9rem;
  padding: .85rem 0;
  border-top: 1px solid var(--line-dark);
  font-size: .92rem;
  color: #D3DDE7;
}
.after-steps li:first-child { border-top: 0; padding-top: 0; }
.after-steps li span {
  flex-shrink: 0;
  font-size: .78rem;
  font-weight: 700;
  color: var(--teal-bright);
  letter-spacing: .06em;
  padding-top: .12rem;
}
.after-note {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-dark);
  font-size: .82rem;
  color: var(--text-on-dark-m);
}

/* Menüde bulunulan sayfa */
.nav-links > li > a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-links > li > a[aria-current="page"]::after { width: 100%; background: var(--teal); }

/* ==========================================================================
   İletişim formu — kompakt ölçek
   Girdi yüksekliği 44px'in altına inmiyor (dokunma hedefi),
   yazı boyutu 16px'te kalıyor (iOS'ta odaklanınca sayfa yakınlaşmasın diye).
   ========================================================================== */

.contact-form-wrap { padding: clamp(1.4rem, 2.6vw, 2rem); }
.contact-form-wrap > h2 { font-size: clamp(1.25rem, 1.8vw, 1.4rem) !important; }

.form-grid { gap: 1rem; }

.field label { font-size: .84rem; margin-bottom: .4rem; }

.field input,
.field select,
.field textarea {
  min-height: 46px;
  padding: .6rem .85rem;
  border-radius: var(--r-xs);
}
.field textarea { min-height: 96px; }
.field select { padding-right: 2.5rem; background-position: right .85rem center; }

.field-hint, .field-error { margin-top: .35rem; font-size: .78rem; }

.check-row { font-size: .84rem !important; gap: .65rem; }
.check-row input[type="checkbox"] { width: 18px; height: 18px; min-height: 18px; }

.form-actions {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  gap: .75rem 1.25rem;
}
.form-actions .btn-bt { min-height: 46px; padding: .7rem 1.35rem; font-size: .93rem; }
.form-status { margin-top: 1.15rem; padding: .8rem 1rem; font-size: .88rem; }

/* ==========================================================================
   İletişim yerleşimi — iki sütunun altı aynı hizada bitsin
   Koyu kart artan yüksekliği yutar, alt notu kartın dibine yaslanır.
   ========================================================================== */
@media (min-width: 992px) {
  .contact-layout { align-items: stretch; }

  .contact-aside {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  .contact-card-dark {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }
  .contact-card-dark .after-steps { margin-bottom: 1.5rem; }
  .contact-card-dark .after-note { margin-top: auto; }
}

/* ==========================================================================
   Footer — sosyal medya ikonları
   ========================================================================== */

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
}

.social-link {
  display: grid;
  place-items: center;
  width: 44px;                 /* dokunma hedefi */
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--card);
  color: var(--text-muted);
  transition: color .22s ease, border-color .22s ease, background-color .22s ease, transform .22s ease;
}
.social-link:hover {
  color: var(--tersi-fg);
  background: var(--tersi-bg);
  border-color: var(--tersi-bg);
  transform: translateY(-2px);
}
.social-link:active { transform: translateY(0); }
.social-link svg { display: block; }

/* ==========================================================================
   HERO — kurumsal koyu kart
   Markanın teal'i açık zeminde metin olamıyor (2.95:1) ama koyu zeminde
   8.17:1 veriyor. Hero'yu koyuya almak markanın kendi doğasına uygun.
   ========================================================================== */

.hero-corp {
  padding-top: clamp(1rem, 2vw, 1.75rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: clamp(20px, 2.4vw, 34px);
  background: var(--dark);
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 4rem);
}
/* Sağ üstten inen ışık — kartın düz kalmasını engeller */
.hero-card::before {
  content: "";
  position: absolute;
  top: -45%; right: -12%;
  width: min(780px, 90%);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(46, 211, 196, .13) 0%, rgba(46, 211, 196, 0) 66%);
  pointer-events: none;
}
/* Alt kenarda ince teal vurgu */
.hero-card::after {
  content: "";
  position: absolute;
  left: 8%; right: 8%; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 211, 196, .45), transparent);
}

.hero-card-inner {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 992px) {
  .hero-card-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
}

/* --- Metin --- */
.hero-copy h1 {
  color: #fff;
  margin: 1.5rem 0 1.35rem;
}
.hero-copy h1 .accent { color: var(--teal-bright); }

.hero-lead {
  font-size: clamp(1.0625rem, 1.4vw, 1.18rem);
  line-height: 1.62;
  color: var(--text-on-dark-m);
  max-width: 32rem;
  margin: 0 0 2.25rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }

/* Referanstaki hap biçimli buton + halkalı ok */
.btn-pill { border-radius: var(--r-pill); padding-inline: 1.5rem; }
.btn-pill .btn-arrow {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  margin-left: .15rem;
  margin-right: -.45rem;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: .85;
}

/* Dikey rozetleri — sahte kullanıcı avatarı yerine dürüst bilgi */
.hero-verticals {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  margin: 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--line-dark);
}
.hero-verticals li {
  padding: .42rem .95rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-pill);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #C8D4E0;
}

/* --- Görsel --- */
.hero-visual { position: relative; }

/* Referanstaki eşmerkezli halkalar */
.hero-rings {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-rings span {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(46, 211, 196, .16);
}
.hero-rings span:nth-child(1) { width: 380px; height: 380px; }
.hero-rings span:nth-child(2) { width: 560px; height: 560px; border-color: rgba(46, 211, 196, .10); }
.hero-rings span:nth-child(3) { width: 760px; height: 760px; border-color: rgba(46, 211, 196, .06); }

.hero-corp .hero-frame {
  position: relative;
  border-color: rgba(255, 255, 255, .10);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .04);
}

/* Koyu kart üstünde rozet açık renk olmalı ki okunsun */
.rank-chip-light {
  background: #FFFFFF;
  color: var(--ink);
  box-shadow: 0 20px 44px -22px rgba(0, 0, 0, .65);
}
.rank-chip-light .rc-arrow { background: rgba(20, 168, 156, .14); color: var(--teal-ink); }
.rank-chip-light .rc-kw { color: var(--text-muted); }
.rank-chip-light .rc-val b { color: var(--teal-ink); }

/* --- Güven şeridi --- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem clamp(1.5rem, 3.5vw, 3rem);
  list-style: none;
  margin: clamp(2rem, 3.5vw, 3rem) 0 0;
  padding: 0;
}
.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .84rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}
.trust-strip svg { color: var(--teal-ink); flex-shrink: 0; }

/* Halkalar yalnızca iki sütunlu düzende — tek sütunda metnin üstünden geçiyorlar */
@media (max-width: 991px) {
  .hero-rings { display: none; }
}
@media (max-width: 575px) {
  .trust-strip { justify-content: flex-start; gap: .75rem 1.25rem; }
  .trust-strip li { font-size: .78rem; }
}

/* Hero kartı — sütun dengesi ve başlık ölçeği
   Kart içindeki sütun, sayfa genelindeki display-xl için dar kalıyor;
   başlığı kartın kendi genişliğine göre ölçeklendiriyoruz. */
@media (min-width: 992px) {
  .hero-card-inner { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
}
.hero-copy h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -.035em;
  text-wrap: balance;
}

/* Panel görseli kartın sağ kenarına taşsın — kart zaten overflow:hidden,
   temiz bir kırpma veriyor ve "ekranın devamı var" hissi yaratıyor. */
@media (min-width: 992px) {
  .hero-visual {
    margin-right: calc(-1 * clamp(1.5rem, 4vw, 4rem));
    margin-left: clamp(0rem, 1vw, 1rem);
  }
  .hero-corp .hero-frame { border-top-right-radius: var(--r-lg); border-bottom-right-radius: var(--r-lg); }
}

/* ==========================================================================
   Hizmet alanları — editoryal ızgara
   İnce çizgilerle bölünmüş hücreler; problem bölümüyle aynı dil.
   ========================================================================== */

.areas-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (min-width: 768px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }

.area {
  background: var(--card);
  padding: clamp(1.75rem, 3.2vw, 2.5rem);
  transition: background-color .3s ease;
}
.area:hover { background: #FCFEFE; }

.area-num {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
}

.area h3 {
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  letter-spacing: -.022em;
  margin-bottom: .65rem;
}
.area-accent { color: var(--teal-ink); }

.area p {
  margin: 0;
  font-size: .95rem;
  color: var(--text-muted);
  max-width: 30rem;
}

/* ==========================================================================
   MEGA MENÜ
   Renkler tamamen site paletinden: kırık beyaz panel, teal vurgu,
   koyu CTA kutusu. Hiçbir yeni renk eklenmedi.
   ========================================================================== */

.nav-links > li { position: static; }

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .7rem 0;
  background: none;
  border: 0;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: color .2s ease;
}
.nav-trigger::after {
  content: "";
  position: absolute;
  left: 0; bottom: .35rem;
  width: 0; height: 1.5px;
  background: var(--teal-ink);
  transition: width .25s ease;
}
.nav-trigger:hover,
.nav-trigger[aria-expanded="true"] { color: var(--ink); }
.nav-trigger:hover::after,
.nav-trigger[aria-expanded="true"]::after { width: calc(100% - 1.05rem); }

.nav-chevron { transition: transform .28s ease; opacity: .6; }
.nav-trigger[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); opacity: 1; }

/* --- Panel --- */
.mega {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 28px 60px -34px rgba(18, 38, 63, .40);
  z-index: 1040;
}
.mega[hidden] { display: none; }
.mega:not([hidden]) { animation: megaIn .22s cubic-bezier(.22,.61,.36,1); }
@keyframes megaIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mega:not([hidden]) { animation: none; } }

.mega-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 1.15fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  align-items: start;
}
.mega-grid-areas { grid-template-columns: 2.6fr 1.15fr; }

.mega-title {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--teal-ink);
  padding-bottom: .85rem;
  margin-bottom: .85rem;
  border-bottom: 1px solid var(--line);
}

/* Açıklamalı satır */
.mega-item {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: .7rem;
  margin-inline: -.7rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background-color .2s ease;
}
.mega-item strong {
  display: block;
  font-size: .93rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.012em;
  margin-bottom: .18rem;
  transition: color .2s ease;
}
.mega-item small {
  display: block;
  font-size: .8rem;
  line-height: 1.45;
  color: var(--text-muted);
}
.mega-item:hover { background: rgba(20, 168, 156, .07); }
.mega-item:hover strong { color: var(--teal-ink); }

.mega-ic {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--wash);
  color: var(--ink);
  transition: background-color .2s ease, color .2s ease;
}
.mega-item:hover .mega-ic { background: rgba(20, 168, 156, .14); color: var(--teal-ink); }

/* Sade bağlantı sütunu */
.mega-link {
  display: block;
  padding: .5rem 0;
  font-size: .9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s ease, padding-left .2s ease;
}
.mega-link:hover { color: var(--teal-ink); padding-left: .35rem; }

/* Ölçüm sütunu — gezinme değil, panelin kapsam listesi.
   Bağlantı gibi görünmemeli ki kullanıcı boşuna tıklamasın. */
.mega-liste { list-style: none; margin: 0; padding: 0; }
.mega-liste li {
  padding: .5rem 0;
  font-size: .9rem;
  line-height: 1.45;
  color: var(--text-muted);
}
.mega-alt-link {
  display: inline-flex; align-items: center; gap: .4rem;
  width: 100%;
  margin-top: .8rem; padding-top: .85rem;
  border-top: 1px solid var(--line);
  font-size: .85rem; font-weight: 600;
  color: var(--teal-ink);
  text-decoration: none;
  transition: gap .2s ease;
}
.mega-alt-link:hover { gap: .7rem; }
.mega-alt-link svg { flex: none; }

.mega-areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1.5rem; }

/* Koyu CTA kutusu — markanın teal'i burada parlıyor */
.mega-cta {
  display: block;
  background: var(--dark);
  border-radius: var(--r-md);
  padding: 1.5rem;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.mega-cta:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -22px rgba(11, 24, 38, .7); }
.mega-cta-label {
  display: inline-block;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: .9rem;
}
.mega-cta strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: .5rem;
}
.mega-cta p {
  font-size: .82rem;
  line-height: 1.5;
  color: var(--text-on-dark-m);
  margin: 0 0 1.25rem;
}
.mega-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--teal-bright);
}
.mega-cta:hover .mega-cta-btn { gap: .7rem; }
.mega-cta-btn svg { transition: transform .25s ease; }

/* ==========================================================================
   MOBİL MENÜ — akordeon
   ========================================================================== */

.m-nav { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.m-nav > li + li { border-top: 1px solid var(--line); }
.m-nav > li > a {
  display: block;
  padding: .95rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.m-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .95rem 0;
  background: none;
  border: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.m-icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.m-icon::before, .m-icon::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  background: var(--teal-ink);
  transform: translate(-50%, -50%);
  transition: transform .28s ease, opacity .28s ease;
}
.m-icon::before { width: 13px; height: 1.6px; }
.m-icon::after { width: 1.6px; height: 13px; }
.m-trigger[aria-expanded="true"] .m-icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }

.m-sub {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s ease;
}
.m-sub li a {
  display: block;
  padding: .7rem 0 .7rem 1rem;
  border-left: 2px solid var(--line);
  font-size: .95rem;
  color: var(--text-muted);
  text-decoration: none;
}
.m-sub li:last-child a { margin-bottom: .85rem; }
.m-sub li a:hover { color: var(--teal-ink); border-left-color: var(--teal); }

@media (prefers-reduced-motion: reduce) { .m-sub { transition: none; } }

/* ==========================================================================
   HAKKIMIZDA SAYFASI
   ========================================================================== */

/* Başlık solda, metin sağda — editoryal iki sütun */
.about-split { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 992px) {
  .about-split { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
}
.about-text p {
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.72;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  max-width: 38rem;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--ink); font-weight: 600; }

/* Kurucu + kurumsal bilgiler */
/* ---------- Ekip ---------- */
.ekip {
  list-style: none; margin: 0 0 clamp(1.4rem, 2.6vw, 1.9rem); padding: 0;
  display: grid; gap: clamp(.85rem, 1.5vw, 1.1rem);
}
@media (min-width: 576px) { .ekip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .ekip { grid-template-columns: repeat(4, 1fr); } }

.ekip-kart {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.ekip-kart:hover {
  transform: translateY(-3px);
  border-color: var(--tint-line);
  box-shadow: var(--shadow-md);
}

/* Fotoğraf alanı — fotoğraf yokken monogram panosu olarak durur */
.ekip-gorsel {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  overflow: hidden;
  background: var(--tint);
  border-bottom: 1px solid var(--line);
}
.ekip-gorsel img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 22%;   /* portrede yüz üst bölgede kalır */
  display: block;
  transition: transform .45s ease;
}
.ekip-kart:hover .ekip-gorsel img { transform: scale(1.035); }

.ekip-mono {
  font-size: clamp(1.55rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--teal-ink);
}
/* Kurucu ayrımı rol etiketiyle veriliyor; monogram panoları eşit kalır ki
   fotoğrafsız durumda ızgara dengeli görünsün. */

.ekip-metin { padding: clamp(1.25rem, 2.2vw, 1.6rem); }
.ekip-metin h3 {
  font-size: 1.05rem; font-weight: 600; letter-spacing: -.02em;
  color: var(--ink);
  margin: 0 0 .3rem;
}
.ekip-rol {
  display: block;
  font-size: .7rem; font-weight: 600;
  letter-spacing: var(--tracking-label); text-transform: uppercase;
  color: var(--teal-ink);
  margin-bottom: .85rem;
}
.ekip-metin p {
  margin: 0;
  font-size: .9rem; line-height: 1.65;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .ekip-kart, .ekip-gorsel img { transition: none; }
  .ekip-kart:hover { transform: none; }
  .ekip-kart:hover .ekip-gorsel img { transform: none; }
}

.ekip-not { margin: 0 0 clamp(1.6rem, 3vw, 2.2rem); }
.ic-placeholder {
  display: inline-block;
  padding: .15rem .5rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-xs);
  font-size: .8rem;
  color: var(--text-muted);
}

/* ---------- Kurumsal bilgiler şeridi ---------- */
.kurumsal {
  background: var(--tint);
  border: 1px solid var(--tint-line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.kurumsal > .label { margin-bottom: 1.5rem; }
.kurumsal dl { margin: 0; display: grid; gap: 1.15rem; }
@media (min-width: 768px) { .kurumsal dl { grid-template-columns: repeat(2, 1fr); gap: 1.3rem 1.6rem; } }
@media (min-width: 992px) { .kurumsal dl { grid-template-columns: repeat(5, 1fr); gap: 0; } }

.kurumsal dl > div {
  display: flex; flex-direction: column; gap: .45rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--tint-line);
}
.kurumsal dl > div:first-child { padding-top: 0; border-top: 0; }
@media (min-width: 768px) {
  .kurumsal dl > div:nth-child(2) { padding-top: 0; border-top: 0; }
}
@media (min-width: 992px) {
  .kurumsal dl > div {
    padding: 0 0 0 1.4rem;
    border-top: 0;
    border-left: 1px solid var(--tint-line);
  }
  .kurumsal dl > div:first-child { padding-left: 0; border-left: 0; }
  .kurumsal dl > div:nth-child(2) { padding-left: 1.4rem; }
}

.kurumsal dt {
  font-size: .7rem; font-weight: 700;
  letter-spacing: var(--tracking-label); text-transform: uppercase;
  color: var(--text-muted);
}
.kurumsal dd {
  margin: 0;
  font-size: .92rem; font-weight: 500; line-height: 1.5;
  color: var(--ink);
}
.kurumsal dd a { color: var(--teal-ink); text-decoration: none; }
.kurumsal dd a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   HİZMET SAYFASI — web sitesi tasarımı
   ========================================================================== */

/* Adres yapısı ağacı */
.url-tree {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.6vw, 1.9rem);
  font-size: .88rem;
}
.ut-root {
  display: block;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: .85rem;
  margin-bottom: .5rem;
  border-bottom: 1px solid var(--line);
  letter-spacing: -.01em;
}
.url-tree ul { list-style: none; margin: 0; padding: 0; }
.url-tree li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem;
  padding: .42rem 0;
  border-left: 2px solid transparent;
}
.url-tree li.ut-in { padding-left: 1.35rem; border-left-color: rgba(20, 168, 156, .35); }
.ut-p {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .84rem;
  color: var(--teal-ink);
  font-weight: 500;
}
.url-tree em { font-style: normal; font-size: .78rem; color: var(--text-muted); }
.ut-note {
  margin: 1.15rem 0 0;
  font-size: .88rem;
  color: var(--text-muted);
  max-width: 34rem;
}

/* Standartlar ızgarası */
.std-grid { display: grid; gap: 1px; background: var(--line);
            border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 640px) { .std-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .std-grid { grid-template-columns: repeat(3, 1fr); } }
.std { background: var(--card); padding: clamp(1.4rem, 2.6vw, 1.85rem); }
.std h3 { font-size: 1.02rem; margin-bottom: .5rem; letter-spacing: -.02em; }
.std p { margin: 0; font-size: .9rem; color: var(--text-muted); }
.std code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .82em;
  color: var(--kod);
  background: rgba(20, 168, 156, .09);
  padding: .08em .35em;
  border-radius: 4px;
}

/* Alan rozetleri */
.areas-mini { display: flex; flex-wrap: wrap; gap: .6rem; }
.areas-mini a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .55rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.areas-mini a:hover { background: var(--tersi-bg); border-color: var(--tersi-bg); color: var(--tersi-fg); }

/* Hizmet sayfasında hero CTA açık zeminde */
.page-hero .hero-cta { margin-bottom: 0; }

/* ==========================================================================
   HİZMET SAYFASI — sağlık SEO
   ========================================================================== */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* Kelime basamakları tablosu */
.kws-wrap {
  overflow-x: auto;                 /* dar ekranda tablo kendi içinde kaysın */
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
}
.kws-table { width: 100%; min-width: 620px; border-collapse: collapse; }
.kws-table th {
  text-align: left;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 1.15rem clamp(1rem, 2vw, 1.6rem);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.kws-table td {
  padding: 1.05rem clamp(1rem, 2vw, 1.6rem);
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
  color: var(--text-muted);
  vertical-align: middle;
}
.kws-table tbody tr:last-child td { border-bottom: 0; }
.kws-table tbody tr:hover { background: rgba(20, 168, 156, .04); }

.kws-tier {
  display: inline-block;
  padding: .28rem .7rem;
  border-radius: var(--r-pill);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  font-size: .76rem;
  font-weight: 600;
  color: var(--ink);
}
.kws-table code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .86em;
  color: var(--ink);
  font-weight: 500;
}

/* Rekabet çubuğu — renge ek olarak dolu/boş biçim de bilgi taşır */
.kws-bar { display: inline-flex; gap: 3px; margin-right: .5rem; vertical-align: -1px; }
.kws-bar i {
  width: 5px; height: 14px;
  border-radius: 2px;
  background: var(--line-strong);
  opacity: .35;
}
.kws-bar.kws-1 i:nth-child(1),
.kws-bar.kws-2 i:nth-child(-n+2),
.kws-bar.kws-3 i { background: var(--teal-ink); opacity: 1; }

.kws-ok  { color: var(--teal-ink); font-weight: 600; }
.kws-mid { color: var(--ink); font-weight: 500; }
.kws-no  { color: var(--hata); font-weight: 600; }

.kws-note {
  margin-top: 1.5rem;
  padding: 1.15rem 1.35rem;
  border-left: 3px solid var(--teal);
  background: rgba(20, 168, 156, .06);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .92rem;
  line-height: 1.62;
  color: var(--text-muted);
  max-width: 52rem;
}
.kws-note strong { color: var(--ink); }
.kws-note em { color: var(--teal-ink); font-style: normal; font-weight: 500; }

/* Adım akışı — hastanın sorularının sırası, soldan sağa.
   Yan sütun yok: bölüm başlığı üstte, akış tam genişlikte. Boşluk oluşmaz. */
.akis {
  list-style: none;
  margin: clamp(2rem, 3.5vw, 2.75rem) 0 0;
  padding: 0;
  display: grid;
  gap: clamp(1.6rem, 2.6vw, 2.1rem) clamp(1.25rem, 2.2vw, 1.9rem);
}
@media (min-width: 560px) { .akis { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .akis { grid-template-columns: repeat(5, 1fr); } }

.akis-adim { min-width: 0; }

/* Numara + ondan uzayan ince çizgi: sırayı ve yönü birlikte anlatır */
.akis-no {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .95rem;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--teal-ink);
}
.akis-no::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--tint-line), transparent);
}
/* Son adımın çizgisi tam söner — dizi burada bitiyor */
.akis-adim:last-child .akis-no::after {
  background: linear-gradient(90deg, var(--tint-line), transparent 65%);
}

.akis-adim h3 {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0 0 .45rem;
}
.akis-adim p {
  margin: 0;
  font-size: .89rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.about-text code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .84em;
  color: var(--kod);
  background: rgba(20, 168, 156, .09);
  padding: .08em .35em;
  border-radius: 4px;
}

/* Alan kartından ayrıntı sayfasına bağlantı */
.area-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  margin-top: .6rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--teal-ink);
  text-decoration: none;
}
.area-link svg { transition: transform .22s ease; }
.area-link:hover svg { transform: translateX(3px); }
.area-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   YASAL SAYFALAR ve 404
   ========================================================================== */

.legal-date {
  margin-top: 1.25rem;
  font-size: .82rem;
  color: var(--text-muted);
}

.legal { max-width: 46rem; }
.legal h2 {
  font-size: clamp(1.1rem, 1.7vw, 1.28rem);
  letter-spacing: -.02em;
  margin: 2.5rem 0 .85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal p {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text-muted);
  margin: 0 0 1rem;
}
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal ul { margin: 0 0 1.25rem; padding: 0; list-style: none; }
.legal li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: .6rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.legal li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
}

/* 404 */
.hata-kutu { max-width: 52rem; }
.hata-yol {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 2.5rem;
}
@media (min-width: 640px) { .hata-yol { grid-template-columns: repeat(2, 1fr); } }
.hata-kart {
  background: var(--card);
  padding: 1.35rem 1.5rem;
  text-decoration: none;
  transition: background-color .2s ease;
}
.hata-kart:hover { background: var(--tint); }
.hata-kart strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .25rem;
  letter-spacing: -.015em;
}
.hata-kart span { display: block; font-size: .88rem; color: var(--text-muted); }

/* Hesabı henüz açılmamış kanallar — görünür ama tıklanmaz */
.social-link.is-soon {
  color: rgba(95, 109, 124, .45);
  border-color: var(--wash);
  background: transparent;
  cursor: default;
}
.social-link.is-soon:hover {
  color: rgba(95, 109, 124, .45);
  background: transparent;
  border-color: var(--wash);
  transform: none;
}

/* ==========================================================================
   GALERİ
   ========================================================================== */

.galeri-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .galeri-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .galeri-grid { grid-template-columns: repeat(3, 1fr); } }

.galeri-grid figure {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.galeri-grid figure:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(20, 168, 156, .35);
}
.galeri-grid img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--line); }
.galeri-grid figcaption { padding: 1.15rem 1.35rem 1.35rem; }
.galeri-grid figcaption strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.018em;
  margin-bottom: .2rem;
}
.galeri-grid figcaption span { display: block; font-size: .86rem; color: var(--text-muted); }

/* Yazı üst bilgisi — yazı sayfasında da kullanılıyor */
.yazi-ust {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .85rem;
  font-size: .74rem; color: var(--text-muted); margin-bottom: .85rem;
}
.yazi-kategori { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); }
.yazi-ust time, .yazi-sure { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   BLOG — yazı sayfası
   ========================================================================== */

.yazi-icerik h2 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -.025em;
  margin: 2.75rem 0 .9rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.yazi-icerik h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.yazi-icerik h3 { font-size: 1.08rem; margin: 1.85rem 0 .6rem; letter-spacing: -.02em; }
.yazi-icerik p {
  font-size: 1.02rem; line-height: 1.75; color: var(--text-muted); margin: 0 0 1.1rem;
}
.yazi-icerik strong { color: var(--ink); font-weight: 600; }
.yazi-icerik em { color: var(--teal-ink); font-style: normal; font-weight: 500; }
.yazi-icerik code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .86em; color: var(--kod);
  background: rgba(20, 168, 156, .09);
  padding: .1em .4em; border-radius: 4px;
}
.yazi-icerik ul { margin: 0 0 1.35rem; padding: 0; list-style: none; }
.yazi-icerik li {
  position: relative; padding-left: 1.5rem; margin-bottom: .7rem;
  font-size: 1.02rem; line-height: 1.65; color: var(--text-muted);
}
.yazi-icerik li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--teal);
}
.yazi-kontrol {
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--teal);
  background: rgba(20, 168, 156, .06);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .95rem !important;
}

.yazi-cta {
  max-width: 42rem;
  margin-top: 3rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--tint);
  border: 1px solid var(--tint-line);
  border-radius: var(--r-lg);
}
.yazi-cta strong {
  display: block; font-size: 1.08rem; font-weight: 700;
  color: var(--ink); letter-spacing: -.02em; margin-bottom: .5rem;
}
.yazi-cta p { font-size: .93rem; color: var(--text-muted); margin: 0 0 1.35rem; }

.yazi-diger {
  max-width: 42rem; margin-top: 2.5rem; padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.yazi-diger .label { margin-bottom: 1rem; }
.yazi-diger a {
  display: block; padding: .85rem 0;
  font-size: 1rem; font-weight: 500; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color .2s ease, padding-left .2s ease;
}
.yazi-diger a:hover { color: var(--teal-ink); padding-left: .35rem; }

/* ==========================================================================
   BLOG YAZI SAYFASI — okuma deneyimi
   ========================================================================== */

/* --- Okuma ilerleme çubuğu --- */
.okuma-cubugu {
  position: sticky;
  top: 76px;                 /* sabit başlığın hemen altı */
  z-index: 1020;
  height: 2px;
  background: var(--wash);
}
.okuma-cubugu span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--teal-ink), var(--teal));
  transition: width .1s linear;
}
@media (prefers-reduced-motion: reduce) { .okuma-cubugu span { transition: none; } }

/* --- Yazı başlığı --- */
.yazi-basi .yazi-ust {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  font-size: .78rem;
}
.yazi-basi .yazi-kategori {
  padding: .3rem .75rem;
  border-radius: var(--r-pill);
  background: rgba(20, 168, 156, .12);
}
.yazi-basi h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.032em;
  text-wrap: balance;
}
.yazi-basi .lead-bt { font-size: clamp(1.05rem, 1.5vw, 1.22rem); }

/* --- Düzen ---
   Kapsayıcı site genelindekiyle aynı (1200px) → içerik logoyla aynı hizada
   başlar. Geniş ekranda sağda yapışkan bir yardımcı sütun açılır. */
.yazi-basi { max-width: var(--yazi-olcu); }
.yazi-icerik { max-width: var(--yazi-olcu); }
.yazi-duzen { display: block; }

@media (min-width: 1024px) {
  .yazi-duzen {
    display: grid;
    grid-template-columns: minmax(0, var(--yazi-olcu)) var(--yan-sutun);
    justify-content: space-between;
    gap: 3rem;
    align-items: start;
  }
}

/* Üst bilgi ile gövde arasındaki boşluk — kısaltıldı */
.yazi-sayfa .section-tight { padding-top: clamp(1.25rem, 2.2vw, 1.75rem); }

/* --- Yardımcı sütun --- */
.yazi-yan { display: grid; gap: 1rem; margin-top: 2.5rem; }
/* Dar ekranda yan sütun yazının ALTINA düşer: orada içindekiler işe yaramaz,
   demo kutusu da yazı sonundaki CTA ile tekrar eder. Yalnızca kısayollar kalır. */
@media (max-width: 1023.98px) {
  .yy-toc, .yy-demo { display: none; }
}
@media (min-width: 1024px) {
  .yazi-yan {
    position: sticky;
    top: 6rem;
    margin-top: 0;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
    scrollbar-width: thin;
  }
}
.yy-kutu {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.15rem 1.25rem;
  background: var(--card);
}
.yy-baslik {
  display: block;
  font-size: .68rem; font-weight: 700;
  letter-spacing: var(--tracking-label); text-transform: uppercase;
  color: var(--teal-ink);
  padding-bottom: .8rem; margin-bottom: .35rem;
  border-bottom: 1px solid var(--line);
}

/* İçindekiler */
.yy-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: bolum; }
.yy-toc li { counter-increment: bolum; }
.yy-toc a {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: .1rem;
  padding: .45rem 0;
  font-size: .85rem; line-height: 1.4;
  color: var(--text-muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: .6rem; margin-left: -.6rem;
  transition: color .2s ease, border-color .2s ease;
}
.yy-toc a::before {
  content: counter(bolum, decimal-leading-zero);
  font-size: .72rem; font-weight: 700;
  color: var(--line-strong);
  font-variant-numeric: tabular-nums;
}
.yy-toc a:hover { color: var(--teal-ink); }
.yy-toc a:hover::before { color: var(--teal-ink); }
.yy-toc a.etkin {
  color: var(--ink); font-weight: 600;
  border-left-color: var(--teal);
}
.yy-toc a.etkin::before { color: var(--teal-ink); }

/* Demo kutusu */
.yy-demo { background: var(--tint); border-color: var(--tint-line); }
.yy-demo strong {
  display: block;
  font-size: .98rem; letter-spacing: -.02em;
  color: var(--ink); margin-bottom: .4rem;
}
.yy-demo p { font-size: .85rem; line-height: 1.55; color: var(--text-muted); margin: 0 0 1rem; }
.yy-demo .btn-bt { width: 100%; justify-content: center; font-size: .88rem; padding: .6rem 1rem; }

/* Kısayollar */
.yy-kisayol a {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .6rem 0;
  font-size: .87rem;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color .2s ease, padding-left .2s ease;
}
.yy-kisayol a:last-child { border-bottom: 0; padding-bottom: 0; }
.yy-kisayol a::after {
  content: "→";
  font-size: .9em; color: var(--line-strong);
  transition: color .2s ease, transform .2s ease;
}
.yy-kisayol a:hover { color: var(--teal-ink); padding-left: .25rem; }
.yy-kisayol a:hover::after { color: var(--teal-ink); transform: translateX(2px); }

@media (prefers-reduced-motion: reduce) {
  .yy-toc a, .yy-kisayol a, .yy-kisayol a::after { transition: none; }
}

/* --- Kapak görseli --- */
.yazi-kapak { margin: 0 0 clamp(1.75rem, 3vw, 2.5rem); }
.yazi-kapak img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-alt);
}
:root[data-theme="dark"] .yazi-kapak img { filter: brightness(.88) saturate(.94); }

/* --- Gövde --- */
.yazi-ana { min-width: 0; }
.yazi-icerik h2 { scroll-margin-top: 130px; }
.yazi-icerik h3 { scroll-margin-top: 130px; }
.yazi-icerik > p:first-of-type { font-size: 1.08rem; }

/* İlk harften sonra gelen ilk paragrafa hafif vurgu */
.yazi-icerik p a { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; }

/* Kontrol kutusu — daha belirgin */
.yazi-kontrol {
  display: block;
  margin: 1.5rem 0 1.35rem;
  padding: 1.1rem 1.35rem;
  border: 1px solid var(--tint-line);
  border-left: 3px solid var(--teal);
  background: var(--tint);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.yazi-kontrol strong { color: var(--teal-ink); }

/* Başlık bağlantı işareti */
.baslik-capa {
  margin-left: .45rem;
  font-size: .7em;
  color: var(--line-strong);
  text-decoration: none;
  opacity: 0;
  transition: opacity .2s ease, color .2s ease;
}
.yazi-icerik h2:hover .baslik-capa { opacity: 1; }
.baslik-capa:hover { color: var(--teal-ink); }
@media (hover: none) { .baslik-capa { display: none; } }


/* Yazı içi görsel */
.yazi-gorsel {
  margin: 2.25rem 0;
  /* metin sütununu aşıp nefes alsın */
  width: 100%;
}
.yazi-gorsel img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg);
}
.yazi-gorsel figcaption {
  margin-top: .9rem;
  padding-left: .1rem;
  font-size: .86rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.plans-more { text-align: center; margin: 1.25rem 0 0; }
.plans-more a {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .92rem; font-weight: 600;
  color: var(--teal-ink); text-decoration: none;
  transition: gap .2s ease;
}
.plans-more a:hover { gap: .7rem; text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================================
   PAKETLER SAYFASI
   ========================================================================== */

/* Her pakette standart olanlar */
.standart-liste {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .85rem 2rem;
}
@media (min-width: 576px) { .standart-liste { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .standart-liste { grid-template-columns: repeat(4, 1fr); } }
.standart-liste li {
  display: grid; grid-template-columns: 1.35rem 1fr; align-items: start; gap: .55rem;
  padding: .85rem 0;
  border-top: 1px solid var(--line);
  font-size: .93rem; line-height: 1.5;
  color: var(--ink);
}
.standart-liste svg { color: var(--teal-ink); margin-top: .15rem; }

/* Sözleşme koşulları */
.kosullar { margin: 0; display: grid; gap: 0; }
@media (min-width: 768px) { .kosullar { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; } }
.kosul {
  display: grid; gap: .3rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}
.kosul dt {
  font-size: .7rem; font-weight: 700;
  letter-spacing: var(--tracking-label); text-transform: uppercase;
  color: var(--text-muted);
}
.kosul dd { margin: 0; }
.kosul-deger {
  display: block;
  font-size: 1.02rem; font-weight: 600; letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: .25rem;
}
.kosul-deger em { font-style: normal; font-weight: 500; color: var(--teal-ink); }
.kosul-not { display: block; font-size: .88rem; line-height: 1.55; color: var(--text-muted); }

/* Pakete dahil olan / ayrı fiyatlanan ayrımı */
.ayrim { display: grid; gap: clamp(1rem, 2vw, 1.4rem); }
@media (min-width: 768px) { .ayrim { grid-template-columns: repeat(2, 1fr); } }
.ayrim-kol {
  padding: clamp(1.4rem, 2.6vw, 1.85rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.ayrim-vurgu { background: var(--tint); border-color: var(--tint-line); }
.ayrim-etiket {
  display: block;
  font-size: .7rem; font-weight: 700;
  letter-spacing: var(--tracking-label); text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .9rem;
}
.ayrim-vurgu .ayrim-etiket { color: var(--teal-ink); }
.ayrim-kol h3 {
  font-size: 1.05rem; font-weight: 600; letter-spacing: -.02em;
  color: var(--ink);
  margin: 0 0 .5rem;
}
.ayrim-kol p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--text-muted); }

/* Mevzuat: paylaşılır / paylaşılmaz */
.mevzuat { display: grid; gap: clamp(1rem, 2vw, 1.4rem); }
@media (min-width: 768px) { .mevzuat { grid-template-columns: repeat(2, 1fr); } }

.mvz {
  padding: clamp(1.4rem, 2.6vw, 1.85rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.mvz-olur { border-color: var(--tint-line); }
.mvz-baslik {
  display: block;
  font-size: .7rem; font-weight: 700;
  letter-spacing: var(--tracking-label); text-transform: uppercase;
  padding-bottom: .9rem; margin-bottom: .35rem;
  border-bottom: 1px solid var(--line);
}
.mvz-olur .mvz-baslik { color: var(--teal-ink); }
.mvz-olmaz .mvz-baslik { color: var(--text-muted); }

.mvz ul { list-style: none; margin: 0; padding: 0; }
.mvz li {
  display: grid; grid-template-columns: 1.35rem 1fr; gap: .6rem;
  align-items: start;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .93rem; line-height: 1.5;
}
.mvz li:last-child { border-bottom: 0; padding-bottom: 0; }
.mvz-olur li { color: var(--ink); }
.mvz-olur svg { color: var(--teal-ink); margin-top: .1rem; }
.mvz-olmaz li { color: var(--text-muted); }
.mvz-olmaz svg { color: var(--line-strong); margin-top: .1rem; }

.mevzuat-not {
  margin: clamp(1.4rem, 2.6vw, 1.9rem) 0 0;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  max-width: 46rem;
  font-size: .93rem; line-height: 1.65;
  color: var(--text-muted);
}
.mevzuat-not strong { color: var(--ink); font-weight: 600; }

/* Ek hizmetler */
.ek-hizmetler { display: grid; gap: clamp(.85rem, 1.5vw, 1.1rem); }
@media (min-width: 640px) { .ek-hizmetler { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ek-hizmetler { grid-template-columns: repeat(5, 1fr); } }

.ek-kart {
  display: flex; flex-direction: column;
  padding: clamp(1.35rem, 2.4vw, 1.7rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.ek-kart:hover {
  transform: translateY(-3px);
  border-color: var(--tint-line);
  box-shadow: var(--shadow-sm);
}
.ek-ikon {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--tint);
  border: 1px solid var(--tint-line);
  color: var(--teal-ink);
  margin-bottom: 1.1rem;
}
.ek-kart h3 {
  font-size: 1.02rem; font-weight: 600; letter-spacing: -.02em;
  color: var(--ink);
  margin: 0 0 .5rem;
}
.ek-kart p a { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; }
.ek-kart p {
  margin: 0;
  font-size: .89rem; line-height: 1.6;
  color: var(--text-muted);
}

.ek-not {
  margin: clamp(1.5rem, 3vw, 2rem) 0 0;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  font-size: .93rem; line-height: 1.65;
  color: var(--text-muted);
  max-width: 46rem;
}
.ek-not a {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-left: .35rem;
  font-weight: 600; color: var(--teal-ink); text-decoration: none;
  transition: gap .2s ease;
}
.ek-not a:hover { gap: .65rem; text-decoration: underline; text-underline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  .ek-kart, .ek-not a { transition: none; }
  .ek-kart:hover { transform: none; }
}

/* ==========================================================================
   YAZI İÇİ SSS — <details> ile, JavaScript gerektirmez
   ========================================================================== */

.sss-liste { border-top: 1px solid var(--line); margin-top: 1.25rem; }
.sss-liste details { border-bottom: 1px solid var(--line); }
.sss-liste summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.1rem 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color .2s ease;
}
.sss-liste summary::-webkit-details-marker { display: none; }
.sss-liste summary::after {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: .2rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  color: var(--teal-ink);
  transition: transform .28s ease;
}
.sss-liste details[open] summary::after { transform: rotate(45deg); }
.sss-liste summary:hover { color: var(--teal-ink); }
.sss-liste details p {
  margin: 0;
  padding: 0 3rem 1.35rem 0;
  font-size: .97rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ==========================================================================
   GALERİ — albüm kartları
   ========================================================================== */

.galeri-albumler { display: grid; gap: 1.5rem; }
@media (min-width: 640px)  { .galeri-albumler { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .galeri-albumler { grid-template-columns: repeat(3, 1fr); } }

.galeri-kart {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.galeri-kart:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(20,168,156,.35); }

.gk-gorsel { position: relative; display: block; overflow: hidden; border-bottom: 1px solid var(--line); }
.gk-gorsel img { display: block; width: 100%; height: auto; transition: transform .45s cubic-bezier(.22,.61,.36,1); }
.galeri-kart:hover .gk-gorsel img { transform: scale(1.035); }
.gk-sayi {
  position: absolute; right: .85rem; bottom: .85rem;
  padding: .3rem .7rem;
  border-radius: var(--r-pill);
  background: rgba(11, 24, 38, .82);
  color: #fff;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.gk-alt { display: block; padding: 1.15rem 1.35rem 1.35rem; }
.gk-alt strong {
  display: block; font-size: 1rem; font-weight: 600;
  color: var(--ink); letter-spacing: -.018em; margin-bottom: .2rem;
}
.gk-alt > span { display: block; font-size: .86rem; color: var(--text-muted); }
.gk-ok {
  display: inline-flex !important; align-items: center; gap: .4rem;
  margin-top: .9rem; font-size: .84rem; font-weight: 600; color: var(--teal-ink) !important;
  transition: gap .25s ease;
}
.galeri-kart:hover .gk-ok { gap: .65rem; }

/* ==========================================================================
   ALBÜM SAYFASI
   ========================================================================== */

.albm-meta {
  margin-top: 1.25rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal-ink);
}

.albm-izgara { display: grid; gap: 1.25rem; }
@media (min-width: 700px)  { .albm-izgara { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .albm-izgara { grid-template-columns: repeat(3, 1fr); } }

.albm-kare {
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  overflow: hidden;
  cursor: zoom-in;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.albm-kare:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(20,168,156,.35); }
.albm-kare img { display: block; width: 100%; height: auto; }
.albm-etiket {
  position: absolute; left: .75rem; bottom: .75rem;
  padding: .3rem .7rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  font-size: .74rem; font-weight: 600; color: var(--ink);
  backdrop-filter: blur(6px);
}

.albm-gezinme {
  display: grid; gap: 1rem;
  align-items: center;
  margin-top: 2.5rem; padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 768px) { .albm-gezinme { grid-template-columns: 1fr auto 1fr; } }
.albm-gezinme a { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.albm-gezinme small {
  display: block; font-size: .7rem; font-weight: 700;
  letter-spacing: var(--tracking-label); text-transform: uppercase;
  color: var(--text-muted); margin-bottom: .15rem;
}
.albm-onceki, .albm-sonraki { font-size: .95rem; font-weight: 600; }
.albm-sonraki { justify-self: end; text-align: right; }
.albm-gezinme a:hover { color: var(--teal-ink); }
.albm-tumu {
  justify-self: center;
  padding: .6rem 1.2rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: .88rem; font-weight: 600;
}
.albm-tumu:hover { background: var(--tersi-bg); border-color: var(--tersi-bg); color: var(--tersi-fg) !important; }

/* --- Büyütme katmanı --- */
.isik-kutusu {
  position: fixed; inset: 0; z-index: 2000;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(.5rem, 2vw, 1.5rem);
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(6, 16, 25, .93);
  backdrop-filter: blur(8px);
  animation: ikAc .2s ease;
}
.isik-kutusu[hidden] { display: none; }
@keyframes ikAc { from { opacity: 0 } to { opacity: 1 } }
@media (prefers-reduced-motion: reduce) { .isik-kutusu { animation: none; } }

.ik-cerceve { margin: 0; min-width: 0; text-align: center; }
.ik-cerceve img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 10rem);
  margin: 0 auto;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.8);
}
.ik-cerceve figcaption { margin-top: 1rem; font-size: .88rem; color: #C8D4E0; }

.ik-kapat, .ik-ok {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.ik-kapat:hover, .ik-ok:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); }
.ik-kapat { position: absolute; top: clamp(1rem,3vw,2rem); right: clamp(1rem,3vw,2rem); }
@media (max-width: 575px) {
  .isik-kutusu { grid-template-columns: 1fr; }
  .ik-ok { position: absolute; bottom: 1.5rem; }
  .ik-onceki { left: 25%; }
  .ik-sonraki { right: 25%; }
}

/* ==========================================================================
   BLOG LİSTESİ — ızgara
   Kart: 1200×800 görsel → başlık → özet. Kategori, tarih ve buton yok.
   ========================================================================== */

.yazi-izgara { display: grid; gap: 3rem 1.75rem; }
@media (min-width: 700px)  { .yazi-izgara { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .yazi-izgara { grid-template-columns: repeat(3, 1fr); } }

.yazi-kart { min-width: 0; }
.yazi-kart a { display: block; text-decoration: none; }

.yk-gorsel {
  display: block;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  margin-bottom: 1.35rem;
}
.yk-gorsel img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;         /* 1200×800 */
  object-fit: cover;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}
.yazi-kart a:hover .yk-gorsel img { transform: scale(1.04); }

.yazi-kart h2 {
  font-size: clamp(1.08rem, 1.5vw, 1.26rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: .7rem;
  transition: color .2s ease;
  text-wrap: balance;
}
.yazi-kart a:hover h2 { color: var(--teal-ink); }

.yazi-kart p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.62;
  color: var(--text-muted);
}

/* ==========================================================================
   TAKVİM — yatay yol haritası
   Dört durak bir ray üzerinde; sağa gittikçe beklenen hareket artar.
   ========================================================================== */

.takvim { position: relative; }

/* Duraklardan geçen ray */
.tk-ray {
  display: none;
  position: absolute;
  left: 0; right: 0; top: 11px;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(20,168,156,.14) 0%,
    rgba(20,168,156,.40) 40%,
    var(--teal) 100%);
  border-radius: 2px;
}
@media (min-width: 900px) { .tk-ray { display: block; } }

.tk-adimlar {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2.25rem 1.5rem;
}
@media (min-width: 900px) { .tk-adimlar { grid-template-columns: repeat(4, 1fr); } }

.tk-adim {
  position: relative;
  padding-top: 2.5rem;
  padding-left: 1.85rem;
  border-left: 2px solid var(--line);
}
@media (min-width: 900px) { .tk-adim { padding-left: 0; border-left: 0; } }

/* Ray üstündeki durak noktası */
.tk-nokta {
  position: absolute;
  left: -7px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--teal);
  box-shadow: 0 0 0 5px var(--bg);
}
@media (min-width: 900px) { .tk-nokta { left: 0; top: 4px; } }
.tk-adim:last-child .tk-nokta { background: var(--teal); }

/* Solda soluk sıra numarası */
.tk-sira {
  position: absolute;
  right: 0; top: 0;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--ink);
  opacity: .06;
  pointer-events: none;
}

.tk-ay {
  display: inline-block;
  padding: .3rem .8rem;
  margin-bottom: .9rem;
  border: 1px solid rgba(20, 168, 156, .35);
  border-radius: var(--r-pill);
  background: var(--tint);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-ink);
  font-variant-numeric: tabular-nums;
}

.tk-adim h3 {
  font-size: 1.05rem;
  letter-spacing: -.022em;
  margin-bottom: .55rem;
}
.tk-adim p {
  margin: 0 0 1.1rem;
  font-size: .91rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Beklenen hareket göstergesi — sağa gittikçe dolar */
.tk-seviye { display: flex; gap: 4px; }
.tk-seviye i {
  width: 26px; height: 4px;
  border-radius: 2px;
  background: var(--line-strong);
  opacity: .3;
}
.tk-seviye i.dolu { background: var(--teal); opacity: 1; }

.tk-dipnot {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 2.25rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--text-muted);
}
.tk-dipnot span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ==========================================================================
   SÜREÇ AKIŞI — dört adım, aralarında yön oku
   Her adımda o aşamada ne teslim edildiği de yazar.
   ========================================================================== */

.surec {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px)  { .surec { grid-template-columns: repeat(2, 1fr); gap: 2rem 2.5rem; } }
@media (min-width: 1024px) { .surec { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; } }

.sr-adim {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.6vw, 1.85rem);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.sr-adim:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(20, 168, 156, .35);
}

/* Üst satır: ikon solda, sıra numarası sağda */
.sr-ust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}
.sr-ikon {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: var(--tint);
  border: 1px solid var(--tint-line);
  color: var(--teal-ink);
  transition: background-color .3s ease, color .3s ease;
}
.sr-adim:hover .sr-ikon { background: var(--teal-ink); color: #fff; border-color: var(--teal-ink); }
.sr-no {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--ink);
  opacity: .12;
  font-variant-numeric: tabular-nums;
  transition: opacity .3s ease, color .3s ease;
}
.sr-adim:hover .sr-no { opacity: .5; color: var(--teal-ink); }

.sr-adim h3 { font-size: 1.05rem; letter-spacing: -.022em; margin-bottom: .55rem; }
.sr-adim p {
  margin: 0 0 1.35rem;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--text-muted);
  flex-grow: 1;
}

/* Adımın çıktısı */
.sr-cikti {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding-top: .95rem;
  border-top: 1px dashed var(--line-strong);
  font-size: .82rem;
  font-weight: 600;
  color: var(--teal-ink);
}
.sr-cikti svg { flex-shrink: 0; }

/* Adımlar arası yön oku */
.sr-ok {
  display: none;
  position: absolute;
  right: -1.55rem; top: 2.35rem;
  width: 22px; height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--text-muted);
}
@media (min-width: 1024px) { .sr-ok { display: grid; } }

/* ==========================================================================
   İKİLİ BÖLÜM — solda metin, sağda görsel + üzerine taşan kart
   ========================================================================== */

.ikili { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 992px) { .ikili { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }

.ikili-metin .label { margin-bottom: 1.25rem; }
.ikili-metin h2 { margin-bottom: 1.35rem; }

/* Vurgu kelimesi — sistem serifi, indirilecek ek dosya yok */
.vurgu-italik {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--teal-ink);
  letter-spacing: -.01em;
  padding-right: .08em;
}

.ikili-metin p {
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  line-height: 1.72;
  color: var(--text-muted);
  margin: 0 0 1.1rem;
  max-width: 34rem;
}
.ikili-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* --- Görsel tarafı --- */
.ikili-gorsel { position: relative; }
.ig-cerceve {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--card);
}
.ig-cerceve img { display: block; width: 100%; height: auto; }

/* Görselin üzerine taşan bilgi kartı */
.ig-kart {
  position: relative;
  margin: -2.5rem 1.25rem 0 auto;
  max-width: 17rem;
  padding: 1.15rem 1.35rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 22px 48px -24px rgba(18, 38, 63, .35);
}
@media (min-width: 992px) {
  .ig-kart {
    position: absolute;
    left: -1.75rem; bottom: -1.75rem;
    margin: 0;
  }
}
.igk-baslik {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--teal-ink);
  padding-bottom: .7rem;
  margin-bottom: .7rem;
  border-bottom: 1px solid var(--line);
}
.ig-kart ul { list-style: none; margin: 0; padding: 0; }
.ig-kart li {
  position: relative;
  padding-left: 1.3rem;
  font-size: .86rem;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
}
.ig-kart li + li { margin-top: .5rem; }
.ig-kart li::before {
  content: "";
  position: absolute;
  left: 0; top: .35em;
  width: 13px; height: 13px;
  background: var(--teal-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ==========================================================================
   KARANLIK MOD
   Tüm renkler ölçülerek seçildi (WCAG AA):
   ana metin 15.9:1 · soluk metin 8.4:1 · teal link 9.8:1 · buton 9.0:1
   ========================================================================== */

:root[data-theme="dark"] {
  color-scheme: dark;

  /* Yüzeyler */
  --bg:             #0A1622;
  --bg-alt:         #0E1E2D;
  --card:           #101F2E;
  /* Koyu bantlar karanlıkta sayfadan AÇIK olur ki hâlâ ayrışsınlar */
  --dark:           #16293C;
  --dark-2:         #1C3448;

  /* Metin */
  --ink:            #E9F0F6;
  --text:           #E9F0F6;
  --text-muted:     #9FB2C4;
  --text-on-dark:   #FFFFFF;
  --text-on-dark-m: #A9BACB;

  /* Vurgu: açık zeminde koyu teal, koyu zeminde parlak teal */
  --teal-ink:       #2ED3C4;

  /* Çizgiler */
  --line:           rgba(255, 255, 255, .10);
  --line-strong:    rgba(255, 255, 255, .22);
  --line-dark:      rgba(255, 255, 255, .14);

  /* Tema duyarlı yüzeyler */
  --tint:           rgba(46, 211, 196, .08);
  --tint-line:      rgba(46, 211, 196, .24);
  --wash:           rgba(255, 255, 255, .06);
  --header-bg:      rgba(10, 22, 34, .80);
  --header-bg-scr:  rgba(10, 22, 34, .94);
  --tersi-bg:       #E9F0F6;
  --tersi-fg:       #0A1622;
  --dugme-bg:       #2ED3C4;
  --dugme-fg:       #06202B;
  --dugme-bg-hover: #63E4D8;
  --hata:           #F2857C;
  --kod:            #5EEAD4;
  --footer-bg:      #0C1D28;
  --footer-line:    rgba(255, 255, 255, .10);

  /* Gölge karanlıkta siyah olmalı */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .30), 0 8px 24px -14px rgba(0, 0, 0, .55);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, .30), 0 20px 48px -24px rgba(0, 0, 0, .70);

  --bs-body-bg: var(--bg);
  --bs-body-color: var(--text);
  --bs-link-color: var(--teal-ink);
  --bs-emphasis-color: var(--ink);
}

/* --- Karanlıkta düzeltilmesi gereken tekil yerler --- */

/* Zaten koyu olan kutular sayfadan ayrışsın diye ince çerçeve alır */
:root[data-theme="dark"] .hero-card,
:root[data-theme="dark"] .cta-box,
:root[data-theme="dark"] .plan-featured,
:root[data-theme="dark"] .mega-cta,
:root[data-theme="dark"] .contact-card-dark,
:root[data-theme="dark"] .feature-accent { border: 1px solid rgba(255, 255, 255, .10); }

/* Koyu vurgu kartı: aydınlıkta lacivert dolgu, karanlıkta yükseltilmiş koyu yüzey */
:root[data-theme="dark"] .feature-accent { background: var(--dark); border-color: rgba(255, 255, 255, .10); }

/* Koyu bandın üstündeki açık rozet artık ters çalışmalı */
:root[data-theme="dark"] .rank-chip-light {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
:root[data-theme="dark"] .rank-chip-light .rc-arrow { background: rgba(46, 211, 196, .16); color: var(--teal-bright); }
:root[data-theme="dark"] .rank-chip-light .rc-val b { color: var(--teal-bright); }

/* Ekran görüntüsü SVG'leri açık zeminli — karanlıkta göz almasın */
:root[data-theme="dark"] .hero-frame img,
:root[data-theme="dark"] .galeri-kart img,
:root[data-theme="dark"] .albm-kare img,
:root[data-theme="dark"] .ig-cerceve img,
:root[data-theme="dark"] .yazi-gorsel img { filter: brightness(.88) saturate(.94); }

/* Albüm etiketi ve galeri sayacı */
:root[data-theme="dark"] .albm-etiket { background: rgba(16, 31, 46, .92); color: var(--ink); border-color: var(--line-strong); }

/* Rekabet çubuklarının boş halkaları karanlıkta görünür kalsın */
:root[data-theme="dark"] .kws-bar i,
:root[data-theme="dark"] .tk-seviye i { background: rgba(255, 255, 255, .22); opacity: .5; }
:root[data-theme="dark"] .kws-bar.kws-1 i:nth-child(1),
:root[data-theme="dark"] .kws-bar.kws-2 i:nth-child(-n+2),
:root[data-theme="dark"] .kws-bar.kws-3 i,
:root[data-theme="dark"] .tk-seviye i.dolu { background: var(--teal-bright); opacity: 1; }

/* Kod ve vurgu blokları */
:root[data-theme="dark"] .std code,
:root[data-theme="dark"] .yazi-icerik code,
:root[data-theme="dark"] .about-text code { background: rgba(46, 211, 196, .14); }

/* Form alanları */
:root[data-theme="dark"] .field input,
:root[data-theme="dark"] .field select,
:root[data-theme="dark"] .field textarea { background: var(--bg-alt); color: var(--ink); }
:root[data-theme="dark"] .field input::placeholder,
:root[data-theme="dark"] .field textarea::placeholder { color: #7C8EA0; }
:root[data-theme="dark"] .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239FB2C4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

/* Nabız ayracı ve dekoratif çizgiler */
:root[data-theme="dark"] .pulse-line { background: var(--line-strong); }

/* ==========================================================================
   TEMA DÜĞMESİ
   ========================================================================== */

.tema-dugme {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.tema-dugme:hover { color: var(--ink); border-color: var(--ink); background: var(--wash); }
.tema-dugme svg { display: block; transition: transform .35s cubic-bezier(.22,.61,.36,1), opacity .2s ease; }
.tema-dugme .td-ay { display: none; }

:root[data-theme="dark"] .tema-dugme .td-gunes { display: none; }
:root[data-theme="dark"] .tema-dugme .td-ay { display: block; }

@media (prefers-reduced-motion: reduce) { .tema-dugme svg { transition: none; } }

/* Geçiş sırasında renkler yumuşak değişsin */
.tema-gecisi,
.tema-gecisi *,
.tema-gecisi *::before,
.tema-gecisi *::after {
  transition: background-color .28s ease, border-color .28s ease, color .28s ease !important;
}
@media (prefers-reduced-motion: reduce) {
  .tema-gecisi, .tema-gecisi *, .tema-gecisi *::before, .tema-gecisi *::after { transition: none !important; }
}
