/* =========================================================
   ModWare Technology — ortak stil dosyası
   İçindekiler:
   1. Değişkenler (renk, font, ölçü)
   2. Temel / reset
   3. Yardımcılar (container, buton, eyebrow)
   4. Üst menü (sticky + blur, mobil menü)
   5. Hero slaytı (+ SVG görsel parçaları, kontroller)
   6. Bölümler (süreç + yapışık kart, değerler, kapanış)
   7. Alt bilgi
   8. Hareket azaltma tercihi
   9. Katmanlar: preloader, arka plan, özel imleç, Lenis
   10. Etkileşimler: ilerleme çubuğu, bağlantı çizgisi, footer çizgisi,
       yukarı çık, parçacıklar, CTA başlığı, görsel belirme, sayfa geçişi
   11. Ürünler sayfası: başlık, filtre, galeri kartları, platform şeridi, detay penceresi
   12. Hakkımızda sayfası: fotoğraflı hero, cam kartlar, yapışık büyük cümle
   13. Teklif Al sayfası: form, özel seçim/radyo/onay kutuları, yan bilgi, başarı ekranı
   14. Blog: yazı kartları, makale metni, içindekiler, tablo ve kod blokları
   ========================================================= */

/* ---------- 1. Değişkenler ---------- */
:root {
  /* Renk paleti */
  --color-bg: #0a0f1c;          /* koyu lacivert zemin */
  --color-bg-alt: #0f1628;      /* alternatif bant */
  --color-surface: #141c33;     /* kart / panel */
  --color-border: #1f2a47;      /* ince çizgiler */
  --color-primary: #9b8fe0;     /* yumuşak lavanta moru: yazı vurguları, çizgiler, sinyaller */
  --color-accent: #6c5bc4;      /* koyu menekşe: butonlar ve dolgular (parlak değil) */
  --color-text: #ffffff;        /* ana metin */
  --color-text-muted: #9aa6c3;  /* ikincil metin */

  /* Fontlar */
  --font-heading: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Ölçüler */
  --container: 1200px;
  --header-h: 72px;
  --radius: 12px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));

  color-scheme: dark;
}

/* ---------- 2. Temel / reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px); /* çapa linkleri menünün altında kalmasın */
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* hidden özniteliği her zaman kazansın (bileşenlerin display değerlerine rağmen) */
[hidden] { display: none !important; }

/* Mobil menü açıkken arka plan kaymasın */
body.nav-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* Klavye kullanıcıları için "içeriğe geç" bağlantısı */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--color-primary);
  color: var(--color-bg);
  border-radius: 6px;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- 3. Yardımcılar ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
@media (min-width: 768px) {
  .container {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.text-gradient {
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: 600 0.95rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--color-primary);
  color: var(--color-bg);
}
/* Tüm butonlar hover'da neon (lavanta) parlar */
.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 0 0 1px rgba(155, 143, 224, 0.7), 0 0 22px rgba(155, 143, 224, 0.6), 0 0 52px rgba(108, 91, 196, 0.4);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-text);
}
.btn-accent:hover,
.btn-accent:focus-visible {
  box-shadow: 0 0 0 1px rgba(155, 143, 224, 0.6), 0 0 22px rgba(124, 106, 214, 0.7), 0 0 52px rgba(108, 91, 196, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--color-primary);
  box-shadow: 0 0 18px rgba(155, 143, 224, 0.4), inset 0 0 12px rgba(155, 143, 224, 0.12);
}

/* ---------- 4. Üst menü ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

/* Bulanık zemin ayrı bir katmanda: backdrop-filter doğrudan header'a
   verilirse içindeki position:fixed mobil menü header'a hapsolur. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 15, 28, 0.6);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background-color 0.3s ease;
}

/* Sayfa kaydırılınca main.js .is-scrolled ekler: zemin koyulaşır, alt çizgi belirir */
.site-header.is-scrolled { border-bottom-color: var(--color-border); }
.site-header.is-scrolled::before,
body.nav-open .site-header::before { background: rgba(10, 15, 28, 0.9); }

/* Telefonun üst çentik alanını menüyle aynı renge boya */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 101;
  background: var(--color-bg);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo: assets/logo/modware-logo-light.png (koyu zemin için beyaz sürüm).
   Açık zeminde kullanmak için modware-logo-dark.png var. */
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 22px;
  width: auto;
}
.logo-sm img { height: 16px; opacity: 0.85; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-list {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  display: block;
  padding: 8px 12px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Alttan büyüyen çizgi (hover ve aktif sayfa) */
.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-link:hover { color: var(--color-text); }
.nav-link[aria-current="page"] { color: var(--color-primary); }
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

/* Hamburger buton: sadece mobilde görünür */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
/* Açıkken hamburger → X */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobil menü (960px altı): tam ekran açılır panel */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }

  /* Logo ve hamburger, açılan overlay'in üstünde kalsın */
  .logo,
  .nav-toggle { position: relative; z-index: 2; }

  /* Tam ekran overlay: arkasındaki sayfa bulanıklaşır */
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 32px;
    padding:
      calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px)
      var(--gutter-r)
      calc(32px + env(safe-area-inset-bottom, 0px))
      var(--gutter);
    background: rgba(6, 10, 20, 0.72);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    backdrop-filter: blur(22px) saturate(140%);
    /* Kapalıyken görünmez ve tıklanamaz */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav-list { flex-direction: column; gap: 0; }
  .nav-link {
    padding: 14px 4px;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 8vw, 2.6rem);
    font-weight: 600;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
  }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--color-primary); }

  .nav-cta { width: 100%; padding-block: 16px; }
}

/* ---------- 5. Hero slaytı ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  border-bottom: 1px solid var(--color-border);
}

/* Arka plan: devre izleri canvas'ı + okunabilirlik için karartma */
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 15, 28, 0.92) 0%, rgba(10, 15, 28, 0.55) 45%, rgba(10, 15, 28, 0.1) 100%),
    linear-gradient(0deg, rgba(10, 15, 28, 0.9) 0%, transparent 30%);
}

.hero-stage {
  width: 100%;
  padding-block: clamp(32px, 6vh, 80px) 16px;
}

