/* === İzci v2 — clean editorial layout, intenseye-inspired flow === */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@800&family=Sora:wght@300;400;500;600;700;800&family=Manrope:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=Noto+Naskh+Arabic:wght@400;500;700&display=swap');

:root {
  --bg:        #0A0A0A;
  --bg-elev:   #111111;
  --bg-card:   #1A1A1A;
  --bg-soft:   #222222;
  --line:      rgba(229,224,212,0.10);
  --line-strong: rgba(229,224,212,0.20);
  --fg:        #E5E0D4;
  --fg-mute:   #B9B5AB;
  --fg-dim:    #7B7870;
  --bone:      #E5E0D4;
  --accent:    #C42E2E;
  --accent-2:  #E04848;
  --accent-soft: rgba(196,46,46,0.16);
  --cyan:      #7BA3C7;
  --warn:      #D9A24A;
  --ok:        #7BB87A;
  --section-pad: 140px;
}

/* =====================================================================
   ANIMATED GRID — sadece düz arka plan (--bg) üzerinde görünür.
   Band (--bg-elev) ve kartlar kendi opak bg'leriyle grid'i örter.
   ===================================================================== */

/* Dark mode grid (default) — section ::before z-index:0, direct children z-index:1 */
#neden::before, #nasil::before, #cozumler::before, #showcase::before,
#sektorler::before, #teknoloji::before, #ekipler::before, #referanslar::before {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 108px 108px;
  background-attachment: fixed;
  animation: gridPan 6s linear infinite;
}

/* Light mode: darker lines on white bg */
[data-theme="light"] #neden::before, [data-theme="light"] #nasil::before,
[data-theme="light"] #cozumler::before, [data-theme="light"] #showcase::before,
[data-theme="light"] #sektorler::before, [data-theme="light"] #teknoloji::before,
[data-theme="light"] #ekipler::before, [data-theme="light"] #referanslar::before {
  background-image:
    linear-gradient(rgba(0,0,0,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.08) 1px, transparent 1px);
}

/* Direct children (band, wrap) sit above grid; their own backgrounds cover it naturally */
#neden > *, #nasil > *, #cozumler > *, #showcase > *,
#sektorler > *, #teknoloji > *, #ekipler > *, #referanslar > * {
  position: relative;
  z-index: 1;
}

.hdr, .top-hdr { z-index: 99999; }

@keyframes gridPan {
  0%   { background-position: 0 0; }
  100% { background-position: -108px 108px; }
}

[data-theme="light"] {
  --bg:        #FFFFFF;
  --bg-elev:   #F5F5F5;
  --bg-card:   #FFFFFF;
  --bg-soft:   #EEEEEE;
  --line:      rgba(8,8,8,0.10);
  --line-strong: rgba(8,8,8,0.18);
  --fg:        #080808;
  --fg-mute:   rgba(8,8,8,0.75);
  --fg-dim:    rgba(8,8,8,0.55);
  --bone:      #2A2723;
  --accent:    #AB2323;
}

