/* ============================================================
   NOVIX AIR — Kurumsal Kimlik sayfası (kurumsal-kimlik.html)
   pages.css üzerine marka rehberi bileşenleri: logo sahnesi,
   sürüm karoları, koruma alanı şeması, yanlış kullanım,
   renk sistemi, tipografi, isim kuralları, varlık indirme.
   ============================================================ */

:root {
  --ki-sky: #35A3DB;
  --ki-blue: #3079C0;
  --ki-deep: #20489C;
  --ki-navy: #0B1029;
  --ki-night: #0A0E16;
  --ki-fog: #F5F7FB;
  --ki-accent: #3B82F6;
  --ki-line: rgba(255,255,255,.08);
}

/* ---------- HERO: marka dosyası vitrini ---------- */
html { scroll-behavior: smooth; }
.section[id], .cta-band[id] { scroll-margin-top: 90px; }

.ki-hero {
  background:
    radial-gradient(ellipse 70% 60% at 18% 30%, rgba(32,72,156,.22), transparent 60%),
    var(--ki-night);
}
.ki-hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

/* plan-çizgisi (blueprint) ızgarası: kaba + ince iki katman */
.ki-hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(53,163,219,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53,163,219,.07) 1px, transparent 1px),
    linear-gradient(rgba(53,163,219,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53,163,219,.03) 1px, transparent 1px);
  background-size: 112px 112px, 112px 112px, 28px 28px, 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 40% 40%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 85% at 40% 40%, #000 30%, transparent 78%);
}

/* süzülen ışık kütleleri (marka mavileri) */
.ki-blob {
  position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform;
}
.ki-blob.a {
  width: 46vw; height: 46vw; max-width: 640px; max-height: 640px;
  left: -10%; top: 8%;
  background: radial-gradient(circle, rgba(32,72,156,.4), transparent 65%);
  animation: kiDriftA 22s ease-in-out infinite alternate;
}
.ki-blob.b {
  width: 30vw; height: 30vw; max-width: 420px; max-height: 420px;
  right: 4%; top: -6%;
  background: radial-gradient(circle, rgba(53,163,219,.3), transparent 62%);
  animation: kiDriftB 17s ease-in-out infinite alternate;
}
@keyframes kiDriftA { from { transform: translate3d(0,0,0); } to { transform: translate3d(46px,30px,0) scale(1.08); } }
@keyframes kiDriftB { from { transform: translate3d(0,0,0) scale(1.05); } to { transform: translate3d(-38px,26px,0); } }

/* dev hayalet şahin filigranı */
.ki-ghost {
  position: absolute;
  right: -6%; top: 50%;
  width: min(58vw, 900px);
  transform: translateY(-52%);
  filter: brightness(0) invert(1);
  opacity: .045;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
  animation: kiFloat 14s ease-in-out infinite alternate;
}
@keyframes kiFloat { from { transform: translateY(-54%); } to { transform: translateY(-49%); } }

/* dikey süzülen tarama çizgisi (dosya taranıyor hissi, çok hafif) */
.ki-scan {
  position: absolute; left: 0; right: 0; top: -2px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(53,163,219,.35) 30%, rgba(59,130,246,.5) 50%, rgba(53,163,219,.35) 70%, transparent);
  animation: kiScan 9s cubic-bezier(.4,0,.6,1) infinite;
  opacity: .5;
}
@keyframes kiScan {
  0% { transform: translateY(0); opacity: 0; }
  8% { opacity: .5; }
  46% { opacity: .5; }
  54% { transform: translateY(62vh); opacity: 0; }
  100% { transform: translateY(62vh); opacity: 0; }
}

