/* ============================================================
   ENFOTEK — Tasarım Sistemi (enfotek.css)
   Kurumsal dark tema · turuncu aksan · Google Sans Flex
   Bootstrap 5 üzerine giydirilen marka katmanı.
   Bölümler:  1) Tokens  2) Reset/Temel  3) Tipografi
              4) Yardımcılar  5) Bileşenler  6) Bölümler
              7) Footer  8) Responsive  9) Motion/A11y
   ============================================================ */

/* ---------- 1) TASARIM TOKEN'LARI ---------- */
:root {
  /* Marka renkleri */
  --enf-orange: #fe9833;
  --enf-orange-600: #f0850f;
  --enf-gray: #44515d;       /* marka grisi */
  --enf-mist: #e6eaed;       /* açık (nadir) */
  --enf-white: #ffffff;

  /* Koyu zemin katmanları (siyah → mavi-gri ton) */
  --bg: #07090c;             /* en alt zemin */
  --surface: #0d1117;        /* bölüm yüzeyi */
  --surface-2: #131a23;      /* kart */
  --surface-3: #1a232e;      /* yükseltilmiş / hover */
  --line: rgba(230, 234, 237, .10);
  --line-strong: rgba(230, 234, 237, .18);

  /* Metin */
  --text: #e8edf2;
  --text-soft: #aab4bf;
  --text-mute: #6c7783;

  /* Aksan camsı gölgeler */
  --glow: rgba(254, 152, 51, .35);
  --glow-soft: rgba(254, 152, 51, .14);

  /* Tipografi */
  --font-sans: "Google Sans Flex", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Tip ölçeği (akıcı) */
  --fs-eyebrow: .78rem;
  --fs-body: clamp(1rem, .96rem + .2vw, 1.075rem);
  --fs-lead: clamp(1.1rem, 1rem + .5vw, 1.3rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .6vw, 1.6rem);
  --fs-h2: clamp(1.9rem, 1.5rem + 1.8vw, 3rem);
  --fs-display: clamp(2.5rem, 1.7rem + 3.6vw, 4.6rem);

  /* Yapı */
  --container: 1240px;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --gap: clamp(1rem, 2vw, 1.5rem);
  --section-y: clamp(4.5rem, 8vw, 8rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
}

/* ---------- 2) RESET / TEMEL ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
::selection { background: var(--enf-orange); color: #1a1300; }

/* İnce parlama dokulu zemin */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(1200px 600px at 78% -8%, rgba(254,152,51,.06), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(68,81,93,.18), transparent 60%);
  pointer-events: none; z-index: 0;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
main { position: relative; z-index: 1; }

/* ---------- 3) TİPOGRAFİ ---------- */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.1; letter-spacing: -.02em; color: var(--enf-white); margin: 0 0 .6em; }
.display { font-size: var(--fs-display); font-weight: 600; line-height: 1.02; letter-spacing: -.035em; }
h2.section-title { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1rem; color: var(--text-soft); }
.lead { font-size: var(--fs-lead); font-weight: 400; color: var(--text-soft); }
strong { color: var(--text); font-weight: 600; }
.text-accent { color: var(--enf-orange); }

/* Mono veri / index etiketleri — teknik imza */
.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }

/* Eyebrow + üç-bar marka motifi (logodaki turuncu barlardan) */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--enf-orange);
  margin: 0 0 1.1rem;
}
/* background/padding sıfırlama: Bootstrap'in .mark vurgu zeminini ezer */
.eyebrow .mark { display: inline-flex; flex-direction: column; gap: 3px; background: transparent; padding: 0; }
.eyebrow .mark span {
  display: block; height: 2.5px; width: 18px; border-radius: 2px;
  background: var(--enf-orange);
}
.eyebrow .mark span:nth-child(2) { width: 13px; opacity: .8; }
.eyebrow .mark span:nth-child(3) { width: 16px; opacity: .55; }

/* Bölüm başlık bloğu */
.section-head { max-width: 680px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- 4) YARDIMCILAR ---------- */
.section { padding-block: var(--section-y); position: relative; }

.article-body { width: 100%; max-width: none; }
.article-body > :first-child { margin-top: 0; }
.article-body h3 { margin-top: 2.4rem; }
.article-body p + p { margin-top: 1rem; }

/* ====== ÜRÜN DETAY İÇERİĞİ ====== */
.product-detail .container { overflow-x: clip; }
/* Gövde container'a tam otursun ve hero başlığıyla aynı hizadan başlasın
   (önceden 860px'e kısılıp ortalanıyor, solda/sağda boşluk bırakıyordu). */
.product-content {
  max-width: none;
  margin-inline: 0;
}
.product-body {
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.product-body > :first-child { margin-top: 0; }
.product-body h2,
.product-body h3 {
  margin-top: 2.2rem;
  margin-bottom: .75rem;
  color: var(--enf-white);
  line-height: 1.25;
  max-width: none;
}
.product-body h2 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.85rem); }
.product-body h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); max-width: none; }
.product-body p,
.product-body li { color: var(--text-soft); }
.product-body p { max-width: none; }
.product-body ul,
.product-body ol {
  margin: 1rem 0 1.2rem;
  padding-left: 1.35rem;
  max-width: none;
}
.product-body li + li { margin-top: .35rem; }
.product-body img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  margin: 1.4rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.product-body .product-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: clamp(.9rem, 2vw, 1.2rem);
  margin: 2rem 0 1.4rem;
  max-width: 100%;
}
.product-body .product-video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #000;
}
.product-body .product-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  display: block;
}
.product-body video,
.product-body embed {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 1.4rem 0;
  border: 0;
  border-radius: var(--radius);
}
.product-body table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 1.4rem 0;
}
.product-body table td,
.product-body table th {
  border: 1px solid var(--line);
  padding: .65rem .8rem;
  vertical-align: top;
}
.product-body a { color: var(--enf-orange); text-decoration: underline; text-underline-offset: .15em; }
.product-body a:hover { color: var(--enf-white); }
.product-body .btn-text { text-decoration: none; max-width: none; }
.article-figure { margin: 0 0 1.6rem; max-width: 420px; }
.article-figure img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
@media (max-width: 640px) { .article-figure { max-width: 100%; } }

/* ====== LİSTELEME SAYFALAMASI (haberler / makaleler / müşteri yorumları / eğitimler) ====== */
.listing-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: .5rem; margin-top: 3.2rem; }
.listing-page-numbers { display: flex; align-items: center; gap: .4rem; }
.listing-page-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-width: 44px; height: 44px; padding: 0 .8rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text-soft);
  font-family: var(--font-mono); font-size: .95rem; font-weight: 500; line-height: 1; cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.listing-page-btn:hover { color: var(--enf-white); background: var(--surface-3);
  border-color: var(--line-strong); transform: translateY(-2px); }