/* Light mode: hardcoded-renk overrides */
[data-theme="light"] .top-hdr {
  background: #3A3C42;
  border-bottom: none;
}
[data-theme="light"] .top-hdr-social a { color: #CACACA; opacity: 1; }
[data-theme="light"] .top-hdr-social a:hover { color: #fff; opacity: 1; }
[data-theme="light"] .top-hdr-center { color: #E3E3E3; }
[data-theme="light"] .top-hdr-right a { color: #B2B2B2; }
[data-theme="light"] .top-hdr-right a:hover { color: #fff; }

[data-theme="light"] .hdr {
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid rgba(8,8,8,0.10);
}
[data-theme="light"] .hdr-logo-img {
  content: url('assets/img/PNG/izciwhiteheader.png');
}

[data-theme="light"] .megamenu {
  box-shadow: 0 12px 40px -8px rgba(0,0,0,0.12);
}

[data-theme="light"] .hero-bg {
  background: #000;
}
[data-theme="light"] .hero-bg::after {
  display: none;
}

[data-theme="light"] .hero-video::after {
  background: none;
}

[data-theme="light"] .hero-content,
[data-theme="light"] .hero-content h1,
[data-theme="light"] .hero-content p,
[data-theme="light"] .hero-content .eyebrow,
[data-theme="light"] .hero-h,
[data-theme="light"] .hero-lead {
  color: #fff;
}
[data-theme="light"] .hero-h em {
  color: var(--accent);
}
[data-theme="light"] .hero-stats .v,
[data-theme="light"] .hero-stats .unit,
[data-theme="light"] .hero-stats .l {
  color: #fff;
}
[data-theme="light"] .hero-stat .l { color: rgba(255,255,255,0.7); }
[data-theme="light"] .hero-stat .v .unit { color: var(--accent); }

[data-theme="light"] .hero-cta .btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}
[data-theme="light"] .hero-cta .btn-ghost:hover {
  background: rgba(255,255,255,0.12);
}

[data-theme="light"] .pipe-step {
  background: #E8E8E8;
  background-image: none;
  border-color: #D0D0D0;
}
[data-theme="light"] .pipe-step h4 { color: #080808; }
[data-theme="light"] .pipe-step p { color: rgba(8,8,8,0.65); }
[data-theme="light"] .pipe-step .pn { color: rgba(8,8,8,0.45); }
[data-theme="light"] .pipe-step .latency { color: #080808; }
[data-theme="light"] .pipe-step svg { color: rgba(8,8,8,0.5) !important; }
[data-theme="light"] .det:not(.det-featured),
[data-theme="light"] .ref-card {
  background: var(--bg-card);
}

[data-theme="light"] .persona {
  background: #E8E8E8;
  border-color: #D0D0D0;
}
[data-theme="light"] .persona h4 { color: #080808; }
[data-theme="light"] .persona p { color: rgba(8,8,8,0.75); }
[data-theme="light"] .persona ul li { color: rgba(8,8,8,0.75); }

[data-theme="light"] .sec-card { background: var(--bg-card); }
[data-theme="light"] .sec-illus { filter: saturate(0.75) brightness(0.85); }
[data-theme="light"] .sec-illus::after {
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.18) 55%, rgba(0,0,0,0.05) 100%);
}

[data-theme="light"] .brand-cell { background: var(--bg-elev); }


[data-theme="light"] .video-frame {
  background: var(--bg-card);
}
[data-theme="light"] .video-frame .scene {
  background: var(--bg-card);
}
[data-theme="light"] .video-frame .scene::before {
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}

[data-theme="light"] .mm-feature .thumb {
  background: linear-gradient(135deg, var(--bg-soft), var(--bg-elev));
}

[data-theme="light"] .marquee { background: #fff; }
[data-theme="light"] .marquee-fade-l { background: linear-gradient(90deg, #fff, transparent); }
[data-theme="light"] .marquee-fade-r { background: linear-gradient(-90deg, #fff, transparent); }
[data-theme="light"] .marquee-item img {
  filter: saturate(0.75) opacity(0.9);
}

[data-theme="light"] .ftr { background: #2A2723; color: #E5E0D4; }

/* CTA banner — always dark background, force white text in light mode */
[data-theme="light"] .cta-grid,
[data-theme="light"] .cta-grid .h-section,
[data-theme="light"] .cta-grid .eyebrow {
  color: #fff;
}
[data-theme="light"] .cta-actions .btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.40);
  color: #fff;
}
[data-theme="light"] .cta-actions .btn-ghost:hover {
  background: rgba(255,255,255,0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 400; font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.mono { font-family: 'IBM Plex Mono', monospace; }
.dim { color: var(--fg-dim); }
.muted { color: var(--fg-mute); }

/* Type scale — bigger, bolder, intenseye-style */
.h-display {
  font-family: 'Sora', sans-serif;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.04; letter-spacing: -0.025em; font-weight: 500;
  margin: 0;
}
.h-section {
  font-family: 'Sora', sans-serif;
  font-size: clamp(36px, 4.4vw, 68px);
  line-height: 1.04; letter-spacing: -0.03em; font-weight: 500;
  margin: 0 0 24px;
}
.h-card {
  font-family: 'Sora', sans-serif;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.18; letter-spacing: -0.018em; font-weight: 500;
  margin: 0 0 14px;
}
.lead {
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.5; color: var(--fg-mute); font-weight: 400;
  margin: 0;
}

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-mute);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; font-size: 15px; font-weight: 500;
  border-radius: 0; border: 1px solid transparent;
  cursor: pointer; transition: all .2s ease;
  font-family: inherit;
}
/* Primary (accent) buttons — square top, rounded bottom */
.btn-primary {
  background: var(--accent); color: white; border-color: var(--accent);
  border-radius: 0;
}
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
[dir="rtl"] .btn-primary { border-radius: 0; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--bg-card); border-color: var(--fg-mute); }
.btn-arrow::after {
  content: '→'; font-size: 18px; line-height: 1;
  transition: transform .2s ease;
}
.btn:hover.btn-arrow::after { transform: translateX(3px); }

.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.icon-btn {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 0;
  color: var(--fg); cursor: pointer; transition: all .2s ease;
}
.icon-btn:hover { background: var(--bg-card); }

/* === Header === */
.top-hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  background: #3A3C42;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top-hdr-inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; height: 32px; padding: 0 56px; gap: 24px;
}
.top-hdr-social { display: flex; align-items: center; gap: 14px; }
.top-hdr-social a {
  display: inline-flex; align-items: center; color: #CACACA;
  transition: opacity .2s ease; text-decoration: none; opacity: 0.9;
}
.top-hdr-social a:hover { opacity: 1; color: #fff; }
.top-hdr-social svg { width: 15px; height: 15px; }
.top-hdr-center {
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 400;
  font-style: italic; letter-spacing: 0.01em; color: #E3E3E3;
  text-align: center; white-space: nowrap;
}
.top-hdr-right {
  display: flex; align-items: center; gap: 18px; justify-content: flex-end;
}
.top-hdr-right a {
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 500;
  color: #B2B2B2; text-decoration: none; transition: color .2s ease;
  white-space: nowrap;
}
.top-hdr-right a:hover { color: #fff; }

.hdr {
  position: fixed; top: 32px; left: 0; right: 0; z-index: 99999;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}
.hdr-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 51px; max-width: 100%; padding: 0 56px;
}
.hdr-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.hdr-logo-img { height: 21px; width: auto; display: block; }
.hdr-logo-text {
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: 25px;
  letter-spacing: 0.06em;
  color: var(--fg);
  line-height: 1;
}
[data-theme="light"] .hdr-logo-text { color: #080808; }
.hdr-by { font-size: 11px; letter-spacing: 0.16em; color: var(--fg-dim); padding-left: 10px; border-left: 1px solid var(--line); margin-left: 4px; }
.hdr-actions { display: flex; align-items: center; gap: 14px; align-self: stretch; }
.hdr-actions .btn-primary { margin-right: -56px; padding-right: 56px; padding-left: 40px; margin-top: 0; margin-bottom: 0; align-self: stretch; display: flex; align-items: center; justify-content: center; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; font-size: 13px; font-family: 'Space Grotesk', sans-serif; border: none; border-radius: 0; }
.hdr-actions .btn-primary::after { display: none; }

/* Mega menu */
.hdr-nav { display: flex; align-items: center; gap: 0; flex: 1; justify-content: flex-end; padding: 0 24px; }
.nav-item { position: relative; }
.nav-item > button {
  background: transparent; border: 0; color: var(--fg); cursor: pointer;
  padding: 8px 12px; font-size: 13px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 5px;
  border-radius: 6px;
  font-family: 'Space Grotesk', sans-serif; line-height: 1; letter-spacing: -0.01em;
}
.nav-item > button:hover { background: var(--bg-card); }
.nav-plain {
  background: transparent; color: var(--fg); cursor: pointer;
  padding: 8px 12px; font-size: 13px; font-weight: 500;
  display: inline-flex; align-items: center;
  border-radius: 6px; font-family: 'Space Grotesk', sans-serif; line-height: 1; letter-spacing: -0.01em;
  text-decoration: none;
}
.nav-plain:hover { background: var(--bg-card); }
.nav-item .chev { width: 15px; height: 15px; opacity: 0.6; transition: transform .2s; }
.nav-item.is-open .chev { transform: rotate(180deg); }
.megamenu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(-4px);
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 0; padding: 24px;
  display: grid; gap: 24px; width: max-content; max-width: 880px;
  opacity: 0; visibility: hidden; transition: all .25s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.5);
}
.megamenu.cols-2 { grid-template-columns: 1fr 1fr; }
.megamenu.cols-3 { grid-template-columns: 1fr 1fr 1.1fr; }
.nav-item.is-open .megamenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mm-h { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 12px; }
.mm-link { display: flex; gap: 12px; padding: 10px; border-radius: 0; transition: background .15s; }
.mm-link:hover { background: var(--bg-soft); }
.mm-link .ic { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 0; background: var(--bg-soft); display: inline-flex; align-items: center; justify-content: center; color: var(--accent); }
.mm-link .ic svg { width: 18px; height: 18px; }
.mm-link .t { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.mm-link .d { font-size: 12px; color: var(--fg-mute); line-height: 1.4; }
.mm-feature { padding: 18px; border-radius: 0; background: var(--bg-soft); position: relative; overflow: hidden; }
.mm-feature .badge { display: inline-block; font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.14em; padding: 3px 8px; background: var(--accent); color: white; border-radius: 0; margin-bottom: 10px; }
.mm-feature .thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, #2A2D33, #15171B); border-radius: 0; margin-bottom: 12px; position: relative; overflow: hidden; }
.mm-feature .thumb::after { content:''; position:absolute; inset:30%; background: var(--accent); border-radius: 50%; opacity: 0.4; filter: blur(40px); }
.mm-feature .t { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.mm-feature .d { font-size: 13px; color: var(--fg-mute); line-height: 1.4; margin-bottom: 10px; }
.mm-feature .arrow { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.1em; color: var(--accent); }

/* Lang switch */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 12px !important; width: auto !important; height: 36px !important;
  border-radius: 0;
}
.lang-btn .flag { width: 20px; height: 14px; border-radius: 2px; overflow: hidden; }
.lang-btn .code { font-size: 11px; letter-spacing: 0.1em; font-weight: 600; }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 220px; background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 12px; padding: 6px; z-index: 90;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.4);
}
.lang-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; background: transparent; border: 0; color: var(--fg); cursor: pointer; text-align: left; border-radius: 8px; font-family: inherit; }
.lang-opt:hover { background: var(--bg-soft); }
.lang-opt.is-on { background: var(--accent-soft); }
.lang-opt .flag { width: 24px; height: 16px; border-radius: 2px; overflow: hidden; flex: 0 0 24px; }
.lang-opt .names { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.lang-opt .names .n { font-size: 14px; font-weight: 600; }
.lang-opt .names .c { font-size: 10px; letter-spacing: 0.1em; color: var(--fg-dim); text-transform: uppercase; }
.lang-opt .check { color: var(--accent); }

/* === HERO === */
.hero {
  position: relative;
  padding: 83px 0 0;
  height: 100vh; display: flex; align-items: flex-start;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(196,46,46,0.10), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(123,163,199,0.04), transparent 60%),
    var(--bg);
}
.hero-bg::after {
  content:''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 75%);
  opacity: 0.35;
}
.hero-video {
  position: absolute; top: 83px; left: 0; right: 0; bottom: 0; z-index: 1;
  overflow: hidden; pointer-events: none;
}
.hero-bg-img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  /* JS sets filter dynamically (HDR-like boost + reveal blur) — keep default sharp */
  display: block;
  image-rendering: high-quality;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: filter;
}
.hero-video::after {
  content:''; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.75) 25%, rgba(8,8,8,0.3) 55%, transparent 75%);
}

.hero-content { position: relative; z-index: 2; max-width: 75%; margin-left: 4vw; padding-left: 0; padding-top: calc(60px + 6vh); }
.hero-eyebrow { margin-bottom: 22px; padding-left: 64px; }
.hero-h { padding-left: 64px; }
.hero-h em { color: var(--accent); font-style: normal; }

@keyframes decodeFlash {
  0%   { text-shadow: none; filter: brightness(1); }
  25%  { text-shadow: 0 0 6px rgba(220,80,60,0.35), 0 0 14px rgba(220,80,60,0.18); filter: brightness(1.12); }
  100% { text-shadow: none; filter: brightness(1); }
}
.hero-h.decode-flash { animation: decodeFlash 1.1s ease forwards; }
.hero-lead { margin-top: 20px; max-width: 56ch; font-size: clamp(15px, 1.05vw, 17px); padding-left: 64px; }
.hero-cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; padding-left: 64px; }
.hero-cta .btn-primary { min-width: 220px; justify-content: center; text-transform: uppercase; font-weight: 800; letter-spacing: 0.06em; }
.hero-cta .btn-primary::after { display: none; }

