/* ============================================================
   ADNR Enerji — Alternatif Ana Sayfa (index-alt.html)
   style.css'in ÜZERİNE eklenir; mevcut sayfaları etkilemez.

   Motion pattern haritası:
     HERO-REVEAL      → .hero-x başlık satırları + [data-hero]
     COVERFLOW-3D     → .cf-* (bu sayfaya özgü hero hareketi)
     IMAGE-UNMASK     → [data-unmask] (signature move'un görsel karşılığı)
     STAGGER-GRID     → .usecase-grid > [data-anim]
     HOVER-LIFT       → .uc-card, .cf-item
     PARALLAX-SUBTLE  → [data-parallax]
     COUNTER          → .stats (style.css)
   ============================================================ */

/* Ekran okuyucuya özel metin (görsel olarak gizli) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------
   1. HERO — koyu sahne + 3D coverflow
   ------------------------------------------------------------ */
.hero-x {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 26px) 0 46px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #1B3C5C 0%, #12294181 45%, #0A1726 100%),
              linear-gradient(160deg, #17324D 0%, #0A1726 100%);
}
/* .hero-x flex konteyner olduğu için .container'ın esnememesi gerekiyor */
.hero-x .container { position: relative; z-index: 2; width: 100%; }

/* ---- Hero arka plan videosu ----
   Video dekoratif; poster her zaman altta durur, video yüklenemezse/
   oynatılamazsa (reduced-motion, mobil, tasarruf modu) poster kalır. */
.hero-x-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0A1726 center/cover no-repeat;
  background-image: url("../img/hero-video-poster.jpg");
}
.hero-x-video video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Metin ve ürün vitrini okunur kalsın diye koyu perde */
.hero-x-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 23, 38, 0.93) 0%, rgba(10, 23, 38, 0.80) 44%, rgba(10, 23, 38, 0.62) 100%),
              linear-gradient(to bottom, rgba(10, 23, 38, 0.55) 0%, transparent 26%, transparent 66%, rgba(10, 23, 38, 0.85) 100%);
}
/* Video varken arka plan ızgarası ve blob'lar geri çekilir */
.hero-x:has(.hero-x-video) .bg-grid { opacity: 0.45; }
.hero-x:has(.hero-x-video) .blob { opacity: 0.08 !important; }

/* İki sütun: solda başlık, sağda 3D vitrin */
.hero-x-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: center;
}
.hero-x-stage { min-width: 0; }

.hero-x-head { max-width: 420px; justify-self: start; }
.hero-x-head .eyebrow { color: var(--teal); }
.hero-x-head .eyebrow::before { background: var(--teal); }
.hero-x-head h1 { color: #fff; margin: 18px 0 0; }
/* HERO-REVEAL maskesi glifleri kırpmasın: satır kutusuna nefes payı
   (ü, ğ, j gibi Türkçe karakterlerin çıkıntıları için) */
.hero-x-head h1 { line-height: 1.22; font-size: clamp(1.85rem, 3.1vw, 2.95rem); }
.hero-x-head h1 .line { padding-bottom: 0.02em; }
/* Maskeli satırlar sarmalanmamalı: sarmalanırsa overflow:hidden metni kırpar */
.hero-x-head h1 .line-inner { white-space: nowrap; }
.hero-x-head h1 .accent { color: var(--brand); }
.hero-x-head .lead {
  color: rgba(255, 255, 255, 0.72);
  margin: 18px 0 0;
  max-width: 42ch;
  font-size: 1.02rem;
}

/* ---- 3D sahne ---- */
.cf {
  --cf-w: clamp(180px, 18.5vw, 268px);
  position: relative;
  margin-top: 0;
  height: clamp(320px, 50vh, 460px);
  perspective: 1500px;
  perspective-origin: 50% 46%;
  /* kenarlarda yumuşak kesim: kartlar sahneden "çıkmaz" */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  /* no-repeat şart: aksi halde maske tekrarlanır ve kutu dışına taşan
     uzak kartlar sağda/solda yeniden görünür hale gelir */
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}
.cf-stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  /* fare ile hafif tilt — JS yazar, ±5deg */
  transform: rotateX(var(--tiltX, 0deg)) rotateY(var(--tiltY, 0deg));
  transition: transform 500ms var(--ease-out-quart);
  will-change: transform;
}

/* zemin ışığı — merkezdeki ürünün altında duran "kaide" */
.cf-pedestal {
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 540px; height: 148px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
              rgba(56, 182, 200, 0.42) 0%,
              rgba(56, 182, 200, 0.14) 42%,
              transparent 72%);
  filter: blur(14px);
  pointer-events: none;
}
.cf-ring {
  position: absolute;
  left: 50%; bottom: 58px;
  width: 460px; height: 112px;
  transform: translateX(-50%);
  border: 1px solid rgba(56, 182, 200, 0.30);
  border-radius: 50%;
  pointer-events: none;
}

