@charset "UTF-8";
/*!
 * BiSosyalMedya — Tasarım Sistemi
 * Bootstrap 5 üzerine binen marka katmanı. Tek kaynak: bu dosya.
 *
 * İçindekiler
 *   1. Tokenlar (renk, tipografi, boşluk, yarıçap, gölge)
 *   2. Karanlık tema
 *   3. Temel / erişilebilirlik
 *   4. Tipografi ölçeği
 *   5. Yerleşim (container, section, grid)
 *   6. Butonlar
 *   7. Kartlar
 *   8. Form elemanları
 *   9. Başlık (navbar) ve mobil menü
 *  10. Footer
 *  11. Bileşenler (hero, istatistik, paket, SSS, referans, adım, rozet)
 *  12. Yardımcılar
 *  13. Hareket azaltma / yazdırma
 */

/* ══════════════════════════════════════════════════════════════════
   1. TOKENLAR
   ══════════════════════════════════════════════════════════════════ */
:root {
  /* Marka — logodaki mavi→mor→macenta→mercan→kehribar tayfından türetildi */
  --brand-blue:    #3b5bdb;
  --brand-violet:  #5b3df5;
  --brand-magenta: #e5177b;
  --brand-coral:   #f4553d;
  --brand-amber:   #f9a825;

  /* Anlamsal roller — tayfın tamamı değil, iki güçlü renk taşır */
  --primary:        #5b3df5;
  --primary-hover:  #4a2ee0;
  --primary-soft:   #eeeaff;
  --primary-border: #d9d0ff;

  --accent:        #e5177b;   /* dönüşüm rengi: birincil CTA */
  --accent-hover:  #c8106a;
  --accent-soft:   #fdeaf3;

  --success: #12805c;
  --success-soft: #e6f6f0;
  --warning: #a86400;
  --warning-soft: #fdf3e2;
  --danger:  #c92a2a;
  --danger-soft: #fdecec;

  /* Nötrler — hafif mor kırıklı, saf gri değil */
  --ink-900: #12121f;
  --ink-800: #1e1e30;
  --ink-700: #33334d;
  --ink-600: #4a4a68;
  --ink-500: #6b6b85;
  --ink-400: #9494a8;
  --ink-300: #c7c7d4;
  --ink-200: #e4e4ed;
  --ink-100: #f1f1f6;
  --ink-050: #f8f8fb;
  --white:   #ffffff;

  /* Yüzeyler */
  --surface:        var(--white);
  --surface-sunken: var(--ink-050);
  --surface-raised: var(--white);
  --border:         var(--ink-200);
  --border-strong:  var(--ink-300);

  /* Metin */
  --text:        var(--ink-900);
  --text-muted:  var(--ink-600);
  --text-subtle: var(--ink-500);
  --text-invert: var(--white);

  /* Tipografi */
  --font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Akışkan ölçek — mobilde küçülür, masaüstünde büyür, ara adım gerekmez */
  --fs-xs:   0.8125rem;                              /* 13px */
  --fs-sm:   0.875rem;                               /* 14px */
  --fs-base: 1rem;                                   /* 16px */
  --fs-md:   1.0625rem;                              /* 17px */
  --fs-lg:   clamp(1.125rem, 0.30vw + 1.06rem, 1.25rem);
  --fs-xl:   clamp(1.25rem, 0.55vw + 1.14rem, 1.5rem);
  --fs-2xl:  clamp(1.5rem,  1.05vw + 1.28rem, 1.875rem);
  --fs-3xl:  clamp(1.75rem, 1.85vw + 1.36rem, 2.5rem);
  --fs-4xl:  clamp(2.125rem, 3.1vw + 1.48rem, 3.25rem);
  --fs-5xl:  clamp(2.5rem,  4.6vw + 1.54rem, 4rem);

  --lh-tight: 1.12;
  --lh-snug:  1.28;
  --lh-base:  1.65;

  --tracking-tight: -0.022em;
  --tracking-wide:  0.02em;

  /* Boşluk ölçeği (4px tabanlı) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --space-11: 6rem;

  /* Bölüm dikey boşluğu — mobil ve masaüstü arasında akışkan */
  --section-y: clamp(2.75rem, 5.5vw, 5.5rem);

  /* Container */
  --container: 1200px;
  --container-narrow: 820px;
  --gutter: clamp(1rem, 3.5vw, 2rem);

  /* Yarıçap */
  --radius-sm: 8px;
  --radius:    12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Gölge — yumuşak ve az; parlama efekti yok */
  --shadow-xs: 0 1px 2px rgba(18, 18, 31, .06);
  --shadow-sm: 0 1px 3px rgba(18, 18, 31, .07), 0 1px 2px rgba(18, 18, 31, .04);
  --shadow:    0 4px 12px rgba(18, 18, 31, .07), 0 1px 3px rgba(18, 18, 31, .05);
  --shadow-md: 0 10px 28px rgba(18, 18, 31, .09), 0 2px 6px rgba(18, 18, 31, .05);
  --shadow-lg: 0 20px 48px rgba(18, 18, 31, .12);

  /* Marka imzası: logodaki tayfın ince şeridi. Tek dekoratif öğe. */
  --brand-spectrum: linear-gradient(90deg,
      var(--brand-blue) 0%, var(--brand-violet) 26%, var(--brand-magenta) 52%,
      var(--brand-coral) 76%, var(--brand-amber) 100%);

  --ring: 0 0 0 3px var(--primary-soft), 0 0 0 5px var(--primary);
  --transition: 160ms cubic-bezier(.4, 0, .2, 1);

  --header-h: 68px;
  color-scheme: light;
}