/* Hero scene wrapper */
.hero-scene-wrap {
  position: relative; margin-top: 80px;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-card);
  aspect-ratio: 16/8;
}
.hero-pill {
  position: absolute; bottom: 24px; left: 24px; z-index: 4;
  padding: 8px 14px; background: rgba(0,0,0,0.6); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 999px;
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.1em;
  display: flex; gap: 10px; align-items: center; color: white;
}
.hero-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Hero stats */
.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; z-index: 3;
  border-top: 1px solid var(--line);
}
.hero-stat { position: relative; padding: 36px 40px 48px; border-right: 1px solid var(--line); cursor: default; transition: background .15s; display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-start; text-align: right; min-height: 180px; }
.hero-stat:last-child { border-right: none; }
.hero-stat.is-hovered { background: var(--bg-card); }
.hero-stat .v { font-family: 'Sora', sans-serif; font-size: clamp(36px, 3.6vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; }
.hero-stat .v .unit { color: var(--accent); margin-left: 4px; font-size: 0.7em; }

/* Stat hover panel — overlays exact same area, reveals top→bottom */
.stat-panel {
  position: absolute; inset: 0; z-index: 5;
  background: var(--bg-card);
  border-right: 1px solid var(--line);
  padding: 36px 40px 48px;
  display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; text-align: left;
  animation: statReveal .22s ease forwards;
  overflow: hidden;
}
.hero-stat:last-child .stat-panel { border-right: none; }
.stat-panel-label {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.stat-panel-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.stat-panel-list li {
  font-size: 13px; color: var(--fg-mute); line-height: 1.4;
  padding-left: 14px; position: relative;
}
.stat-panel-list li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--accent); font-size: 11px; top: 1px;
}
@keyframes statReveal {
  from { clip-path: inset(0 0 100% 0); }
  to   { clip-path: inset(0 0 0% 0); }
}
.hero-stat .l { font-size: 13px; color: var(--fg-mute); }

/* === Marquee === */
.marquee {
  padding: 40px 0 60px;
  border-top: none;
  border-bottom: none;
  background: var(--bg-elev);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.marquee-label {
  text-align: center; margin-bottom: 28px; margin-top: -12px;
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: #999;
}
.marquee-track {
  display: flex; gap: 80px; align-items: center;
  animation: scroll 40s linear infinite;
  width: max-content;
}
.marquee { cursor: grab; }
.marquee.is-dragging { cursor: grabbing; user-select: none; }
@keyframes scroll {
  to { transform: translateX(-50%); }
}
.marquee-item {
  display: flex; align-items: center;
  opacity: 0.45; transition: opacity .25s, transform .25s ease, filter .25s ease;
  flex-shrink: 0;
}
.marquee-item:hover { opacity: 1; transform: scale(1.12); }
.marquee-item .brand-logo {
  display: block;
  filter: brightness(0) invert(1);
  transition: filter .25s ease;
  user-select: none;
}
.marquee-item:hover .brand-logo {
  filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(255,255,255,0.55)) drop-shadow(0 0 14px rgba(255,255,255,0.25));
}
/* light mode marquee — renkli, hover'da canlılaşır */
[data-theme="light"] .marquee-item .brand-logo {
  filter: saturate(0.7) opacity(0.7);
}
[data-theme="light"] .marquee-item:hover .brand-logo {
  filter: saturate(1.15) contrast(1.1) brightness(1.05);
}
.marquee-fade-l, .marquee-fade-r {
  position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee-fade-l { left: 0; background: linear-gradient(90deg, var(--bg-elev), transparent); }
.marquee-fade-r { right: 0; background: linear-gradient(-90deg, var(--bg-elev), transparent); }
.marquee-globe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  color: var(--fg); opacity: 0.07;
  pointer-events: none;
}

/* === Generic section === */
.section { padding: var(--section-pad) 0; position: relative; z-index: 1; background: var(--bg); }
.section-head { max-width: 1100px; margin: 0 auto 80px; text-align: center; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head .lead { margin-top: 22px; max-width: 64ch; margin-left: auto; margin-right: auto; }

.section-band {
  background: var(--bg-elev);
  width: 100%;
  padding: var(--section-pad) 0 100px;
  margin-bottom: 200px;
  position: relative;
  z-index: 1;
}

.smark {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--fg-dim); margin-bottom: 18px;
}
.smark .num { color: var(--accent); }

/* === Why section (problem) === */
#neden > .wrap { max-width: 100%; padding: 0 56px; }
.why-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 16px; align-items: center; }
.why-grid > div:first-child { transform: translate(50px, -60px); }
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.why-stat .v { font-family: 'Sora', sans-serif; font-size: clamp(40px, 5vw, 72px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--accent); margin-bottom: 8px; }
.why-stat .l { font-size: 14px; color: var(--fg-mute); line-height: 1.5; }
.why-visual {
  aspect-ratio: 1/1; height: 720px; width: auto; max-height: 1080px;
  border-radius: 0; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-card);
  position: relative; justify-self: end; margin-right: 24px;
  box-shadow: 0 12px 40px -8px rgba(0,0,0,0.40), 0 4px 14px -3px rgba(0,0,0,0.22);
  transform: translate(-50px, -60px);
  transform-origin: center center;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.5s ease;
}
.why-visual:hover {
  transform: translate(-50px, -60px) scale(1.10);
  box-shadow: 0 20px 56px -10px rgba(0,0,0,0.50), 0 6px 20px -4px rgba(0,0,0,0.28);
}
.why-visual img {
  filter: brightness(1.15);
}
@media (max-width:980px) {
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-visual { aspect-ratio: 16/10; }
}

/* === How it works — zigzag timeline === */
.how-timeline {
  position: relative;
  margin: 80px auto 0;
  max-width: 900px;
}
.how-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: visible; pointer-events: none; z-index: 0;
}
.how-row {
  display: flex; align-items: center;
  min-height: 260px; position: relative;
}
.how-row:not(:last-child) { margin-bottom: 48px; }
/* Default: node RIGHT, card LEFT */
.how-card { flex: 1; padding-right: 56px; text-align: right; }
.how-node { flex-shrink: 0; }
/* is-left: node LEFT, card RIGHT */
.how-row.is-left { flex-direction: row-reverse; }
.how-row.is-left .how-card { padding-right: 0; padding-left: 56px; text-align: left; }
.how-node {
  width: 48px; height: 48px;
  border: 1.5px solid var(--accent); background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); position: relative; z-index: 2;
}
.how-card-num { font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.18em; color:var(--accent); margin-bottom:12px; }
.how-card h3 { font-size:clamp(22px,2vw,30px); font-weight:700; letter-spacing:-0.02em; margin:0 0 12px; }
.how-card p { color:var(--fg-mute); font-size:15px; line-height:1.6; margin:0; }
.how-card-meta { font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.12em; color:var(--fg-dim); margin-top:16px; }