/* Slaytlar aynı ızgara hücresinde üst üste durur; yükseklik en uzununa göre */
.hero-slides { display: grid; }
.hero-slide {
  grid-area: 1 / 1;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.hero-slide:not(.is-active) { visibility: hidden; }

.slide-content {
  display: grid;
  gap: 22px;
  align-content: center;
  min-width: 0;
}

.slide-title {
  font-size: clamp(2.3rem, 5.4vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.t-line { display: block; }
.t-line--accent { color: var(--color-primary); }

.slide-text {
  max-width: 54ch;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  color: var(--color-text-muted);
}
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Harf bölme (animations.js). Kelime maskesi, harfler alttan "kayarak" girsin diye;
   Ü/İ noktaları ve ç/ş kuyrukları kesilmesin diye dikey pay bırakılır. */
.split-word {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  vertical-align: top;
  padding-block: 0.14em 0.1em;
  margin-block: -0.14em -0.1em;
}
.split-char { display: inline-block; }

/* Sağdaki animasyonlu elektronik görsel */
.slide-visual {
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1;
  justify-self: center;
}
.slide-visual svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* SVG parça stilleri (tüm görseller ortak) */
.v-trace { fill: none; stroke: rgba(155, 143, 224, 0.35); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v-trace-hot { fill: none; stroke: var(--color-primary); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.v-wire { fill: none; stroke: #dbe4f5; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.v-copper { fill: none; stroke: var(--color-accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.v-arrow { fill: none; stroke: var(--color-primary); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.v-pad { fill: var(--color-accent); }
.v-via { fill: var(--color-bg); stroke: var(--color-accent); stroke-width: 2; }
.v-via-blue { fill: var(--color-bg); stroke: var(--color-primary); stroke-width: 2; }
.v-pin { fill: #8f9bb8; }
.v-chip { fill: #0f1730; stroke: #2c3c66; stroke-width: 2; }
.v-board { fill: #0c1d22; stroke: #1f4a4a; stroke-width: 2; }
.v-sheet { fill: rgba(255, 255, 255, 0.02); stroke: var(--color-border); stroke-width: 1.5; stroke-dasharray: 4 6; }
.v-module { fill: #101a33; stroke: #2c3c66; stroke-width: 2; }
.v-bus { fill: #0e1830; stroke: #2c3c66; stroke-width: 2; }
.v-lane { fill: none; stroke: rgba(155, 143, 224, 0.25); stroke-width: 2; }
.v-ring { fill: none; stroke: rgba(155, 143, 224, 0.25); stroke-width: 1.5; stroke-dasharray: 2 10; }
.v-pulse { fill: var(--color-primary); }
.v-pulse-orange { fill: var(--color-accent); }
.v-packet { fill: var(--color-primary); }
.v-scan { fill: var(--color-primary); opacity: 0.35; }
.v-label { font-family: var(--font-heading); font-weight: 700; font-size: 18px; fill: var(--color-text); }
.v-mono { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 11px; fill: var(--color-text-muted); }
.v-silk { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 10px; fill: #cfe3dd; opacity: 0.8; }

/* Slayt kontrolleri */
.hero-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding-block: 12px clamp(24px, 5vh, 48px);
}
.slide-arrow,
.slide-pause {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: rgba(10, 15, 28, 0.6);
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.slide-arrow:hover,
.slide-pause:hover { border-color: var(--color-primary); transform: scale(1.06); }
.slide-arrow svg,
.slide-pause svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.slide-pause { width: 40px; height: 40px; }
.slide-pause .icon-play { display: none; fill: currentColor; stroke: none; }
.slide-pause[aria-pressed="true"] .icon-pause { display: none; }
.slide-pause[aria-pressed="true"] .icon-play { display: block; }

.slide-dots {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 320px;
}
.slide-dot {
  position: relative;
  flex: 1;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.slide-dot::before,
.slide-dot-fill {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
}
.slide-dot::before { background: var(--color-border); }
.slide-dot-fill {
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
}
.slide-dot:hover::before { background: var(--color-text-muted); }

.slide-counter {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
  margin-left: auto;
}
.slide-counter span { color: var(--color-text); }

/* Tablet / mobil: görsel metnin üstünde, küçük ve ortalı; yazıyı kapatmaz */
@media (max-width: 960px) {
  .hero { min-height: auto; }
  .hero-slide {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 20px;
  }
  .slide-visual {
    order: -1;
    width: min(260px, 58vw);
    max-width: none;
  }
  .slide-dots { max-width: none; }
}
@media (max-width: 560px) {
  .slide-visual { width: min(200px, 52vw); }
  .slide-title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .slide-content { gap: 16px; }
}
@media (max-width: 560px) {
  .hero-controls { gap: 10px; }
  .slide-arrow { width: 42px; height: 42px; }
  .slide-counter { display: none; }
}

/* ---------- 6. Bölümler ---------- */
.section {
  padding-block: clamp(72px, 10vw, 128px);
  /* Yandan uçarak gelen kartlar sayfayı yatay kaydırmasın.
     "clip" (hidden değil) sticky kartı bozmaz. */
  overflow-x: clip;
}

.section-alt {
  background: rgba(15, 22, 40, 0.55); /* yarı saydam: sabit arka plan katmanı görünsün */
  border-block: 1px solid var(--color-border);
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 3.4rem); max-width: 20ch; }

/* ----- Nasıl çalışıyoruz: dört aşamalı akış ----- */
.p-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 44px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.p-step {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
  padding: 26px 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(12, 18, 34, 0.72);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.p-step.is-lit {
  border-color: rgba(155, 143, 224, 0.45);
  box-shadow: 0 0 36px -14px rgba(155, 143, 224, 0.55);
}
.p-step-n {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}
.p-step.is-lit .p-step-n {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 0 0 5px rgba(155, 143, 224, 0.12), 0 0 22px rgba(155, 143, 224, 0.4);
}
.p-step h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
.p-step p { color: var(--color-text-muted); font-size: 0.95rem; }

/* Aşamalar arası ok: masaüstünde sağa, kartların arasında */
.p-arrow {
  position: absolute;
  top: 50%;
  right: calc(-1 * clamp(28px, 3vw, 44px) / 2 - 14px);
  z-index: 1;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  padding: 4px;
  border-radius: 50%;
  background: var(--color-bg);
  fill: none;
  stroke: var(--color-border);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.4s ease;
}
.p-step.is-lit .p-arrow { stroke: var(--color-primary); }

/* Tablet: 2 × 2; ok satır sonunda görünmesin */
@media (max-width: 1024px) {
  .p-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-step:nth-child(2) .p-arrow { display: none; }
}
/* Telefon: alt alta, oklar aşağı bakar */
@media (max-width: 640px) {
  .p-list { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .p-step { padding: 22px 20px; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; }
  .p-step-n { grid-row: 1 / span 2; }
  .p-step h3 { align-self: center; }
  .p-step p { grid-column: 2; }
  .p-step:nth-child(2) .p-arrow { display: block; }
  .p-arrow {
    top: auto;
    right: auto;
    bottom: -31px;
    left: 50%;
    margin: 0 0 0 -14px;
    transform: rotate(90deg);
  }
}

/* ----- Değerlerimiz ----- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
}
.value-card {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(12, 18, 34, 0.72);
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 0.3s ease, box-shadow 0.4s ease, transform 0.3s ease;
}
/* Alttaki neon çizgi: hover'da soldan sağa büyür */
.value-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  box-shadow: 0 0 12px var(--color-primary), 0 0 24px rgba(155, 143, 224, 0.5);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.value-card:hover::after { transform: scaleX(1); }
/* Fareyi takip eden parıltı (konum main.js'ten --mx / --my ile gelir) */
.value-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(155, 143, 224, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.value-card:hover {
  border-color: rgba(155, 143, 224, 0.5);
  /* JS yoksa yedek kalkış; JS varken GSAP yükseklik + 3D eğimi yönetir */
  transform: translateY(-6px);
  box-shadow: 0 28px 60px -24px rgba(155, 143, 224, 0.45), 0 12px 30px -12px rgba(0, 0, 0, 0.6);
}
.value-card:hover::before { opacity: 1; }
.value-icon-wrap {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(155, 143, 224, 0.35);
  border-radius: 14px;
  background: rgba(155, 143, 224, 0.06);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover .value-icon-wrap {
  border-color: var(--color-primary);
  background: rgba(155, 143, 224, 0.12);
  box-shadow: 0 0 24px rgba(155, 143, 224, 0.35);
}
.value-icon {
  /* JS yoksa yedek dönüş */
  transition: transform 0.6s ease;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.value-card:hover .value-icon { transform: rotate(360deg); }
.value-card h3 { font-size: 1.25rem; }
.value-card p { color: var(--color-text-muted); }

/* ----- Kapanış ----- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 90% at 85% 50%, rgba(108, 91, 196, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 100%, rgba(155, 143, 224, 0.12), transparent 70%);
}
.cta-inner {
  display: grid;
  justify-items: center;
  gap: 20px;
  text-align: center;
}
.cta-inner h2 { font-size: clamp(2.2rem, 6vw, 4.6rem); }
.cta-text { color: var(--color-text-muted); max-width: 48ch; font-size: 1.1rem; }
.cta-actions {
  position: relative; /* parçacıklar bu kutuya göre konumlanır */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.cta-actions .btn { position: relative; z-index: 1; } /* parçacıkların üstünde */

/* Yapım aşamasındaki sayfalar */
.page-placeholder {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding-block: clamp(96px, 14vw, 180px);
}
.page-placeholder h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
.page-placeholder p { color: var(--color-text-muted); max-width: 50ch; }

/* ---------- 7. Alt bilgi ---------- */
.site-footer { position: relative; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px));
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 22px;
  margin: 0;
}
.footer-location { display: inline-flex; align-items: center; gap: 6px; }
.footer-location::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
}
/* İletişim ikonları: e-posta · LinkedIn */
.footer-contact { display: flex; align-items: center; gap: 12px; }
.footer-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(155, 143, 224, 0.28);
  background: rgba(155, 143, 224, 0.06);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.footer-icon svg { width: 19px; height: 19px; }
.footer-icon svg rect,
.footer-icon svg path[d^="M4 7"] { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-icon svg path { fill: currentColor; }
.footer-icon:hover,
.footer-icon:focus-visible {
  color: var(--color-text);
  border-color: var(--color-primary);
  background: rgba(155, 143, 224, 0.14);
  box-shadow: 0 0 18px rgba(155, 143, 224, 0.35);
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    gap: 16px;
    padding-block: 32px calc(28px + env(safe-area-inset-bottom, 0px));
    text-align: center;
    font-size: 0.85rem;
  }
  .footer-contact { order: 2; }
  .footer-meta { order: 3; flex-direction: column; gap: 6px; }
}

/* ---------- 8. Hareket azaltma tercihi ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---------- 9. Katmanlar ---------- */

/* ----- Lenis (yumuşak kaydırma) için önerilen kurallar ----- */
html.lenis,
html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ----- Preloader -----
   Yalnızca <html class="is-loading"> iken görünür (head'deki küçük script ekler,
   animations.js açılış bitince kaldırır). */
.preloader { display: none; }
html.is-loading .preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: #030509;
}
html.is-loading body { overflow: hidden; }

.preloader-inner {
  display: grid;
  justify-items: center;
  gap: 18px;
  width: min(420px, 80vw);
}
.preloader-word {
  /* Harfler alttan kayarak gelsin diye maske */
  overflow: hidden;
  padding-block: 0.08em;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 7vw, 3.6rem);
  letter-spacing: 0.22em;
  margin-right: -0.22em; /* son harften sonraki aralık ortalamayı bozmasın */
  color: var(--color-text);
  line-height: 1;
}
.preloader-word .char { display: inline-block; }
.preloader-bar {
  position: relative;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.preloader-bar-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
}
.preloader-count {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}

/* ----- Arka plan katmanı -----
   Sayfanın en arkasında sabit durur: koyu gradyan + imleci izleyen ışık
   + kaydırdıkça koyulaşan perde + hafif kumlanma (noise). */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 15% -10%, #1c1a44 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 105% 110%, #1f1638 0%, transparent 60%),
    linear-gradient(180deg, #0d1426 0%, #0a0f1c 55%, #070a14 100%);
}
.bg-glow {
  position: absolute;
  left: 0;
  top: 0;
  width: 760px;
  height: 760px;
  margin: -380px 0 0 -380px; /* merkezi imleç konumuna gelsin */
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155, 143, 224, 0.13) 0%, rgba(155, 143, 224, 0.05) 35%, transparent 70%);
  will-change: transform;
}
.bg-shade {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0; /* animations.js kaydırmaya göre artırır */
}
.bg-noise {
  position: absolute;
  inset: -50%;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ----- Özel imleç: devre kartı teması -----
   Uç: via (lehim pedi) · çevresi: köşeli seçim çerçevesi (PCB programlarındaki gibi).
   Bağlantı/buton üzerinde çerçeve biraz büyür ve parlar.
   Yalnızca fareli cihazlarda ve JS hazır olunca (html.has-cursor) gösterilir. */
.cursor { display: none; }
html.has-cursor .cursor {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  /* Koyu ince kontur: mor butonların üstünde de seçilsin */
  filter: drop-shadow(0 0 1px rgba(10, 15, 28, 0.95)) drop-shadow(0 0 1px rgba(10, 15, 28, 0.95));
}
.cursor-dot,
.cursor-frame {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0; /* fare ilk hareket edince görünür */
}
.cursor-dot {
  width: 10px;
  height: 10px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(155, 143, 224, 0.6);
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.cursor.is-hover .cursor-dot { transform: scale(0.6); background: var(--color-primary); }
.cursor.is-down .cursor-dot { transform: scale(0.45); background: var(--color-primary); }

.cursor-frame {
  width: 26px;
  height: 26px;
  transition: width 0.2s ease, height 0.2s ease;
}
.cursor.is-hover .cursor-frame { width: 34px; height: 34px; }
.cursor-frame i {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 0 solid rgba(155, 143, 224, 0.85);
  transition: border-color 0.2s ease;
}
.cursor-frame i:nth-child(1) { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.cursor-frame i:nth-child(2) { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.cursor-frame i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.cursor-frame i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.cursor.is-hover .cursor-frame i { border-color: var(--color-primary); }

/* Yerel imleci gizle; yazı alanlarında metin imleci kalsın */
html.has-cursor,
html.has-cursor * { cursor: none !important; }
html.has-cursor input,
html.has-cursor textarea,
html.has-cursor select { cursor: text !important; }

/* Dokunmatik cihazlarda hiç gösterme */
@media (hover: none), (pointer: coarse) {
  .cursor { display: none !important; }
}


/* ---------- 10. Etkileşimler ---------- */

/* ----- Üstte kaydırma ilerleme çubuğu ----- */
.scroll-progress {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  z-index: 150;
  height: 2px;
  pointer-events: none;
}
.scroll-progress-bar {
  display: block;
  height: 100%;
  background: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
}

/* ----- Bağlantı alt çizgisi: hover'da soldan sağa -----
   .link-u sınıfı ve içerikteki sınıfsız bağlantılar için. */
.link-u,
main a:not([class]) {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.2s ease;
}
.link-u:hover,
.link-u:focus-visible,
main a:not([class]):hover,
main a:not([class]):focus-visible {
  background-size: 100% 1px;
  color: var(--color-text);
}

/* ----- Footer üstü çizgi ----- */
.footer-line {
  height: 1px;
  background: var(--color-border);
  overflow: hidden;
}
.footer-line-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  box-shadow: 0 0 8px var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
}
/* JS/ScrollTrigger yoksa çizgi dolu görünsün */
html:not(.has-st) .footer-line-fill { transform: none; }

/* ----- Yukarı çık butonu ----- */
.to-top {
  position: fixed;
  right: calc(max(16px, env(safe-area-inset-right, 0px)) + 8px);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  z-index: 120;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(155, 143, 224, 0.45);
  border-radius: 50%;
  background: rgba(10, 15, 28, 0.75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--color-text);
  cursor: pointer;
  /* Gizliyken: saydam, küçük, tıklanamaz */
  opacity: 0;
  visibility: hidden;
  transform: scale(0.6);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1.4), visibility 0.35s, border-color 0.2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: scale(1); }
.to-top:hover { border-color: var(--color-primary); }
.to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----- CTA butonlarının arkasındaki parçacıklar ----- */
.particle {
  position: absolute;
  z-index: 0;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  pointer-events: none;
}

/* ----- CTA başlığı (SplitType): kelime maskesi ----- */
[data-cta-split] .word {
  overflow: hidden;
  padding-block: 0.12em 0.08em;
  margin-block: -0.12em -0.08em;
  vertical-align: top;
}
[data-cta-split] .char { display: inline-block; }

/* ----- Görseller: lazy-load sonrası belirme (main.js sınıfları ekler) ----- */
img.lazy-fade { opacity: 0; transition: opacity 0.7s ease; }
img.lazy-fade.is-loaded { opacity: 1; }

/* ----- Sayfa geçişi: preloader perdesi geçiş modunda ----- */
.preloader.is-transition .preloader-count { display: none; }

@media (prefers-reduced-motion: reduce) {
  .value-card:hover { transform: none; }
  .value-card:hover .value-icon { transform: none; }
  .to-top { transition: opacity 0.01ms, visibility 0.01ms; transform: none; }
  img.lazy-fade { opacity: 1; }
}

/* ---------- 11. Ürünler sayfası ---------- */

/* ----- Sayfa başlığı ----- */
.page-head { padding-block: clamp(56px, 9vw, 112px) 8px; }
.page-head-inner { display: grid; gap: 18px; justify-items: start; }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 16ch; }
.page-lede { max-width: 60ch; color: var(--color-text-muted); font-size: clamp(1rem, 1.3vw, 1.12rem); }

/* ----- Kategori filtresi ----- */
.product-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.filter-chip {
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--color-text-muted);
  font: 500 0.9rem var(--font-body);
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.filter-chip:hover { color: var(--color-text); border-color: rgba(155, 143, 224, 0.5); }
.filter-chip[aria-pressed="true"] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* ----- Galeri ----- */
.product-gallery { padding-top: clamp(32px, 5vw, 56px); }
/* Kategori grupları (filtre başlıklarıyla aynı). Gizli grup grid boşluğu bırakmaz. */
.product-groups { display: grid; gap: clamp(48px, 7vw, 88px); }
.product-group-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(20px, 3vw, 28px);
}
.product-group-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(155, 143, 224, 0.45), rgba(155, 143, 224, 0));
}
.product-group-title { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .product-grid { grid-template-columns: minmax(0, 1fr); } }
.product-empty { padding-block: 48px; text-align: center; color: var(--color-text-muted); }

/* ----- Ürün kartı ----- */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  cursor: pointer;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s ease,
    box-shadow 0.45s ease;
}
.product-card:hover,
.product-card:focus-within {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: 0 30px 60px -30px rgba(108, 91, 196, 0.6);
}

/* Görsel alanı: tüm ürünler aynı oranda (4:3), ortak "stüdyo" zemini üzerinde.
   Görseller şeffaf arka planlı olduğu için sitedeki lacivert temaya kendiliğinden oturur. */
.product-image-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  max-width: 100%;
  margin: 12px 12px 0;
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 60% at 50% 58%, rgba(108, 91, 196, 0.24), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: box-shadow 0.45s ease;
}
/* Hafif nokta ızgarası (devre kartı hissi), kenarlara doğru söner */
.product-image-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 80%);
}
/* Alt kenarda koyu geçiş: kart metniyle görsel arasında yumuşak bağ */
.product-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 15, 28, 0.4) 100%);
}
.product-image-wrapper img {
  position: absolute;
  inset: 9% 8%;
  width: 84%;
  height: 82%;
  object-fit: contain;
  /* Yalnızca gölge: renk/karışım filtresi yok, kart üzerindeki beyaz yazılar net kalır */
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.55));
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.product-card:hover .product-image-wrapper,
.product-card:focus-within .product-image-wrapper {
  box-shadow: inset 0 0 0 1px rgba(155, 143, 224, 0.4), 0 0 42px -8px rgba(155, 143, 224, 0.6);
}
.product-card:hover .product-image-wrapper img,
.product-card:focus-within .product-image-wrapper img { transform: scale(1.05); }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  border: 1px solid rgba(155, 143, 224, 0.45);
  border-radius: 999px;
  background: rgba(10, 15, 28, 0.6);
  font: 600 0.68rem var(--font-heading);
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
  padding: 20px 22px 22px;
}
.product-code {
  font: 600 0.72rem var(--font-heading);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.product-title {
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.product-slogan { color: var(--color-primary); font-weight: 500; }
.product-desc { color: var(--color-text-muted); font-size: 0.95rem; }

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.product-tags li {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.75rem;
  color: var(--color-text);
}

.product-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  padding: 12px 0 2px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  background: none;
  color: var(--color-text);
  font: 600 0.85rem var(--font-heading);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.product-more svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}
.product-card:hover .product-more { color: var(--color-primary); border-color: var(--color-primary); }
.product-card:hover .product-more svg { transform: translateX(4px); }

/* ----- MW-PWR01 platform: entegrasyon şeması ----- */
.platform-head p:not(.eyebrow) { color: var(--color-text-muted); max-width: 62ch; }
.pf { display: grid; gap: 20px; margin-top: clamp(28px, 4vw, 48px); }
.pf-lane {
  padding: clamp(16px, 2.4vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(12, 16, 32, 0.6);
}
.pf-lane-title {
  margin: 0 0 14px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.pf-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) 28px minmax(0, 1.2fr) 28px minmax(0, 1.2fr);
  align-items: center;
  gap: 12px;
}
.pf-stack { display: grid; gap: 12px; }
.pf-node {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(155, 143, 224, 0.2);
  border-radius: 14px;
  background: rgba(155, 143, 224, 0.05);
  color: var(--color-text);
  font: inherit;
  text-align: center;
}
button.pf-node { cursor: pointer; transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease; }
button.pf-node:hover,
button.pf-node:focus-visible { border-color: var(--color-primary); background: rgba(155, 143, 224, 0.12); transform: translateY(-2px); }
.pf-node img { width: 100%; max-width: 220px; height: auto; max-height: 120px; object-fit: contain; }
/* Yığındaki modüller ve mobilde tüm kartlar: görsel solda, yazı sağda */
.pf-stack .pf-node {
  grid-template-columns: 104px minmax(0, 1fr);
  justify-items: start;
  align-items: center;
  column-gap: 14px;
  text-align: left;
}
.pf-stack .pf-node img { grid-row: span 2; max-height: 80px; }
.pf-code { font: 600 0.95rem var(--font-heading); }
.pf-big { font: 700 clamp(1.05rem, 2vw, 1.4rem) var(--font-heading); }
.pf-role { font-size: 0.8rem; line-height: 1.45; color: var(--color-text-muted); }
.pf-arrow {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 860px) {
  .pf-row { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
  .pf-arrow { justify-self: center; transform: rotate(90deg); }
  button.pf-node {
    grid-template-columns: 96px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    column-gap: 14px;
    text-align: left;
  }
  button.pf-node img { grid-row: span 2; max-height: 72px; }
}

/* ----- Kartın içine bakın: kaydırmayla açılan MW-PWR-BK ----- */
.bk-explode {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(56px, 8vw, 110px);
}
.bk-stage {
  position: sticky;
  top: calc(var(--header-h) + 3vh);
  height: calc(100svh - var(--header-h) - 6vh);
  display: grid;
  place-items: center;
  min-width: 0;
}
.bk-frame {
  position: relative;
  width: min(100%, (100svh - var(--header-h) - 6vh) * 1252 / 882);
  aspect-ratio: 1252 / 882;
}
.seq-poster,
.seq-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.bk-steps { list-style: none; margin: 0; padding: 0; }
.bk-step {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
  min-height: 70svh;
  opacity: 0.35;
  transition: opacity 0.4s ease;
}
.bk-step.is-active { opacity: 1; }
.bk-step h3 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.bk-step p:not(.eyebrow) { margin: 0; color: var(--color-text-muted); max-width: 40ch; }
.bk-part {
  padding: 4px 12px;
  border: 1px solid rgba(155, 143, 224, 0.3);
  border-radius: 999px;
  font: 600 0.8rem var(--font-heading);
  color: var(--color-text-muted);
  transition: color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.bk-step.is-active .bk-part {
  color: var(--color-text);
  border-color: var(--color-primary);
  box-shadow: 0 0 16px rgba(155, 143, 224, 0.35);
}

/* Mobil: kart üstte yapışık, açıklamalar altından akar */
@media (max-width: 860px) {
  .bk-explode { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .bk-stage {
    top: var(--header-h);
    z-index: 1;
    height: auto;
    padding-block: 8px;
    background: #0c1222;
    box-shadow: 0 14px 18px #0c1222;
  }
  .bk-frame { width: min(100%, 44svh * 1252 / 882); }
  .bk-step { min-height: 45svh; justify-items: center; text-align: center; }
  .bk-step:last-child { min-height: 40svh; }
}
@media (prefers-reduced-motion: reduce) { .bk-step { opacity: 1; } }

/* ----- Ürün detay penceresi (dialog) ----- */
.product-modal {
  width: min(1100px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100svh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  overflow: visible;
}
.product-modal::backdrop {
  background: rgba(5, 8, 16, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.product-modal[open]::backdrop { animation: pm-fade 0.35s ease; }
.product-modal.is-closing::backdrop { opacity: 0; transition: opacity 0.3s ease; }
@keyframes pm-fade { from { opacity: 0; } to { opacity: 1; } }

.pm-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  max-height: calc(100svh - 32px);
  padding: clamp(20px, 3vw, 36px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(108, 91, 196, 0.16), transparent 70%),
    #0d1222;
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(155, 143, 224, 0.12);
}
.pm-media { display: grid; gap: 12px; align-content: start; min-width: 0; }
.pm-image { margin: 0; }
.pm-image img { inset: 6% 6%; width: 88%; height: 88%; }
.pm-thumbs { display: flex; gap: 8px; }
.pm-thumb {
  width: 84px;
  aspect-ratio: 4 / 3;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}
.pm-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pm-thumb[aria-pressed="true"] { border-color: var(--color-primary); }

.pm-content { display: grid; gap: 12px; align-content: start; min-width: 0; }
.pm-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); text-transform: uppercase; padding-right: 48px; }
.pm-long { color: var(--color-text-muted); }
.pm-subtitle {
  margin-top: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.pm-specs { margin: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.pm-specs div {
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) minmax(0, 1.3fr);
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}
.pm-specs dt { color: var(--color-text-muted); }
.pm-specs dd { margin: 0; }
.pm-note { font-size: 0.8rem; font-style: italic; color: var(--color-text-muted); }
.pm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.pm-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(10, 15, 28, 0.7);
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.3s ease;
}
.pm-close:hover { border-color: var(--color-primary); transform: rotate(90deg); }
.pm-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

@media (max-width: 860px) {
  .pm-inner { grid-template-columns: minmax(0, 1fr); }
  .pm-image { max-width: 520px; }
}

/* Pencere üst katmanda (top layer) açılır; özel imleç orada görünmez,
   bu yüzden pencere içinde normal imleç kullanılır. */
html.has-cursor .product-modal,
html.has-cursor .product-modal * { cursor: auto !important; }
html.has-cursor .product-modal button,
html.has-cursor .product-modal a { cursor: pointer !important; }
html.modal-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .product-card:hover,
  .product-card:focus-within { transform: none; }
  .product-card:hover .product-image-wrapper img,
  .product-card:focus-within .product-image-wrapper img { transform: none; }
  .pm-close:hover { transform: none; }
}

/* ---------- 12. Hakkımızda sayfası ---------- */

/* SplitType ile bölünen başlıklarda kelime maskesi (harfler alttan çıkar) */
[data-split-intro] .word {
  overflow: hidden;
  padding-block: 0.12em 0.1em;
  margin-block: -0.12em -0.1em;
  vertical-align: top;
}
[data-split-intro] .word,
[data-split-intro] .char { display: inline-block; }

/* ----- Arka plandaki atölye / İHA fotoğrafı (sabit) ----- */
.about-photo {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.about-photo img {
  position: absolute;
  top: -6%;
  left: 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: 60% 60%;
  filter: brightness(1.15) contrast(1.05) saturate(0.95);
  will-change: transform;
}
/* Geniş ekranda fotoğraf sağa kayar: İHA metnin arkasında değil yanında görünür.
   Soldaki boşluk aşağıdaki koyu geçişle örtülür. */
@media (min-width: 961px) {
  .about-photo img { left: 24%; width: 88%; object-position: 50% 60%; }
}
/* Renk birliği: lacivert-mor tonlama + kenarlarda kararma */
.about-photo-tint {
  position: absolute;
  inset: 0;
  /* Sol: metin okunsun diye koyu; sağ: İHA ve atölye açıkta. Alt kenar sayfaya karışır. */
  background:
    linear-gradient(90deg, #0a0f1c 0%, #0a0f1c 22%, rgba(10, 15, 28, 0.6) 38%, rgba(10, 15, 28, 0) 62%),
    linear-gradient(180deg, rgba(10, 15, 28, 0.35) 0%, rgba(10, 15, 28, 0) 25%, rgba(10, 15, 28, 0) 60%, rgba(10, 15, 28, 0.9) 100%),
    rgba(70, 55, 140, 0.12);
}
/* Kaydırdıkça artan koyuluk: kartlar ve cümle okunur kalsın */
.about-photo-dim {
  position: absolute;
  inset: 0;
  background: #0a0f1c;
  opacity: 0.55; /* JS yoksa sabit; JS ile 0 → 0.8 */
}

/* ----- 1. Hero ----- */
.about-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
}
.about-hero-glow {
  position: absolute;
  inset: -20% -10%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 40% 35% at 75% 35%, rgba(155, 143, 224, 0.28), transparent 70%),
    radial-gradient(ellipse 35% 30% at 20% 80%, rgba(108, 91, 196, 0.3), transparent 70%);
  filter: blur(10px);
  will-change: transform;
}
.about-hero-inner {
  width: 100%; /* flex içinde daralmasın; logo ile aynı hizada başlasın */
  display: grid;
  gap: 24px;
  justify-items: start;
  padding-block: clamp(48px, 10vh, 120px) clamp(48px, 9vh, 96px);
}
.about-title {
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 13ch;
  text-shadow: 0 0 40px rgba(155, 143, 224, 0.35);
}
.about-lede {
  max-width: 52ch;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}
.about-scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font: 600 0.78rem var(--font-heading);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
}
.about-scroll-line {
  position: relative;
  width: 48px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
}
.about-scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  animation: about-line 2.4s ease-in-out infinite;
}
@keyframes about-line {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* ----- 2. Cam kartlar: asimetrik ızgara ----- */
.about-pieces { position: relative; }
.about-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  perspective: 1200px;
}
/* Üst sıra: A geniş + C dar · Alt sıra: B dar + D geniş (içerik uzunlukları dengeli) */
.g-a { grid-column: 1 / span 7; grid-row: 1; }
.g-c { grid-column: 8 / span 5; grid-row: 1; }
.g-b { grid-column: 1 / span 5; grid-row: 2; }
/* Ekip kartı daha uzun: Kökenimiz kartının içeriği ortada dursun */
.glass-card.g-b { align-content: center; }
.g-d { grid-column: 6 / span 7; grid-row: 2; }
/* Orta genişlikte alt sıra alt alta (dar kartta boşluk kalmasın) */
@media (max-width: 1100px) {
  .g-b, .g-d { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 960px) {
  .g-a, .g-b, .g-c, .g-d { grid-column: 1 / -1; grid-row: auto; }
}

.glass-card {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
  padding: clamp(24px, 3vw, 40px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.7);
  transform-style: preserve-3d;
  will-change: transform;
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
/* Fareyi takip eden iç aydınlanma (--mx/--my: main.js) */
.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 30%), rgba(155, 143, 224, 0.14), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.glass-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(155, 143, 224, 0.6);
  box-shadow:
    0 0 0 1px rgba(155, 143, 224, 0.25),
    0 0 44px -8px rgba(155, 143, 224, 0.5),
    0 30px 70px -30px rgba(0, 0, 0, 0.8);
}
.glass-card:hover::before { opacity: 1; }

/* Köşedeki ince çizim */
.glass-art {
  position: absolute;
  top: clamp(18px, 2.4vw, 28px);
  right: clamp(18px, 2.4vw, 28px);
  width: clamp(48px, 6vw, 76px);
  height: auto;
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.55;
  transition: opacity 0.4s ease, filter 0.4s ease;
}
.glass-card:hover .glass-art {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(155, 143, 224, 0.8));
}