.cf-item {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--cf-w);
  height: 100%;
  margin-left: calc(var(--cf-w) / -2);
  transform-style: preserve-3d;
  transform-origin: 50% 100%;
  transition: transform 750ms var(--ease-out-expo),
              opacity 750ms var(--ease-out-expo),
              filter 750ms var(--ease-out-expo);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  will-change: transform, opacity;
}
.cf-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 34px 40px rgba(0, 0, 0, 0.55));
  -webkit-user-drag: none;
  user-select: none;
}
/* yansıma — ayrı, maskeli kopya */
.cf-item .cf-reflection {
  position: absolute;
  left: 0; top: 100%;
  width: 100%; height: 46%;
  transform: scaleY(-1);
  opacity: 0.22;
  -webkit-mask-image: linear-gradient(to top, transparent 8%, #000 100%);
          mask-image: linear-gradient(to top, transparent 8%, #000 100%);
  pointer-events: none;
}
.cf-item .cf-reflection img { filter: blur(1.5px); object-position: top center; }

/* uzaktaki kartlar hafif soğur/kararır — derinlik hissi */
.cf-item[data-depth="1"] { filter: brightness(0.62) saturate(0.85); }
.cf-item[data-depth="2"] { filter: brightness(0.42) saturate(0.7); }
.cf-item[data-depth="3"] { opacity: 0; pointer-events: none; }

.cf-item:focus-visible { outline: 2px solid var(--teal); outline-offset: 8px; border-radius: 12px; }

/* ---- aktif ürün bilgisi ---- */
.cf-meta {
  position: relative;
  z-index: 3;
  margin-top: 18px;
  text-align: center;
  min-height: 84px;
}
.cf-meta h2 {
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  margin-bottom: 12px;
}
.cf-specs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.cf-specs span {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.cf-specs span.is-key { border-color: rgba(240, 126, 38, 0.5); color: #fff; background: rgba(240, 126, 38, 0.16); }

/* ---- kontroller ---- */
.cf-nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 18px;
}
.cf-btn {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transition: background-color var(--dur-micro) var(--ease-out-quart),
              border-color var(--dur-micro) var(--ease-out-quart),
              transform var(--dur-micro) var(--ease-out-quart);
}
.cf-btn:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
.cf-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.cf-dots { display: flex; gap: 10px; }
.cf-dot {
  width: 9px; height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
  transition: background-color var(--dur-micro) var(--ease-out-quart),
              transform var(--dur-micro) var(--ease-out-quart);
}
.cf-dot[aria-current="true"] { background: var(--brand); transform: scale(1.5); }
.cf-dot:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }

/* ------------------------------------------------------------
   2. KULLANIM ALANI KARTLARI — görselli (STAGGER-GRID + HOVER-LIFT)
   ------------------------------------------------------------ */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.uc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--dur-micro) var(--ease-out-quart),
              border-color var(--dur-micro) var(--ease-out-quart);
}
/* gölge pseudo-element opacity ile (box-shadow animasyonu yok) */
.uc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -18px rgba(23, 50, 77, 0.30);
  opacity: 0;
  transition: opacity var(--dur-micro) var(--ease-out-quart);
  pointer-events: none;
}
.uc-card:hover { transform: translateY(-4px); border-color: rgba(240, 126, 38, 0.35); }
.uc-card:hover::after { opacity: 1; }

.uc-media {
  position: relative;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  background: #0D1F33;
}
.uc-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out-expo);
}
.uc-card:hover .uc-media img { transform: scale(1.06); }
.uc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 31, 51, 0.85) 0%, rgba(13, 31, 51, 0.12) 55%, transparent 100%);
}
.uc-badge {
  position: absolute;
  left: 18px; bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  background: rgba(10, 23, 38, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.uc-badge svg { color: var(--teal); flex-shrink: 0; }

.uc-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.uc-body h3 { font-size: 1.12rem; margin-bottom: 9px; }
.uc-body p { font-size: 0.93rem; color: var(--ink-soft); flex: 1; }
.uc-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.uc-tags span {
  font-size: 0.74rem;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 500;
}

/* ------------------------------------------------------------
   2a. İSTATİSTİK ŞERİDİ — iki satır: formatlar (3) + kapasiteler (4)
   ------------------------------------------------------------ */
.stats--3 { grid-template-columns: repeat(3, 1fr); }
.stats + .stats { margin-top: 24px; }
/* Sayı yerine kelime yazan kart ("Prizmatik") biraz küçük punto ister */
.stat-num--word { font-size: clamp(1.5rem, 2.1vw, 2rem); letter-spacing: -0.02em; }

@media (max-width: 1024px) {
  /* style.css'teki .stats kuralını da geçersiz kılmak için burada tekrar */
  .stats--3 { grid-template-columns: repeat(3, 1fr); }
  .stats + .stats { margin-top: 18px; }
}
@media (max-width: 640px) {
  .stats--3 { grid-template-columns: 1fr 1fr; }
  /* tek başına kalan üçüncü kart tam genişlik alsın */
  .stats--3 .stat:last-child { grid-column: 1 / -1; }
  .stats + .stats { margin-top: 14px; }
}

/* ------------------------------------------------------------
   2a-2. TEKNOLOJİ OLGUNLUK PORTFÖYÜ — scroll accordion
   Pattern: ACCORDION (grid-template-rows 0fr→1fr; yükseklik ölçmeden,
   içerik 180 ms sonra fade ile gelir) + SCROLL-REVEAL (panel scroll ile
   sırayla açılır) + PARALLAX-SUBTLE'ın akrabası olan scrub'lı ilerleme rayı.
   Varsayılan CSS durumu AÇIK'tır → JS yoksa tüm içerik okunur kalır.
   ------------------------------------------------------------ */
.mat {
  position: relative;
  padding-left: 88px;
}
/* Olgunluk rayı — kademeleri birbirine bağlayan dikey çizgi */
.mat-rail {
  position: absolute;
  left: 27px;
  top: 34px;
  bottom: 34px;
  width: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.mat-rail span {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--brand), var(--teal));
  transform: scaleY(0);
  transform-origin: top;
  will-change: transform;
}

.mat-item {
  position: relative;
  border-top: 1px solid var(--line);
}
.mat-item:last-child { border-bottom: 1px solid var(--line); }

/* ---- Başlık (buton) ---- */
.mat-head {
  width: 100%;
  display: grid;
  /* .mat-num konumlandırması absolute olduğu için sütun oluşturmaz:
     başlık | aşama rozeti | ok  (mobilde num akışa girer, aşağıda 3 sütun) */
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 22px;
  padding: 30px 4px;
  background: none;
  border: 0;
  text-align: left;
  color: inherit;
  transition: color var(--dur-micro) var(--ease-out-quart);
}
.mat-head:hover .mat-title { color: var(--brand); }
.mat-head:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 10px; }