/* ══════════════════════════════════════════════════════════════════
   2. KARANLIK TEMA
   ══════════════════════════════════════════════════════════════════ */
[data-theme="dark"] {
  --primary:        #9b86ff;
  --primary-hover:  #b3a3ff;
  --primary-soft:   #241d47;
  --primary-border: #3a2f6b;

  --accent:        #ff5fa2;
  --accent-hover:  #ff7fb5;
  --accent-soft:   #3b1229;

  --success: #47d3a4;  --success-soft: #10291f;
  --warning: #f0b849;  --warning-soft: #2e2411;
  --danger:  #ff7b7b;  --danger-soft:  #331616;

  --surface:        #14141f;
  --surface-sunken: #0d0d16;
  --surface-raised: #1c1c2b;
  --border:         #2b2b3f;
  --border-strong:  #3c3c55;

  --text:        #ececf3;
  --text-muted:  #a9a9be;
  --text-subtle: #8b8ba1;
  --text-invert: #12121f;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .45);
  --shadow:    0 4px 14px rgba(0, 0, 0, .5);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, .55);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, .6);

  --ring: 0 0 0 3px var(--primary-soft), 0 0 0 5px var(--primary);
  color-scheme: dark;
}

/* ══════════════════════════════════════════════════════════════════
   3. TEMEL / ERİŞİLEBİLİRLİK
   ══════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: var(--lh-base);
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
  /* Yatay taşmayı 320px'e kadar engelle */
  overflow-x: hidden;
}

/* Klavye ile gezinenler için tek ve tutarlı odak halkası */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* İçeriğe atla — sekme ile ilk erişilen öğe */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 2000;
  padding: var(--space-3) var(--space-5);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: top var(--transition);
}
.skip-link:focus { top: var(--space-4); color: #fff; }

img, svg, video { max-width: 100%; height: auto; vertical-align: middle; }
img { border-style: none; }

/* Yalnızca ekran okuyucular için */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

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

/* ══════════════════════════════════════════════════════════════════
   4. TİPOGRAFİ
   ══════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  margin: 0 0 var(--space-4);
  font-weight: 700;
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--text);
  text-wrap: balance;
}

h1, .h1 { font-size: var(--fs-4xl); line-height: var(--lh-tight); font-weight: 800; }
h2, .h2 { font-size: var(--fs-3xl); font-weight: 750; }
h3, .h3 { font-size: var(--fs-2xl); }
h4, .h4 { font-size: var(--fs-xl); }
h5, .h5 { font-size: var(--fs-lg); }
h6, .h6 { font-size: var(--fs-base); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-muted); }

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 400;
}

/* Uzun metinlerde okunabilirlik: satır uzunluğunu sınırla */
.prose { max-width: 68ch; }
.prose p, .prose li { color: var(--text-muted); }
.prose h2 { margin-top: var(--space-7); }
.prose h3 { margin-top: var(--space-6); }

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

strong, b { font-weight: 650; color: var(--text); }
small { font-size: var(--fs-sm); }

/* Bölüm başlığı bloğu */
.section-head { max-width: 62ch; margin-inline: auto; text-align: center; margin-bottom: var(--space-8); }
.section-head.is-start { margin-inline: 0; text-align: left; }
.section-head > p { color: var(--text-muted); font-size: var(--fs-lg); margin-bottom: 0; }

/* Bölüm üstü küçük etiket */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--fs-sm); font-weight: 650; letter-spacing: var(--tracking-wide);
  text-transform: uppercase; color: var(--primary); margin-bottom: var(--space-3);
}
.eyebrow::before {
  content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--brand-spectrum);
}
.section-head:not(.is-start) .eyebrow::before { display: none; }