.listing-page-btn.is-active { background: var(--enf-orange); border-color: var(--enf-orange);
  color: #1a1200; cursor: default; transform: none; box-shadow: 0 8px 24px -12px rgba(254,152,51,.5); }
.listing-page-btn--nav { padding: 0 1.1rem; color: var(--text-mute); font-family: var(--font-sans); font-weight: 600; }
.listing-page-btn--nav:hover { color: var(--enf-white); }
.listing-page-btn--nav i { font-size: .78rem; }
.listing-page-ellipsis { display: inline-flex; align-items: center; justify-content: center;
  min-width: 28px; height: 44px; color: var(--text-mute); font-family: var(--font-mono); }
@media (max-width: 480px) {
  .listing-page-btn { min-width: 40px; height: 40px; padding: 0 .6rem; }
  .listing-page-btn--nav { padding: 0 .85rem; }
}
.bg-surface { background: var(--surface); }
.bg-surface-2 { background: linear-gradient(180deg, var(--surface), var(--bg)); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.text-mute { color: var(--text-mute); }
.stack-sm > * + * { margin-top: .6rem; }

/* Köşe-parantez çerçeve imzası (HUD hissi) */
.brackets { position: relative; }
.brackets::before, .brackets::after {
  content: ""; position: absolute; width: 22px; height: 22px; pointer-events: none;
}
.brackets::before { top: 12px; left: 12px; border-top: 2px solid var(--enf-orange); border-left: 2px solid var(--enf-orange); }
.brackets::after { bottom: 12px; right: 12px; border-bottom: 2px solid var(--enf-orange); border-right: 2px solid var(--enf-orange); }

/* ---------- 5) BİLEŞENLER ---------- */
/* Butonlar */
.btn-enf {
  --b: var(--enf-orange);
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-sans); font-weight: 600; font-size: .98rem;
  padding: .85rem 1.5rem; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; transition: all .25s var(--ease); white-space: nowrap; line-height: 1;
}
.btn-enf svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn-enf:hover svg { transform: translateX(3px); }

.btn-primary-enf { background: var(--enf-orange); color: #1a1200; box-shadow: 0 8px 26px -10px var(--glow); }
.btn-primary-enf:hover { background: #ffac57; box-shadow: 0 12px 34px -10px var(--glow); transform: translateY(-2px); color: #1a1200; }

.btn-ghost-enf { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost-enf:hover { border-color: var(--enf-orange); color: var(--enf-white); transform: translateY(-2px); }

.btn-text { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--enf-orange); }
.btn-text svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn-text:hover svg { transform: translateX(4px); }

/* Genel kart */
.card-enf {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
  position: relative; overflow: hidden; height: 100%;
}
.card-enf:hover { border-color: var(--line-strong); transform: translateY(-4px); background: var(--surface-3); }

/* ====== HEADER / NAV ====== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
/* Üstte, parlak hero görsellerinde menü okunurluğu için hafif üst gradient scrim.
   Sadece sayfa en üstteyken görünür; kaydırınca solid zemin gelince yumuşakça kaybolur. */
.site-header::before {
  content: ""; position: absolute; inset: 0 0 auto 0; z-index: -1; pointer-events: none;
  height: calc(var(--header-h) * 1.7);
  background: linear-gradient(to bottom, rgba(7, 9, 12, .55) 0%, rgba(7, 9, 12, .28) 45%, transparent 100%);
  transition: opacity .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(7, 9, 12, .82); backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header.scrolled::before { opacity: 0; }
/* not: Bootstrap'in .nav sınıfıyla çakışmayı önlemek için flex-wrap açıkça nowrap */
.nav { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; width: 100%; gap: 1rem; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img, .brand-logo { height: 26px; width: auto; }
.nav-menu { display: flex; flex-wrap: nowrap; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap;
  padding: .55rem .7rem; border-radius: 9px; font-size: .93rem; font-weight: 500;
  color: var(--text-soft);
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--enf-white); background: rgba(255,255,255,.04); }
.nav-link .caret { width: 13px; height: 13px; opacity: .6; transition: transform .25s var(--ease); }
.has-mega:hover .caret { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: .9rem; flex-shrink: 0; }

/* Dil seçici */
.lang-switch { display: inline-flex; gap: 2px; font-family: var(--font-mono); font-size: .8rem; }
.lang-switch a { padding: .3rem .5rem; border-radius: 7px; color: var(--text-mute); letter-spacing: .05em; }
.lang-switch a.active { color: var(--enf-orange); }
.lang-switch a:hover { color: var(--text); }

/* Mega menü */
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 540px; background: var(--surface-2); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 1.2rem; box-shadow: 0 30px 70px -30px rgba(0,0,0,.8);
  opacity: 0; visibility: hidden; transition: all .26s var(--ease); z-index: 1001;
  display: grid; grid-template-columns: 1fr 1fr; gap: .3rem;
}
/* Görünmez köprü: link ile panel arasındaki boşlukta hover kopmasın */
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega a {
  display: flex; flex-direction: column; gap: .15rem; padding: .7rem .8rem; border-radius: var(--radius-sm);
  transition: background .2s var(--ease);
}
.mega a:hover { background: var(--surface-3); }
.mega a .m-t { font-weight: 600; color: var(--enf-white); font-size: .95rem; }
.mega a .m-d { font-size: .82rem; color: var(--text-mute); }

/* Arama */
.search-toggle {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 38px; height: 38px; border-radius: 100px; border: none; cursor: pointer;
  background: rgba(254,152,51,.14); color: var(--enf-orange);
  transition: all .25s var(--ease);
}
.search-toggle svg { width: 16px; height: 16px; stroke-width: 2; }
.search-toggle:hover { background: var(--enf-orange); color: #1a1200; transform: translateY(-2px); }

/* Tema değiştirici (light / dark) */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 38px; height: 38px; border-radius: 100px; border: none; cursor: pointer;
  background: rgba(254,152,51,.14); color: var(--enf-orange);
  transition: all .25s var(--ease);
}
.theme-toggle svg { width: 17px; height: 17px; stroke-width: 2; }
.theme-toggle:hover { background: var(--enf-orange); color: #1a1200; transform: translateY(-2px); }
.theme-icon-moon { display: none; }
html[data-theme="light"] .theme-icon-sun { display: none; }
html[data-theme="light"] .theme-icon-moon { display: block; }

.brand-logo--light { display: none; }
html[data-theme="light"] .brand-logo--dark { display: none; }
html[data-theme="light"] .brand-logo--light { display: block; }

/* Arama penceresi (overlay) */
.search-overlay {
  position: fixed; inset: 0; z-index: 1200; display: flex; justify-content: center;
  padding: 12vh 1.2rem 0; background: rgba(7,9,12,.72); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .22s var(--ease);
}
.search-overlay[hidden] { display: none; }
.search-overlay.is-open { opacity: 1; }
.search-panel {
  width: 100%; max-width: 640px; height: fit-content;
  transform: translateY(-14px); transition: transform .25s var(--ease);
}
.search-overlay.is-open .search-panel { transform: translateY(0); }
.search-form {
  display: flex; align-items: center; gap: .7rem; width: 100%;
  background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: .3rem .3rem .3rem 1.1rem; box-shadow: 0 30px 70px -30px rgba(0,0,0,.8);
}
.search-form svg:first-child { width: 19px; height: 19px; color: var(--enf-orange); flex-shrink: 0; }
.search-input {
  flex: 1; background: none; border: none; outline: none; color: var(--enf-white);
  font-family: var(--font-sans); font-size: 1.05rem; padding: .9rem 0;
}
.search-input::placeholder { color: var(--text-mute); }
.search-close {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 100px; border: none; cursor: pointer;
  background: none; color: var(--text-mute); transition: all .2s var(--ease);
}
.search-close svg { width: 16px; height: 16px; }
.search-close:hover { background: rgba(255,255,255,.06); color: var(--enf-white); }

/* Hamburger / mobil tetik */
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 9px;
  width: 44px; height: 44px; cursor: pointer; color: var(--text); align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ====== HERO (tam arka plan görselli) ====== */
.hero { position: relative; display: flex; align-items: center; overflow: hidden;
  min-height: clamp(580px, 88vh, 880px);
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 7vw, 6rem); }

/* Arka plan görseli + okunabilirlik degradeleri */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img, .hero-bg .hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; display: block; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(7,9,12,.97) 0%, rgba(7,9,12,.88) 34%, rgba(7,9,12,.5) 64%, rgba(7,9,12,.3) 100%),
  linear-gradient(0deg, rgba(7,9,12,.92) 0%, rgba(7,9,12,.12) 26%, transparent 52%, rgba(7,9,12,.6) 100%); }

.hero > .container { position: relative; z-index: 2; }
.hero-inner { max-width: 760px; }
.hero-display { margin-bottom: 1.4rem; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.95rem); }
.hero-display .em { color: var(--enf-orange); }
.hero p.lead { max-width: 34em; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.6rem; }

/* Yapay Zeka destekli rozeti (hero üst) */
.hero-aibadge { display: inline-flex; align-items: center; gap: .55rem; position: relative; overflow: hidden;
  margin-bottom: 1.5rem; padding: .42rem .85rem .42rem .45rem; border-radius: 100px;
  border: 1px solid rgba(254,152,51,.42); background: rgba(254,152,51,.08); backdrop-filter: blur(8px);
  font-size: .88rem; font-weight: 600; color: var(--enf-white); letter-spacing: .005em;
  text-decoration: none; transition: border-color .2s ease, background .2s ease, color .2s ease; }
a.hero-aibadge:hover { border-color: rgba(254,152,51,.7); background: rgba(254,152,51,.16); color: var(--enf-white); }
a.hero-aibadge:focus-visible { outline: 2px solid var(--enf-orange); outline-offset: 3px; }
.hero-aibadge .aib-ic { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%;
  background: var(--enf-orange); color: #1a1200; flex-shrink: 0; }
.hero-aibadge .aib-ic svg { width: 15px; height: 15px; }
.hero-aibadge .aib-tag { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; color: var(--enf-orange);
  border: 1px solid rgba(254,152,51,.45); border-radius: 6px; padding: .12rem .38rem; margin-left: .15rem; }
/* hafif ışık parıltısı (AI hissi) */
.hero-aibadge::after { content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent); transform: skewX(-20deg);
  animation: aibShimmer 4.5s ease-in-out infinite; }
@keyframes aibShimmer { 0%, 55% { left: -60%; } 100% { left: 130%; } }

/* Hero istatistik şeridi (cam efektli) */
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: 660px;
  background: var(--line-strong); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.75); }
.hero-stats .stat { background: rgba(13,17,23,.72); backdrop-filter: blur(8px); padding: 1.3rem 1.4rem; }
.stat .num { font-family: var(--font-mono); font-weight: 700; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem);
  color: var(--enf-white); line-height: 1; letter-spacing: -.02em; }
.stat .num .plus { color: var(--enf-orange); }
.stat .lbl { display: block; margin-top: .5rem; font-size: .82rem; color: var(--text-mute); line-height: 1.35; }

/* ====== ÖNE ÇIKAN HABERLER (Hero altı · görsel üzeri metin) ====== */
.featured-news {
  position: relative; z-index: 2;
  margin-top: clamp(-5rem, -10vw, -11.25rem); /* ~80–180px yukarı, hero ile örtüştür */
  background: var(--bg);
  padding: clamp(2.2rem, 4vw, 3.4rem) 0 clamp(3rem, 5vw, 4.5rem);
}
.fnews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.fnews-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(260px, 26vw, 340px); padding: clamp(1.3rem, 2vw, 1.7rem); border-radius: var(--radius-lg);
  overflow: hidden; isolation: isolate; border: 1px solid var(--line); color: var(--enf-white);
  box-shadow: 0 30px 60px -34px rgba(0,0,0,.8); transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
.fnews-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: center; transition: transform .6s var(--ease); }
.fnews-card::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,9,12,.15) 0%, rgba(7,9,12,.55) 45%, rgba(7,9,12,.92) 100%); }
.fnews-card:hover { transform: translateY(-6px); border-color: var(--glow); box-shadow: 0 40px 70px -30px rgba(0,0,0,.85); }
.fnews-card:hover .fnews-bg { transform: scale(1.06); }
.fnews-tag { align-self: flex-start; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--enf-orange); padding: .32rem .6rem; border-radius: 999px;
  background: rgba(7,9,12,.5); border: 1px solid var(--glow-soft); backdrop-filter: blur(4px); margin-bottom: .9rem; }
.fnews-title { font-size: clamp(1rem, .92rem + .35vw, 1.18rem); font-weight: 600; line-height: 1.28;
  letter-spacing: -.01em; color: var(--enf-white);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.fnews-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem;
  font-size: .82rem; font-weight: 600; color: var(--text-soft); transition: color .3s var(--ease), gap .3s var(--ease); }
.fnews-card:hover .fnews-link { color: var(--enf-orange); gap: .65rem; }