/* === Detection grid (cleaner) === */
.det-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  background: transparent; border: none;
  border-radius: 0; overflow: visible;
}
.det {
  background: var(--bg);
  padding: 28px 28px;
  display: flex; flex-direction: column; gap: 12px;
  aspect-ratio: 4/3; position: relative;
  box-shadow: 1px 0 0 0 var(--line), 0 1px 0 0 var(--line), 1px 1px 0 0 var(--line);
}
.det:not(.det-featured):hover { background: var(--accent); transform: scale(1.06); z-index: 5; }
.det-num { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.14em; color: var(--fg-dim); }
.det-icon { width: 44px; height: 44px; color: var(--accent); display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--accent-soft); }
.det h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin: 0; }
.det p { font-size: 14px; color: var(--fg-mute); margin: 0; line-height: 1.5; }
.det-detail { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.1em; color: var(--accent); margin-top: auto; padding-top: 8px; }

/* Featured first det card — top 1/3 image, bottom 2/3 text, hover expands image */
.det-featured {
  padding: 0; gap: 0;
  display: flex; flex-direction: column;
}
.det-img-panel {
  flex: 0 0 33.33%;
  background-size: cover; background-position: center;
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: flex-basis 0.45s cubic-bezier(0.25,0.46,0.45,0.94);
}
.det-text-panel {
  flex: 1 1 66.67%; padding: 20px 28px;
  display: flex; flex-direction: column; gap: 10px;
  overflow: hidden; min-height: 0;
  transition: flex-basis 0.45s cubic-bezier(0.25,0.46,0.45,0.94), opacity 0.3s ease, padding 0.45s ease;
}
.det-featured { overflow: hidden; }
.det-featured:hover .det-img-panel { flex-basis: 100%; border-bottom: none; }
.det-featured:hover .det-text-panel { flex-basis: 0; min-height: 0; padding: 0; opacity: 0; }
@media (max-width: 980px) { .det-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .det-grid { grid-template-columns: 1fr; } }

/* === Sectors === */
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; overflow: visible; }
.sec-card-wrap { position: relative; }
.sec-card-wrap:hover { z-index: 20; }
.sec-card {
  position: relative; padding: 28px 24px;
  border-radius: 0; border: 1px solid var(--line);
  background: var(--bg-card); overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
  aspect-ratio: 4/5; width: 100%;
  transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94), border-color 0.25s;
  transform-origin: center center;
}
.sec-card-wrap:hover .sec-card { transform: scale(1.15); border-color: var(--line-strong); }
.sec-num { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.16em; color: rgba(255,255,255,0.5); }
.sec-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin: 0; margin-top: auto; color: #fff; }
.sec-card .arrow { position: absolute; bottom: 18px; right: 18px; opacity: 1; color: #fff; }
.sec-illus {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  filter: saturate(0.6) brightness(0.55);
  transition: filter 0.5s ease;
  overflow: hidden;
}
.sec-illus::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.25) 100%);
  transition: opacity 0.5s ease;
}
.sec-card-wrap:hover .sec-illus { filter: saturate(1.15) brightness(0.95); }
.sec-card-wrap:hover .sec-illus::after { opacity: 0; }
.sec-card > *:not(.sec-illus) { position: relative; z-index: 1; }
.sec-illus > img,
.det-img-panel > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
@media (max-width: 980px) { .sec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .sec-grid { grid-template-columns: 1fr; } }

/* === Pipeline === */
.pipe-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-bottom: 40px;
  align-items: stretch;
  overflow: visible;
}
.pipe-step {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 0; padding: 28px 22px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 260px; position: relative;
}
.pipe-step:hover { background: var(--accent); border-color: var(--accent); z-index: 5; }
.pipe-step .pn { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.18em; color: var(--fg-dim); }
.pipe-step h4 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.pipe-step p { font-size: 13px; color: var(--fg-mute); margin: 0; line-height: 1.5; }
.pipe-step .latency { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.1em; color: var(--accent); margin-top: auto; }
@media (max-width: 1080px) {
  .pipe-row { grid-template-columns: repeat(2, 1fr); }
  .pipe-step { margin-left: 0; margin-top: -1px; }
  .pipe-step:nth-child(1) { margin-top: 0; }
}
@media (max-width: 540px) { .pipe-row { grid-template-columns: 1fr; } }

.tech-feats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 0; overflow: hidden; margin-top: 136px; }
.tech-feats > div { padding: 24px; border-right: 1px solid var(--line); }
.tech-feats > div:last-child { border-right: none; }
.tech-feats .l { font-size: 11px; letter-spacing: 0.14em; color: var(--fg-dim); text-transform: uppercase; margin-bottom: 8px; }
.tech-feats .t { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.tech-feats .d { font-size: 13px; color: var(--fg-mute); }
@media (max-width: 1080px) { .tech-feats { grid-template-columns: repeat(2, 1fr); } .tech-feats > div:nth-child(2n) { border-right: none; } }
@media (max-width: 540px) { .tech-feats { grid-template-columns: 1fr; } .tech-feats > div { border-right: none; border-bottom: 1px solid var(--line); } }

/* === Showcase right stats panel === */
.showcase-right {
  width: 260px;
  flex-shrink: 0;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.showcase-stat {
  flex: 1;
  padding: 32px 32px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.showcase-stat:last-child { border-bottom: none; }
.showcase-stat .v { font-family:'Sora',sans-serif; font-size:clamp(28px,2.4vw,42px); font-weight:700; letter-spacing:-0.03em; line-height:1; margin-bottom:8px; }
.showcase-stat .v .unit { color:var(--accent); margin-left:3px; font-size:0.65em; }
.showcase-stat .l { font-size:12px; color:var(--fg-mute); letter-spacing:0.02em; }

/* === Showcase media rows === */
.showcase-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: start; margin-bottom: 48px;
}
.showcase-row.flip { direction: rtl; }
.showcase-row.flip > * { direction: ltr; }
.showcase-row:last-child { margin-bottom: 0; }
#showcase .video-frame { max-height: 420px; }

.showcase-img-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: 0 12px 40px -8px rgba(0,0,0,0.40), 0 4px 14px -3px rgba(0,0,0,0.22);
  transform-origin: center center;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.5s ease;
}
.showcase-img-frame:hover {
  transform: scale(1.04);
  box-shadow: 0 20px 56px -10px rgba(0,0,0,0.50), 0 6px 20px -4px rgba(0,0,0,0.28);
}
.showcase-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(1.10);
}
.video-frame {
  position: relative; aspect-ratio: 16/10;
  border-radius: 0; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(180deg, #1a1d22, #0d0f12);
}
.video-frame .scene {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(196,46,46,0.18), transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(123,163,199,0.06), transparent 60%),
    linear-gradient(180deg, #1a1d22 0%, #0d0f12 100%);
}
.video-frame .scene::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
}
.scan {
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: scan 4s linear infinite; opacity: 0.6;
}
@keyframes scan { 0% { top: 0; } 100% { top: 100%; } }
.video-frame .corner {
  position: absolute; width: 18px; height: 18px;
  border: 1.5px solid var(--cyan);
}
.video-frame .corner.tl { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.video-frame .corner.tr { top: 18px; right: 18px; border-left: 0; border-bottom: 0; }
.video-frame .corner.bl { bottom: 18px; left: 18px; border-right: 0; border-top: 0; }
.video-frame .corner.br { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }
.video-frame .live {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.18em;
  color: var(--cyan); text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.video-frame .live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1.5s infinite; }
.video-frame .meta {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.1em;
  color: var(--fg-mute); display: flex; gap: 18px; align-items: center;
  background: rgba(0,0,0,0.4); padding: 6px 12px; border-radius: 999px;
  backdrop-filter: blur(10px);
}
.video-frame .duration { color: var(--cyan); }
.bbox-static { position: absolute; border: 1.5px solid var(--cyan); border-radius: 0; }
.bbox-static.alarm { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(196,46,46,0.3); }
.bbox-static .lbl {
  position: absolute; top: -22px; left: -1px;
  background: var(--cyan); color: black;
  font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: 0.08em;
  padding: 2px 6px; white-space: nowrap;
}
.bbox-static.alarm .lbl { background: var(--accent); color: white; }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,0.95); border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 3; transition: transform .2s;
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.06); }
.play-btn::after {
  content: ''; border-style: solid; border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent black;
  margin-left: 4px;
}