/* Marka imzası: yalnızca vurgulanacak tek kelimede kullanılır */
.brand-gradient {
  background: var(--brand-spectrum);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ══════════════════════════════════════════════════════════════════
   5. YERLEŞİM
   ══════════════════════════════════════════════════════════════════ */
.container, .container-lg, .container-xl, .container-xxl {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: var(--container-narrow); margin-inline: auto; }

.section { padding-block: var(--section-y); }
.section--sunken { background: var(--surface-sunken); }
.section--tight { padding-block: calc(var(--section-y) * .6); }

/* İnce ayırıcı — eski .ayiranCizgi'nin yerini alır */
.rule { height: 1px; background: var(--border); border: 0; margin-block: var(--section-y); }
.ayiranCizgi { height: 1px; background: var(--border); margin-block: var(--space-8); }

/* Otomatik sığdıran grid — medya sorgusu gerektirmez */
.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 268px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 216px), 1fr)); }

/* ══════════════════════════════════════════════════════════════════
   6. BUTONLAR
   ══════════════════════════════════════════════════════════════════ */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  /* Dokunma hedefi her zaman ≥44px */
  min-height: 44px;
  padding: 0.6875rem 1.375rem;
  font-family: inherit;
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: background-color var(--transition), border-color var(--transition),
              color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn:hover { color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn:disabled, .btn.disabled { opacity: .55; pointer-events: none; }
.btn i, .btn .bi { font-size: 1.05em; line-height: 1; }

/* Birincil CTA — dönüşüm rengi, sayfada tek başına durur */
.btn-primary, .btn-accent {
  --btn-bg: var(--accent); --btn-fg: #fff; --btn-bd: var(--accent);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover, .btn-accent:hover {
  --btn-bg: var(--accent-hover); --btn-bd: var(--accent-hover); --btn-fg: #fff;
  box-shadow: var(--shadow);
}

/* İkincil — marka moru */
.btn-brand { --btn-bg: var(--primary); --btn-fg: #fff; --btn-bd: var(--primary); }
.btn-brand:hover { --btn-bg: var(--primary-hover); --btn-bd: var(--primary-hover); --btn-fg: #fff; }

.btn-outline, .btn-outline-primary, .btn-outline-dark, .btn-outline-secondary {
  --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--border-strong);
}
.btn-outline:hover, .btn-outline-primary:hover, .btn-outline-dark:hover, .btn-outline-secondary:hover {
  --btn-bg: var(--surface-sunken); --btn-fg: var(--text); --btn-bd: var(--text-subtle);
}

.btn-ghost { --btn-bg: transparent; --btn-fg: var(--text-muted); --btn-bd: transparent; }
.btn-ghost:hover { --btn-bg: var(--surface-sunken); --btn-fg: var(--text); }

.btn-light { --btn-bg: var(--surface); --btn-fg: var(--text); --btn-bd: var(--border); }
.btn-light:hover { --btn-bg: var(--surface-sunken); --btn-fg: var(--text); }

.btn-dark { --btn-bg: var(--ink-900); --btn-fg: #fff; --btn-bd: var(--ink-900); }
.btn-dark:hover { --btn-bg: var(--ink-800); --btn-bd: var(--ink-800); --btn-fg: #fff; }
[data-theme="dark"] .btn-dark { --btn-bg: var(--surface-raised); --btn-fg: var(--text); --btn-bd: var(--border-strong); }

.btn-success { --btn-bg: var(--success); --btn-fg: #fff; --btn-bd: var(--success); }
.btn-danger  { --btn-bg: var(--danger);  --btn-fg: #fff; --btn-bd: var(--danger); }

.btn-whatsapp { --btn-bg: #1fa855; --btn-fg: #fff; --btn-bd: #1fa855; }
.btn-whatsapp:hover { --btn-bg: #17904a; --btn-bd: #17904a; --btn-fg: #fff; }

.btn-sm { min-height: 38px; padding: 0.4375rem 0.9375rem; font-size: var(--fs-sm); border-radius: var(--radius-sm); }
.btn-lg { min-height: 52px; padding: 0.875rem 1.875rem; font-size: var(--fs-lg); border-radius: var(--radius-md); }
.btn-block, .d-grid > .btn { width: 100%; }

/* Yükleniyor durumu */
.btn[data-loading="true"] { pointer-events: none; opacity: .8; }
.btn[data-loading="true"]::before {
  content: ""; width: 1em; height: 1em; border-radius: 50%; flex: none;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: bism-spin .6s linear infinite;
}
@keyframes bism-spin { to { transform: rotate(360deg); } }

/* Buton grubu — mobilde alt alta, taşma yok */
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.btn-row > .btn { flex: 1 1 auto; }
@media (max-width: 420px) { .btn-row > .btn { flex: 1 1 100%; } }

/* ══════════════════════════════════════════════════════════════════
   7. KARTLAR
   ══════════════════════════════════════════════════════════════════ */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: none;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card-body { padding: var(--space-5); }
.card-header {
  padding: var(--space-4) var(--space-5);
  background: transparent;
  border-bottom: 1px solid var(--border);
  font-weight: 650;
}
.card-footer { padding: var(--space-4) var(--space-5); border-top: 1px solid var(--border); background: transparent; }
.card-title { font-size: var(--fs-lg); margin-bottom: var(--space-2); }
.card-text { color: var(--text-muted); margin-bottom: 0; }

/* Tıklanabilir kart: yükselme yok, sınır ve gölge değişir — daha sakin */
.card--link:hover { border-color: var(--primary-border); box-shadow: var(--shadow-md); }
.card--link:focus-within { border-color: var(--primary); box-shadow: var(--shadow-md); }

/* Kartın tamamını tıklanabilir yapar; başlıktaki bağlantı erişilebilir kalır */
.stretch-link::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit;
}

.card--flush { border: 0; background: transparent; }
.card2 {
  background: var(--surface-raised); border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

/* ══════════════════════════════════════════════════════════════════
   8. FORM ELEMANLARI
   ══════════════════════════════════════════════════════════════════ */
.form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
}
.form-label .req { color: var(--danger); margin-left: 2px; }

.form-control, .form-select, textarea.form-control {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 0.625rem 0.875rem;
  font-family: inherit;
  /* 16px altına inme — iOS'ta odaklanınca sayfayı yakınlaştırır */
  font-size: var(--fs-base);
  line-height: 1.5;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-control::placeholder { color: var(--text-subtle); opacity: 1; }
.form-control:hover, .form-select:hover { border-color: var(--text-subtle); }
.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
textarea.form-control { min-height: 120px; resize: vertical; }

.form-select {
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236b6b85'%3E%3Cpath d='M8 11.5 3.5 7h9z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  background-size: 14px;
}
[data-theme="dark"] .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23a9a9be'%3E%3Cpath d='M8 11.5 3.5 7h9z'/%3E%3C/svg%3E");
}

.form-control-lg { min-height: 52px; font-size: var(--fs-md); }
.form-hint { display: block; margin-top: var(--space-2); font-size: var(--fs-sm); color: var(--text-subtle); }

/* Doğrulama durumları — renk tek işaret değil, metin de eşlik eder */
.form-control[aria-invalid="true"], .was-validated .form-control:invalid, .form-control.is-invalid {
  border-color: var(--danger);
}
.form-control[aria-invalid="true"]:focus, .form-control.is-invalid:focus {
  box-shadow: 0 0 0 3px var(--danger-soft);
}
.field-error, .invalid-feedback {
  display: none; margin-top: var(--space-2);
  font-size: var(--fs-sm); font-weight: 500; color: var(--danger);
}
.field-error::before, .invalid-feedback::before { content: "⚠ "; }
.form-control[aria-invalid="true"] ~ .field-error,
.form-control.is-invalid ~ .invalid-feedback,
.was-validated .form-control:invalid ~ .invalid-feedback { display: block; }

.form-field { margin-bottom: var(--space-4); }

/* Bal küpü — ekran okuyuculardan da gizli, sekmeye takılmaz */
.hp-field {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

/* Onay kutusu */
.form-check { display: flex; align-items: flex-start; gap: var(--space-3); margin-bottom: var(--space-4); }
.form-check-input {
  flex: none; width: 20px; height: 20px; margin-top: 2px;
  accent-color: var(--primary); cursor: pointer;
}
.form-check-label { font-size: var(--fs-sm); color: var(--text-muted); cursor: pointer; }

/* Bildirim kutuları */
.alert {
  display: flex; gap: var(--space-3); align-items: flex-start;
  padding: var(--space-4) var(--space-5);
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: var(--fs-base); margin-bottom: var(--space-4);
}
.alert-success { background: var(--success-soft); border-color: var(--success); color: var(--success); }
.alert-danger  { background: var(--danger-soft);  border-color: var(--danger);  color: var(--danger); }
.alert-warning { background: var(--warning-soft); border-color: var(--warning); color: var(--warning); }
.alert-info    { background: var(--primary-soft); border-color: var(--primary-border); color: var(--primary); }
.alert strong { color: inherit; }

/* ══════════════════════════════════════════════════════════════════
   9. BAŞLIK (NAVBAR)
   ══════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
@supports not (backdrop-filter: blur(1px)) { .site-header { background: var(--surface); } }
.site-header[data-stuck="true"] { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }

/* Logodaki tayfı taşıyan ince imza şeridi */
.site-header::before {
  content: ""; display: block; height: 3px; background: var(--brand-spectrum);
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: var(--header-h);
}

.nav-logo { display: inline-flex; align-items: center; flex: none; }
.nav-logo img { display: block; height: 34px; width: auto; }

.nav-menu { display: flex; align-items: center; gap: var(--space-1); margin: 0 auto; padding: 0; list-style: none; }
.nav-menu a {
  display: flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  font-size: var(--fs-sm); font-weight: 550; color: var(--text-muted);
  text-decoration: none; border-radius: var(--radius-sm);
  white-space: nowrap; transition: color var(--transition), background-color var(--transition);
}
.nav-menu a:hover { color: var(--text); background: var(--surface-sunken); }
.nav-menu a[aria-current="page"] { color: var(--primary); background: var(--primary-soft); }

.nav-actions { display: flex; align-items: center; gap: var(--space-2); flex: none; margin-left: auto; }

/* Açılır menü */
.nav-drop { position: relative; }
.nav-drop > button {
  display: flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-3); font-family: inherit;
  font-size: var(--fs-sm); font-weight: 550; color: var(--text-muted);
  background: none; border: 0; border-radius: var(--radius-sm); cursor: pointer;
}
.nav-drop > button:hover { color: var(--text); background: var(--surface-sunken); }
.nav-drop > button::after {
  content: ""; width: 6px; height: 6px; margin-left: 2px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform var(--transition);
}
.nav-drop > button[aria-expanded="true"]::after { transform: rotate(225deg) translateY(-2px); }

.nav-drop-panel {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 20;
  min-width: 232px; padding: var(--space-2);
  background: var(--surface-raised); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  list-style: none; margin: 0;
}
.nav-drop-panel[hidden] { display: none; }
.nav-drop-panel a {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3); border-radius: var(--radius-sm);
  font-size: var(--fs-sm); font-weight: 550; color: var(--text); text-decoration: none;
}
.nav-drop-panel a:hover { background: var(--surface-sunken); }
.nav-drop-panel .bi { font-size: 1.15rem; width: 1.3em; text-align: center; }

/* İkon butonu (tema, menü) */
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; flex: none;
  background: transparent; color: var(--text-muted);
  border: 1px solid var(--border); border-radius: var(--radius);
  cursor: pointer; font-size: 1.15rem; line-height: 1;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition);
}
.icon-btn:hover { color: var(--text); background: var(--surface-sunken); border-color: var(--border-strong); }

.nav-toggle { display: none; }

/* Mobil menü paneli */
.nav-panel { display: contents; }

@media (max-width: 991.98px) {
  .nav-toggle { display: inline-flex; }
  .nav-panel {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 1029;
    padding: var(--space-5) var(--gutter) var(--space-9);
    background: var(--surface);
    border-top: 1px solid var(--border);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }
  .nav-panel[data-open="true"] { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: var(--space-1); margin: 0; }
  .nav-menu a, .nav-drop > button {
    width: 100%; min-height: 48px; padding: var(--space-3) var(--space-4);
    font-size: var(--fs-md); border-radius: var(--radius);
  }
  .nav-drop > button { justify-content: space-between; }
  .nav-drop-panel {
    position: static; min-width: 0; box-shadow: none; border: 0;
    background: var(--surface-sunken); border-radius: var(--radius);
    margin: var(--space-1) 0 var(--space-2); padding: var(--space-2);
  }
  .nav-mobile-cta { margin-top: var(--space-5); display: grid; gap: var(--space-3); }
  body[data-nav-open="true"] { overflow: hidden; }
}
@media (min-width: 992px) { .nav-mobile-cta { display: none; } }

/* Tema anahtarı — eski .theme-switch işaretlemesiyle uyumlu */
.theme-switch { display: inline-flex; cursor: pointer; }
.theme-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.theme-slider {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text-muted); transition: color var(--transition), background-color var(--transition);
}
.theme-switch:hover .theme-slider { color: var(--text); background: var(--surface-sunken); }
.theme-switch input:focus-visible + .theme-slider { outline: 2px solid var(--primary); outline-offset: 2px; }
.theme-slider::before { content: "\F497"; font-family: "bootstrap-icons"; font-size: 1.1rem; }
[data-theme="dark"] .theme-slider::before { content: "\F5A2"; }

/* ══════════════════════════════════════════════════════════════════
   10. FOOTER
   ══════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--surface-sunken);
  border-top: 1px solid var(--border);
  padding-block: var(--space-9) var(--space-6);
  margin-top: var(--section-y);
  font-size: var(--fs-sm);
}
.footer-grid {
  display: grid; gap: var(--space-7);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
}
.footer-brand { grid-column: 1 / -1; max-width: 34ch; }
@media (min-width: 768px) { .footer-brand { grid-column: span 2; } }
.footer-brand img { height: 30px; width: auto; margin-bottom: var(--space-4); }
.footer-brand p { color: var(--text-muted); }

.footer-col h2 {
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: var(--tracking-wide);
  text-transform: uppercase; color: var(--text); margin-bottom: var(--space-4);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.footer-col a { color: var(--text-muted); text-decoration: none; }
.footer-col a:hover { color: var(--primary); text-decoration: underline; }

.footer-contact { display: grid; gap: var(--space-3); list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; gap: var(--space-3); color: var(--text-muted); }
.footer-contact a { color: var(--text-muted); text-decoration: none; }
.footer-contact a:hover { color: var(--primary); }

.footer-social { display: flex; gap: var(--space-2); margin-top: var(--space-4); }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text-muted); font-size: 1.1rem;
}
.footer-social a:hover { color: var(--primary); border-color: var(--primary-border); background: var(--primary-soft); }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5);
  align-items: center; justify-content: space-between;
  margin-top: var(--space-8); padding-top: var(--space-5);
  border-top: 1px solid var(--border); color: var(--text-subtle);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); list-style: none; margin: 0; padding: 0; }
.footer-legal a { color: var(--text-subtle); text-decoration: none; }
.footer-legal a:hover { color: var(--primary); text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════════
   11. BİLEŞENLER
   ══════════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────────── */
.hero { padding-block: clamp(2.5rem, 5vw, 4.5rem) var(--section-y); }
.hero-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero h1 { margin-bottom: var(--space-5); }
.hero .lead { margin-bottom: var(--space-6); max-width: 56ch; }
.hero-cta { margin-bottom: var(--space-6); }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: auto; border-radius: var(--radius-xl); }

/* Hero altı güven şeridi */
.trust-row {
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6);
  padding-top: var(--space-5); border-top: 1px solid var(--border);
}
.trust-row li { display: flex; align-items: center; gap: var(--space-2); font-size: var(--fs-sm); color: var(--text-muted); }
.trust-row .bi { color: var(--success); font-size: 1.05rem; }
.trust-row { list-style: none; margin: 0; padding-left: 0; padding-top: var(--space-5); }

/* ── İstatistik ───────────────────────────────────────────────── */
.stat-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.stat {
  padding: var(--space-5); text-align: center;
  background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-md);
}
.stat dt { order: 2; font-size: var(--fs-sm); color: var(--text-muted); font-weight: 500; }
.stat dd {
  order: 1; margin: 0 0 var(--space-1);
  font-size: var(--fs-3xl); font-weight: 800; line-height: 1;
  letter-spacing: var(--tracking-tight); color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat { display: flex; flex-direction: column; }

/* ── Hizmet / platform kartı ──────────────────────────────────── */
.service-card { overflow: hidden; }
.service-card .card-header {
  display: flex; align-items: center; gap: var(--space-3);
  font-size: var(--fs-lg); font-weight: 700; color: var(--text);
}
.service-card .card-header .bi { font-size: 1.35rem; }
.service-list { list-style: none; margin: 0; padding: var(--space-2); display: grid; gap: 2px; }
.service-list a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  min-height: 48px; padding: var(--space-3) var(--space-4);
  border-radius: var(--radius); color: var(--text); text-decoration: none;
  font-weight: 550; font-size: var(--fs-base);
  transition: background-color var(--transition), color var(--transition);
}
.service-list a:hover { background: var(--surface-sunken); color: var(--primary); }
.service-list a > span { display: flex; align-items: center; gap: var(--space-3); }
.service-list .bi-arrow-right { color: var(--text-subtle); transition: transform var(--transition); }
.service-list a:hover .bi-arrow-right { transform: translateX(3px); color: var(--primary); }