.glass-kicker {
  font: 600 0.75rem var(--font-heading);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.glass-title {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  max-width: 16ch;
  padding-right: 64px; /* köşe çizimiyle çakışmasın */
}
.glass-card p:not(.glass-kicker):not(.team-number) { color: rgba(255, 255, 255, 0.78); }
.glass-card strong { color: var(--color-text); }

/* Kart D: üstte ekip, altta üç yetkinlik */
.g-d { gap: 20px; }
.team { display: grid; gap: 12px; padding-right: 72px; /* köşe çizimine yer */ }
.team-number {
  font: 600 1.1rem var(--font-heading);
  color: var(--color-text);
}
.team-number span {
  display: block;
  font-size: clamp(3.2rem, 7vw, 5rem);
  line-height: 1;
  background: linear-gradient(120deg, var(--color-text), var(--color-primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.team-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.team-roles li {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.team-roles b { color: var(--color-text); margin-right: 4px; }
.skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.skills li {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(10, 15, 28, 0.35);
}
.skills h3 { font-size: 1.05rem; }
.skills p { font-size: 0.9rem; color: var(--color-text-muted) !important; }

/* ----- 3. Yapışık büyük cümle ----- */
.statement {
  position: relative;
  height: 260vh; /* kaydırma mesafesi: kelimeler bu sürede aydınlanır */
}
.statement-sticky {
  position: sticky;
  top: var(--header-h);
  display: grid;
  place-items: center;
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
}
.statement-inner {
  display: grid;
  justify-items: center;
  gap: clamp(28px, 5vh, 48px);
  text-align: center;
}
.statement-text {
  max-width: 20ch;
  font: 700 clamp(2rem, 5.4vw, 4.6rem) / 1.08 var(--font-heading);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.statement-text .s-word { display: inline-block; }
.statement-text [data-accent] { color: var(--color-primary); text-shadow: 0 0 30px rgba(155, 143, 224, 0.45); }

@media (prefers-reduced-motion: reduce) {
  .about-scroll-line::after { animation: none; transform: none; }
  .statement { height: auto; }
  .statement-sticky { position: static; height: auto; padding-block: 96px; }
}

/* ---------- 13. Teklif Al sayfası ---------- */
.quote-section { padding-top: clamp(24px, 4vw, 48px); }
.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
@media (max-width: 960px) { .quote-grid { grid-template-columns: minmax(0, 1fr); } }

/* ----- Form kartı ----- */
.quote-form,
.quote-success {
  display: grid;
  gap: 28px;
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(13, 18, 34, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.hp { position: absolute; left: -9999px; }

.quote-progress {
  height: 3px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}
.quote-progress-bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
  box-shadow: 0 0 10px rgba(155, 143, 224, 0.6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.quote-progress-text {
  margin-top: -18px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}

/* Bölümler: 01 / 02 / 03 */
.q-group {
  display: grid;
  gap: 18px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.q-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
  padding: 0;
  font: 600 1.15rem var(--font-heading);
}
.q-legend span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(155, 143, 224, 0.45);
  border-radius: 50%;
  font-size: 0.75rem;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 640px) { .field-row { grid-template-columns: minmax(0, 1fr); } }

.quote-form .field { display: grid; gap: 8px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.quote-form .field > label,
.quote-form .field > legend {
  padding: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}
.quote-form .field b { color: var(--color-primary); font-weight: 600; }
.quote-form .opt { font-weight: 400; color: var(--color-text-muted); }

.quote-form input:not([type="radio"]):not([type="checkbox"]),
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(10, 15, 28, 0.8);
  color: var(--color-text);
  font: 400 0.98rem var(--font-body);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.quote-form input::placeholder,
.quote-form textarea::placeholder { color: rgba(154, 166, 195, 0.65); }
.quote-form input:hover,
.quote-form select:hover,
.quote-form textarea:hover { border-color: rgba(155, 143, 224, 0.4); }
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(155, 143, 224, 0.2);
}
.quote-form textarea { resize: vertical; min-height: 150px; line-height: 1.6; }

/* Seçim kutusu: tarayıcı oku yerine kendi okumuz */
.select { position: relative; }
.select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  transform: rotate(45deg);
  pointer-events: none;
}
.quote-form select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  cursor: pointer;
}
.quote-form select option,
.quote-form select optgroup { background: #0d1222; color: var(--color-text); }

/* Proje aşaması: tek satır, eşit parçalı seçici (radyo düğmeleri gizli) */
.seg {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(10, 15, 28, 0.8);
}
@media (max-width: 420px) { .seg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Konu seçici: üç seçenek; dar ekranda alt alta */
.seg--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 520px) { .seg--3 { grid-template-columns: minmax(0, 1fr); } }
.seg-item { position: relative; display: block; cursor: pointer; }
.seg-item input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.seg-item span {
  display: block;
  padding: 10px 8px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.seg-item:hover span { color: var(--color-text); }
.seg-item input:checked + span {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 0 16px rgba(124, 106, 214, 0.5);
}
.seg-item input:focus-visible + span { outline: 2px solid var(--color-primary); outline-offset: 2px; }

/* Karakter sayacı + hata satırı */
.field-foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.count {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.field-error { min-height: 0; font-size: 0.82rem; color: #f3a1a1; }
.field-error:empty { display: none; }
.quote-form .is-invalid input,
.quote-form .is-invalid select,
.quote-form .is-invalid textarea { border-color: #e98a8a; }

/* Onay kutusu: kutu ve metin aynı hizada */
.check {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  cursor: pointer;
}
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box {
  position: relative;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  background: rgba(10, 15, 28, 0.8);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.check-box::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s ease;
}
.check input:checked + .check-box { background: var(--color-accent); border-color: var(--color-accent); box-shadow: 0 0 12px rgba(124, 106, 214, 0.5); }
.check input:checked + .check-box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check-box { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.check b { color: var(--color-primary); }
.check.is-invalid .check-box { border-color: #e98a8a; }

.quote-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.quote-submit svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}
.quote-submit:hover svg { transform: translateX(4px); }
.quote-submit[disabled] { opacity: 0.7; cursor: progress; }
.quote-status { font-size: 0.9rem; color: var(--color-text-muted); }
.quote-status.is-error { color: #f3a1a1; }

/* Başarı ekranı */
.quote-success { justify-items: start; gap: 16px; }
.quote-success:focus { outline: none; }
.quote-success h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.quote-success p { color: var(--color-text-muted); max-width: 46ch; }
.quote-success-icon {
  width: 56px;
  height: 56px;
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(155, 143, 224, 0.6));
}

/* ----- Yan bilgi (masaüstünde kaydırırken yanında kalır) ----- */
.quote-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 20px;
  min-width: 0;
}
@media (max-width: 960px) { .quote-aside { position: static; } }
.aside-card {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(13, 18, 34, 0.7);
}
.aside-card h2 { font-size: 1.35rem; }
.aside-steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.aside-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}
.aside-steps span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(155, 143, 224, 0.12);
  font: 600 0.75rem var(--font-heading);
  color: var(--color-primary);
}
.aside-steps strong { color: var(--color-text); }
.aside-label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-muted); }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.copy-row a { word-break: break-all; color: var(--color-text); }
.aside-link { justify-self: start; color: var(--color-text); }
.aside-text { color: var(--color-text); }
.copy-btn {
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: transparent;
  color: var(--color-text-muted);
  font: 500 0.78rem var(--font-body);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.copy-btn:hover { border-color: var(--color-primary); color: var(--color-text); }

/* 404 sayfası */
.nf-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.not-found h1 { max-width: 14ch; }

/* ---------- 14. Blog ---------- */
/* Yazı kartı: kategori ve okuma süresi */
.blog-meta {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-primary);
}
.blog-card .link-u { justify-self: start; margin-top: 4px; }

/* Yazı başlığının altı: tarih · okuma süresi · yazar */
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--color-text-muted); font-size: 0.92rem; }
.post-meta [aria-hidden="true"] { opacity: 0.6; }
.page-head .eyebrow a { color: inherit; }
/* Yazı sayfası: uzun başlıklar daha küçük ve daha geniş */
.page-head--yazi h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); max-width: 26ch; }
.page-head--yazi .page-lede { max-width: 68ch; }

/* Makale metni: uzun okumada göz yormayan satır uzunluğu ve aralıklar */
.article-section { padding-top: clamp(32px, 5vw, 64px); }
.prose {
  max-width: 74ch;
  font-size: clamp(1rem, 1.1vw, 1.075rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
}
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  color: var(--color-text);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose h3 { margin-top: 1.8em; font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--color-text); }
.prose h2 + *,
.prose h3 + * { margin-top: 0.7em; }
.prose ul,
.prose ol { margin-bottom: 0; padding-left: 1.4em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--color-primary); }
.prose strong { color: var(--color-text); font-weight: 600; }
.prose a:not([class]) { color: var(--color-primary); }
.prose code {
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(155, 143, 224, 0.12);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.88em;
}
.prose pre {
  margin-bottom: 0;
  padding: 18px 20px;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(12, 18, 34, 0.85);
  line-height: 1.55;
}
.prose pre code { padding: 0; background: none; font-size: 0.85rem; }

/* Vurgulu kutu ("Kısaca") */
.prose .callout {
  padding: 18px 22px;
  border: 1px solid rgba(155, 143, 224, 0.3);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius);
  background: rgba(155, 143, 224, 0.06);
}
.prose .callout p + p { margin-top: 0.6em; }

/* Tablolar: dar ekranda kutunun içinde yatay kayar */
.prose .table-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.prose th,
.prose td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--color-border); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose th {
  background: rgba(155, 143, 224, 0.08);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 600;
  white-space: nowrap;
}

/* İçindekiler */
.toc {
  padding: 20px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(12, 18, 34, 0.72);
}
.toc-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.toc ol { margin: 10px 0 0; padding-left: 1.3em; }
.toc li + li { margin-top: 0.35em; }
.toc a:not([class]) { color: var(--color-text-muted); }
.toc a:not([class]):hover { color: var(--color-text); }
