/* MAKINEX ONE tanıtım sayfası: dekoratif arka planlar (yalnızca CSS + küçük SVG dosyaları).
   Hepsi içeriğin altında, tıklamayı engellemez; mobilde sadeleşir; forced-colors'ta gizlenir. */
:root { --mx-line: rgba(148, 163, 255, .32); }

/* ---- üst çubuk: opak (arkadaki desen/metin ve logo plakası sızmasın) ---- */
.nav-wrap { background: #010C21; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---- hero: yapay zekâ ağı motifi (sağda, metne doğru solar) ---- */
.hero::before {
  content: ""; position: absolute; top: 0; right: -2%; bottom: 0; width: 62%; z-index: 0; pointer-events: none;
  background: url(/site/bg/network.svg) no-repeat right center / contain; opacity: .5;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 40%, #000 100%);
}
.hero::after {   /* alta doğru yumuşak geçiş */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(6, 11, 26, .85));
}
.hero-grid { z-index: 1; }

/* ---- bölümler arası yumuşak geçişler ---- */
.stats, .integr { border-block: 0; position: relative; }
.stats::before, .integr::before, .integr::after, .footer::before {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--mx-line) 30%, var(--mx-line) 70%, transparent);
}
.stats::before, .integr::before, .footer::before { top: 0; }
.integr::after { bottom: 0; }
.footer { border-top: 0; position: relative; }
.section.alt {
  border-block: 0; position: relative;
  background: radial-gradient(40% 30% at 8% 12%, rgba(79, 107, 255, .12), transparent 70%), radial-gradient(40% 30% at 94% 88%, rgba(139, 92, 246, .12), transparent 70%),
    linear-gradient(180deg, var(--bg) 0, var(--bg-2) 140px, var(--bg-2) calc(100% - 140px), var(--bg) 100%);
}
.roadmap { position: relative; }
.roadmap::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--mx-line) 30%, var(--mx-line) 70%, transparent); }

/* ---- özellikler: çok soluk devre/ızgara izi ---- */
@supports (overflow: clip) { #ozellikler, #guvenlik { overflow: clip; } }
#ozellikler { position: relative; }
#ozellikler::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url(/site/bg/grid.svg) repeat; opacity: .06;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 55%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 55%, #000 30%, transparent 100%);
}
#ozellikler > .container { position: relative; z-index: 1; }
.feature { transition: transform .2s, border-color .2s, box-shadow .25s; }
.feature:hover, .feature:focus-within { border-color: rgba(165, 180, 255, .4); box-shadow: 0 0 0 1px rgba(139, 150, 255, .18), 0 16px 44px rgba(79, 107, 255, .14); }

/* ---- süreç: adımlar arası bağlantı çizgisi; iki akış ayrışır ---- */
.steps li { position: relative; }
.flow:nth-of-type(1) .steps li { box-shadow: inset 0 2px 0 rgba(79, 107, 255, .6); }
.flow:nth-of-type(2) .steps li { box-shadow: inset 0 2px 0 rgba(139, 92, 246, .6); }
@media (min-width: 1021px) {
  .steps:not(.ops) li:not(:nth-child(4n))::after, .steps.ops li:not(:nth-child(3n)):not(:last-child)::after {
    content: ""; position: absolute; top: 46px; left: 100%; width: 20px; height: 1px; pointer-events: none;
    background: linear-gradient(90deg, rgba(139, 150, 255, .55), rgba(139, 150, 255, .15));
  }
}

/* ---- güvenlik: katmanlı kalkan konturu; başlık üstte hizalı ---- */
#guvenlik { position: relative; }
#guvenlik > .container { position: relative; z-index: 1; }
#guvenlik .split > div:first-child::after {   /* başlık ve metnin altında, içerik kutusu içinde */
  content: ""; display: block; width: 250px; height: 250px; margin-top: 36px; pointer-events: none;
  background: url(/site/bg/shield.svg) no-repeat left center / contain; opacity: .3;
}
#guvenlik .split { align-items: start; }
@media (min-width: 1021px) { #guvenlik .split > div:first-child { position: sticky; top: 112px; } }

/* ---- bölüm ışık geçişleri (düşük yoğunluk) ---- */
.hero { background: radial-gradient(55% 60% at 88% 18%, rgba(139, 92, 246, .13), transparent 70%), radial-gradient(40% 50% at 4% 85%, rgba(79, 107, 255, .09), transparent 70%); }
#ozellikler { background: radial-gradient(45% 35% at 10% 0, rgba(79, 107, 255, .1), transparent 70%), radial-gradient(40% 35% at 96% 100%, rgba(217, 70, 239, .07), transparent 70%); }
#guvenlik { background: radial-gradient(40% 55% at 6% 55%, rgba(99, 102, 241, .12), transparent 70%), radial-gradient(35% 40% at 100% 0, rgba(56, 189, 248, .06), transparent 70%); }
.final { background: radial-gradient(50% 70% at 50% 100%, rgba(139, 92, 246, .1), transparent 70%); }

/* ---- mobil: sadeleştir ---- */
@media (max-width: 700px) {
  .hero::before { display: none; }
  .hero::after { height: 60px; }
  #ozellikler::before { opacity: .04; -webkit-mask-image: none; mask-image: none; }
  .section.alt { background: var(--bg-2); }
}
@media (min-width: 761px) and (max-width: 1020px) { .steps li::after { content: none !important; } }
@media (max-width: 1020px) { #guvenlik .split > div:first-child::after { display: none; } }

/* ---- yüksek karşıtlık / forced-colors: süsleri gizle ---- */
@media (forced-colors: active) {
  .hero::before, .hero::after, #ozellikler::before, #guvenlik .split > div:first-child::after, .stats::before, .integr::before, .integr::after,
  .footer::before, .roadmap::before, .steps li::after { display: none !important; }
}