.mat-num {
  position: absolute;
  left: -88px;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-soft);
  z-index: 2;
  transition: color var(--dur-reveal) var(--ease-out-quart),
              border-color var(--dur-reveal) var(--ease-out-quart),
              background-color var(--dur-reveal) var(--ease-out-quart);
}
.mat-item.is-open .mat-num {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.mat-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
  transition: color var(--dur-micro) var(--ease-out-quart);
}
.mat-stage {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  white-space: nowrap;
}
.mat-item.is-open .mat-stage { background: var(--brand-soft); color: var(--brand); }

.mat-chevron {
  color: var(--ink-soft);
  transition: transform var(--dur-reveal) var(--ease-out-expo),
              color var(--dur-micro) var(--ease-out-quart);
}
.mat-item.is-open .mat-chevron { transform: rotate(180deg); color: var(--brand); }

/* ---- Gövde: grid-template-rows hilesi (yükseklik ölçümü gerekmez) ---- */
.mat-body {
  display: grid;
  grid-template-rows: 1fr;              /* varsayılan AÇIK → no-JS güvenli */
  transition: grid-template-rows 520ms var(--ease-out-expo);
}
.mat-item.is-closed .mat-body { grid-template-rows: 0fr; }
.mat-body > div { overflow: hidden; }
.mat-body-inner {
  padding: 2px 4px 38px;
  opacity: 1;
  transition: opacity 300ms var(--ease-out-quart) 180ms;
}
.mat-item.is-closed .mat-body-inner { opacity: 0; transition-delay: 0ms; }

.mat-body-inner > p { color: var(--ink-soft); max-width: 82ch; }
.mat-body-inner > p + p { margin-top: 14px; }

/* ---- Panel içi alt başlıklar ---- */
.mat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}
.mat-cards--2 { grid-template-columns: repeat(2, 1fr); }
.mat-card {
  padding: 24px 24px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--dur-micro) var(--ease-out-quart),
              border-color var(--dur-micro) var(--ease-out-quart);
}
.mat-card:hover { transform: translateY(-3px); border-color: rgba(240, 126, 38, 0.35); }
.mat-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.mat-card h4::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  transform: translateY(-2px);
}
.mat-card:nth-child(even) h4::before { background: var(--brand); }
.mat-card p { font-size: 0.9rem; color: var(--ink-soft); }

/* Pilot platform kartlarında hedef kapasite vurgusu */
.mat-spec {
  margin-top: 12px;
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.mat-spec b {
  font-family: var(--font-display);
  color: var(--brand);
  font-weight: 700;
  font-size: 1.05rem;
}

.mat-subhead {
  margin-top: 30px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
}

@media (max-width: 1024px) {
  .mat-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .mat { padding-left: 0; }
  .mat-rail { display: none; }
  .mat-num { position: static; width: 40px; height: 40px; font-size: 0.85rem; }
  .mat-head { grid-template-columns: auto 1fr auto; gap: 14px; padding: 24px 2px; }
  .mat-stage { display: none; }          /* dar ekranda başlığa yer aç */
  .mat-cards { grid-template-columns: 1fr; }
  .mat-body-inner { padding-bottom: 30px; }
}

/* Hareket azaltma: tüm paneller açık, geçiş yok, ray dolu */
@media (prefers-reduced-motion: reduce) {
  .mat-body { transition: none !important; grid-template-rows: 1fr !important; }
  .mat-body-inner { opacity: 1 !important; transition: none !important; }
  .mat-chevron { display: none; }
  .mat-rail span { transform: scaleY(1) !important; }
}

/* ------------------------------------------------------------
   2b. Araştırma ve Teknoloji kart ızgarası
   (inline style yerine sınıf — böylece media query'ler devreye girer)
   ------------------------------------------------------------ */
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ------------------------------------------------------------
   2c. KULLANIM ALANLARI VİTRİNİ — büyük görseller + parallax
   Pattern: PARALLAX-SUBTLE (sütun + iç görsel, iki farklı hız),
            IMAGE-UNMASK (alttan clip-path açılma), HOVER-LIFT
   Hareket JS ile yazılır; JS yoksa karolar sabit ve tam görünür.
   ------------------------------------------------------------ */
.uc-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.ucx { position: relative; }

/* Sütun parallax'ı bu katmana yazılır (translateY) */
.ucx-media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0D1F33;
  will-change: transform;
}
/* İç görsel kutudan taşacak kadar uzun; karşı yönde kayar */
.ucx-inner {
  position: absolute;
  left: 0; right: 0;
  top: -14%; bottom: -14%;
  will-change: transform;
}
.ucx-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease-out-expo), filter 800ms var(--ease-out-expo);
}
.ucx:hover .ucx-inner img { transform: scale(1.06); }

