/* ============ OMNİBAK – Global Stil (PURE CODE) ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root{
  --brand: #b30000;
  --header-h: 64px;

  --omni-c1: #b30000;
  --omni-c2: #ff3b3b;
  --omni-c3: #6a5acd;
}

body{
  font-family: 'Segoe UI', Arial, sans-serif;
  overflow-x: hidden;
  padding-top: var(--header-h);
  background-color: #001427;
  color: #333;
}

body.no-scroll{ height: 100vh; overflow: hidden; }
body.nav-open{ overflow: hidden; }

.hidden{ display:none; }
.visually-hidden{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }

/* HEADER */
header{
  width:100%;
  height:var(--header-h);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 40px;
  position:fixed;
  top:0; left:0;
  z-index:5000;
  background:rgba(255,255,255,0.98);
  border-bottom:1px solid #e6e8ec;
}

.logo a{ display:flex; align-items:center; height: var(--header-h); }
.logo img{
  height: calc(var(--header-h) * 0.98);
  width:auto;
  display:block;
  transform: scale(1.18);
  transform-origin:left center;
}

/* Hamburger (desktop gizli) */
.menu-btn{
  display:none;
  width:44px;
  height:44px;
  border:1px solid #ddd;
  background:#fff;
  border-radius:12px;
  cursor:pointer;
  position: relative;
}

/* hamburger daha şık + X animasyonu */
.menu-btn span{
  position:absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background:#111;
  border-radius: 99px;
  transition: transform .18s ease, opacity .18s ease, top .18s ease;
}
.menu-btn span:nth-child(1){ top: 14px; }
.menu-btn span:nth-child(2){ top: 21px; opacity: 1; }
.menu-btn span:nth-child(3){ top: 28px; }

header.nav-open .menu-btn span:nth-child(1){
  top: 21px;
  transform: rotate(45deg);
}
header.nav-open .menu-btn span:nth-child(2){
  opacity: 0;
}
header.nav-open .menu-btn span:nth-child(3){
  top: 21px;
  transform: rotate(-45deg);
}

/* NAV (desktop) */
nav ul{ list-style:none; display:flex; gap:20px; }
nav ul li a{ text-decoration:none; color:#333; font-weight:700; font-size:15px; }
nav ul li a:hover, nav ul li a.active{ color:var(--brand); }

/* DİL MENÜSÜ */
.language{ position:relative; }
.language button{
  display:flex; gap:8px; align-items:center; padding:8px 14px;
  background:#fff; border:1px solid #ccc; border-radius:20px; cursor:pointer;
}
.language img.flag{ width:20px; height:14px; object-fit:cover; border-radius:2px; }
.language ul{
  position:absolute; top:110%; right:0; background:#fff;
  border:1px solid #ddd; border-radius:10px; padding:10px; width:150px;
  display:none; flex-direction:column; gap:5px;
  z-index:6000;
}
.language ul.show{ display:flex; }
.language ul li{ display:flex; gap:10px; padding:5px; cursor:pointer; font-size:14px; }
.language ul li:hover{ background:#f0f0f0; }

/* Mobil menü backdrop */
.nav-backdrop{
  display:none;
  position:fixed;
  inset:0;
  top: var(--header-h);
  background: rgba(0,0,0,0.35);
  z-index: 4500;
}
body.nav-open .nav-backdrop{ display:block; }

/* HERO */
.hero{
  position:relative;
  width:100%;
  min-height: calc(100vh - var(--header-h));
  background:radial-gradient(circle at 20% 30%, #1a2a6a 0%, #0b1530 45%, #071227 100%);
  display:flex;
  flex-direction:column;
  align-items:center;
  overflow:hidden;
}

#bgCanvas{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.9;
}

.hero-wrap{
  width:min(1180px, 94vw);
  margin:0 auto;
  padding:44px 0 16px;
  z-index:10;
  position:relative;
}
.hero::after{ content:none; }

.hero-grid{
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  align-items: center;
  gap: 40px;
  min-height: calc(100vh - var(--header-h) - 44px);
  padding: 10px 0 20px;
}

.hero-visual{ display:flex; align-items:center; justify-content:center; }

.pc-img{
  width:min(740px, 92vw);
  height:auto;
  display:block;
  filter:drop-shadow(0 24px 38px rgba(0,0,0,0.45));
  transform:none !important;
}

.hero-copy{
  color:#fff;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 34px rgba(0,0,0,0.22);
  width: 100%;
  max-width: 900px;
  padding: 18px 36px 16px;
}

.hero-title{
  font-size: clamp(52px, 5.8vw, 86px);
  font-weight: 850;
  line-height: 1.06;
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 10px;
}

.hero-title::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width: 320px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, #b30000, #ff3b3b, #6a5acd);
  opacity: 1;
}

.hero-sub{
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 14px;
}

.hero-bullets{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:8px;
  margin:10px 0 14px;
  padding:0;
  max-width:520px;
}

.reveal{ opacity:0; transform:translateY(8px); animation:inUp .45s ease forwards; }
@keyframes inUp{ to{ opacity:1; transform:translateY(0); } }
.d1{ animation-delay:.7s; }
.d2{ animation-delay:1.2s; }
.d3{ animation-delay:1.7s; }
.d4{ animation-delay:2.2s; }

.hero-cta{ margin-top: 2px; }

.cta-btn{
  padding:10px 18px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.22);
  background:rgba(255,255,255,0.06);
  color:#fff;
  font-weight:800;
  cursor:pointer;
  backdrop-filter:blur(8px);
  transition:transform .2s ease, background .2s ease;
}
.cta-btn:hover{ transform:translateY(-2px); background:rgba(255,255,255,0.12); }