.showcase-text .eyebrow { margin-bottom: 18px; }
.showcase-text p { color: var(--fg-mute); font-size: 17px; line-height: 1.6; margin: 16px 0 0; }
.bullets { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 14px; }
.bullets li { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; }
.bullets .k { color: var(--accent); flex: 0 0 auto; font-weight: 600; }

@media (max-width: 980px) { .showcase-row { grid-template-columns: 1fr; gap: 48px; margin-bottom: 80px; } .showcase-row.flip { direction: ltr; } }

/* === For your team / personas === */
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; overflow: visible; }
.persona {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 0; padding: 36px 28px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.persona:hover { background: var(--accent); border-color: var(--accent); z-index: 5; }
.persona .role { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.persona h4 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin: 0; }
.persona p { font-size: 14px; color: var(--fg-mute); margin: 0; line-height: 1.55; }
.persona ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.persona ul li { font-size: 13px; color: var(--fg-mute); display: flex; gap: 8px; }
.persona ul li::before { content: '✓'; color: var(--accent); }
@media (max-width: 980px) { .persona-grid { grid-template-columns: 1fr; } }

/* === References === */
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; align-items: start; overflow: visible; }
.ref-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 0; padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 300px; position: relative;
  margin: -1px 0 0 -1px;
}
/* Birinci kart: featured — kırmızı, diğerlerinden daha uzun */
.ref-card:first-child {
  background: var(--accent); border-color: var(--accent); color: #fff;
  margin-top: -48px; margin-bottom: -48px; z-index: 2;
}
.ref-card:first-child .muted { color: rgba(255,255,255,0.7); }
.ref-card:first-child .badge { background: rgba(255,255,255,0.2); color: #fff; }
.ref-card:first-child .badge::before { background: #fff; }
.ref-card:first-child .meta { border-top-color: rgba(255,255,255,0.25); }
.ref-card:first-child .meta .l { color: rgba(255,255,255,0.65); }
.ref-card:not(:first-child):hover { background: var(--accent); border-color: var(--accent); z-index: 5; }
.ref-card:first-child:hover { filter: brightness(1.08); z-index: 5; }
.ref-card .badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: var(--accent-soft); color: var(--accent); border-radius: 999px; font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.12em; align-self: flex-start; }
.ref-card .badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.ref-card h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.ref-card .meta { display: flex; gap: 32px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.ref-card .meta .v { font-family: 'Sora', sans-serif; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.ref-card .meta .l { font-size: 11px; color: var(--fg-mute); margin-top: 4px; }
@media (max-width: 980px) { .ref-grid { grid-template-columns: 1fr; } .ref-card { min-height: 200px; } }

/* === Brand wall === */
.brand-wall {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
}
.brand-cell {
  padding: 32px 18px; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  min-height: 120px; transition: background .2s;
}
.brand-cell:hover { background: var(--bg-elev); }
.brand-cell .brand-logo {
  max-width: 100%;
  opacity: 0.5;
  filter: brightness(0) invert(1);
  transition: opacity .25s, filter .25s;
  display: block;
}
.brand-cell:hover .brand-logo {
  opacity: 1;
  filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(255,255,255,0.5)) drop-shadow(0 0 14px rgba(255,255,255,0.22));
}
[data-theme="light"] .brand-cell .brand-logo {
  filter: saturate(0.7) opacity(0.75);
}
[data-theme="light"] .brand-cell:hover .brand-logo {
  filter: saturate(1.15) contrast(1.1) brightness(1.05);
  opacity: 1;
}
/* Pre-white logos (e.g. TFF) — skip invert on dark, invert to dark on light */
.marquee-item .brand-logo.is-pre-white,
.brand-cell .brand-logo.is-pre-white {
  filter: none !important;
}
.marquee-item:hover .brand-logo.is-pre-white {
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.55)) drop-shadow(0 0 14px rgba(255,255,255,0.25)) !important;
}
.brand-cell:hover .brand-logo.is-pre-white {
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.5)) drop-shadow(0 0 14px rgba(255,255,255,0.22)) !important;
}
[data-theme="light"] .marquee-item .brand-logo.is-pre-white,
[data-theme="light"] .brand-cell .brand-logo.is-pre-white {
  filter: invert(1) !important;
}
[data-theme="light"] .marquee-item:hover .brand-logo.is-pre-white,
[data-theme="light"] .brand-cell:hover .brand-logo.is-pre-white {
  filter: invert(1) drop-shadow(0 0 6px rgba(0,0,0,0.3)) !important;
}

.brand-cell .name { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.04em; font-size: 14px; color: var(--fg-mute); }
.brand-cell .glyph {
  width: 28px; height: 28px; border-radius: 6px; background: var(--accent-soft);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent); font-weight: 700; font-size: 14px;
}
@media (max-width: 980px) { .brand-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .brand-wall { grid-template-columns: repeat(2, 1fr); } }

/* === Awards strip === */
.awards {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: visible;
}
.award { padding: 40px 24px; border-right: 1px solid var(--line); text-align: center; position: relative; }
.award:hover { background: var(--accent); z-index: 5; border-radius: 12px; }
.award:last-child { border-right: none; }
.award .ic { font-size: 28px; color: var(--accent); margin-bottom: 14px; }
.award .t { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.award .d { font-size: 12px; color: var(--fg-mute); }
@media (max-width: 880px) { .awards { grid-template-columns: repeat(2, 1fr); } .award:nth-child(2) { border-right: none; } .award:nth-child(1), .award:nth-child(2) { border-bottom: 1px solid var(--line); } }

/* === Testimonial === */
.testi {
  max-width: 980px; margin: 0 auto;
  text-align: center; padding: 60px 0;
}
.testi .quote {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500; letter-spacing: -0.02em; line-height: 1.25;
  margin: 0 0 40px;
}
.testi-typewriter::before { content: none; }
.testi-typewriter::after  { content: none; }
.testi-open, .testi-close { color: var(--accent); }
.testi-cursor {
  display: inline-block;
  width: 2px; margin-left: 2px;
  color: var(--accent);
  animation: testi-blink 0.7s step-end infinite;
}
@keyframes testi-blink { 0%,100% { opacity:1; } 50% { opacity:0; } }
.testi .who { display: inline-flex; align-items: center; gap: 16px; }
.testi .who .av { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.testi .who .name { font-weight: 600; font-size: 16px; text-align: left; }
.testi .who .role { font-size: 13px; color: var(--fg-mute); text-align: left; }

/* === Advantages === */
.adv-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--line);
  border: 1px dashed var(--line-strong); border-radius: 0;
  overflow: visible;
}
.adv {
  padding: 40px 36px; background: var(--bg-card);
  display: flex; flex-direction: column; gap: 14px;
  opacity: 0; position: relative;
  /* translate: giriş animasyonu — transform ile çakışmaz */
  transition: background .22s ease, color .22s ease, opacity .6s ease, translate .7s cubic-bezier(0.25,0.46,0.45,0.94);
}
/* Diyagonal giriş — translate property */
.adv:nth-child(1) { translate: -70px -70px; }
.adv:nth-child(2) { translate:  70px -70px; }
.adv:nth-child(3) { translate: -70px  70px; }
.adv:nth-child(4) { translate:  70px  70px; }
/* Tetiklenince merkeze gelir */
.adv-grid.in .adv { opacity: 1; translate: 0 0; }
/* Hover: kırmızı + scale */
.adv:hover { background: var(--accent); z-index: 5; }
.adv:hover .ic, .adv:hover h4 { color: #fff; }
.adv:hover p { color: rgba(255,255,255,0.85); }
.adv .ic { color: var(--accent); }
.adv h4 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin: 0; }
.adv p { color: var(--fg-mute); margin: 0; font-size: 15px; line-height: 1.55; }
@media (max-width: 880px) { .adv-grid { grid-template-columns: 1fr; } }