/* Metin için okunabilirlik perdesi */
.ucx-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 19, 33, 0.92) 0%, rgba(8, 19, 33, 0.55) 30%, rgba(8, 19, 33, 0.08) 62%, transparent 100%);
  transition: opacity var(--dur-reveal) var(--ease-out-quart);
}

.ucx-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 30px 28px 28px;
  color: #fff;
}
.ucx-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--teal);
  margin-bottom: 10px;
}
.ucx-body h3 {
  color: #fff;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  margin-bottom: 10px;
}
.ucx-body p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--dur-reveal) var(--ease-out-quart);
}
.ucx:hover .ucx-body p { color: rgba(255, 255, 255, 0.9); }

/* HOVER-LIFT: metin bloğu hafifçe yükselir (yükseklik değil, transform) */
.ucx-body { transition: transform 420ms var(--ease-out-expo); }
.ucx:hover .ucx-body { transform: translateY(-6px); }

.ucx-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}
.ucx-tags span {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.92);
}

/* Alt kenarda marka aksanı — hover'da soldan sağa çizilir */
.ucx-media::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  z-index: 3;
  background: linear-gradient(90deg, var(--brand), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms var(--ease-out-expo);
}
.ucx:hover .ucx-media::before { transform: scaleX(1); }

/* IMAGE-UNMASK: karo alttan yukarı açılır (başlangıç JS ile kurulur) */
.ucx-media[data-wipe] { clip-path: inset(0 0 0 0); }

/* ------------------------------------------------------------
   2d. VİZYON / MİSYON kartları + öne çıkan koyu bant (hakkimizda)
   ------------------------------------------------------------ */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.vm-card {
  position: relative;
  padding: 40px 38px 42px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur-micro) var(--ease-out-quart),
              border-color var(--dur-micro) var(--ease-out-quart);
}
/* gölge pseudo-element ile (box-shadow animasyonu yok) */
.vm-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 52px -22px rgba(23, 50, 77, 0.28);
  opacity: 0;
  transition: opacity var(--dur-micro) var(--ease-out-quart);
  pointer-events: none;
}
/* üst kenarda marka aksanı — hover'da soldan sağa çizilir */
.vm-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 460ms var(--ease-out-expo);
}
.vm-card:hover { transform: translateY(-4px); border-color: rgba(23, 50, 77, 0.16); }
.vm-card:hover::after { opacity: 1; }
.vm-card:hover::before { transform: scaleX(1); }

.vm-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 15px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 22px;
}
.vm-card:nth-child(even) .vm-icon { background: var(--teal-soft); color: var(--teal); }
.vm-card h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); margin-bottom: 14px; }
.vm-card p { color: var(--ink-soft); font-size: 1rem; }

/* Öne çıkan koyu bant — tam koyu bölüm açmadan vurgu yaratır */
.focus-band {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, #17324D 0%, #0D1F33 100%);
  padding: 62px 64px 66px;
  overflow: hidden;
}
.focus-band > * { position: relative; z-index: 2; }
.focus-band .eyebrow { color: var(--teal); }
.focus-band .eyebrow::before { background: var(--teal); }
.focus-band h2 { color: #fff; margin: 14px 0 20px; }
.focus-band p { color: rgba(255, 255, 255, 0.74); max-width: 78ch; }
.focus-band p + p { margin-top: 16px; }
.focus-band .chips { margin-top: 30px; }
.focus-band .chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

@media (max-width: 1024px) {
  .vm-grid { grid-template-columns: 1fr; }
  .focus-band { padding: 48px 40px 52px; }
}
@media (max-width: 640px) {
  .vm-card { padding: 32px 26px 34px; }
  .focus-band { padding: 38px 24px 40px; }
}

/* ------------------------------------------------------------
   2e. İŞ BİRLİĞİ ÇAĞRISI — slogan + anahtar başlıklar (arge sayfası)
   ------------------------------------------------------------ */
.partner-head { max-width: 900px; }
.partner-head h2 { margin: 14px 0 0; }

/* Slogan — sol kenarında marka aksanı olan büyük ifade */
.slogan {
  margin: 26px 0 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--brand);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #fff;
}
.section--dark .slogan { color: #fff; }

.partner-text { max-width: 82ch; margin-top: 30px; }
.partner-text p + p { margin-top: 16px; }

/* Anahtar başlıklar — sayı değil, kapsam listesi */
.partner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.partner-tags li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: border-color var(--dur-micro) var(--ease-out-quart),
              background-color var(--dur-micro) var(--ease-out-quart),
              transform var(--dur-micro) var(--ease-out-quart);
}
.partner-tags li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}
.partner-tags li:nth-child(even)::before { background: var(--brand); }
.partner-tags li:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.partner-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 640px) {
  .slogan { padding-left: 16px; }
  .partner-tags { gap: 8px; }
  .partner-tags li { padding: 9px 15px; font-size: 0.82rem; }
  .partner-actions .btn { width: 100%; justify-content: center; }
}