/* ====== ÜRÜN KUTULARI (CSS 3B boxshot · sonsuz dönen slider) ====== */
.products-carousel { margin-top: clamp(2rem, 4vw, 3rem); overflow: hidden; padding-block: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.products-track { display: flex; width: max-content; }
.products-track.is-marquee { animation: prod-marquee 42s linear infinite; }
.products-carousel:hover .products-track.is-marquee { animation-play-state: paused; }
@keyframes prod-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.boxshot-wrap { flex: 0 0 auto; width: 200px; display: flex; flex-direction: column;
  align-items: center; gap: 1.1rem; text-decoration: none; }
.boxshot-stage { perspective: 1500px; filter: drop-shadow(0 24px 20px rgba(0,0,0,.5)); }
.boxshot {
  --bw: 176px; --bh: 244px; --bd: 54px;
  position: relative; width: var(--bw); height: var(--bh);
  transform-style: preserve-3d; transform: rotateX(3deg) rotateY(-29deg);
  transition: transform .6s var(--ease); }
.boxshot-wrap:hover .boxshot { transform: rotateX(3deg) rotateY(-19deg); }
.bx-face { position: absolute; top: 50%; left: 50%; }
.bx-front { width: var(--bw); height: var(--bh);
  transform: translate(-50%, -50%) translateZ(calc(var(--bd) / 2));
  display: flex; flex-direction: column; padding: 15px 14px 13px; border-radius: 4px;
  color: #fff; overflow: hidden;
  background:
    linear-gradient(150deg, rgba(255,255,255,.10), rgba(255,255,255,0) 34%),
    linear-gradient(158deg, #1c2230 0 46%, var(--c1) 46%, var(--c2) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), inset 0 1px 0 rgba(255,255,255,.14); }
.bx-side { width: var(--bd); height: var(--bh);
  transform: translate(-50%, -50%) rotateY(90deg) translateZ(calc(var(--bw) / 2));
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, var(--c2), #0b0e14);
  box-shadow: inset 7px 0 16px rgba(0,0,0,.5); }
.bx-top { width: var(--bw); height: var(--bd);
  transform: translate(-50%, -50%) rotateX(90deg) translateZ(calc(var(--bh) / 2));
  background: linear-gradient(115deg, #36404f, #1a2130); }
.bx-logo { height: 15px; width: auto; opacity: 1; }
.bx-name { margin-top: auto; font-size: 15px; font-weight: 800; line-height: 1.05;
  text-transform: uppercase; letter-spacing: -.01em; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.bx-name.abbr { font-size: 34px; line-height: .92; letter-spacing: .01em; }
.bx-cat { margin-top: 5px; font-size: 8.5px; line-height: 1.3; letter-spacing: .02em;
  color: rgba(255,255,255,.88); }
.bx-url { margin-top: 7px; font-family: var(--font-mono); font-size: 7px; letter-spacing: .04em;
  color: rgba(255,255,255,.72); }
.bx-spine { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap;
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255,255,255,.92); }
.bx-cap { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.bx-cap strong { font-size: .98rem; font-weight: 700; color: var(--text); letter-spacing: -.01em;
  transition: color .3s var(--ease); }
.bx-cap span { font-size: .8rem; color: var(--text-mute); }
.boxshot-wrap:hover .bx-cap strong { color: var(--enf-orange); }

/* ====== DEĞERLER (açık zemin · akış animasyonlu) ====== */
.section-light { background: #ffffff; color: #44515d; position: relative; overflow: hidden; }
.section-light > .container { position: relative; z-index: 1; }
.section-light h2, .section-light h3 { color: #16202b; }
.section-light .lead { color: #5c6b7a; }
/* Ambians: yavaşça süzülen yumuşak turuncu ışık */
.section-light .aura { position: absolute; width: 560px; height: 560px; border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(254,152,51,.20), transparent 68%); filter: blur(70px);
  top: -180px; right: -120px; animation: auraFloat 16s ease-in-out infinite; }
.section-light .aura.two { top: auto; bottom: -200px; left: -140px; right: auto; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(68,81,93,.16), transparent 70%); animation-duration: 20s; animation-direction: reverse; }
@keyframes auraFloat { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-46px,42px) scale(1.14); } }

.values-flow { position: relative; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 2.4rem); margin-top: clamp(2.2rem, 4vw, 3.2rem); }
/* İkon merkezlerini birbirine bağlayan kesikli akış çizgisi */
.flow-line { position: absolute; left: 16.66%; right: 16.66%; top: 71px; height: 2px; z-index: 0;
  background: repeating-linear-gradient(90deg, rgba(254,152,51,.45) 0 7px, transparent 7px 15px); }
.flow-dot { position: absolute; top: 50%; left: 0; width: 11px; height: 11px; border-radius: 50%;
  background: var(--enf-orange); box-shadow: 0 0 0 5px rgba(254,152,51,.18); transform: translate(-50%,-50%);
  animation: flowMove 4.5s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes flowMove { 0% { left: 0; } 100% { left: 100%; } }

.vcard { position: relative; z-index: 1; background: #ffffff; border: 1px solid #e7ebef; border-radius: var(--radius);
  padding: 2.2rem 1.8rem 2rem; text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.vcard:hover { transform: translateY(-6px); box-shadow: 0 26px 54px -26px rgba(20,32,43,.25); border-color: #dde4ea; }
.vnum { position: absolute; top: 1rem; right: 1.2rem; font-family: var(--font-mono); font-size: .82rem;
  color: #c4ccd4; letter-spacing: .12em; }
.vicon { width: 72px; height: 72px; margin: 0 auto 1.5rem; border-radius: 19px; display: grid; place-items: center;
  background: #ffffff; border: 1px solid rgba(254,152,51,.35); color: var(--enf-orange); position: relative;
  box-shadow: 0 12px 26px -14px rgba(254,152,51,.55); transition: all .4s var(--ease); }
.vicon::after { content: ""; position: absolute; inset: -6px; border-radius: 24px; border: 2px solid rgba(254,152,51,.4); opacity: 0; }
.vcard:hover .vicon { background: var(--enf-orange); color: #fff; transform: translateY(-3px) rotate(-5deg); }
.vcard:hover .vicon::after { opacity: 1; animation: ringPulse 1.5s ease-out infinite; }
@keyframes ringPulse { 0% { transform: scale(.95); opacity: .65; } 100% { transform: scale(1.3); opacity: 0; } }
.vicon svg { width: 34px; height: 34px; }
.vcard h3 { font-size: 1.24rem; margin-bottom: .55rem; }
.vcard h3::after { content: ""; display: block; width: 0; height: 3px; background: var(--enf-orange);
  border-radius: 2px; margin: .75rem auto 0; transition: width .55s var(--ease) .15s; }
.vcard.in h3::after, .vcard:hover h3::after { width: 36px; }
.vcard p { color: #5c6b7a; margin: 0; font-size: .98rem; }

/* ====== HAKKIMIZDA ====== */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-visual { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong); aspect-ratio: 16/11; }
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-list { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: .9rem; }
.about-list li { display: flex; gap: .8rem; align-items: flex-start; color: var(--text-soft); }
.about-list svg { width: 22px; height: 22px; color: var(--enf-orange); flex-shrink: 0; margin-top: 2px; }

/* ====== ÇÖZÜMLER / SEKTÖRLER ====== */
.solutions { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.solution { display: flex; flex-direction: column; }
.solution .thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.solution .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); filter: saturate(.92) brightness(.9); }
.solution:hover .thumb img { transform: scale(1.06); }
.solution .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,9,12,.85)); }
.solution .idx { position: absolute; top: 12px; left: 12px; z-index: 2; font-family: var(--font-mono); font-size: .74rem;
  color: var(--enf-orange); background: rgba(7,9,12,.6); border: 1px solid var(--line-strong); padding: .2rem .5rem; border-radius: 6px; }
.solution .body { padding: 1.3rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.solution h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.solution p { font-size: .9rem; margin-bottom: 1.1rem; }
.solution .btn-text { margin-top: auto; font-size: .9rem; }

/* ====== BLOG (dolgulu sağlam kart) ====== */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.blog-card { display: flex; flex-direction: column; height: 100%; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease); }
.blog-card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: var(--surface-3); }
.blog-card .thumb { display: block; aspect-ratio: 16/10; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.blog-card:hover .thumb img { transform: scale(1.06); }
.blog-card .body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.4rem 1.5rem; }
.blog-card .meta { display: flex; gap: .55rem; align-items: center; font-family: var(--font-mono); font-size: .74rem;
  color: var(--text-mute); margin-bottom: .7rem; letter-spacing: .03em; }
.blog-card .meta .tag { color: var(--enf-orange); }

/* Kategori etiketi (Haberler / Makaleler ikonlu) */
.cat-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.cat-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke-width: 2;
}
/* Haber/makale kartları — ikon ~3× (12px → 16–32px) */
.meta .cat-icon,
.article-card .cat-tag .cat-icon,
.blog-card .meta .cat-icon,
.insight-cat.cat-tag .cat-icon {
  width: 32px;
  height: 32px;
  stroke-width: 1.55;
}
.fnews-tag.cat-tag .cat-icon {
  width: 16px;
  height: 16px;
  stroke-width: 1.85;
}
.eyebrow .cat-tag .cat-icon {
  width: 1.15em;
  height: 1.15em;
  min-width: 1.15em;
}
.meta .cat-tag,
.article-card .meta .cat-tag {
  color: var(--enf-orange);
  gap: .55rem;
}
.fnews-tag.cat-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--enf-orange);
  padding: .32rem .6rem;
  border-radius: 999px;
  background: rgba(7,9,12,.5);
  border: 1px solid var(--glow-soft);
  backdrop-filter: blur(4px);
  margin-bottom: .9rem;
}
.eyebrow .cat-tag {
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  margin: 0;
}
.eyebrow .cat-tag--eyebrow {
  gap: .45rem;
}
html[data-theme="light"] .fnews-tag.cat-tag {
  background: rgba(255,255,255,.82);
  border-color: rgba(254,152,51,.28);
}
.insight-cat.cat-tag {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--enf-orange);
  margin-bottom: .55rem;
}
.blog-card h3 { font-size: 1.14rem; line-height: 1.32; margin-bottom: .55rem; transition: color .2s var(--ease); }
.blog-card:hover h3 { color: var(--enf-orange); }
.blog-card .excerpt { color: var(--text-soft); font-size: .92rem; line-height: 1.6; margin: 0 0 1.2rem; }
.blog-card .btn-text { margin-top: auto; font-size: .9rem; }