/* === Big CTA === */
.cta-banner {
  padding: 120px 0; position: relative; overflow: hidden;
  background: #0a0a0a; z-index: 1;
}
.cta-parallax-wrap {
  position: absolute; inset: 0; overflow: hidden; z-index: 0;
}
.cta-parallax-img {
  position: absolute; left: 0; width: 100%; height: 220%;
  top: 20%; object-fit: cover; object-position: 100% top;
  opacity: 0.75;
  will-change: transform;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.35) 100%);
}
.cta-grid { position: relative; z-index: 2; max-width: 980px; margin: 0 auto; text-align: center; }
.cta-grid .h-section { margin-bottom: 28px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; }
.contact-info { padding-right: 24px; }
.info-row { display: flex; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 14px; }
.info-row .l { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.14em; color: var(--fg-dim); text-transform: uppercase; flex: 0 0 100px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form .field { display: flex; flex-direction: column; gap: 6px; }
.form label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.12em; color: var(--fg-dim); text-transform: uppercase; }
.form input, .form select, .form textarea {
  background: var(--bg-card); border: 1px solid var(--line);
  padding: 14px 16px; color: var(--fg); font-family: inherit; font-size: 14px;
  border-radius: 0;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form .error input, .form .error select, .form .error textarea { border-color: var(--accent); }
.form .err { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--accent); }
.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 12px; }
.submit-row .note { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--fg-dim); letter-spacing: 0.08em; }
.form-success { padding: 40px; background: var(--bg-card); border: 1px solid var(--line); border-radius: 16px; display: flex; gap: 18px; align-items: flex-start; }
.form-success .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 48px; }
.btn-link { background: transparent; border: 0; color: var(--accent); cursor: pointer; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } .form { grid-template-columns: 1fr; } }

/* Detection section: reduce bottom pad so showcase follows closely */
#cozumler { padding-bottom: 60px; }

/* === Contact section stacking (no .section class, needs explicit bg + z-index) === */
section#iletisim {
  position: relative;
  z-index: 1;
  background: var(--bg);
}

/* === Footer === */
.ftr { background: var(--bg-elev); border-top: 1px solid var(--line); padding: 80px 0 32px; position: relative; z-index: 1; }
.ftr-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 80px; }
.ftr h5 { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-dim); margin: 0 0 16px; font-weight: 500; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ftr a { font-size: 14px; color: var(--fg-mute); transition: color .15s; }
.ftr a:hover { color: var(--fg); }
.ftr-mark { font-family: 'Roboto', sans-serif; font-size: clamp(80px, 14vw, 220px); font-weight: 800; letter-spacing: 0.04em; line-height: 0.85; color: transparent; -webkit-text-stroke: 1px var(--line-strong); margin: 60px 0 32px; user-select: none; }
.ftr-bot { display: flex; justify-content: space-between; gap: 18px; padding-top: 28px; border-top: 1px solid var(--line); font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.1em; color: var(--fg-dim); flex-wrap: wrap; }
@media (max-width: 980px) { .ftr-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .ftr-top { grid-template-columns: 1fr; gap: 32px; } }