/* ------------------------------------------------------------
   2f. AJANS İMZASI — footer sağ alt köşede dikey künye
   Masaüstünde footer'a göre mutlak konumlu ve dikey yazılır;
   mobilde akışa girip footer-bottom satırında yatay durur.
   ------------------------------------------------------------ */
.site-footer { position: relative; }

/* Yasal metin sayfaları (KVKK, gizlilik) */
.legal-doc { max-width: 78ch; }
.legal-doc h2 {
  margin: 44px 0 14px;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.legal-doc h2:first-of-type { border-top: 0; padding-top: 0; }
.legal-doc h3 { margin: 28px 0 12px; font-size: 1.05rem; color: var(--brand); }
.legal-doc p { color: var(--ink-soft); }
.legal-doc p + p { margin-top: 14px; }
.legal-doc a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.legal-doc a:hover { text-decoration-thickness: 2px; }

/* Madde listeleri — global list-style:none olduğu için özel işaret */
.legal-doc ul { display: grid; gap: 10px; margin: 16px 0 0; }
.legal-doc ul li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.6;
}
.legal-doc ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.legal-doc ul li:nth-child(even)::before { background: var(--brand); }

/* Veri sorumlusu iletişim kartı */
.legal-contact {
  margin-top: 22px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  display: grid;
  gap: 12px;
}
.legal-contact div { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 0.94rem; }
.legal-contact dt, .legal-contact strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  min-width: 120px;
}
.legal-contact span, .legal-contact dd { color: var(--ink-soft); margin: 0; }

/* Tarayıcı ayar adresleri — bağlantı değil, kopyalanabilir metin */
.legal-browsers li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.legal-browsers strong { color: var(--navy); font-family: var(--font-display); font-weight: 600; }
.legal-doc code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(23, 50, 77, 0.07);
  border: 1px solid var(--line);
  color: var(--navy);
  user-select: all;                 /* tek tıkla tamamını seçer */
}
[data-theme="dark"] .legal-doc code { background: rgba(255, 255, 255, 0.07); }
.legal-note { margin-top: 14px; font-size: 0.88rem; opacity: 0.85; }

/* Yürürlük notu */
.legal-effective {
  margin-top: 40px;
  padding: 20px 24px;
  border-left: 3px solid var(--teal);
  background: var(--teal-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.94rem;
}
.legal-effective p { color: var(--ink); }
[data-theme="dark"] .legal-effective { background: rgba(56, 182, 200, 0.1); }
.legal-pending {
  margin-top: 32px;
  padding: 26px 28px;
  border: 1px dashed rgba(23, 50, 77, 0.24);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  background: rgba(240, 126, 38, 0.05);
}
.legal-pending strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  margin-bottom: 8px;
}
.legal-pending a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
[data-theme="dark"] .legal-pending {
  border-color: rgba(255, 255, 255, 0.2);
  border-left-color: var(--brand);
  background: rgba(240, 126, 38, 0.08);
}