/* ====== HABERLER (yatay liste) ====== */
.news-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.news-item { display: grid; grid-template-columns: 150px 1fr auto; gap: 1.4rem; align-items: center;
  background: var(--surface); padding: 1.2rem 1.5rem; transition: background .25s var(--ease); }
.news-item:hover { background: var(--surface-2); }
.news-item .nthumb { width: 150px; aspect-ratio: 16/10; border-radius: var(--radius-sm); overflow: hidden; }
.news-item .nthumb img { width: 100%; height: 100%; object-fit: cover; }
.news-item .ndate { font-family: var(--font-mono); font-size: .76rem; color: var(--enf-orange); margin-bottom: .25rem; letter-spacing: .04em; }
.news-item h3 { font-size: 1.08rem; margin: 0; }
.news-item .narrow { color: var(--text-mute); }

/* Yeniden kullanılabilir: düşük opaklıklı bölüm arka plan görseli */
.has-bgimg { position: relative; overflow: hidden; }
.has-bgimg > .container { position: relative; z-index: 1; }
.section-bgimg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.section-bgimg img { width: 100%; height: 100%; object-fit: cover; opacity: .12; }
/* Kenarları sayfa zeminine eritip merkezi okunur tutan kaplama */
.section-bgimg::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(110% 80% at 50% 42%, transparent 0%, rgba(7,9,12,.55) 78%),
  linear-gradient(180deg, var(--bg) 0%, transparent 22%, transparent 78%, var(--bg) 100%); }

/* ====== MÜŞTERİ YORUMLARI ====== */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.quote { padding: 2rem 1.8rem; display: flex; flex-direction: column; }
.quote .qmark { font-family: var(--font-mono); color: var(--enf-orange); font-size: 2.4rem; line-height: .6; margin-bottom: 1rem; }
.quote blockquote { margin: 0 0 1.4rem; font-size: 1.04rem; color: var(--text); line-height: 1.6; }
.quote .who { display: flex; align-items: center; gap: .85rem; margin-top: auto; }
.quote .av { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center;
  font-weight: 600; color: var(--enf-orange); border: 1px solid var(--line-strong); font-size: 1rem; }
.quote .who .nm { font-weight: 600; color: var(--enf-white); font-size: .94rem; }
.quote .who .rl { font-size: .82rem; color: var(--text-mute); }

/* Liste: solda görsel, sağda yorum (canlı site düzeni) */
.review-list { display: flex; flex-direction: column; gap: 1.25rem; }
.review-item {
  display: grid;
  grid-template-columns: minmax(200px, .38fr) 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.review-item:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .65);
  transform: translateY(-2px);
}
.review-item-media {
  display: block;
  position: relative;
  min-height: 220px;
  background: var(--surface-2);
}
.review-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.review-item-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.15rem, 2.4vw, 1.75rem) clamp(1.25rem, 2.8vw, 2rem);
  gap: .55rem;
}
/* Kategori etiketi + tarih (haber/makale listeleri); yorumlarda yalnız tarih olur */
.review-item-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .65rem;
}
.review-item-date {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--text-mute);
  letter-spacing: .03em;
}
.review-item-title {
  margin: 0;
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
  line-height: 1.3;
}
.review-item-title a {
  color: inherit;
  text-decoration: none;
  transition: color .2s var(--ease);
}
.review-item:hover .review-item-title a { color: var(--enf-orange); }
.review-item-excerpt {
  margin: 0;
  color: var(--text-soft);
  font-size: .95rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-item .btn-text { margin-top: .35rem; align-self: flex-start; }

/* ====== REFERANSLAR (logo şeridi) ====== */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.7rem, 1.4vw, 1.1rem); }
.logo-cell { display: flex; flex-direction: column; align-items: center; gap: .55rem; }
.logo-tile { width: 100%; height: clamp(82px, 8.2vw, 104px); background: #fff; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; padding: .55rem .9rem; border: 1px solid var(--line);
  box-shadow: 0 10px 22px -18px rgba(0,0,0,.8);
  transition: transform .3s var(--ease), border-color .3s var(--ease); }
.logo-tile img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.logo-cell:hover .logo-tile { transform: translateY(-4px); border-color: var(--line-strong); }
.logo-name { font-weight: 600; letter-spacing: .01em; color: var(--text-soft); font-size: .78rem;
  text-align: center; transition: color .25s var(--ease); }
.logo-cell:hover .logo-name { color: var(--text); }

/* ====== CTA / TEKLİF BANDI ====== */
/* not: radyal ışık doğrudan arka plana gömüldü; ::before .brackets köşe parantezine bırakıldı */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong);
  background:
    radial-gradient(700px 300px at 90% 10%, rgba(254,152,51,.16), transparent 60%),
    linear-gradient(120deg, var(--surface-2), var(--surface));
  padding: clamp(2.5rem, 5vw, 4.5rem); }
.cta-band .inner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; }
.cta-band h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem); margin-bottom: .6rem; }

/* Sade teklif/iletişim formu */
.quote-form,
.contact-form-wrap form,
#contact-form,
#teklif-form { display: grid; gap: .8rem; width: 100%; min-width: 0; }

.field,
.f-group {
  display: grid;
  gap: .35rem;
  margin-bottom: 0;
  min-width: 0;
}

.field label,
.f-label {
  display: block;
  font-size: .82rem;
  color: var(--text-soft);
  font-weight: 500;
}

.field input,
.field textarea,
.f-input,
.quote-form input,
.quote-form textarea,
#contact-form input,
#contact-form textarea,
#teklif-form input,
#teklif-form textarea {
  width: 100%;
  max-width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: .8rem .95rem;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: .95rem;
  transition: border-color .2s var(--ease);
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.field input:focus,
.field textarea:focus,
.f-input:focus,
.quote-form input:focus,
.quote-form textarea:focus,
#contact-form input:focus,
#contact-form textarea:focus,
#teklif-form input:focus,
#teklif-form textarea:focus {
  outline: none;
  border-color: var(--enf-orange);
  box-shadow: 0 0 0 3px var(--glow-soft);
}

.field textarea,
.f-input[rows],
textarea.f-input {
  resize: vertical;
  min-height: 90px;
}

.field input::placeholder,
.field textarea::placeholder,
.f-input::placeholder { color: var(--text-mute); opacity: 1; }

.form-note { font-size: .8rem; color: var(--text-mute); }

/* Bootstrap grid'i CTA band içinde tek kolona düşür */
.cta-band .row {
  display: grid;
  gap: .8rem;
  margin: 0;
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}
.cta-band .row > [class*="col-"] {
  width: 100%;
  max-width: 100%;
  padding: 0;
  flex: none;
}

/* Eski / yeni gönder butonları */
.cta-band .btn-enf,
.cta-band .btn-submit,
.cta-band button[type="submit"] {
  width: 100%;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
}

.cta-band .btn-submit,
.cta-band .btn-primary.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .9rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--enf-orange);
  color: #1a1200;
  font-weight: 600;
  box-shadow: 0 8px 26px -10px var(--glow);
}

.cta-band .btn-submit:hover,
.cta-band .btn-primary.btn-submit:hover {
  background: #ffac57;
  color: #1a1200;
}

/* İletişim formu paneli (cta-band içinde) */
.contact-form-panel,
.contact-form-wrap { width: 100%; min-width: 0; }

.contact-form-panel h3,
.contact-form-wrap h3 {
  font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--enf-white);
}

#iletisim-detay .cta-band .inner { align-items: start; }

/* KVKK / onay kutuları */
.form-consent-group { display: grid; gap: .65rem; }
.form-consent-kvkk-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.form-consent-chk--kvkk { flex: 1; min-width: 0; }
.form-consent-chk { width: 100%; }
.form-kvkk-read-link {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: .3rem;
  font-size: .75rem; color: var(--text-soft); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap;
}
.form-kvkk-read-link:hover { color: var(--enf-orange); }
.svc-chk {
  display: flex; align-items: flex-start; gap: .55rem; width: 100%;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: .7rem .85rem; cursor: pointer; font-size: .8rem; color: var(--text-soft);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.svc-chk:hover { border-color: rgba(254,152,51,.35); background: rgba(254,152,51,.06); color: var(--text); }
.svc-chk input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.chk-box {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: .1rem;
  border: 1.5px solid var(--line-strong); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.svc-chk input:checked ~ .chk-box { background: var(--enf-orange); border-color: var(--enf-orange); }
.svc-chk input:checked ~ .chk-box::after {
  content: ''; width: 4px; height: 8px; display: block;
  border: 2px solid #1a1200; border-top: none; border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}
.svc-chk:has(input:checked) { border-color: rgba(254,152,51,.4); background: rgba(254,152,51,.08); color: var(--text); }
.form-recaptcha-wrap { margin-top: .2rem; }

/* ====== SLOGAN BANDI (sinematik · pull-quote) ====== */
.slogan-band { position: relative; display: flex; align-items: center; overflow: hidden;
  min-height: clamp(340px, 46vh, 500px); padding-block: clamp(2.5rem, 5vw, 4rem); }
.sb-bg { position: absolute; inset: 0; z-index: 0; }
.sb-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.05); animation: sbKenburns 20s ease-in-out infinite alternate; }
@keyframes sbKenburns { from { transform: scale(1.05); } to { transform: scale(1.14) translateY(-1.5%); } }
.sb-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(7,9,12,.93) 0%, rgba(7,9,12,.62) 50%, rgba(7,9,12,.82) 100%),
  linear-gradient(0deg, rgba(7,9,12,.9) 0%, transparent 42%, transparent 60%, rgba(7,9,12,.75) 100%); }
.slogan-band > .container { position: relative; z-index: 1; text-align: center; }
.slogan-band .eyebrow { justify-content: center; }
.sb-qmark { display: block; font-family: var(--font-mono); color: var(--enf-orange);
  font-size: clamp(2.6rem, 2rem + 3vw, 4.2rem); line-height: .5; margin-bottom: .4rem; }
.sb-quote { font-weight: 600; letter-spacing: -.025em; line-height: 1.18; color: var(--enf-white);
  font-size: clamp(1.5rem, 1.05rem + 2.4vw, 2.9rem); max-width: 20ch; margin: 0 auto; }
.sb-attr { display: inline-block; margin-top: 1.4rem; font-family: var(--font-mono); font-size: .82rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--text-soft); }