/* başlık: markanın kendi yazısı (Inter Tight) + gradyan vurgu */
.ki-hero h1 {
  font-family: "Inter Tight", "Inter", sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.03;
}
.ki-hero h1 .accent {
  background: linear-gradient(92deg, var(--ki-sky), var(--ki-accent) 55%, var(--ki-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* kısayollar */
.ki-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.ki-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .02em;
  color: #fff; text-decoration: none;
  padding: 12px 22px; border-radius: 999px;
  background: linear-gradient(92deg, var(--ki-blue), var(--ki-deep));
  border: 1px solid rgba(53,163,219,.35);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ki-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(32,72,156,.35); border-color: rgba(53,163,219,.7); }
.ki-btn.ghost { background: rgba(255,255,255,.03); border-color: var(--ki-line); color: rgba(255,255,255,.8); }
.ki-btn.ghost:hover { border-color: rgba(255,255,255,.3); box-shadow: none; color: #fff; }

/* mono künye satırı */
.ki-hero-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.ki-hero-meta .ki-code { display: inline-flex; align-items: center; gap: 8px; }
.ki-hero-meta .ki-code::before {
  content: ""; width: 5px; height: 5px; background: var(--ki-accent); display: inline-block;
}

/* hero tabanı: 7 renklik marka şeridi */
.ki-strip {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; height: 5px; z-index: 3;
}
.ki-strip i {
  flex: 1;
  transform-origin: left center;
  animation: kiStripIn .9s cubic-bezier(.22,1,.36,1) backwards;
}
.ki-strip i:nth-child(1){animation-delay:.15s}.ki-strip i:nth-child(2){animation-delay:.24s}
.ki-strip i:nth-child(3){animation-delay:.33s}.ki-strip i:nth-child(4){animation-delay:.42s}
.ki-strip i:nth-child(5){animation-delay:.51s}.ki-strip i:nth-child(6){animation-delay:.6s}
.ki-strip i:nth-child(7){animation-delay:.69s}
@keyframes kiStripIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 860px) {
  .ki-ghost { width: 120vw; right: -46%; opacity: .035; }
  .ki-blob.a { width: 80vw; height: 80vw; }
}

/* ============================================================
   GÖVDE: site standardı — diğer sayfalarla (kariyer, hakkımızda,
   yasal sayfalar) birebir aynı zemin, renk ve bölüm görünümü.
   Arka plan/tipografi pages.css'ten gelir; burada yalnızca
   kimlik sayfasına özgü kart bileşenleri ve küçük dokunuşlar var.
   ============================================================ */

/* kartlar: site vurgu rengiyle hafif hover yanıtı */
.ki-var, .ki-rule, .ki-dont, .ki-type-card, .ki-name-col, .ki-asset, .ki-color, .ki-gradient, .ki-stage {
  transition: border-color .3s ease, transform .3s ease;
}
.ki-var:hover, .ki-rule:hover, .ki-dont:hover, .ki-type-card:hover, .ki-name-col:hover {
  border-color: rgba(53,163,219,.32);
}

/* ---------- ortak: bölüm içi mono künye ---------- */
.ki-code {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: .16em;
  color: rgba(255,255,255,.38);
  text-transform: uppercase;
}

/* ---------- 1. logo sahnesi ---------- */
.ki-stage {
  margin-top: 26px;
  border: 1px solid var(--ki-line);
  border-radius: 18px;
  overflow: hidden;
}
.ki-stage-panel {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 7vw, 90px) 20px;
}
.ki-stage-panel img { width: min(460px, 72vw); height: auto; }
.ki-stage-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: rgba(255,255,255,.03);
  border-top: 1px solid var(--ki-line);
  flex-wrap: wrap;
}