/* === Card hover: metin renk geçişleri === */
.det:not(.det-featured):hover .det-num,
.det:not(.det-featured):hover h3,
.det:not(.det-featured):hover p,
.det:not(.det-featured):hover .det-detail { color: rgba(255,255,255,0.92) !important; }
.det:not(.det-featured):hover .det-icon { background: rgba(255,255,255,0.18); color: #fff; }

.persona:hover .role,
.persona:hover h4,
.persona:hover p,
.persona:hover ul li { color: rgba(255,255,255,0.92) !important; }
.persona:hover ul li::before { color: rgba(255,255,255,0.65) !important; }

.ref-card:not(:first-child):hover h3,
.ref-card:not(:first-child):hover .muted,
.ref-card:not(:first-child):hover .meta .v,
.ref-card:not(:first-child):hover .meta .l { color: rgba(255,255,255,0.92) !important; }
.ref-card:not(:first-child):hover .badge { background: rgba(255,255,255,0.2); color: #fff; }
.ref-card:not(:first-child):hover .meta { border-top-color: rgba(255,255,255,0.25); }

.pipe-step:hover .pn,
.pipe-step:hover h4,
.pipe-step:hover p,
.pipe-step:hover .latency { color: rgba(255,255,255,0.92) !important; }
.pipe-step:hover svg { color: rgba(255,255,255,0.85) !important; }

.award:hover .ic,
.award:hover .t,
.award:hover .d { color: rgba(255,255,255,0.92) !important; }

/* === Reveal animation — translate ayrı property, hover transform ile çakışmaz === */
.reveal { opacity: 0; translate: 0 28px; transition: opacity .7s ease, translate .7s cubic-bezier(0.25,0.46,0.45,0.94); }
.reveal.in { opacity: 1; translate: 0 0; }
.card-reveal { opacity: 0; translate: 0 36px; transition: opacity .55s ease, translate .55s cubic-bezier(0.25,0.46,0.45,0.94); }
.card-reveal.in { opacity: 1; translate: 0 0; }

/* === Kart hover transition — .card-reveal'dan SONRA geldiği için transition'ı kazanır === */
.det, .persona, .ref-card, .pipe-step, .award, .adv {
  transition:
    background .14s ease-out,
    border-color .14s ease-out,
    color .14s ease-out,
    transform .12s ease-out;
}

/* Child elementler — renk geçişi karta eşlik etsin */
.det h3, .det p, .det .det-num, .det .det-detail,
.persona h4, .persona p, .persona .role, .persona ul li, .persona ul li::before,
.ref-card h3, .ref-card p, .ref-card .ref-sector,
.pipe-step h4, .pipe-step p, .pipe-step .pn, .pipe-step .latency, .pipe-step svg,
.award .ic, .award .t, .award .d,
.adv h4, .adv p, .adv .ic {
  transition: color .14s ease-out;
}
.det .det-icon {
  transition: color .14s ease-out, background .14s ease-out;
}

/* Hover scale miktarları */
.det:not(.det-featured):hover  { transform: scale(1.10); }
.persona:hover                  { transform: scale(1.08); }
.ref-card:not(:first-child):hover { transform: scale(1.08); }
.ref-card:first-child:hover       { transform: scale(1.02); }
.pipe-step:hover                { transform: scale(1.08); }
.award:hover                    { transform: scale(1.12); }
.adv:hover                      { transform: scale(1.08); }

/* === RTL === */
[dir="rtl"] .btn-arrow::after { transform: scaleX(-1); }
[dir="rtl"] .btn:hover.btn-arrow::after { transform: scaleX(-1) translateX(-3px); }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .hdr-by { padding-left: 0; padding-right: 10px; border-left: 0; border-right: 1px solid var(--line); margin-left: 0; margin-right: 4px; }
[dir="rtl"] .ftr-bot, [dir="rtl"] .submit-row { direction: rtl; }

/* Header always LTR: logo left, CTA right — regardless of page direction */
.hdr, .top-hdr { direction: ltr; }
[lang="ar"] body { font-family: 'Noto Naskh Arabic', 'Manrope', sans-serif; }
[lang="ar"] .mono { font-family: 'IBM Plex Mono', monospace; }
[lang="ar"] .h-display, [lang="ar"] .h-section, [lang="ar"] .h-card, [lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3, [lang="ar"] h4 { letter-spacing: 0; }

@media (max-width: 1080px) { .hdr-nav { display: none !important; } }


/* === Announcement bar === */
.announce {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  background: #FFFFFF; color: #0A0B0D;
  border-bottom: 1px solid rgba(8,8,8,0.10);
  font-size: 13px; letter-spacing: 0.005em;
}
.announce-inner {
  max-width: 1320px; margin: 0 auto; padding: 10px 32px;
  display: flex; align-items: center; gap: 16px;
  position: relative;
}
.announce-text {
  flex: 1; min-width: 0; outline: none; text-align: center;
  font-weight: 500;
  padding: 2px 6px; border-radius: 4px;
  cursor: text;
  transition: background .15s;
}
.announce-text:hover { background: rgba(8,8,8,0.04); }
.announce-text:focus { background: rgba(196,46,46,0.08); box-shadow: 0 0 0 2px rgba(196,46,46,0.25); }
.announce-text:empty::before {
  content: 'Duyuru metni…'; color: rgba(8,8,8,0.4);
}
.announce-close {
  background: transparent; border: 0; color: rgba(8,8,8,0.55);
  width: 28px; height: 28px; border-radius: 50%; cursor: pointer;
  font-size: 22px; line-height: 1; display: inline-flex; align-items: center; justify-content: center;
  transition: all .15s; flex: 0 0 28px;
}
.announce-close:hover { background: rgba(8,8,8,0.08); color: #0A0B0D; }

/* When announce is showing, push the fixed header down */
body:has(.announce) .hdr { top: 41px; }
body:has(.announce) .hero { padding-top: 123px; }

[dir="rtl"] .announce-close { order: -1; }

@media (max-width: 720px) {
  .announce-inner { padding: 10px 16px; gap: 8px; }
  .announce { font-size: 12px; }
}

/* =====================================================================
   MOBILE — comprehensive responsive layer
   Breakpoints: 1080 (tablet), 768 (mobile), 480 (small phone)
   ===================================================================== */

/* Hamburger button — hidden on desktop, shown ≤1080px */
.hdr-burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--line);
  border-radius: 8px;
  align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
  color: var(--fg);
}
.hdr-burger:hover { background: var(--bg-soft); }
.hdr-burger svg { width: 20px; height: 20px; }

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 200;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  padding: 24px;
  visibility: hidden;
}
.mobile-drawer.is-open { transform: translateX(0); visibility: visible; }
.mobile-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.mobile-drawer-close {
  width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--line);
  border-radius: 8px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--fg); font-size: 22px; line-height: 1;
}
.mobile-drawer-nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-drawer-nav a, .mobile-drawer-nav button {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 12px;
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  color: var(--fg); font: inherit; text-align: left;
  font-size: 17px; font-weight: 500;
  cursor: pointer; text-decoration: none;
}
.mobile-drawer-nav a:active, .mobile-drawer-nav button:active {
  background: var(--bg-soft);
}
.mobile-drawer-foot {
  margin-top: auto; padding-top: 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.mobile-drawer-actions {
  display: flex; gap: 12px;
}
.mobile-drawer-actions .icon-btn { flex: 1 0 auto; width: auto; padding: 0 14px; height: 44px; }
.mobile-drawer-foot .btn { width: 100%; justify-content: center; min-height: 48px; }
.mobile-drawer-credit {
  text-align: center; font-size: 12px; color: var(--fg-dim);
  font-family: 'Space Grotesk', sans-serif; letter-spacing: 0.04em;
  padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px;
}

/* Scroll-to-top button (mobile only, shows after scrolling past hero) */
.scroll-top {
  position: fixed;
  right: 16px; bottom: 16px;
  width: 48px; height: 48px;
  background: var(--accent); color: #fff;
  border: 0; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 8px 20px -4px rgba(0,0,0,0.45);
  z-index: 90;
  opacity: 0; pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.25s, transform 0.25s;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top svg { width: 20px; height: 20px; }

/* Header login link — desktop: hidden (already in top-hdr); mobile: visible before lang */
.hdr-login-link {
  display: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--fg); text-decoration: none;
  padding: 8px 12px; border: 1px solid var(--line);
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.hdr-login-link:hover { background: var(--bg-soft); }

/* ===== ≤1080px (tablet & smaller) ===== */
@media (max-width: 1080px) {
  .hdr-burger { display: inline-flex; }
  .hdr-actions .icon-btn:not(.lang-btn) { display: none !important; }
  .hdr-actions .btn-primary { display: none !important; }
  .hdr-actions { gap: 8px !important; align-self: center !important; margin-left: auto; }
  .hdr-login-link { display: inline-flex; align-items: center; }
  .hdr-actions .lang-switch { display: inline-flex; }
  .top-hdr-center { display: none; }
}

/* ===== ≤768px (mobile) ===== */
@media (max-width: 768px) {
  :root { --section-pad: 64px; }

  html, body { overflow-x: hidden; }
  .wrap { padding: 0 16px; max-width: 100%; }

  /* Show scroll-to-top */
  .scroll-top { display: inline-flex; }

  /* Top header bar — center social icons, hide other groups */
  .top-hdr-inner {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    grid-template-columns: none !important;
    padding: 6px 12px;
    gap: 0;
  }
  .top-hdr-social {
    gap: 16px;
    justify-content: center !important;
  }
  .top-hdr-social a svg { width: 14px; height: 14px; }
  .top-hdr-right { display: none !important; }

  /* Main header */
  .hdr { padding: 10px 0 !important; top: 28px !important; }
  .hdr-inner { padding: 0 12px; }
  .hdr-logo-img { height: 24px; }
  .hdr-logo-text { font-size: 16px; }
  body:has(.announce) .hdr { top: 70px !important; }

  /* HERO — flex-column, content sized to actual content, stats stack at end */
  .hero {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .hero-video {
    top: 0 !important;
    height: 100% !important;
    z-index: 0;
  }
  .hero-bg-img { object-position: 60% center; }
  .hero-video::after {
    background: linear-gradient(to bottom, rgba(8,8,8,0.85) 0%, rgba(8,8,8,0.55) 35%, rgba(8,8,8,0.40) 70%, rgba(8,8,8,0.90) 100%) !important;
  }
  .hero-content {
    max-width: 100% !important;
    margin: 0 !important;
    padding: calc(160px + env(safe-area-inset-top, 0px)) 16px 28px !important;
    flex: 0 0 auto !important;
  }
  .hero-eyebrow, .hero-h, .hero-lead, .hero-cta {
    padding-left: 0 !important;
  }
  .hero-eyebrow { margin-bottom: 16px; }
  .hero-h, .h-display {
    font-size: clamp(30px, 8vw, 44px) !important;
    letter-spacing: -0.02em !important;
    line-height: 1.06 !important;
    margin: 0 !important;
  }
  .hero-lead {
    font-size: 14.5px !important;
    line-height: 1.5 !important;
    margin-top: 14px !important;
    max-width: 100% !important;
  }
  .hero-cta { margin-top: 22px !important; gap: 10px !important; flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; min-width: 0 !important; justify-content: center; min-height: 46px; }
  .hero-stats {
    position: static !important;
    grid-template-columns: repeat(3, 1fr) !important;
    margin: 0 !important;
    padding: 0 !important;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    z-index: 3;
    flex: 0 0 auto;
  }
  .hero-stat {
    padding: 14px 10px !important;
    min-height: 0 !important;
    align-items: flex-start !important;
    text-align: left !important;
    border-right: 1px solid var(--line);
  }
  .hero-stat:last-child { border-right: 0; }
  .hero-stat .v {
    font-size: 22px !important;
    margin-bottom: 4px !important;
    font-weight: 700;
  }
  .hero-stat .unit { font-size: 11px !important; }
  .hero-stat .l { font-size: 10.5px !important; line-height: 1.25 !important; }
  .hero-stat.is-hovered { background: transparent !important; }
  .stat-panel { display: none !important; }

  /* Section heads & padding — small breathing gap between sections on mobile */
  .section { padding: 0 0 48px !important; }
  .section-band { padding: 14px 0 !important; margin-bottom: 0 !important; }
  .section-head { margin: 0 auto 0 !important; }
  .h-section { font-size: clamp(24px, 6vw, 32px) !important; line-height: 1.15 !important; }
  .lead { font-size: 14.5px !important; line-height: 1.55 !important; margin-top: 8px !important; }
  .eyebrow { font-size: 11px; }
  .section-head .eyebrow { margin-bottom: 12px !important; }
  /* Tighten the gap between section-band heading and following content */
  .how-timeline,
  .det-grid,
  .sec-grid,
  .pipe-row { margin-top: 12px !important; }
  /* Add tiny bottom space so content doesn't crash into next section's heading */
  .section > .wrap:last-child { padding-bottom: 20px; }

  /* Marquee */
  .marquee { padding: 20px 0; }
  .marquee-label { font-size: 11px; }
  .marquee-track { gap: 40px !important; }
  .marquee-item { padding: 0 8px; }
  .marquee-item canvas { transform: scale(0.7); }
  .marquee-fade-l, .marquee-fade-r { width: 40px !important; }

  /* Why */
  .why-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .why-grid > div:first-child { transform: none !important; }
  .why-visual {
    aspect-ratio: 16/10 !important;
    height: auto !important; width: 100% !important;
    max-height: none !important;
    transform: none !important;
    margin: 0 !important;
    justify-self: stretch !important;
    box-shadow: 0 8px 24px -6px rgba(0,0,0,0.35) !important;
  }
  .why-visual:hover { transform: none !important; }
  .why-stats { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }

  /* How-it: stack vertical, no zigzag */
  .how-timeline { max-width: 100%; margin: 12px 0 0 !important; }
  .how-svg { display: none !important; }
  .how-row {
    min-height: 0 !important;
    gap: 12px !important;
    direction: ltr !important;
  }
  .how-row:not(:last-child) { margin-bottom: 16px !important; }
  .how-row.is-left { direction: ltr !important; flex-direction: row !important; }
  .how-row .how-card {
    transform: none !important;
    opacity: 1 !important;
    padding: 16px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    text-align: left !important;
  }
  .how-row.is-left .how-card { padding-left: 16px !important; padding-right: 16px !important; }
  .how-node {
    transform: scale(1) !important;
    width: 32px !important; height: 32px !important;
    flex-shrink: 0;
  }

  /* Detection grid — 2 columns on mobile, tighter spacing, all text visible */
  .det-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .det, .det-featured {
    min-height: 0 !important;
    padding: 12px !important;
    overflow: visible !important;
    height: auto !important;
  }
  .det h3 { font-size: 14px !important; line-height: 1.2 !important; }
  .det p { font-size: 12.5px !important; line-height: 1.4 !important; }
  .det-num { font-size: 9.5px !important; }
  .det-icon { width: 32px !important; height: 32px !important; }
  .det-icon svg { width: 18px !important; height: 18px !important; }
  .det-detail { font-size: 11px !important; }
  /* Featured cards keep image + text but stacked */
  .det-featured {
    padding: 0 !important;
    flex-direction: column !important;
    grid-column: span 2 !important;
  }
  .det-img-panel { flex: 0 0 160px !important; min-height: 160px !important; }
  .det-text-panel { padding: 14px 16px !important; gap: 6px !important; }
  .det-text-panel h3 { font-size: 16px !important; }
  .det-text-panel p { font-size: 13px !important; }
  /* Disable the expand-on-hover for featured cards on touch */
  .det-featured:hover .det-img-panel { flex-basis: 160px !important; }
  .det-featured:hover .det-text-panel { flex-basis: auto !important; opacity: 1 !important; padding: 14px 16px !important; }

  /* Sectors */
  .sec-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .sec-card { min-height: 160px; padding: 18px !important; }
  .sec-card h3 { font-size: 18px !important; }

  /* Pipeline */
  .pipe-row { grid-template-columns: 1fr !important; gap: 10px !important; }
  .pipe-step { padding: 18px !important; }
  .tech-feats { grid-template-columns: 1fr !important; margin-top: 24px !important; }
  .tech-feats > div { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 16px 0 !important; }
  .tech-feats > div:last-child { border-bottom: 0; }

  /* Personas */
  .persona-grid { grid-template-columns: 1fr !important; gap: 12px; }
  .persona { padding: 20px !important; }

  /* References */
  .ref-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .ref-card {
    min-height: 0 !important;
    padding: 20px !important;
    grid-row: auto !important;
  }
  .ref-card[style*="span 2"] { grid-row: auto !important; }
  .ref-card .meta { grid-template-columns: repeat(3, 1fr) !important; gap: 12px; }
  .ref-card .meta .v { font-size: 22px !important; }

  /* Brands */
  .brand-wall { grid-template-columns: repeat(2, 1fr) !important; gap: 0 !important; }
  .brand-cell { min-height: 72px; padding: 10px; }

  /* Awards */
  .awards { grid-template-columns: 1fr 1fr !important; }
  .award { padding: 18px !important; }
  .award:nth-child(2) { border-right: 0 !important; }
  .award:nth-child(1), .award:nth-child(2) { border-bottom: 1px solid var(--line); }

  /* Advantages */
  .adv-grid { grid-template-columns: 1fr !important; gap: 10px; }
  .adv { padding: 20px !important; }

  /* Showcase — flatten the whole panel */
  #showcase {
    flex-direction: column !important;
    height: auto !important;
    overflow: visible !important;
  }
  #showcase > div:first-child {
    padding: 24px 16px !important;
  }
  #showcase > div:first-child > div { width: 100%; }
  #showcase > div:first-child > div > div {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin-bottom: 28px !important;
    padding: 0 !important;
  }
  .showcase-img-frame {
    aspect-ratio: 16/10 !important;
    height: auto !important;
    max-height: none !important;
    width: 100% !important;
  }
  .showcase-img-frame img { object-fit: cover; }
  .showcase-right {
    flex: 0 0 auto !important;
    width: 100% !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    border-top: 1px solid var(--line);
    border-left: none !important;
    padding: 0 !important;
  }
  .showcase-stat {
    flex: 1 1 50% !important;
    padding: 20px !important;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: left !important;
  }
  .showcase-stat:nth-child(2n) { border-right: 0; }

  /* Testimonial */
  .testi { padding: 0 4px; }
  .testi .quote { font-size: 19px !important; line-height: 1.45 !important; }
  .testi .who { gap: 12px; }
  .testi .av { width: 40px !important; height: 40px !important; }

  /* CTA banner */
  .cta-banner { padding: 64px 0 !important; }
  .cta-grid h2 { font-size: clamp(24px, 6vw, 32px) !important; }
  .cta-actions { flex-direction: column !important; gap: 10px !important; }
  .cta-actions .btn { width: 100%; justify-content: center; min-height: 46px; }
  .cta-parallax-img { width: 220% !important; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .form { grid-template-columns: 1fr !important; gap: 12px !important; }
  .form input, .form select, .form textarea, .form .input {
    min-height: 46px; font-size: 16px; /* prevent iOS zoom */
  }
  .form textarea { min-height: 110px; }
  .form .submit { width: 100%; justify-content: center; min-height: 48px; }

  /* Footer */
  .ftr-top { grid-template-columns: 1fr !important; gap: 24px !important; padding: 32px 0 !important; }
  .ftr-bot {
    flex-direction: column !important;
    gap: 10px !important; text-align: center !important;
    padding: 20px 0 !important;
  }

  /* Buttons */
  .btn { min-height: 44px; padding: 12px 18px; }
  .icon-btn { min-width: 40px; min-height: 40px; }

  /* Hide tweaks dev panel on mobile */
  .tweaks-panel, .tweaks-fab { display: none !important; }

  /* Hide announcement on mobile if active — too cramped */
  .announce-text { font-size: 11px !important; }

  /* Animated grid: smaller on mobile for perf */
  #neden::before, #nasil::before, #cozumler::before, #showcase::before,
  #sektorler::before, #teknoloji::before, #ekipler::before, #referanslar::before {
    background-size: 64px 64px;
  }
}

/* ===== ≤480px (small phone) ===== */
@media (max-width: 480px) {
  .hero-stat .v { font-size: 18px !important; }
  .hero-stat .l { font-size: 9.5px !important; }
  .why-stats { grid-template-columns: 1fr; }
  .brand-wall { grid-template-columns: repeat(2, 1fr) !important; }
  .det-img-panel { min-height: 180px !important; }
  .showcase-stat { flex: 1 1 100% !important; border-right: 0 !important; }
}

/* iOS safe areas */
@supports (padding: env(safe-area-inset-top)) {
  .hdr { padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
  .mobile-drawer { padding-top: calc(24px + env(safe-area-inset-top, 0px)); }
  .ftr-bot { padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