/* ====== İÇ SAYFA: SAYFA BAŞLIĞI (page-hero) + BREADCRUMB ====== */
.page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(2.4rem, 5vw, 3.6rem));
  padding-bottom: clamp(2.4rem, 5vw, 3.6rem); background: var(--surface); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(900px 420px at 85% -10%, rgba(254,152,51,.10), transparent 60%); }
.page-hero > .container { position: relative; z-index: 1; }

/* ====== ZAMAN ÇİZELGESİ (tarihçe) — dikey, masaüstünde dönüşümlü ====== */
.timeline-enf { position: relative; max-width: 940px; margin-inline: auto; padding: .4rem 0; }
.timeline-enf::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 2px; background: linear-gradient(180deg, var(--enf-orange), rgba(254,152,51,.3) 78%, transparent); }
.tl-item { position: relative; width: 50%; box-sizing: border-box; padding: 0 2.6rem; margin-bottom: 1.6rem; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; text-align: left; }
.tl-item::after { content: ""; position: absolute; top: 9px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--enf-orange); border: 3px solid var(--bg); box-shadow: 0 0 0 4px rgba(254,152,51,.16); }
.tl-item:nth-child(odd)::after { right: -7.5px; }
.tl-item:nth-child(even)::after { left: -7.5px; }
.tl-card { display: inline-block; text-align: left; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .95rem 1.15rem; max-width: 100%; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.tl-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.tl-year { display: block; font-family: var(--font-mono); color: var(--enf-orange); font-weight: 600;
  font-size: 1.02rem; letter-spacing: .02em; margin-bottom: .3rem; }
.tl-desc { margin: 0; color: var(--text-soft); font-size: .9rem; line-height: 1.5; }
@media (max-width: 720px) {
  .timeline-enf::before { left: 7px; }
  .tl-item { width: 100%; left: 0 !important; text-align: left !important; padding: 0 0 0 2.4rem; }
  .tl-item::after { left: -.5px !important; right: auto !important; }
}

/* page-hero görsel arka planı — sayfa inline `style="background-image:url('...')"` ile görselini verir.
   Sol taraf koyu kalır (başlık/breadcrumb okunurluğu), sağa doğru görsel açılır. */
.page-hero--image { background-size: cover;
  background-position: center right; background-repeat: no-repeat; border-bottom: 0; }
.page-hero--image::before { background:
  linear-gradient(90deg, var(--surface) 0%, rgba(13,17,23,.72) 20%, rgba(13,17,23,.2) 48%, rgba(13,17,23,0) 72%),
  linear-gradient(0deg, var(--surface) 0%, rgba(13,17,23,0) 55%),
  radial-gradient(900px 420px at 85% -10%, rgba(254,152,51,.14), transparent 60%); }
.breadcrumb-enf { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-family: var(--font-mono);
  font-size: .78rem; color: var(--text-mute); margin-bottom: 1.3rem; letter-spacing: .01em; }
.breadcrumb-enf a { color: var(--text-mute); }
.breadcrumb-enf a:hover { color: var(--enf-orange); }
.breadcrumb-enf .sep { opacity: .5; }
.breadcrumb-enf .current { color: var(--text-soft); }
.page-hero h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3.1rem); max-width: 20ch; margin-bottom: .8rem; }
.page-hero .lead { max-width: 58ch; margin-bottom: 0; }

/* Aktif üst menü öğesi (bulunulan sayfa) */
.nav-link.active { color: var(--enf-white); background: rgba(255,255,255,.05); }
.offcanvas .nav-link.active { color: var(--enf-orange); }

/* ====== ÜRÜN IZGARASI (liste sayfası: filtre + kart grid) ====== */
.filter-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: clamp(2rem, 4vw, 2.8rem); }
.chip { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .03em; padding: .55rem 1.05rem;
  border-radius: 100px; border: 1px solid var(--line-strong); color: var(--text-soft); background: var(--surface-2);
  cursor: pointer; transition: all .25s var(--ease); }
.chip:hover { border-color: var(--enf-orange); color: var(--text); }
.chip.active { background: var(--enf-orange); border-color: var(--enf-orange); color: #1a1200; }

/* Salt bilgilendirme amaçlı, tıklanamaz etiket bulutu (chip görünümünü paylaşır) */
.tag-cloud { display: flex; flex-wrap: wrap; gap: .6rem; }
.tag-cloud .tag-pill { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .03em; padding: .55rem 1.05rem;
  border-radius: 100px; border: 1px solid var(--line-strong); color: var(--text-soft); background: var(--surface-2); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.product-grid:has(> :only-child) { grid-template-columns: 1fr; max-width: min(36rem, 100%); }
.product-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
.feature-cols .product-card { height: 100%; }
.feature-cols .about-list { margin: .6rem 0 0; gap: .65rem; }
.feature-cols .about-list li { font-size: .9rem; line-height: 1.45; }
.product-card { display: flex; flex-direction: column; padding: 1.7rem 1.6rem 1.6rem; }
.product-card .pcat { display: inline-flex; align-self: flex-start; font-family: var(--font-mono); font-size: .7rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--enf-orange); background: rgba(254,152,51,.1);
  border: 1px solid rgba(254,152,51,.3); border-radius: 999px; padding: .3rem .7rem; margin-bottom: 1.1rem; }
.product-card h3 { font-size: 1.14rem; margin-bottom: .55rem; }
.product-card p { font-size: .92rem; margin-bottom: 1.3rem; flex: 1; }
.product-card .btn-text { font-size: .9rem; }

/* İki sütunlu onay listesi (sektör sayfaları: operasyonel kapsam vb.) */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem 1.6rem; }

/* ---------- ÜRÜN KARTI + KUTU GÖRSELİ ---------- */
/* Ana sayfadaki .boxshot bileşeninin küçültülmüş hâli, kartın solunda.
   Kutu sabit px genişlikte → kart daraldıkça oransal olarak %25-30 bandında kalır. */
.product-card.has-box {
  display: grid; grid-template-columns: 104px minmax(0, 1fr);
  gap: clamp(.9rem, 1.8vw, 1.35rem); align-items: start;
}
.pcard-box { display: grid; place-items: center; padding-top: .15rem; }
.pcard-box .boxshot-stage { perspective: 900px; filter: drop-shadow(0 12px 14px rgba(0,0,0,.45)); }
.pcard-box .boxshot { --bw: 94px; --bh: 130px; --bd: 29px; transform: rotateX(3deg) rotateY(-26deg); }
.product-card.has-box:hover .boxshot { transform: rotateX(3deg) rotateY(-16deg); }
.pcard-box .bx-front { padding: 8px 8px 7px; border-radius: 3px; }
.pcard-box .bx-logo { height: 9px; }
.pcard-box .bx-name { font-size: 8.5px; }
.pcard-box .bx-name.abbr { font-size: 20px; }
.pcard-box .bx-cat { font-size: 5px; margin-top: 3px; line-height: 1.25; }
.pcard-box .bx-url { font-size: 4.5px; margin-top: 4px; }
.pcard-box .bx-spine { font-size: 6.5px; letter-spacing: .05em; }
.pcard-body { display: flex; flex-direction: column; min-width: 0; height: 100%; }
.pcard-body .pcat { align-self: flex-start; }
.pcard-body h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.pcard-body p { font-size: .9rem; margin-bottom: 1.1rem; flex: 1; }
.pcard-body .btn-text { font-size: .9rem; margin-top: auto; }

html[data-theme="light"] .pcard-box .boxshot-stage { filter: drop-shadow(0 12px 16px rgba(22,32,43,.28)); }

@media (max-width: 620px) {
  .product-card.has-box { grid-template-columns: 84px minmax(0, 1fr); gap: .9rem; }
  .pcard-box .boxshot { --bw: 76px; --bh: 105px; --bd: 23px; }
  .pcard-box .bx-name.abbr { font-size: 16px; }
  .pcard-box .bx-name { font-size: 7px; }
  .pcard-box .bx-logo { height: 7px; }
  .pcard-box .bx-cat { font-size: 4.2px; }
  .pcard-box .bx-url { display: none; }
}

/* Yasal metin sayfaları (KVKK, çerez politikası) */
.legal-prose { max-width: 48rem; color: var(--text-soft); font-size: 1rem; line-height: 1.75; }
.legal-prose .legal-updated { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em;
  color: var(--text-mute); margin-bottom: 1.6rem; }
.legal-prose h2 { color: var(--text); font-size: 1.2rem; margin: 2rem 0 .75rem; line-height: 1.35; }
.legal-prose h3 { color: var(--text); font-size: 1.05rem; margin: 1.4rem 0 .55rem; }
.legal-prose p { margin-bottom: 1rem; }
.legal-prose ul { margin: 0 0 1.2rem; padding-left: 1.2rem; display: grid; gap: .45rem; }
.legal-prose li { padding-left: .15rem; }
.legal-prose a { color: var(--enf-orange); text-decoration: underline; text-underline-offset: 2px; }
.legal-prose a:hover { color: var(--text); }
.legal-prose strong { color: var(--text); font-weight: 600; }