/* Platform renkleri yalnızca ikonda — arka planı boyamıyoruz */
.pf-instagram { color: #e1306c; }
.pf-tiktok    { color: var(--text); }
.pf-twitter   { color: #1d9bf0; }
.pf-facebook  { color: #1877f2; }
.pf-youtube   { color: #ff0000; }
.pf-google    { color: #4285f4; }

/* ── Adım / süreç ─────────────────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); } }
.steps li { counter-increment: step; position: relative; padding-top: var(--space-6); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-size: var(--fs-sm); font-weight: 800; letter-spacing: var(--tracking-wide);
  color: var(--primary);
}
.steps li::after {
  content: ""; position: absolute; top: 10px; left: 34px; right: 0; height: 1px; background: var(--border);
}
.steps li:last-child::after { display: none; }
.steps h3 { font-size: var(--fs-lg); margin-bottom: var(--space-2); }
.steps p { color: var(--text-muted); font-size: var(--fs-base); margin: 0; }

/* ── SSS ──────────────────────────────────────────────────────── */
.faq { display: grid; gap: var(--space-3); }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-raised); overflow: hidden; }
.faq-item[open] { border-color: var(--primary-border); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-4) var(--space-5); min-height: 56px;
  font-size: var(--fs-md); font-weight: 600; color: var(--text);
  cursor: pointer; list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { background: var(--surface-sunken); }
.faq-q::after {
  content: ""; flex: none; width: 9px; height: 9px;
  border-right: 2px solid var(--text-subtle); border-bottom: 2px solid var(--text-subtle);
  transform: rotate(45deg) translateY(-3px); transition: transform var(--transition);
}
.faq-item[open] .faq-q::after { transform: rotate(225deg) translateY(-1px); }
.faq-a { padding: 0 var(--space-5) var(--space-5); color: var(--text-muted); }
.faq-a p:last-child { margin-bottom: 0; }

/* ── Referans şeridi (CSS ile, JS kütüphanesi yok) ────────────── */
.logo-strip {
  display: flex; gap: var(--space-6); align-items: center;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding-block: var(--space-4);
  /* Kenarlarda yumuşak kesim */
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.logo-strip::-webkit-scrollbar { display: none; }
.logo-strip img {
  flex: none; height: 38px; width: auto; opacity: .62;
  filter: grayscale(1);
  transition: opacity var(--transition), filter var(--transition);
}
.logo-strip img:hover { opacity: 1; filter: grayscale(0); }
[data-theme="dark"] .logo-strip img { filter: grayscale(1) invert(1) brightness(1.6); opacity: .5; }
[data-theme="dark"] .logo-strip img:hover { opacity: .85; }

/* ── Paket kartı ──────────────────────────────────────────────── */
.package-card {
  display: flex; flex-direction: column; height: 100%;
  padding: var(--space-5);
  background: var(--surface-raised); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.package-card:hover { border-color: var(--primary-border); box-shadow: var(--shadow-md); }
.package-card .pkg-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: var(--space-4);
  border-radius: var(--radius); background: var(--primary-soft); color: var(--primary);
  font-size: 1.4rem;
}
.package-card h3, .package-card .pkg-name {
  font-size: var(--fs-base); font-weight: 650; color: var(--text-muted);
  letter-spacing: var(--tracking-wide); text-transform: uppercase; margin-bottom: var(--space-2);
}
.package-price {
  display: flex; align-items: baseline; gap: 2px;
  font-size: var(--fs-3xl); font-weight: 800; letter-spacing: var(--tracking-tight);
  color: var(--text); margin-bottom: var(--space-5); font-variant-numeric: tabular-nums;
}
.package-price .cur { font-size: .55em; font-weight: 650; color: var(--text-muted); }
.package-features { list-style: none; margin: 0 0 var(--space-5); padding: 0; display: grid; gap: var(--space-3); flex: 1; }
.package-features li { display: flex; gap: var(--space-3); font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.5; }
.package-features .bi { color: var(--success); flex: none; margin-top: 2px; }
.package-card .btn { margin-top: auto; }

/* Rozet */
.badge-soft {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: var(--fs-xs); font-weight: 650; letter-spacing: var(--tracking-wide);
  background: var(--primary-soft); color: var(--primary);
}
.badge-soft--success { background: var(--success-soft); color: var(--success); }
.badge-soft--accent { background: var(--accent-soft); color: var(--accent); }

/* ── Son CTA bandı ────────────────────────────────────────────── */
.cta-band {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4rem);
  background: var(--ink-900); color: #fff;
  border-radius: var(--radius-xl);
}
[data-theme="dark"] .cta-band { background: var(--surface-raised); border: 1px solid var(--border); }
.cta-band::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--brand-spectrum); }
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band p { color: rgba(255, 255, 255, .74); max-width: 54ch; font-size: var(--fs-lg); }
[data-theme="dark"] .cta-band h2 { color: var(--text); }
[data-theme="dark"] .cta-band p { color: var(--text-muted); }
.cta-band .btn-outline { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .3); }
.cta-band .btn-outline:hover { --btn-bg: rgba(255, 255, 255, .1); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .5); }
[data-theme="dark"] .cta-band .btn-outline { --btn-fg: var(--text); --btn-bd: var(--border-strong); }