/* Footer alt satırındaki yasal bağlantılar */
.footer-legal { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-legal a { transition: color var(--dur-micro) var(--ease-out-quart); }
.footer-legal a:hover { color: var(--brand); }
@media (max-width: 640px) {
  .footer-legal { gap: 8px 20px; }
}

.agency-sign {
  position: absolute;
  right: 20px;
  bottom: 26px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: lowercase;
  color: var(--ink-soft);
  opacity: 0.5;
  transition: opacity var(--dur-micro) var(--ease-out-quart),
              color var(--dur-micro) var(--ease-out-quart),
              transform var(--dur-micro) var(--ease-out-quart);
}
/* Kelimenin üstünde ince bağlantı çizgisi */
.agency-sign::before {
  content: "";
  width: 1px;
  height: 26px;
  background: currentColor;
  opacity: 0.6;
}
.agency-sign:hover,
.agency-sign:focus-visible {
  opacity: 1;
  color: var(--brand);
  transform: translateY(-2px);
}
.agency-sign:focus-visible { outline: 2px solid var(--teal); outline-offset: 6px; border-radius: 4px; }

/* Dar ekranda köşeye sıkışmasın: normal akışa dön, yatay yaz */
@media (max-width: 900px) {
  .agency-sign {
    position: static;
    writing-mode: horizontal-tb;
    transform: none;
  }
  .agency-sign::before { width: 22px; height: 1px; }
  .agency-sign:hover, .agency-sign:focus-visible { transform: none; }
}

/* ------------------------------------------------------------
   3. HAKKIMIZDA — bina.png (IMAGE-UNMASK + PARALLAX-SUBTLE)
   ------------------------------------------------------------ */
.about-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.about-figure { position: relative; }
.about-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px -34px rgba(23, 50, 77, 0.45);
}
.about-frame img { width: 100%; height: auto; display: block; }
/* markanın turuncu/teal aksanı — fotoğrafı kurumsal çerçeveye oturtur */
.about-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(56, 182, 200, 0.16) 0%, transparent 42%, rgba(13, 31, 51, 0.30) 100%);
  pointer-events: none;
}
.about-figure::before {
  content: "";
  position: absolute;
  left: -20px; top: -20px;
  width: 128px; height: 128px;
  border-top: 3px solid var(--brand);
  border-left: 3px solid var(--brand);
  border-top-left-radius: var(--radius-lg);
  pointer-events: none;
}
.about-figure::after {
  content: "";
  position: absolute;
  right: -20px; bottom: -20px;
  width: 128px; height: 128px;
  border-bottom: 3px solid var(--teal);
  border-right: 3px solid var(--teal);
  border-bottom-right-radius: var(--radius-lg);
  pointer-events: none;
}
.about-plate {
  position: absolute;
  right: 26px; bottom: 26px;
  z-index: 2;
  padding: 18px 24px;
  border-radius: 14px;
  background: rgba(10, 23, 38, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  max-width: 300px;
}
.about-plate strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.about-plate span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.66); line-height: 1.5; }

.about-points { display: grid; gap: 16px; margin: 28px 0 32px; }
.about-point { display: flex; gap: 14px; align-items: flex-start; }
.about-point .ap-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
}
.about-point:nth-child(even) .ap-icon { background: var(--teal-soft); color: var(--teal); }
.about-point h4 { font-size: 1rem; margin-bottom: 3px; }
.about-point p { font-size: 0.91rem; color: var(--ink-soft); }

/* IMAGE-UNMASK başlangıç durumu (no-JS fallback aşağıda) */
[data-unmask] { clip-path: inset(0 100% 0 0); }
html.no-js [data-unmask] { clip-path: none; }

/* ------------------------------------------------------------
   3b. FOTOĞRAFLI SAYFA HERO (urunlerimiz.html)
   page-hero'nun üzerine gelir; arkada fotoğraf + yavaş Ken Burns
   ------------------------------------------------------------ */
.page-hero--media { overflow: hidden; }
.page-hero--media .hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
/* Slayt katmanı: görseller üst üste yığılır, sadece aktif olan görünür.
   Geçiş yalnızca opacity + transform (ucuz özellikler). */
.page-hero--media .hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1100ms var(--ease-out-quart);
  will-change: opacity;
}
.page-hero--media .hero-photo img.is-active {
  opacity: 0.78;
  /* Aktif slayt görünürken çok yavaş Ken Burns (tek yönlü, tekrar yok) */
  animation: heroKen 8.5s ease-out forwards;
}
@keyframes heroKen {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to   { transform: scale(1.12) translate3d(-1.4%, -1.2%, 0); }
}
/* JS yoksa ilk görsel sabit kalsın */
html.no-js .page-hero--media .hero-photo img:first-child { opacity: 0.78; }
.page-hero--media .hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Metnin okunabilirliği için soldan sağa açılan koyu perde */
  background: linear-gradient(100deg, rgba(13, 31, 51, 0.96) 6%, rgba(13, 31, 51, 0.82) 38%, rgba(13, 31, 51, 0.34) 100%),
              linear-gradient(to top, rgba(13, 31, 51, 0.7) 0%, transparent 45%);
}
.page-hero--media .hero-title .line { display: block; overflow: hidden; }
.page-hero--media .hero-title .line-inner { display: inline-block; }

/* Yeşil varyant (sürdürülebilirlik): perde lacivert yerine koyu yeşil-teal,
   böylece fotoğrafın yeşili ölmüyor, metin yine okunur kalıyor. */