/* ====== SSS AKORDİYON (native details/summary) ====== */
.faq-list { display: grid; gap: .8rem; max-width: 840px; }
.faq-item { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s var(--ease); }
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.2rem 1.4rem; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; font-weight: 600; font-size: 1.02rem; color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-ic { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; color: var(--enf-orange); transition: transform .3s var(--ease), background .3s var(--ease); }
.faq-item summary .faq-ic svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.faq-item[open] summary .faq-ic { background: var(--enf-orange); color: #1a1200; }
.faq-item[open] summary .faq-ic svg { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 3.6rem 1.3rem 1.4rem; color: var(--text-soft); font-size: .95rem; line-height: 1.7; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ====== METİN KARTLARI (bilgi bankası / makaleler / eğitimler — görselsiz liste) ====== */
.article-card .meta { display: flex; gap: .55rem; align-items: center; font-family: var(--font-mono); font-size: .74rem;
  color: var(--text-mute); margin-bottom: .8rem; letter-spacing: .03em; }
.article-card .meta .tag,
.article-card .meta .cat-tag { color: var(--enf-orange); }

/* ---------- 7) FOOTER ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: clamp(3.5rem, 6vw, 5.5rem); position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand .brand-logo { height: 28px; margin-bottom: 1.2rem; }
.footer-brand img { height: 28px; margin-bottom: 1.2rem; }
.footer-brand p { font-size: .92rem; max-width: 30ch; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--text-soft); transition: all .25s var(--ease); }
.footer-social a:hover { border-color: var(--enf-orange); color: var(--enf-orange); transform: translateY(-2px); }
.footer-social svg { width: 19px; height: 19px; }
.footer-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--text-mute); font-family: var(--font-mono); font-weight: 500; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.footer-col a { color: var(--text-soft); font-size: .93rem; }
.footer-col a:hover { color: var(--enf-orange); }
.footer-contact li { display: flex; gap: .6rem; color: var(--text-soft); font-size: .9rem; margin-bottom: .8rem; min-width: 0; overflow-wrap: break-word; }
.footer-contact svg { width: 18px; height: 18px; color: var(--enf-orange); flex-shrink: 0; margin-top: 2px; }
/* Yetkili kişiler: her biri ayrı satır (ayrı <li>), mobilde taşmayı önle */
.footer-contact li.footer-contact-person { margin-bottom: .35rem; line-height: 1.5; }
.footer-contact li.footer-contact-person:first-of-type { margin-top: .2rem; }
.footer-bottom { border-top: 1px solid var(--line); padding: 1.5rem 0; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer-bottom p { margin: 0; font-size: .85rem; color: var(--text-mute); }
.footer-bottom .legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-bottom .legal a { font-size: .85rem; color: var(--text-mute); }
.footer-bottom .legal a:hover { color: var(--text); }

/* ---------- 8) RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .solutions { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid:has(> :only-child) { grid-template-columns: 1fr; max-width: min(36rem, 100%); }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}
/* Geniş menü rahat sığsın diye hamburger'a 1100px'te geçiyoruz */
@media (max-width: 1100px) {
  .nav-menu, .nav-actions .lang-switch, .nav-actions .btn-enf { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 900px) {
  .about-grid, .cta-band .inner { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
  .hero-bg img, .hero-bg .hero-video { object-position: 64% center; }
  .values-flow, .posts, .testimonials { grid-template-columns: 1fr; }
  .fnews-grid { grid-template-columns: 1fr; }
  .featured-news { margin-top: -3.5rem; }
  .flow-line { display: none; }
  .news-item { grid-template-columns: 1fr; gap: .6rem; }
  .news-item .nthumb { width: 100%; }
  .news-item .narrow { display: none; }
  .review-item { grid-template-columns: 1fr; }
  .review-item-media { min-height: 200px; aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .hero-stats { grid-template-columns: 1fr; }
  .solutions { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn-enf { width: 100%; justify-content: center; }
}

/* ---------- 9) MOTION / ERİŞİLEBİLİRLİK ---------- */
  /* Uzun makale/ürün gövdeleri tek parça reveal olunca görünmez kalabiliyor */
.product-body[data-reveal],
.article-body[data-reveal] {
  opacity: 1;
  transform: none;
}

/* Scroll-reveal başlangıç durumu */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

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

/* Mobil offcanvas menü (Bootstrap offcanvas üstüne marka) */
.offcanvas { background: var(--surface) !important; color: var(--text); border-left: 1px solid var(--line) !important; }
.offcanvas .nav-link { padding: .9rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
.offcanvas .mobile-sub { padding-left: 1rem; display: grid; gap: .5rem; margin: .4rem 0 .6rem; }
.offcanvas .mobile-sub a { font-size: .95rem; color: var(--text-mute); }

/* ====== LIGHT TEMA ====== */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f5f7;
  --surface: #ffffff;
  --surface-2: #f7f9fb;
  --surface-3: #eef1f5;
  --line: rgba(22, 32, 43, .18);
  --line-strong: rgba(22, 32, 43, .28);
  --text: #16202b;
  --text-soft: #44515d;
  --text-mute: #6c7783;
  --enf-white: #16202b;
  --glow: rgba(254, 152, 51, .28);
  --glow-soft: rgba(254, 152, 51, .12);
}

html[data-theme="light"] body::before {
  background:
    radial-gradient(1200px 600px at 78% -8%, rgba(254,152,51,.08), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(68,81,93,.08), transparent 60%);
}

html[data-theme="light"] .site-header::before {
  height: calc(var(--header-h) + clamp(2.8rem, 7vw, 5.5rem));
  background: linear-gradient(to bottom,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,.92) 42%,
    rgba(255,255,255,.55) 72%,
    transparent 100%);
}

html[data-theme="light"] .site-header.scrolled {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

html[data-theme="light"] .nav-link:hover,
html[data-theme="light"] .nav-link[aria-expanded="true"],
html[data-theme="light"] .nav-link.active {
  background: rgba(22, 32, 43, .05);
}

html[data-theme="light"] .search-overlay {
  background: rgba(243,245,247,.82);
}

html[data-theme="light"] .search-close:hover {
  background: rgba(22, 32, 43, .06);
}

html[data-theme="light"] .section-light {
  background: #eef1f5;
}

html[data-theme="light"] .section-bgimg::after {
  background:
    radial-gradient(110% 80% at 50% 42%, transparent 0%, rgba(243,245,247,.55) 78%),
    linear-gradient(180deg, var(--bg) 0%, transparent 22%, transparent 78%, var(--bg) 100%);
}

html[data-theme="light"] .page-hero--image::before {
  background:
    linear-gradient(180deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.82) 16%,
      rgba(255,255,255,.28) 42%,
      rgba(255,255,255,.12) 62%,
      rgba(255,255,255,.78) 100%),
    linear-gradient(90deg,
      rgba(255,255,255,.98) 0%,
      rgba(255,255,255,.72) 28%,
      rgba(255,255,255,.22) 58%,
      rgba(255,255,255,0) 82%),
    radial-gradient(900px 420px at 85% -10%, rgba(254,152,51,.08), transparent 60%);
}

/* Ana sayfa + görsel hero: koyu scrim → beyaz eritme (üst/alt kenar) */
html[data-theme="light"] .hero-bg img,
html[data-theme="light"] .hero-bg .hero-video {
  filter: brightness(1.05) saturate(.88);
}

html[data-theme="light"] .hero-bg::after {
  background:
    linear-gradient(180deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.9) 10%,
      rgba(255,255,255,.42) 28%,
      rgba(255,255,255,.06) 48%,
      rgba(255,255,255,.06) 58%,
      rgba(255,255,255,.5) 78%,
      rgba(255,255,255,.94) 94%,
      var(--bg) 100%),
    linear-gradient(90deg,
      rgba(255,255,255,.96) 0%,
      rgba(255,255,255,.78) 32%,
      rgba(255,255,255,.22) 62%,
      rgba(255,255,255,.04) 100%);
}

html[data-theme="light"] .hero-stats {
  background: rgba(255,255,255,.55);
  border-color: rgba(255,255,255,.75);
  box-shadow: 0 24px 50px -28px rgba(22, 32, 43, .16);
}

html[data-theme="light"] .hero-stats .stat {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
}

html[data-theme="light"] .fnews-card::after {
  background: linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.62) 45%, rgba(255,255,255,.94) 100%);
}

html[data-theme="light"] .fnews-tag,
html[data-theme="light"] .fnews-tag.cat-tag {
  background: rgba(255,255,255,.78);
}

html[data-theme="light"] .solution .thumb::after {
  background: linear-gradient(180deg, transparent 40%, rgba(255,255,255,.88));
}

html[data-theme="light"] .solution .idx {
  background: rgba(255,255,255,.78);
}

html[data-theme="light"] .slogan-band .sb-bg img {
  filter: brightness(1.06) saturate(.82);
}

html[data-theme="light"] .slogan-band .sb-bg::after {
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.72) 30%, rgba(255,255,255,.38) 50%, rgba(255,255,255,.72) 70%, rgba(255,255,255,.98) 100%),
    linear-gradient(0deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.58) 30%, rgba(255,255,255,.12) 50%, rgba(255,255,255,.58) 70%, rgba(255,255,255,.96) 100%);
}

html[data-theme="light"] .offcanvas .btn-close-white {
  filter: invert(1) grayscale(1);
  opacity: .65;
}

html[data-theme="light"] .logo-tile {
  background: #fff;
  box-shadow: 0 10px 22px -18px rgba(22, 32, 43, .18);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  /* Slider dönmüyor → elle yatay kaydırmaya izin ver */
  .products-carousel { overflow-x: auto; }
}

/* ============================================================
   10) XRADAI — "Yapay Zeka Destekli ERP" sayfası arayüz demoları
   Üç döngüsel demo (saf CSS, harici asset yok):
     1) .xr-erp  → ERP ekranı + bağlama duyarlı AI butonu / sohbet
     2) .xr-doc  → PDF dökümanların ERP tablosuna dönüşmesi
     3) .xr-rep  → Doğal dil talebin dashboard'a dönüşmesi
   KURAL: animasyonsuz temel durum = demonun BİTİŞ karesi.
   Böylece prefers-reduced-motion'da (ve JS/animasyon kapalıyken)
   demo hâlâ anlamlı bir "sonuç" ekranı olarak okunur.
   ============================================================ */

.xr-demo { position: relative; margin-inline: auto; width: 100%; }
.xr-demo-cap {
  margin: .9rem auto 0; max-width: 60ch; text-align: center;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em;
  color: var(--text-mute);
}

