/*---------------------------------------
  KONIKWEB - YAPAY ZEKA / OPERASYON OPTIMIZASYONU
  Marka renkleri: #429cd6 (mavi), #f89c38 (turuncu)
-----------------------------------------*/
:root {
  --kw-blue: #429cd6;
  --kw-blue-dark: #2b7fb8;
  --kw-blue-soft: rgba(66, 156, 214, .12);
  --kw-orange: #f89c38;
  --kw-orange-soft: rgba(248, 156, 56, .14);
  --kw-navy: #002D62;
  --kw-text: #4a4b4e;
  --kw-muted: #717275;
  --kw-line: #e4e9ef;
  --kw-card: #ffffff;
  --kw-shadow: 0 10px 30px rgba(0, 45, 98, .08);
}

/* Global ikon kurallarını (style.css .section-padding .fas) bu sayfa bileşenlerinde nötrle */
.section-padding .kw-ai .fas,
.section-padding .kw-ai .fab,
.section-padding .kw-ai .far,
.kw-ai .fas, .kw-ai .fab, .kw-ai .far {
  margin-right: 0;
  width: auto;
  bottom: 0;
  position: static;
  color: inherit;
}

.kw-ai p { font-size: 18px; }

/*---------------------------------------
  ANASAYFA TANITIM AKIŞI
-----------------------------------------*/
.ai-teaser-flow {
  min-height: 450px;
  border-radius: 6px;
  background: linear-gradient(160deg, var(--kw-navy), var(--kw-blue));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.ai-teaser-flow .atf-step {
  width: 230px;
  max-width: 100%;
  background: #fff;
  border-radius: 40px;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 19px;
  font-weight: 700;
  color: var(--kw-blue);
}
.section-padding .ai-teaser-flow .atf-step i.fas {
  margin: 0; width: 22px; position: static; color: var(--kw-blue); text-align: center;
}
.ai-teaser-flow .atf-step.atf-warn { color: var(--kw-orange); }
.section-padding .ai-teaser-flow .atf-step.atf-warn i.fas { color: var(--kw-orange); }
.ai-teaser-flow .atf-arrow {
  width: 2px; height: 34px; position: relative;
  background: repeating-linear-gradient(to bottom, var(--kw-orange) 0 6px, transparent 6px 10px);
  background-size: 2px 20px;
  animation: kwDash 1s linear infinite;
}
.ai-teaser-flow .atf-arrow::after {
  content: ""; position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%);
  border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid var(--kw-orange);
}
@keyframes kwDash { to { background-position: 0 20px; } }
.btn-ai {
  background: var(--kw-blue);
  font-size: 14px;
  color: #fff;
  padding: 12px 30px 10px;
  transition: all 0.6s ease-out;
}
.btn-ai:hover { background: var(--kw-orange); color: #fff; }

/*---------------------------------------
  HERO
-----------------------------------------*/
.ai-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--kw-navy), var(--kw-blue));
  padding: 90px 0 110px;
  color: #fff;
}
.ai-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.ai-hero .container { position: relative; z-index: 1; }
.ai-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 15px;
  letter-spacing: .5px;
  margin-bottom: 22px;
}
.ai-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--kw-orange);
  box-shadow: 0 0 0 0 rgba(248, 156, 56, .7);
  animation: kwPulse 1.8s infinite;
}
@keyframes kwPulse {
  0% { box-shadow: 0 0 0 0 rgba(248, 156, 56, .7); }
  70% { box-shadow: 0 0 0 10px rgba(248, 156, 56, 0); }
  100% { box-shadow: 0 0 0 0 rgba(248, 156, 56, 0); }
}
.ai-hero h1 {
  font-size: 52px;
  line-height: 1.15;
  color: #fff;
  font-weight: 700;
  margin-bottom: 22px;
}
.ai-hero h1 span { color: var(--kw-orange); }
.ai-hero p.lead-text {
  color: rgba(255, 255, 255, .9);
  font-size: 20px;
  max-width: 560px;
  margin-bottom: 32px;
}
.ai-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.kw-btn {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 4px;
  padding: 13px 26px 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .3s ease;
}
.kw-btn-orange { background: var(--kw-orange); color: #fff; }
.kw-btn-orange:hover { background: #fff; color: var(--kw-orange); }
.kw-btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.kw-btn-ghost:hover { background: #fff; color: var(--kw-blue); }
.kw-btn-blue { background: var(--kw-blue); color: #fff; }
.kw-btn-blue:hover { background: var(--kw-orange); color: #fff; }
.kw-btn-outline { border-color: var(--kw-blue); color: var(--kw-blue); background: #fff; }
.kw-btn-outline:hover { border-color: var(--kw-orange); color: var(--kw-orange); }
.kw-btn:disabled { opacity: .55; cursor: not-allowed; }

/* Hero canlı izleme kartı */
.ai-monitor {
  background: #fff;
  color: var(--kw-text);
  border-radius: 10px;
  box-shadow: 0 25px 60px rgba(0, 20, 50, .35);
  overflow: hidden;
  max-width: 470px;
  margin-left: auto;
}
.ai-monitor-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--kw-line);
  font-weight: 700;
  color: var(--kw-navy);
}
.ai-monitor-head img { width: 26px; margin-right: 10px; }
.ai-live {
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: var(--kw-orange);
  display: inline-flex; align-items: center; gap: 6px;
}
.ai-live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--kw-orange); animation: kwPulse 1.8s infinite;
}
.ai-monitor-body { padding: 8px 20px 18px; }
.ai-mrow {
  display: grid;
  grid-template-columns: 26px 1fr 90px auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--kw-line);
  font-size: 15px;
}
.ai-mrow:last-child { border-bottom: 0; }
.ai-mrow i { color: var(--kw-blue); text-align: center; }
.ai-mbar { height: 6px; border-radius: 3px; background: var(--kw-blue-soft); overflow: hidden; }
.ai-mbar span { display: block; height: 100%; background: var(--kw-blue); border-radius: 3px; animation: kwBar 3s ease-in-out infinite alternate; }
.ai-mrow.warn .ai-mbar span { background: var(--kw-orange); }
@keyframes kwBar { from { width: 35%; } to { width: 92%; } }
.ai-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .5px;
  padding: 3px 8px; border-radius: 20px; text-transform: uppercase; font-style: normal;
  background: var(--kw-blue-soft); color: var(--kw-blue-dark);
}
.ai-mrow.warn .ai-tag { background: var(--kw-orange-soft); color: #c86d0c; }
.ai-mrow.warn i { color: var(--kw-orange); }
.ai-monitor-foot {
  background: #f6f9fc;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--kw-muted);
  display: flex; gap: 10px; align-items: center;
}
.ai-monitor-foot i { color: var(--kw-orange); }

/*---------------------------------------
  YAKLASIM KARTLARI
-----------------------------------------*/
.ai-intro {
  max-width: 820px; margin: 0 auto 45px; text-align: center;
}
.ai-cards { row-gap: 24px; }
.ai-card {
  height: 100%;
  background: var(--kw-card);
  border: 1px solid var(--kw-line);
  border-top: 3px solid var(--kw-blue);
  border-radius: 6px;
  padding: 28px 24px;
  box-shadow: var(--kw-shadow);
  transition: transform .3s ease, border-color .3s ease;
}
.ai-card:hover { transform: translateY(-6px); border-top-color: var(--kw-orange); }
.ai-card .num { font-size: 14px; font-weight: 700; color: var(--kw-orange); letter-spacing: 2px; }
.ai-card .ico {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--kw-blue-soft); color: var(--kw-blue);
  font-size: 22px; margin: 12px 0 16px;
}
.ai-card:hover .ico { background: var(--kw-orange-soft); color: var(--kw-orange); }
.ai-card h3 { font-size: 22px; color: var(--kw-navy); margin-bottom: 10px; }
.ai-card p { font-size: 16px; margin: 0; }