.page-hero--green { background: linear-gradient(160deg, #123A33 0%, #0A1F1C 100%); }
.page-hero--green .hero-photo img { opacity: 0.9; }
.page-hero--green .hero-photo::after {
  background: linear-gradient(100deg, rgba(7, 26, 23, 0.94) 4%, rgba(8, 30, 27, 0.78) 40%, rgba(10, 36, 32, 0.34) 100%),
              linear-gradient(to bottom, rgba(7, 26, 23, 0.6) 0%, transparent 30%, transparent 62%, rgba(7, 26, 23, 0.72) 100%);
}

/* ------------------------------------------------------------
   3c. ÜRÜN KARTLARI — spec + fotoğraf (urunlerimiz.html)
   Pattern: STAGGER-GRID (giriş) + COUNTER (kapasite) + HOVER-LIFT
   ------------------------------------------------------------ */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.prod {
  --acc: var(--brand);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 16px;
  align-items: center;
  padding: 34px 34px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur-micro) var(--ease-out-quart),
              border-color var(--dur-micro) var(--ease-out-quart);
}
/* gölge pseudo-element ile (box-shadow animasyonu yok) */
.prod::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 56px -22px rgba(23, 50, 77, 0.32);
  opacity: 0;
  transition: opacity var(--dur-micro) var(--ease-out-quart);
  pointer-events: none;
}
/* ürün rengiyle eşleşen üst şerit */
.prod::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--ease-out-expo);
}
.prod:hover { transform: translateY(-4px); border-color: rgba(23, 50, 77, 0.18); }
.prod:hover::after { opacity: 1; }
.prod:hover::before { transform: scaleX(1); }

.prod-info { position: relative; z-index: 2; min-width: 0; }
.prod-volt {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--acc);
  letter-spacing: -0.01em;
}
.prod-cap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--acc);
  line-height: 1;
  margin-top: 2px;
}
.prod-cap .num { font-size: clamp(2.6rem, 4vw, 3.4rem); letter-spacing: -0.03em; }
.prod-cap .unit { font-size: 1.15rem; font-weight: 600; color: var(--ink-soft); }
.prod-rule {
  width: 84px; height: 2px;
  border: 0;
  margin: 16px 0 14px;
  background: var(--acc);
  opacity: 0.55;
  border-radius: 2px;
}
.prod-chem {
  font-size: 1.25rem;
  margin-bottom: 2px;
}
.prod-type {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.prod-desc { margin-top: 14px; font-size: 0.92rem; color: var(--ink-soft); }

.prod-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
}
.prod-feat {
  display: grid;
  justify-items: center;
  gap: 7px;
  width: 74px;
  text-align: center;
}
.prod-feat svg { color: var(--acc); }
.prod-feat span {
  font-family: var(--font-display);
  font-size: 0.63rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.prod-media {
  position: relative;
  z-index: 2;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 260px;
}
/* ürünün arkasındaki yumuşak ışık — hover'da genişler */
.prod-media::before {
  content: "";
  position: absolute;
  width: 78%; height: 62%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--acc) 26%, transparent) 0%, transparent 70%);
  filter: blur(18px);
  transform: scale(0.94);
  transition: transform 500ms var(--ease-out-expo), opacity 500ms var(--ease-out-expo);
  opacity: 0.75;
}
.prod:hover .prod-media::before { transform: scale(1.08); opacity: 1; }
.prod-media img {
  position: relative;
  max-height: 300px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(13, 31, 51, 0.28));
  transition: transform 600ms var(--ease-out-expo);
}
.prod:hover .prod-media img { transform: translateY(-8px) scale(1.03); }

/* Geliştirme aşamasındaki hücreler — kompakt şerit */
.dev-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.dev-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px dashed rgba(23, 50, 77, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
}
.dev-item .dev-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  white-space: nowrap;
}
.dev-item .dev-val em { font-style: normal; font-size: 0.6em; color: var(--brand); margin-left: 3px; }
.dev-item p { font-size: 0.88rem; color: var(--ink-soft); }
.dev-item strong { display: block; color: var(--navy); font-family: var(--font-display); font-size: 0.95rem; }
[data-theme="dark"] .dev-item { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.18); }
[data-theme="dark"] .prod::after { box-shadow: 0 28px 56px -22px rgba(0, 0, 0, 0.65); }

/* Tek sayıda kart varsa sonuncusu satırı doldurur (yalnız 2 sütunlu düzende) */
@media (min-width: 1025px) {
  .prod-grid > .prod:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 0.58fr;
    padding: 40px 44px 36px;
  }
  .prod-grid > .prod:last-child:nth-child(odd) .prod-desc { max-width: 62ch; }
  .prod-grid > .prod:last-child:nth-child(odd) .prod-media img { max-height: 330px; }
}