/* anatomi çipleri */
.ki-anatomy { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.ki-anatomy span {
  font-size: 12.5px;
  color: rgba(255,255,255,.72);
  border: 1px solid var(--ki-line);
  border-radius: 999px;
  padding: 7px 14px;
  background: rgba(255,255,255,.03);
}
.ki-anatomy b { color: #fff; font-weight: 600; }

/* ---------- 2. logo sürümleri ---------- */
.ki-variants {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.ki-var {
  border: 1px solid var(--ki-line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.02);
}
.ki-var .pane {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.ki-var .pane img { max-width: 82%; max-height: 108px; }
.ki-var .cap {
  padding: 10px 14px 12px;
  border-top: 1px solid var(--ki-line);
}
.ki-var .cap b { display: block; font-size: 13.5px; color: #fff; font-weight: 600; }
.ki-var .cap span { display: block; font-size: 11.5px; color: rgba(255,255,255,.45); margin-top: 3px; }
.pane.bg-light { background: #fff; }
.pane.bg-dark  { background: var(--ki-night); }
.pane.bg-blue  { background: linear-gradient(135deg, var(--ki-deep), var(--ki-navy)); }
.img-white { filter: brightness(0) invert(1); }
.img-black { filter: brightness(0); }

/* ---------- 3. koruma alanı ---------- */
.ki-clear {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 26px;
  margin-top: 26px;
  align-items: stretch;
}
.ki-clear-diagram {
  background: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(34px, 5vw, 60px);
  position: relative;
}
.ki-clear-frame {
  border: 1.5px dashed rgba(32,72,156,.5);
  padding: clamp(26px, 4vw, 48px);
  position: relative;
}
.ki-clear-frame img { width: min(300px, 46vw); height: auto; display: block; }
.ki-clear-frame i {
  position: absolute;
  font-family: "JetBrains Mono", monospace;
  font-style: normal;
  font-size: 11px;
  color: var(--ki-deep);
}
.ki-clear-frame i.t { top: 4px; left: 50%; transform: translateX(-50%); }
.ki-clear-frame i.b { bottom: 4px; left: 50%; transform: translateX(-50%); }
.ki-clear-frame i.l { left: 6px; top: 50%; transform: translateY(-50%); }
.ki-clear-frame i.r { right: 6px; top: 50%; transform: translateY(-50%); }
.ki-rules { display: flex; flex-direction: column; gap: 12px; }
.ki-rule {
  border: 1px solid var(--ki-line);
  border-radius: 14px;
  padding: 16px 18px;
  background: rgba(255,255,255,.02);
  flex: 1;
}
.ki-rule .ki-code { color: var(--ki-accent); }
.ki-rule b { display: block; color: #fff; font-weight: 600; font-size: 14.5px; margin-top: 6px; }
.ki-rule p { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.55; margin-top: 5px; }

/* ---------- 4. yanlış kullanım ---------- */
.ki-donts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.ki-dont {
  border: 1px solid var(--ki-line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.02);
  position: relative;
}
.ki-dont .pane {
  height: 130px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ki-dont .pane img { max-width: 62%; max-height: 88px; }
.ki-dont .pane.busy {
  background:
    repeating-linear-gradient(45deg, #7fb3d9 0 14px, #2f5d8a 14px 28px);
}
.ki-dont .x {
  position: absolute;
  top: 10px; left: 12px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #d92b3a;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  z-index: 2;
}
.ki-dont .cap { padding: 10px 14px 12px; border-top: 1px solid var(--ki-line); font-size: 13px; color: rgba(255,255,255,.72); }
.d-stretch img { transform: scaleX(1.45); }
.d-rotate  img { transform: rotate(-14deg); }
.d-color   img { filter: hue-rotate(120deg) saturate(1.6); }
.d-shadow  img { filter: drop-shadow(4px 6px 6px rgba(0,0,0,.55)); }
.d-type .fake {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 30px;
  color: #0B1029;
  letter-spacing: .04em;
}

/* ---------- 5. renk sistemi ---------- */
.ki-colors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.ki-color {
  border: 1px solid var(--ki-line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.02);
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease;
}
.ki-color:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.2); }
.ki-color .chip { height: 92px; position: relative; }
.ki-color .chip::after {
  content: "";
  position: absolute; inset: 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ki-color .info { padding: 12px 14px 14px; }
.ki-color .info b { display: block; font-size: 13.5px; color: #fff; font-weight: 600; }
.ki-color .info span {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.45);
  margin-top: 4px;
  white-space: nowrap;
}
.ki-color .copied {
  display: inline-block;
  font-size: 10.5px;
  color: var(--ki-accent);
  opacity: 0;
  transition: opacity .25s ease;
  margin-top: 5px;
}
.ki-color.ok .copied { opacity: 1; }
.ki-gradient {
  margin-top: 16px;
  border: 1px solid var(--ki-line);
  border-radius: 14px;
  overflow: hidden;
}
.ki-gradient .bar { height: 64px; background: linear-gradient(90deg, var(--ki-sky), var(--ki-deep)); }
.ki-gradient .cap {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 11px 16px;
  border-top: 1px solid var(--ki-line);
}
.ki-gradient .cap b { font-size: 13px; color: #fff; font-weight: 600; }

/* ---------- 6. tipografi ---------- */
.ki-type { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; margin-top: 26px; }
.ki-type-card {
  border: 1px solid var(--ki-line);
  border-radius: 16px;
  padding: 24px 26px 22px;
  background: rgba(255,255,255,.02);
}
.ki-type-card .ki-code { color: var(--ki-accent); }
.ki-specimen {
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.05;
  margin: 14px 0 6px;
}
.ki-specimen-mono {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(15px, 1.8vw, 19px);
  color: #fff;
  letter-spacing: .08em;
  margin: 18px 0 6px;
  line-height: 1.7;
  word-break: break-all;
}
.ki-type-card .glyphs { font-size: 14px; color: rgba(255,255,255,.5); letter-spacing: .08em; }
.ki-weights { display: flex; flex-direction: column; gap: 7px; margin-top: 16px; }
.ki-weights span { color: #fff; font-size: 19px; line-height: 1.35; }
.ki-weights span i {
  font-style: normal;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: rgba(255,255,255,.38);
  margin-left: 10px;
  letter-spacing: .1em;
}
.w400{font-weight:400}.w500{font-weight:500}.w600{font-weight:600}.w700{font-weight:700}.w800{font-weight:800}

/* ---------- 7. isim kullanımı ---------- */
.ki-naming { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.ki-name-col {
  border: 1px solid var(--ki-line);
  border-radius: 16px;
  padding: 20px 22px;
  background: rgba(255,255,255,.02);
}
.ki-name-col h3 { font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.ki-name-col.ok h3 { color: #4ade80; }
.ki-name-col.no h3 { color: #f87171; }
.ki-name-col ul { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.ki-name-col li {
  display: flex; justify-content: space-between; gap: 14px; align-items: baseline;
  border-bottom: 1px dashed rgba(255,255,255,.08);
  padding-bottom: 9px;
  font-size: 14.5px; color: #fff;
}
.ki-name-col li:last-child { border-bottom: 0; padding-bottom: 0; }
.ki-name-col li small { font-size: 12px; color: rgba(255,255,255,.45); text-align: right; }
.ki-name-col.no li { color: rgba(255,255,255,.75); text-decoration: line-through; text-decoration-color: rgba(248,113,113,.6); }
.ki-name-col.no li small { text-decoration: none; }

/* ---------- 8. varlık indirme ---------- */
.ki-assets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.ki-asset {
  border: 1px solid var(--ki-line);
  border-radius: 16px;
  padding: 20px 22px;
  background: rgba(255,255,255,.02);
  display: flex; flex-direction: column; gap: 8px;
  color: inherit; text-decoration: none;
  transition: border-color .25s ease, transform .25s ease;
}
a.ki-asset:hover { border-color: var(--ki-accent); transform: translateY(-3px); }
.ki-asset b { color: #fff; font-size: 15px; font-weight: 600; }
.ki-asset span { font-size: 12.5px; color: rgba(255,255,255,.5); }
.ki-asset .tag {
  align-self: flex-start;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: .14em;
  padding: 4px 9px; border-radius: 999px;
  border: 1px solid var(--ki-line);
  color: rgba(255,255,255,.55);
}
.ki-asset.soon { opacity: .55; cursor: default; }
.ki-asset.soon .tag { color: var(--ki-accent); border-color: rgba(59,130,246,.4); }
.ki-note { margin-top: 18px; font-size: 12.5px; color: rgba(255,255,255,.45); line-height: 1.6; }

/* ---------- duyarlılık ---------- */
@media (max-width: 1080px) {
  .ki-variants { grid-template-columns: repeat(2, 1fr); }
  .ki-colors { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .ki-clear, .ki-type, .ki-naming { grid-template-columns: 1fr; }
  .ki-donts { grid-template-columns: repeat(2, 1fr); }
  .ki-assets { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ki-donts { grid-template-columns: 1fr; }
  .ki-variants { grid-template-columns: 1fr; }
  .ki-colors { grid-template-columns: 1fr; }
}