/* --- ortak pencere çerçevesi --- */
.xr-win {
  position: relative; background: var(--surface-2);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 40px 80px -52px rgba(0,0,0,.9);
}
.xr-win-bar {
  display: flex; align-items: center; gap: .55rem; padding: .6rem .9rem;
  background: var(--surface-3); border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .05em;
  color: var(--text-mute);
}
.xr-win-dots { display: inline-flex; gap: 5px; margin-right: .3rem; flex-shrink: 0; }
.xr-win-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.xr-win-dots i:first-child { background: rgba(254,152,51,.75); }
.xr-win-bar .xr-t { color: var(--text-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xr-win-bar .xr-r { margin-left: auto; flex-shrink: 0; opacity: .8; }

/* --- ortak tablo --- */
.xr-tbl { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.xr-tr {
  /* minmax(0,…): dar ekranda sütunların pencereyi taşırmasını engeller */
  display: grid; gap: .5rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, 1.15fr);
  align-items: center; background: var(--surface-2);
  padding: .5rem .8rem; font-size: .78rem; color: var(--text-soft);
}
.xr-tr > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xr-tr.xr-th {
  background: var(--surface-3); color: var(--text-mute);
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .11em;
}
.xr-tr .xr-mono { font-family: var(--font-mono); font-size: .74rem; color: var(--text); }

/* ============ 1) ERP + AI ASİSTAN DEMOSU ============ */
.xr-erp { --cycle: 17s; max-width: 920px; }
/* 3 sütun: modül menüsü | veri ekranı | AI paneli.
   AI paneli kapalıyken 3. sütun 0px; açılırken sütun genişler,
   veri ekranı daralır ve AI butonu onunla birlikte sola kayar. */
.xr-erp-body {
  display: grid; grid-template-columns: 132px minmax(0, 1fr) 276px;
  min-height: 336px; animation: xr-dock var(--cycle) infinite;
}
.xr-erp-side {
  border-right: 1px solid var(--line); padding: .85rem .7rem;
  display: grid; gap: .12rem; align-content: start;
}
.xr-erp-side span {
  font-size: .76rem; color: var(--text-mute); padding: .36rem .55rem;
  border-radius: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.xr-erp-side span.on { background: rgba(254,152,51,.12); color: var(--enf-orange); font-weight: 600; }
.xr-erp-main { position: relative; min-width: 0; padding: .9rem 0 3.4rem; }
.xr-erp-head {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  padding: 0 .9rem .75rem;
}
.xr-erp-head strong { font-size: .92rem; color: var(--enf-white); font-weight: 600; }
.xr-erp-sel {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .06em;
  color: var(--enf-orange); border: 1px solid rgba(254,152,51,.35);
  border-radius: 999px; padding: .12rem .55rem;
}

/* durum rozeti — eski/yeni geçişi */
.xr-swap { position: relative; display: inline-block; }
.xr-swap b {
  display: inline-block; font-weight: 500; font-size: .7rem; line-height: 1.5;
  padding: .12rem .5rem; border-radius: 999px; white-space: nowrap;
}
.xr-swap .xr-new { background: rgba(254,152,51,.14); border: 1px solid rgba(254,152,51,.42); color: var(--enf-orange); }
.xr-swap .xr-old {
  position: absolute; left: 0; top: 0; opacity: 0;
  background: rgba(230,234,237,.06); border: 1px solid var(--line); color: var(--text-mute);
}

/* AI butonu — veri ekranının sağ alt köşesinde yüzer */
.xr-aibtn {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: .38rem;
  padding: .5rem .8rem; border-radius: 999px; border: 0;
  background: var(--enf-orange); color: #1a1200;
  font-family: var(--font-mono); font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  box-shadow: 0 10px 26px -10px var(--glow);
}
.xr-aibtn svg { width: 14px; height: 14px; }
.xr-aibtn::after {
  content: ""; position: absolute; inset: -4px; border-radius: 999px;
  border: 2px solid var(--enf-orange); opacity: 0;
}

/* sohbet paneli — sağa yerleşen (dock) panel */
.xr-chat {
  overflow: hidden; min-width: 0; background: var(--surface);
  box-shadow: inset 1px 0 0 var(--line-strong);
}
.xr-chat-in { display: flex; flex-direction: column; width: 276px; height: 100%; }
.xr-chat-head { display: flex; align-items: center; gap: .55rem; padding: .6rem .75rem; border-bottom: 1px solid var(--line); }
.xr-chat-ic {
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
  background: var(--enf-orange); color: #1a1200; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: .58rem; font-weight: 700;
}
.xr-chat-head .xr-n { font-size: .78rem; font-weight: 600; color: var(--enf-white); line-height: 1.2; }
.xr-chat-head .xr-c {
  display: block; font-family: var(--font-mono); font-size: .58rem;
  letter-spacing: .04em; color: var(--enf-orange); margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.xr-chat-head > span:last-child { min-width: 0; }
.xr-chat-body { flex: 1; padding: .7rem; display: grid; gap: .45rem; align-content: start; }
.xr-msg { max-width: 94%; font-size: .74rem; line-height: 1.5; padding: .45rem .6rem; border-radius: 11px; }
.xr-msg-u { justify-self: end; background: rgba(254,152,51,.13); border: 1px solid rgba(254,152,51,.3); color: var(--text); }
.xr-msg-a { justify-self: start; background: var(--surface-3); border: 1px solid var(--line); color: var(--text-soft); }
.xr-msg-a .xr-ok { color: var(--enf-orange); font-weight: 600; }
.xr-dots { justify-self: start; display: inline-flex; gap: 4px; padding: .55rem .6rem; opacity: 0; }
.xr-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--text-mute); }
.xr-cmp {
  display: flex; align-items: center; gap: .45rem; padding: .5rem .55rem .55rem;
  border-top: 1px solid var(--line);
}
.xr-cmp-in {
  flex: 1; min-width: 0; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 999px; padding: .32rem .6rem; overflow: hidden;
}
.xr-cmp-in span {
  display: block; width: 100%; white-space: nowrap; overflow: hidden;
  font-size: .66rem; color: var(--text-soft); border-right: 1px solid transparent;
}
.xr-cmp-go {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--enf-orange); color: #1a1200; display: grid; place-items: center;
}
.xr-cmp-go svg { width: 12px; height: 12px; }

/* ---- ERP demosu zaman çizelgesi (döngü: --cycle) ---- */
.xr-erp .xr-aibtn { animation: xr-btn var(--cycle) infinite; }
.xr-erp .xr-aibtn::after { animation: xr-ring var(--cycle) infinite; }
.xr-erp .xr-chat-in { animation: xr-panel var(--cycle) infinite; }
.xr-erp .xr-cmp-in span { animation: xr-typing var(--cycle) infinite; }
.xr-erp .xr-cmp-go { animation: xr-send var(--cycle) infinite; }
.xr-erp .xr-msg-u { animation: xr-pop var(--cycle) infinite; }
.xr-erp .xr-dots { animation: xr-thinking var(--cycle) infinite; }
.xr-erp .xr-dots i { animation: xr-dot 1.1s ease-in-out infinite; }
.xr-erp .xr-dots i:nth-child(2) { animation-delay: .15s; }
.xr-erp .xr-dots i:nth-child(3) { animation-delay: .3s; }
.xr-erp .xr-msg-a { animation: xr-reply var(--cycle) infinite; }
.xr-erp .xr-swap .xr-old { animation: xr-old var(--cycle) infinite; }
.xr-erp .xr-swap .xr-new { animation: xr-new var(--cycle) infinite; }
.xr-erp .xr-tr[data-row="2"] .xr-swap b { animation-delay: .2s; }
.xr-erp .xr-tr[data-row="3"] .xr-swap b { animation-delay: .4s; }

@keyframes xr-btn {
  0%, 9% { transform: none; box-shadow: 0 10px 26px -10px var(--glow); }
  11% { transform: scale(.9); }
  13%, 100% { transform: none; }
}
@keyframes xr-ring {
  0% { opacity: 0; transform: scale(.9); }
  4% { opacity: .55; }
  9% { opacity: 0; transform: scale(1.35); }
  100% { opacity: 0; transform: scale(1.35); }
}
@keyframes xr-dock {
  0%, 11% { grid-template-columns: 132px minmax(0, 1fr) 0px; }
  17%, 88% { grid-template-columns: 132px minmax(0, 1fr) 276px; }
  93%, 100% { grid-template-columns: 132px minmax(0, 1fr) 0px; }
}
@keyframes xr-panel {
  0%, 13% { opacity: 0; }
  19%, 88% { opacity: 1; }
  92%, 100% { opacity: 0; }
}
@keyframes xr-typing {
  0%, 17% { width: 0; animation-timing-function: steps(37, end); }
  36%, 40% { width: 100%; }
  41%, 100% { width: 0; }
}
@keyframes xr-send {
  0%, 39% { transform: none; box-shadow: none; }
  41% { transform: scale(1.22); box-shadow: 0 0 0 6px rgba(254,152,51,.18); }
  44%, 100% { transform: none; box-shadow: none; }
}
@keyframes xr-pop {
  0%, 40% { opacity: 0; transform: translateY(6px); }
  44%, 88% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: translateY(6px); }
}
@keyframes xr-thinking {
  0%, 45% { opacity: 0; }
  47%, 56% { opacity: 1; }
  58%, 100% { opacity: 0; }
}
@keyframes xr-dot {
  0%, 100% { transform: translateY(0); opacity: .45; }
  50% { transform: translateY(-3px); opacity: 1; }
}
@keyframes xr-reply {
  0%, 58% { opacity: 0; transform: translateY(6px); }
  62%, 88% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: translateY(6px); }
}
@keyframes xr-old {
  0%, 63% { opacity: 1; }
  67%, 93% { opacity: 0; }
  97%, 100% { opacity: 1; }
}
@keyframes xr-new {
  0%, 63% { opacity: 0; }
  67%, 93% { opacity: 1; }
  97%, 100% { opacity: 0; }
}