/* ── Blog ─────────────────────────────────────────────────────── */
.post-list { display: grid; gap: var(--space-5); }
.post-card {
  position: relative; display: grid; gap: var(--space-5); align-items: start;
  padding: var(--space-5);
  background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
@media (min-width: 700px) { .post-card { grid-template-columns: 260px 1fr; } }
.post-card:hover { border-color: var(--primary-border); box-shadow: var(--shadow-md); }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.post-card h2, .post-card h3 { font-size: var(--fs-xl); margin-bottom: var(--space-2); }
.post-card h2 a, .post-card h3 a { color: var(--text); text-decoration: none; }
.post-card p { color: var(--text-muted); font-size: var(--fs-base); }
.post-meta { display: flex; gap: var(--space-4); font-size: var(--fs-sm); color: var(--text-subtle); margin-bottom: var(--space-3); }

/* Yol izi */
.breadcrumb-nav { padding-block: var(--space-5) 0; }
.breadcrumb-nav ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2);
  list-style: none; margin: 0; padding: 0; font-size: var(--fs-sm); color: var(--text-subtle);
}
.breadcrumb-nav li + li::before { content: "/"; margin-right: var(--space-2); color: var(--border-strong); }
.breadcrumb-nav a { color: var(--text-muted); text-decoration: none; }
.breadcrumb-nav a:hover { color: var(--primary); text-decoration: underline; }