/*---------------------------------------
  OPERASYON AKIS SIMULASYONU
-----------------------------------------*/
.ai-flow-section { background: #f9f9f9; }
.ai-sim {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--kw-shadow);
  border: 1px solid var(--kw-line);
  padding: 28px;
}
.ai-sim-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 18px; margin-bottom: 26px;
}
.ai-sim-controls { display: flex; flex-wrap: wrap; gap: 10px; }
.ai-legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--kw-muted); }
.ai-legend span { display: inline-flex; align-items: center; gap: 7px; }
.ai-legend i.sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.sw-idle { background: #cfd8e3; }
.sw-scan { background: var(--kw-blue); }
.sw-issue { background: var(--kw-orange); }
.sw-solved { background: var(--kw-navy); }

.ai-layer-label {
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--kw-muted); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.ai-layer-label::after { content: ""; flex: 1; height: 1px; background: var(--kw-line); }

/* Operasyon adımları */
.ai-pipeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  position: relative;
  margin-bottom: 10px;
}
.ai-pipeline::before {
  content: "";
  position: absolute; left: 4%; right: 4%; top: 34px; height: 2px;
  background: repeating-linear-gradient(90deg, #cfd8e3 0 8px, transparent 8px 14px);
  z-index: 0;
}
.ai-stage {
  position: relative; z-index: 1;
  background: #fff;
  border: 2px solid #dfe6ee;
  border-radius: 8px;
  padding: 14px 8px 12px;
  text-align: center;
  cursor: pointer;
  transition: all .35s ease;
  font: inherit;
  color: var(--kw-text);
}
.ai-stage:hover, .ai-stage:focus-visible { border-color: var(--kw-blue); outline: none; transform: translateY(-3px); }
.ai-stage.selected { box-shadow: 0 0 0 4px rgba(66, 156, 214, .22); border-color: var(--kw-blue); }
.ai-stage .st-ico {
  width: 42px; height: 42px; border-radius: 50%;
  margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  background: #eef2f6; color: #8a97a6; font-size: 17px;
  transition: all .35s ease;
}
.ai-stage .st-name { display: block; font-size: 14px; font-weight: 700; line-height: 1.25; min-height: 36px; }
.ai-stage .st-state {
  display: inline-block; margin-top: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  padding: 3px 8px; border-radius: 20px;
  background: #eef2f6; color: #8a97a6;
}
.ai-stage .st-step {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid #dfe6ee; border-radius: 10px;
  font-size: 11px; font-weight: 700; padding: 0 7px; color: var(--kw-muted);
}
/* durumlar */
.ai-stage.is-scan { border-color: var(--kw-blue); }
.ai-stage.is-scan .st-ico { background: var(--kw-blue); color: #fff; animation: kwScan 0.9s ease-in-out infinite; }
.ai-stage.is-scan .st-state { background: var(--kw-blue-soft); color: var(--kw-blue-dark); }
@keyframes kwScan {
  0%, 100% { box-shadow: 0 0 0 0 rgba(66, 156, 214, .6); }
  50% { box-shadow: 0 0 0 9px rgba(66, 156, 214, 0); }
}
.ai-stage.is-ok { border-color: var(--kw-blue); }
.ai-stage.is-ok .st-ico { background: var(--kw-blue-soft); color: var(--kw-blue); }
.ai-stage.is-ok .st-state { background: var(--kw-blue-soft); color: var(--kw-blue-dark); }
.ai-stage.is-issue { border-color: var(--kw-orange); background: #fffaf4; }
.ai-stage.is-issue .st-ico { background: var(--kw-orange); color: #fff; animation: kwShake .5s ease 1; }
.ai-stage.is-issue .st-state { background: var(--kw-orange-soft); color: #c86d0c; }
@keyframes kwShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.ai-stage.is-solved { border-color: var(--kw-navy); }
.ai-stage.is-solved .st-ico { background: var(--kw-navy); color: #fff; }
.ai-stage.is-solved .st-state { background: rgba(0, 45, 98, .1); color: var(--kw-navy); }

/* AI izleme katmani bandi */
.ai-scanband {
  position: relative;
  height: 46px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(0, 45, 98, .95), rgba(66, 156, 214, .95));
  margin: 18px 0 26px;
  color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  overflow: hidden;
}
.ai-scanband .beam {
  position: absolute; top: 0; bottom: 0; width: 18%;
  background: linear-gradient(90deg, transparent, rgba(248, 156, 56, .55), transparent);
  left: -20%;
  animation: kwBeam 4s linear infinite;
}
.ai-scanband.running .beam { animation-duration: 1.6s; }
@keyframes kwBeam { to { left: 105%; } }
.ai-scanband span, .ai-scanband i { position: relative; z-index: 1; }

/* sayaclar + log */
.ai-sim-bottom { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; }
.ai-counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.ai-counter {
  border: 1px solid var(--kw-line); border-radius: 8px; padding: 12px 10px; text-align: center;
}
.ai-counter b { display: block; font-size: 28px; line-height: 1.1; color: var(--kw-navy); }
.ai-counter.c-issue b { color: var(--kw-orange); }
.ai-counter.c-scan b { color: var(--kw-blue); }
.ai-counter small { font-size: 12px; color: var(--kw-muted); letter-spacing: .3px; }

/* Secilen adim detay mini-akisi */
.ai-detail {
  border: 1px solid var(--kw-line);
  border-radius: 8px;
  padding: 20px;
}
.ai-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.ai-detail-head h4 { font-size: 21px; color: var(--kw-navy); margin: 0; display: flex; align-items: center; gap: 10px; }
.ai-detail-head h4 i { color: var(--kw-blue); }
.ai-dflow { list-style: none; padding: 0; margin: 0; }
.ai-dflow li {
  position: relative;
  padding: 0 0 18px 46px;
}
.ai-dflow li:last-child { padding-bottom: 0; }
.ai-dflow li::before {
  content: ""; position: absolute; left: 15px; top: 32px; bottom: 2px; width: 2px;
  background: var(--kw-line);
}
.ai-dflow li:last-child::before { display: none; }
.ai-dflow .d-ico {
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #fff; background: var(--kw-blue);
}
.ai-dflow li.d-issue .d-ico { background: var(--kw-orange); }
.ai-dflow li.d-sol .d-ico { background: var(--kw-navy); }
.ai-dflow li.d-int .d-ico { background: var(--kw-blue-dark); }
.ai-dflow .d-title { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--kw-muted); display: block; margin-bottom: 2px; }
.ai-dflow .d-text { font-size: 16px; color: var(--kw-text); line-height: 1.45; }
.ai-int-badge {
  display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 700;
  padding: 3px 9px; border-radius: 20px;
  background: #eef2f6; color: #8a97a6;
}
.ai-int-badge.api { background: var(--kw-blue-soft); color: var(--kw-blue-dark); }
.ai-int-badge.bridge { background: var(--kw-orange-soft); color: #c86d0c; }

.ai-log {
  background: #0d2440;
  color: #cfe3f5;
  border-radius: 8px;
  padding: 16px 18px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  height: 100%;
  min-height: 300px;
  max-height: 420px;
  overflow-y: auto;
}
.ai-log-title { color: #fff; font-weight: 700; margin-bottom: 8px; display: flex; justify-content: space-between; }
.ai-log-title em { font-style: normal; color: var(--kw-orange); }
.ai-log div.l { padding: 3px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); opacity: 0; animation: kwIn .3s forwards; }
.ai-log .t { color: #7fa6c9; margin-right: 8px; }
.ai-log .warn { color: var(--kw-orange); }
.ai-log .ok { color: #7fd1ff; }
.ai-log .done { color: #ffffff; font-weight: 700; }
@keyframes kwIn { to { opacity: 1; } }

/*---------------------------------------
  KARAR AKIS DIYAGRAMI (Metodoloji)
-----------------------------------------*/
.fc-wrap { margin-top: 2px; }
.fc-subtitle { text-align: center; color: var(--kw-navy); font-size: 26px; margin-bottom: 25px; }
.fc-subtext { text-align: center; max-width: 720px; margin: 0 auto 36px; font-size: 17px; }
.fc {
  --fc-col: minmax(260px, 380px);
  max-width: 1080px; margin: 0 auto;
}
.fc-row {
  display: grid;
  grid-template-columns: 1fr var(--fc-col) 1fr;
  align-items: center;
}
.fc-row > .c { grid-column: 2; }
.fc-row > .l { grid-column: 1; }
.fc-row > .r { grid-column: 3; }

.fc-node {
  background: #fff;
  border: 2px solid var(--kw-blue);
  border-radius: 8px;
  padding: 14px 18px;
  text-align: center;
  box-shadow: var(--kw-shadow);
  position: relative;
}
.fc-node .fc-ico {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--kw-blue-soft); color: var(--kw-blue); margin-bottom: 6px;
}
.fc-node strong { display: block; font-size: 17px; color: var(--kw-navy); }
.fc-node span.desc { display: block; font-size: 14px; color: var(--kw-muted); margin-top: 4px; line-height: 1.4; }
.fc-node.start, .fc-node.end {
  border-radius: 24px; background: var(--kw-blue); border-color: var(--kw-blue); color: #fff;
}
.fc-node.start strong, .fc-node.end strong { color: #fff; }
.fc-node.start span.desc, .fc-node.end span.desc { color: rgba(255, 255, 255, .85); }
.fc-node.start .fc-ico, .fc-node.end .fc-ico { background: rgba(255, 255, 255, .2); color: #fff; }
.fc-node.end { background: var(--kw-navy); border-color: var(--kw-navy); }
.fc-node.ai { border-color: var(--kw-navy); }
.fc-node.ai .fc-ico { background: var(--kw-navy); color: #fff; }
.fc-node.dev { border-color: var(--kw-orange); }
.fc-node.dev .fc-ico { background: var(--kw-orange-soft); color: var(--kw-orange); }

/* karar dugumu (eskenar dortgen) */
.fc-decision {
  position: relative;
  width: 210px; height: 210px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.fc-decision::before {
  content: "";
  position: absolute; width: 148px; height: 148px;
  background: #fff;
  border: 2px solid var(--kw-orange);
  transform: rotate(45deg);
  border-radius: 10px;
  box-shadow: var(--kw-shadow);
}
.fc-decision strong {
  position: relative; z-index: 1;
  font-size: 15px; line-height: 1.3; color: var(--kw-navy); max-width: 128px;
}
.fc-decision strong i { display: block; color: var(--kw-orange); font-size: 18px; margin-bottom: 4px; }

/* dikey ok */
.fc-down {
  grid-column: 2;
  justify-self: center;
  width: 2px; height: 44px;
  background: var(--kw-blue);
  position: relative;
}
.fc-down::after {
  content: ""; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%);
  border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 9px solid var(--kw-blue);
}
.fc-down.lbl::before {
  content: attr(data-label);
  position: absolute; left: 12px; top: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--kw-blue-dark); white-space: nowrap;
}

/* yan dal (Hayir -> izlemeye don) */
.fc-side {
  display: flex; align-items: center;
}
.fc-side .h-line {
  flex: 0 0 130px; margin-left: -85px; height: 2px; background: var(--kw-orange); position: relative;
}
.fc-side .h-line b { left: 92px; }
.kw-ai .fc-loop i, .kw-ai .fc-back i { margin-right: 6px; }
.fc-side .h-line::after {
  content: ""; position: absolute; right: -1px; top: 50%; transform: translateY(-50%);
  border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 9px solid var(--kw-orange);
}
.fc-side .h-line b {
  position: absolute; top: -22px; left: 6px;
  font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: #c86d0c;
}
.fc-loop {
  flex: 1;
  border: 2px dashed var(--kw-orange);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fffaf4;
  font-size: 14px; color: var(--kw-text);
}
.fc-loop i { color: var(--kw-orange); margin-right: 6px; }

/* ayrilma ve birlesme */
.fc-split, .fc-merge {
  grid-column: 1 / 4;
  position: relative;
  height: 46px;
}
.fc-split::before, .fc-merge::before {
  content: ""; position: absolute; left: 16.66%; right: 16.66%; height: 2px; background: var(--kw-blue);
}
.fc-split::before { top: 18px; }
.fc-merge::before { bottom: 18px; }
.fc-split .leg, .fc-merge .leg { position: absolute; width: 2px; background: var(--kw-blue); }
.fc-split .leg.m { left: 50%; top: 0; height: 18px; }
.fc-split .leg.a { left: 16.66%; top: 18px; bottom: 0; }
.fc-split .leg.b { right: 16.66%; top: 18px; bottom: 0; }
.fc-split .leg.a::after, .fc-split .leg.b::after, .fc-merge .leg.m::after {
  content: ""; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%);
  border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 9px solid var(--kw-blue);
}
.fc-split .tag {
  position: absolute; top: 24px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.fc-split .tag.a { left: calc(16.66% + 10px); color: var(--kw-blue-dark); }
.fc-split .tag.b { right: calc(16.66% + 10px); color: #c86d0c; }
.fc-merge .leg.a { left: 16.66%; top: 0; bottom: 18px; }
.fc-merge .leg.b { right: 16.66%; top: 0; bottom: 18px; }
.fc-merge .leg.m { left: 50%; bottom: 0; height: 18px; }

.fc-branches {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0;
}
.fc-branches .fc-node { margin: 0 10px; }
.fc-branches .b1 { grid-column: 1; }
.fc-branches .b2 { grid-column: 3; border-color: var(--kw-orange); }
.fc-branches .b2 .fc-ico { background: var(--kw-orange-soft); color: var(--kw-orange); }

.fc-back {
  text-align: center; margin-top: 14px; font-size: 14px; color: var(--kw-muted);
}
.fc-back i { color: var(--kw-orange); margin-right: 6px; }

/*---------------------------------------
  ENTEGRASYONLAR
-----------------------------------------*/
.ai-int-grid { row-gap: 22px; }
.ai-int {
  height: 100%;
  border: 1px solid var(--kw-line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  display: flex; gap: 16px;
  transition: box-shadow .3s ease;
}
.ai-int:hover { box-shadow: var(--kw-shadow); }
.ai-int .i-ico {
  flex: 0 0 48px; height: 48px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--kw-blue-soft); color: var(--kw-blue); font-size: 20px;
}
.ai-int h3 { font-size: 19px; color: var(--kw-navy); margin-bottom: 6px; }
.ai-int p { font-size: 15px; margin-bottom: 10px; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-chips span {
  font-size: 12px; padding: 3px 10px; border-radius: 20px;
  border: 1px solid var(--kw-line); color: var(--kw-text); background: #f9fbfd;
}
.ai-int-note {
  margin-top: 30px;
  border-left: 4px solid var(--kw-orange);
  background: #fffaf4;
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
}
.ai-int-note p { margin: 0; font-size: 16px; }
.ai-int-note strong { color: var(--kw-navy); }

/*---------------------------------------
  KAZANIMLAR
-----------------------------------------*/
.ai-gains { background: #f9f9f9; }
.ai-gain {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 6px;
}
.ai-gain .g-ico {
  flex: 0 0 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--kw-orange); color: var(--kw-orange); font-size: 18px;
}
.ai-gain h3 { font-size: 19px; color: var(--kw-navy); margin-bottom: 4px; }
.ai-gain p { font-size: 15px; margin: 0; }

.ai-cta {
  margin-top: 40px;
  border-radius: 10px;
  background: linear-gradient(120deg, var(--kw-navy), var(--kw-blue));
  color: #fff;
  padding: 34px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.ai-cta h3 { color: #fff; font-size: 26px; margin: 0 0 6px; }
.ai-cta p { color: rgba(255, 255, 255, .88); margin: 0; font-size: 17px; }

/*---------------------------------------
  RESPONSIVE
-----------------------------------------*/
@media screen and (max-width: 1199px) {
  .ai-pipeline { grid-template-columns: repeat(4, 1fr); row-gap: 22px; }
  .ai-pipeline::before { display: none; }
}
@media screen and (max-width: 991px) {
  .ai-hero { padding: 60px 0 80px; }
  .ai-hero h1 { font-size: 40px; }
  .ai-monitor { margin: 40px auto 0; }
  .ai-sim-bottom { grid-template-columns: 1fr; }
  .ai-log { min-height: 220px; }
}
@media screen and (max-width: 767px) {
  .ai-sim { padding: 18px; }
  .ai-pipeline { grid-template-columns: repeat(2, 1fr); }
  .ai-counters { grid-template-columns: repeat(2, 1fr); }

  /* akis diyagrami tek sutun */
  .fc-row { grid-template-columns: 1fr; }
  .fc-row > .c, .fc-row > .l, .fc-row > .r, .fc-down { grid-column: 1; }
  .fc-side { flex-direction: column; align-items: stretch; margin-top: 4px; }
  .fc-side .h-line { flex: 0 0 30px; width: 2px; height: 30px; margin: 0 auto; }
  .fc-side .h-line b { left: 12px; }
  .fc-side .h-line::after {
    right: auto; left: 50%; top: auto; bottom: -1px; transform: translateX(-50%);
    border-top: 9px solid var(--kw-orange); border-bottom: 0;
    border-left: 7px solid transparent; border-right: 7px solid transparent;
  }
  .fc-side .h-line b { top: 6px; left: 12px; }
  .fc-split, .fc-merge { display: none; }
  .fc-branches { grid-template-columns: 1fr; row-gap: 12px; }
  .fc-branches .b1, .fc-branches .b2 { grid-column: 1; margin: 0; }
  .fc-branches .fc-node::before {
    display: block; content: attr(data-label);
    font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    color: var(--kw-blue-dark); margin-bottom: 4px;
  }
  .fc-branches .b2::before { color: #c86d0c; }
  .fc-branches-wrap .fc-down.mobile-only { display: block; }
  .ai-cta { padding: 24px; }
}
@media screen and (max-width: 575px) {
  .ai-hero h1 { font-size: 32px; }
  .ai-hero p.lead-text { font-size: 17px; }
  .ai-mrow { grid-template-columns: 22px 1fr 60px; }
  .ai-mrow .ai-tag { display: none; }
  .ai-stage .st-name { font-size: 13px; }
  .ai-teaser-flow { min-height: 380px; }
}
.fc-down.mobile-only { display: none; }

@media (prefers-reduced-motion: reduce) {
  .kw-ai *, .ai-hero * { animation: none !important; transition: none !important; }
}