/* ============ 2) DÖKÜMAN → ERP TABLOSU DEMOSU ============ */
.xr-doc { --cycle: 13s; max-width: 560px; }
.xr-doc-src {
  position: relative; display: grid; gap: .5rem; padding: 1rem;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.xr-file {
  display: flex; align-items: center; gap: .6rem;
  padding: .55rem .7rem; border-radius: var(--radius-sm);
  background: var(--surface-3); border: 1px solid var(--line);
  font-size: .78rem; color: var(--text-soft);
}
.xr-file svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--enf-orange); }
.xr-file span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xr-file em {
  margin-left: auto; flex-shrink: 0; font-style: normal;
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .06em; color: var(--text-mute);
}
.xr-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 46%; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(254,152,51,.16) 60%, rgba(254,152,51,.55));
  border-bottom: 1px solid var(--enf-orange); opacity: 0;
}
.xr-doc-flow { position: relative; height: 54px; display: grid; place-items: center; }
.xr-doc-flow::before {
  content: ""; position: absolute; top: 4px; bottom: 4px; width: 2px;
  background: linear-gradient(180deg, transparent, var(--line-strong), transparent);
}
.xr-pkt {
  position: absolute; top: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--enf-orange); box-shadow: 0 0 12px 2px var(--glow); opacity: 0;
}
.xr-doc-out .xr-tbl { border-top: 0; }
.xr-doc-out .xr-tr { grid-template-columns: minmax(0, 1.35fr) minmax(0, .62fr) minmax(0, .8fr) minmax(0, .85fr); }
.xr-doc-done {
  display: flex; align-items: center; gap: .5rem; padding: .6rem .8rem;
  background: var(--surface-3); border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .05em; color: var(--enf-orange);
}
.xr-doc-done svg { width: 14px; height: 14px; }

.xr-doc .xr-scan { animation: xr-scan var(--cycle) infinite; }
.xr-doc .xr-file { animation: xr-file var(--cycle) infinite; }
.xr-doc .xr-file:nth-child(2) { animation-delay: .35s; }
.xr-doc .xr-file:nth-child(3) { animation-delay: .7s; }
.xr-doc .xr-pkt { animation: xr-pkt var(--cycle) infinite; }
.xr-doc .xr-pkt:nth-child(2) { animation-delay: .45s; }
.xr-doc .xr-pkt:nth-child(3) { animation-delay: .9s; }
.xr-doc .xr-tbl .xr-tr:not(.xr-th) { animation: xr-rowin var(--cycle) infinite; }
.xr-doc .xr-tbl .xr-tr:nth-child(3) { animation-delay: .3s; }
.xr-doc .xr-tbl .xr-tr:nth-child(4) { animation-delay: .6s; }
.xr-doc .xr-tbl .xr-tr:nth-child(5) { animation-delay: .9s; }
.xr-doc .xr-doc-done { animation: xr-done var(--cycle) infinite; }

@keyframes xr-scan {
  0% { opacity: 0; transform: translateY(-100%); }
  6% { opacity: 1; }
  28% { opacity: 1; transform: translateY(228%); }
  32%, 100% { opacity: 0; transform: translateY(228%); }
}
@keyframes xr-file {
  0%, 6% { border-color: var(--line); background: var(--surface-3); }
  16% { border-color: rgba(254,152,51,.5); background: rgba(254,152,51,.07); }
  30%, 100% { border-color: var(--line); background: var(--surface-3); }
}
@keyframes xr-pkt {
  0%, 26% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(6px); }
  46% { opacity: 1; transform: translateY(44px); }
  50%, 100% { opacity: 0; transform: translateY(48px); }
}
@keyframes xr-rowin {
  0%, 34% { opacity: 0; transform: translateY(8px); }
  46%, 92% { opacity: 1; transform: none; }
  97%, 100% { opacity: 0; transform: translateY(8px); }
}
@keyframes xr-done {
  0%, 62% { opacity: 0; }
  68%, 92% { opacity: 1; }
  97%, 100% { opacity: 0; }
}

/* ============ 3) REPORTER: TALEP → DASHBOARD ============ */
.xr-rep { --cycle: 15s; display: grid; grid-template-columns: .82fr 1.18fr; gap: var(--gap); align-items: center; }
.xr-rep-ask-b { padding: 1rem .95rem 1.05rem; }
.xr-rep-label {
  display: block; font-family: var(--font-mono); font-size: .6rem;
  letter-spacing: .12em; color: var(--text-mute); margin-bottom: .55rem;
}
.xr-rep-prompt {
  margin: 0 0 1rem; font-size: .92rem; line-height: 1.55; color: var(--text);
}
.xr-rep-prompt i { display: block; font-style: normal; white-space: nowrap; overflow: hidden; width: 100%; }
.xr-rep-send {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .42rem .85rem; border-radius: 999px;
  background: var(--enf-orange); color: #1a1200;
  font-size: .78rem; font-weight: 600;
}
.xr-rep-send svg { width: 14px; height: 14px; }
.xr-rep-out { min-height: 268px; }
.xr-rep-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.xr-kpi { background: var(--surface-2); padding: .7rem .8rem; }
.xr-kpi b {
  display: block; font-family: var(--font-mono); font-weight: 700;
  font-size: 1.12rem; color: var(--enf-orange); line-height: 1.2;
}
.xr-kpi span { display: block; font-size: .66rem; color: var(--text-mute); margin-top: .15rem; line-height: 1.35; }
.xr-chart { padding: 1rem .9rem .8rem; }
.xr-plot { display: flex; align-items: flex-end; gap: clamp(.4rem, 1.6vw, .9rem); height: 118px; }
.xr-plot > i {
  flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; transform-origin: 50% 100%;
  background: linear-gradient(180deg, var(--enf-orange), rgba(254,152,51,.32));
}
.xr-xaxis {
  display: flex; gap: clamp(.4rem, 1.6vw, .9rem); margin-top: .5rem;
  padding-top: .45rem; border-top: 1px solid var(--line);
}
.xr-xaxis span {
  flex: 1; text-align: center; font-family: var(--font-mono);
  font-size: .58rem; letter-spacing: .06em; color: var(--text-mute);
}

.xr-rep .xr-rep-prompt i { animation: xr-typeA var(--cycle) infinite; }
.xr-rep .xr-rep-prompt i + i { animation-name: xr-typeB; }
.xr-rep .xr-rep-send { animation: xr-send2 var(--cycle) infinite; }
.xr-rep .xr-rep-out { animation: xr-fade var(--cycle) infinite; }
.xr-rep .xr-kpi { animation: xr-kpi var(--cycle) infinite; }
.xr-rep .xr-kpi:nth-child(2) { animation-delay: .12s; }
.xr-rep .xr-kpi:nth-child(3) { animation-delay: .24s; }
.xr-rep .xr-plot > i { animation: xr-bar var(--cycle) infinite; }
.xr-rep .xr-plot > i:nth-child(2) { animation-delay: .09s; }
.xr-rep .xr-plot > i:nth-child(3) { animation-delay: .18s; }
.xr-rep .xr-plot > i:nth-child(4) { animation-delay: .27s; }
.xr-rep .xr-plot > i:nth-child(5) { animation-delay: .36s; }
.xr-rep .xr-plot > i:nth-child(6) { animation-delay: .45s; }

/* Talep metni, dashboard oluştuktan sonra da ekranda kalır */
@keyframes xr-typeA {
  0%, 8% { width: 0; animation-timing-function: steps(21, end); }
  24%, 92% { width: 100%; }
  96%, 100% { width: 0; }
}
@keyframes xr-typeB {
  0%, 24% { width: 0; animation-timing-function: steps(22, end); }
  38%, 92% { width: 100%; }
  96%, 100% { width: 0; }
}
@keyframes xr-send2 {
  0%, 40% { transform: none; box-shadow: none; }
  43% { transform: scale(1.1); box-shadow: 0 0 0 7px rgba(254,152,51,.18); }
  47%, 100% { transform: none; box-shadow: none; }
}
@keyframes xr-fade {
  0%, 42% { opacity: .18; }
  48%, 92% { opacity: 1; }
  97%, 100% { opacity: .18; }
}
@keyframes xr-kpi {
  0%, 46% { opacity: 0; transform: translateY(6px); }
  54%, 92% { opacity: 1; transform: none; }
  97%, 100% { opacity: 0; transform: translateY(6px); }
}
@keyframes xr-bar {
  0%, 50% { transform: scaleY(0); opacity: .4; }
  62%, 92% { transform: scaleY(1); opacity: 1; }
  97%, 100% { transform: scaleY(0); opacity: .4; }
}

/* --- XRADAI yardımcı bileşenler --- */
.xr-pills { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 2rem; }
.xr-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface-2);
  font-size: .86rem; color: var(--text-soft);
}
.xr-pill svg { width: 15px; height: 15px; color: var(--enf-orange); flex-shrink: 0; }

.xr-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: var(--gap); }
.xr-stat { background: var(--surface-2); padding: 1.4rem 1.3rem; }
.xr-stat b {
  display: block; font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); color: var(--enf-orange); line-height: 1.1;
}
.xr-stat span { display: block; margin-top: .45rem; font-size: .86rem; color: var(--text-mute); line-height: 1.45; }

.xr-close { text-align: center; }
.xr-close .hero-cta { justify-content: center; margin-bottom: 0; }

@media (max-width: 900px) {
  .xr-rep { grid-template-columns: 1fr; }
  .xr-stats { grid-template-columns: 1fr; }
}
/* Dar ekranda AI paneli yana değil, veri ekranının altına açılır */
@media (max-width: 820px) {
  .xr-erp-side { display: none; }
  .xr-erp-body {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 214px;
    min-height: 0; animation-name: xr-dock-sm;
  }
  .xr-chat { box-shadow: inset 0 1px 0 var(--line-strong); }
  .xr-chat-in { width: 100%; }
  @keyframes xr-dock-sm {
    0%, 11% { grid-template-rows: auto 0px; }
    17%, 88% { grid-template-rows: auto 214px; }
    93%, 100% { grid-template-rows: auto 0px; }
  }
}
@media (max-width: 560px) {
  .xr-tr {
    font-size: .7rem; padding: .45rem .55rem; gap: .35rem;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, .55fr) minmax(0, 1.25fr);
  }
  .xr-tr.xr-th { font-size: .56rem; letter-spacing: .06em; }
  .xr-swap b { font-size: .62rem; padding: .1rem .42rem; }
  .xr-aibtn { right: 10px; bottom: 10px; }
  .xr-rep-kpis { grid-template-columns: 1fr; }
}

/* Animasyon kapalıyken demolar bitiş karesinde kalsın (yanıp sönmesin) */
@media (prefers-reduced-motion: reduce) {
  .xr-demo, .xr-demo *, .xr-demo *::after, .xr-demo *::before { animation: none !important; }
  .xr-erp .xr-dots { display: none; }
}