/* Sayfa başlığı bloğu */
.page-head { padding-block: var(--space-7) var(--space-6); }
.page-head h1 { margin-bottom: var(--space-3); }
.page-head p { color: var(--text-muted); font-size: var(--fs-lg); max-width: 64ch; margin: 0; }
.baslikCizgi { border-bottom: 1px solid var(--border); padding-bottom: var(--space-4); }

/* ── WhatsApp yüzen buton ─────────────────────────────────────── */
.whatsapp {
  position: fixed; right: clamp(12px, 3vw, 24px); bottom: clamp(12px, 3vw, 24px);
  z-index: 1040;
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px;
  background: #25d366; color: #fff; font-size: 1.65rem;
  border-radius: 50%; box-shadow: var(--shadow-md);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp:hover { color: #fff; transform: scale(1.06); box-shadow: var(--shadow-lg); }
.whatsapp .bi { padding: 0 !important; }
/* Küçük ekranda daha küçük, ekranı kaplamasın */
@media (max-width: 400px) { .whatsapp { width: 48px; height: 48px; font-size: 1.45rem; } }

/* ══════════════════════════════════════════════════════════════════
   12. YARDIMCILAR
   ══════════════════════════════════════════════════════════════════ */
.text-muted { color: var(--text-muted) !important; }
.text-subtle { color: var(--text-subtle) !important; }
.text-brand { color: var(--primary) !important; }
.bg-sunken { background: var(--surface-sunken); }
.rounded-xl { border-radius: var(--radius-xl); }
.shadow-soft { box-shadow: var(--shadow); }
.mw-prose { max-width: 68ch; }
.tabular { font-variant-numeric: tabular-nums; }

/* 320px'e kadar taşma güvenliği */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
pre, code, table { max-width: 100%; }
table { width: 100%; border-collapse: collapse; }

/* ══════════════════════════════════════════════════════════════════
   13. HAREKET AZALTMA / YAZDIRMA
   ══════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header, .site-footer, .whatsapp, .nav-panel, .skip-link { display: none !important; }
  body { color: #000; background: #fff; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
}