/* ÇÖZÜMLER (anasayfa keşfet sonrası) */
.features.solutions-features{ width:min(1180px, 94vw); margin:0 auto; padding-bottom:80px; z-index:10; position:relative; }
.solutions-section{ display:flex; flex-direction:column; gap:40px; }

.solution-block{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:stretch;
  padding:20px;
  background:rgba(255,255,255,0.03);
  border-radius:20px;
  border:1px solid rgba(255,255,255,0.05);
}

.solution-block:nth-child(even){ grid-template-columns:1fr 1fr; }
.solution-block:nth-child(even) .solution-media{ order:2; }

.solution-media{ overflow:hidden; border-radius:16px; }
.solution-media img{ width:100%; height:100%; border-radius:16px; display:block; object-fit:cover; }

.solution-content{ padding:20px; background:rgba(255,255,255,0.95); border-radius:16px; }

.solution-title{
  font-size:1.8rem;
  margin-bottom:12px;
  color:#000;
  position:relative;
  padding-bottom:10px;
}
.solution-title::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:96px;
  height:4px;
  border-radius:99px;
  background:linear-gradient(90deg, var(--omni-c1), var(--omni-c2), var(--omni-c3));
}

.solution-points{ padding-left:18px; }
.solution-points li{ margin-bottom:6px; color:#333; line-height:1.45; }

/* Scroll top */
#scrollTopBtn{
  position:fixed; bottom:20px; right:20px; width:40px; height:40px;
  background:var(--brand); color:#fff; border:none; border-radius:50%;
  cursor:pointer; display:none; z-index:4000;
}
#scrollTopBtn.show{ display:flex; align-items:center; justify-content:center; }

/* GLOBAL FOOTER – TÜM SAYFALAR */
.site-footer{
  position: relative;
  height: 52px;
  background: #000;
  color: #fff;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 1;
  backdrop-filter: none;
  border-top: none;
  z-index: 3000;
}

.site-footer .social{
  width: 34px;
  height: 34px;
  background: #111;
}

.site-footer .social svg{
  width: 18px;
  height: 18px;
  fill: #fff;
}

.site-footer .teknokent{
  height: 34px;
}

/* Splash */
#splash{
  position:fixed; inset:0; z-index:9999; background:#001427;
  display:grid; place-items:center; transition:opacity 0.5s;
}
#splash img{ width:300px; }
#splash.hide{ opacity:0; pointer-events:none; }

/* MOBİL */
@media (max-width: 900px){
  header{ padding:0 12px; gap:10px; }
  .menu-btn{ display:inline-flex; }

  nav{
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: min(320px, 84vw);
    height: calc(100vh - var(--header-h));
    background: rgba(255,255,255,0.98);
    border-left: 1px solid #e6e8ec;
    padding: 12px;
    transform: translateX(110%);
    transition: transform .22s ease;
    z-index: 5001;
    overflow: auto;
    display: block;
  }
  header.nav-open nav{ transform: translateX(0); }

  nav ul{ display:flex; flex-direction:column; gap:10px; }
  nav ul li a{
    display:block;
    padding:12px 10px;
    border-radius:12px;
    background: rgba(0,0,0,0.04);
    font-size: 15px;
  }

  .hero-wrap{ padding: 14px 0 10px; }

  .hero-grid{
    grid-template-columns:1fr;
    gap: 10px;
    padding: 8px 0 8px;
    text-align:center;
    min-height: calc(100vh - var(--header-h) - 24px);
    align-content: start;
  }

  .hero-visual{ order: 1; width: 100%; }
  .hero-copy{
    order: 2;
    width: 100%;
    justify-self: center;
    padding: 12px 12px 10px;
  }

  .pc-img{
    width: 100%;
    max-width: 560px;
    max-height: 26vh;
    object-fit: contain;
  }

  .hero-title{
    font-size: clamp(28px, 7.2vw, 44px);
    margin-bottom: 8px;
    padding-bottom: 8px;
  }

  .hero-title::after{
    left:50%;
    transform: translateX(-50%);
    width: 160px;
    height: 3px;
  }

  .hero-sub{ font-size: 14px; margin-bottom: 10px; }

  .hero-bullets{
    gap:6px;
    margin: 8px auto 10px;
    max-width: 100%;
    font-size: 14px;
  }

  .solution-block{
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .solution-block:nth-child(even){
    grid-template-columns: 1fr !important;
  }
  .solution-block:nth-child(even) .solution-media{
    order: 0 !important;
  }

  .solution-media img{ height:240px; }

  .solution-title::after{
    left:50%;
    transform:translateX(-50%);
  }
}