/* Ürün kartları responsive */
@media (max-width: 1180px) {
  .prod { padding: 28px 26px 26px; grid-template-columns: 1fr 0.76fr; }
  .prod-media img { max-height: 250px; }
}
@media (max-width: 1024px) {
  .prod-grid { grid-template-columns: 1fr; }
  .prod { grid-template-columns: 1fr 0.7fr; }
  .prod-media img { max-height: 280px; }
  .dev-strip { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .prod {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px 22px 28px;
  }
  /* mobilde önce ürün fotoğrafı, sonra bilgiler */
  .prod-media { order: -1; min-height: 0; }
  .prod-media img { max-height: 220px; }
  .prod-feats { gap: 14px; }
  .prod-feat { width: 66px; }
}

/* ------------------------------------------------------------
   4. Responsive
   ------------------------------------------------------------ */
/* Dar masaüstü / büyük tablet: sütunlar daralır */
@media (max-width: 1180px) {
  .hero-x-grid { gap: 32px; }
  .cf { --cf-w: clamp(165px, 17.5vw, 225px); }
  .cf-pedestal { width: 440px; }
  .cf-ring { width: 380px; height: 96px; }
}

/* Tablet ve altı: tek sütun — başlık üstte, vitrin altta */
@media (max-width: 1024px) {
  .hero-x {
    min-height: auto;
    padding: calc(var(--header-h) + 40px) 0 64px;
    align-items: flex-start;
  }
  .hero-x-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-x-head { max-width: 42ch; margin: 0 auto; justify-self: center; text-align: center; }
  .hero-x-head .eyebrow { justify-content: center; }
  .hero-x-head .lead { margin-left: auto; margin-right: auto; }
  .cf { --cf-w: clamp(210px, 30vw, 290px); height: 400px; perspective: 1300px; }
  .cf-pedestal { width: 520px; }
  .cf-ring { width: 430px; height: 104px; }
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; gap: 56px; }
  /* Parallax kapalı (JS de kapatır): karolar hizalı kalsın */
  .uc-showcase { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .ucx-media { aspect-ratio: 4 / 5; }
  .ucx-inner { top: 0; bottom: 0; }
}

/* Mobil */
@media (max-width: 640px) {
  .hero-x { padding: calc(var(--header-h) + 28px) 0 52px; }
  .hero-x-grid { gap: 26px; }
  .hero-x-head .lead { font-size: 0.98rem; }
  .cf { --cf-w: clamp(175px, 50vw, 225px); height: 310px; perspective: 900px; }
  .cf-pedestal { width: 340px; height: 112px; }
  .cf-ring { width: 280px; height: 76px; bottom: 46px; }
  .cf-meta { min-height: 112px; margin-top: 14px; }
  .cf-meta h2 { font-size: 1.2rem; }
  .cf-specs span { font-size: 0.76rem; padding: 6px 13px; }
  .cf-nav { gap: 16px; margin-top: 14px; }
  .cf-btn { width: 42px; height: 42px; }
  .usecase-grid { grid-template-columns: 1fr; }
  .card-grid--3 { grid-template-columns: 1fr; }
  .uc-showcase { grid-template-columns: 1fr; gap: 18px; }
  .ucx-media { aspect-ratio: 4 / 3; }
  .ucx-body { padding: 24px 22px 22px; }
  .about-figure::before, .about-figure::after { width: 76px; height: 76px; }
  .about-plate { position: static; margin-top: 16px; max-width: none; }
}

/* Çok dar ekranlarda yan kartlar taşmasın */
@media (max-width: 400px) {
  .cf { --cf-w: 50vw; }
}

/* ------------------------------------------------------------
   5. Dark mod uyumu
   ------------------------------------------------------------ */
[data-theme="dark"] .uc-card::after { box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.65); }
[data-theme="dark"] .about-frame { box-shadow: 0 40px 80px -34px rgba(0, 0, 0, 0.7); }

/* ------------------------------------------------------------
   6. ERİŞİLEBİLİRLİK — hareket azaltma (zorunlu)
   Coverflow konumları korunur, sadece hareket/otomatik geçiş kalkar.
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .cf-item, .cf-stage, .uc-media img { transition: none !important; }
  .cf-stage { transform: none !important; }
  [data-unmask] { clip-path: none !important; }
  /* Vitrin: parallax ve hover hareketi kapalı, metin hep açık */
  .ucx-media, .ucx-inner { transform: none !important; }
  .ucx-inner { top: 0 !important; bottom: 0 !important; }
  .ucx-inner img { transition: none !important; }
  .ucx:hover .ucx-inner img { transform: none; }
  .ucx-body, .ucx-body p { transition: none !important; }
  .ucx:hover .ucx-body { transform: none; }
  /* Hero videosu oynatılmaz; yerinde poster kalır (JS de kaldırır) */
  .hero-x-video video { display: none; }
  .hero-x-video::after { animation: none; }
  /* Hero slayt gösterisi: geçiş ve Ken Burns kapalı, ilk görsel sabit */
  .page-hero--media .hero-photo img { transition: none !important; animation: none !important; }
  .page-hero--media .hero-photo img.is-active { animation: none !important; transform: scale(1.05); }
}

/* ============================================================
   FORM GÖNDERİM DURUMU
   ============================================================ */

/* Bal küpü alanı — ekran okuyucular ve göz için görünmez,
   display:none DEĞİL (bazı botlar onu atlar) */
.hp-field {
  position: absolute !important;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Sonuç mesajı: başarı yeşil, hata kırmızı */
.form-status,
.newsletter-status {
  transition: color .2s ease;
}
.form-status.show,
.newsletter-status.show {
  color: #1d8a4e;
}
.form-status.is-error,
.newsletter-status.is-error {
  color: #c2381f;
}
[data-theme="dark"] .form-status.show,
[data-theme="dark"] .newsletter-status.show { color: #4ec27f; }
[data-theme="dark"] .form-status.is-error,
[data-theme="dark"] .newsletter-status.is-error { color: #ff7f66; }

/* Gönderim sırasında buton pasif */
form button[type="submit"]:disabled {
  opacity: .6;
  cursor: progress;
}
