/* ==========================================================
   HERO — "BT Yönetim Merkezi" ekranı (data-fx="ecosystem")
   Kurumsal yazılım görünümü: düz renkler, ince kenarlıklar,
   sakin gölge. Yazıların sağındaki sahne kutusuna yerleşir.
   ========================================================== */
.hero-dash {
  position: absolute; z-index: 1;
  left: var(--photo-x, 56%); top: var(--photo-y, 110px);
  width: var(--photo-w, 40%); height: var(--photo-h, 60%);
  display: grid; place-items: center;
  pointer-events: none;
  opacity: 0; transform: translateY(14px);
  transition: opacity .45s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}
.hero.dash-on .hero-dash { opacity: 1; transform: none; transition-delay: .25s; }
.hero.ambient .hero-dash { display: none; }

.hd-window {
  width: min(100%, 580px);
  border-radius: 12px;
  background: #fff;
  border: 1px solid #d9e2ef;
  box-shadow: 0 1px 2px rgba(15, 27, 51, .06), 0 24px 48px -28px rgba(15, 27, 51, .28);
  overflow: hidden;
  font-feature-settings: "tnum";
}

/* Üst çubuk */
.hd-top { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #fff; border-bottom: 1px solid #e6ecf4; }
.hd-logo { width: auto; height: 22px; }
.hd-top b { font-size: .8rem; font-weight: 700; color: #33415c; padding-left: 10px; border-left: 1px solid #e1e7f0; }
.hd-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 600; color: #4a5872; }
.hd-live i { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; }

/* Gövde */
.hd-body { display: grid; grid-template-columns: 188px 1fr; min-height: 290px; }
.hd-nav { padding: 12px 8px; background: #f7f9fc; border-right: 1px solid #e6ecf4; display: grid; align-content: start; gap: 2px; }
.hd-nav li { position: relative; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 6px; font-size: .8rem; font-weight: 600; color: #52607a; transition: background .3s, color .3s; }
.hd-nav .ico-sm { width: 16px; height: 16px; flex-shrink: 0; color: #8b98b0; transition: color .3s; }
.hd-nav li.on { background: #e8f0ff; color: #0b3fd1; }
.hd-nav li.on .ico-sm { color: #0b3fd1; }
.hd-nav li.on::before { content: ""; position: absolute; left: -8px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: #0b3fd1; }

.hd-main { display: grid; padding: 18px 20px; }
.hd-pane { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
.hd-pane.on { opacity: 1; visibility: visible; transition: opacity .4s ease .08s, visibility 0s; }

.hd-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid #eef2f7; }
.hd-head b { font-size: .9rem; font-weight: 700; color: #0f1b33; }
.hd-head em { font-style: normal; font-size: .68rem; font-weight: 600; padding: 3px 8px; border-radius: 4px; border: 1px solid transparent; }
.hd-head em.ok { background: #effaf3; border-color: #cdeedb; color: #15803d; }

.hd-big { margin-bottom: 14px; }
.hd-big strong { display: block; font-size: 1.85rem; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; color: #0f1b33; }
.hd-big span { font-size: .75rem; font-weight: 500; color: #6b778c; }

/* Olay / durum listesi: tablo satırı gibi */
.hd-list { display: grid; border: 1px solid #e6ecf4; border-radius: 8px; overflow: hidden; }
.hd-list li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; font-size: .76rem; font-weight: 500; color: #33415c; background: #fff; opacity: 0; transition: opacity .35s; }
.hd-list li + li { border-top: 1px solid #eef2f7; }
.hd-pane.on .hd-list li { opacity: 1; }
.hd-pane.on .hd-list li:nth-child(2) { transition-delay: .15s; } .hd-pane.on .hd-list li:nth-child(3) { transition-delay: .3s; }
.hd-list i { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.hd-list i.r { background: #dc2626; } .hd-list i.y { background: #d97706; } .hd-list i.b { background: #2563eb; } .hd-list i.g { background: #16a34a; }
.hd-list small { margin-left: auto; font-size: .7rem; font-weight: 500; color: #8a96ab; white-space: nowrap; }
.hd-list small.done { color: #15803d; font-weight: 600; } .hd-list small.wip { color: #b45309; font-weight: 600; }

/* Yatay ilerleme çubukları */
.hd-bars-h { display: grid; gap: 12px; }
.hd-bars-h div { display: grid; grid-template-columns: 1fr 42px; grid-template-areas: "l v" "b b"; gap: 5px 8px; font-size: .75rem; font-weight: 500; color: #33415c; }
.hd-bars-h span { grid-area: l; } .hd-bars-h b { grid-area: v; text-align: right; font-weight: 600; color: #0f1b33; }
.hd-bars-h i { grid-area: b; position: relative; height: 6px; border-radius: 3px; background: #edf1f7; overflow: hidden; }
.hd-bars-h i::after { content: ""; position: absolute; inset: 0; width: 0; border-radius: inherit; background: #0b3fd1; transition: width 1s cubic-bezier(.2, .8, .2, 1) .15s; }
.hd-pane.on .hd-bars-h i::after { width: var(--w); }

/* Sunucu yük çubukları */
.hd-bars-v { display: flex; align-items: flex-end; gap: 14px; height: 108px; padding: 6px 4px 0; border-bottom: 1px solid #e6ecf4; }
.hd-bars-v div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.hd-bars-v i { display: block; width: 100%; max-width: 34px; height: 0; border-radius: 3px 3px 0 0; background: #0b3fd1; transition: height .9s cubic-bezier(.2, .8, .2, 1) .1s; }
.hd-bars-v div:nth-child(even) i { background: #3d6fe0; }
.hd-pane.on .hd-bars-v i { height: var(--h); animation: hd-load 3.5s ease-in-out 1s infinite alternate; }
@keyframes hd-load { to { height: calc(var(--h) + 10%); } }
.hd-bars-v span { font-size: .64rem; font-weight: 600; color: #6b778c; padding-bottom: 4px; }

/* Yedek halkası */
.hd-backup { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.hd-ring { width: 64px; height: 64px; transform: rotate(-90deg); }
.hd-ring circle { fill: none; stroke: #edf1f7; stroke-width: 7; }
.hd-ring .v { stroke: #16a34a; stroke-dasharray: 214; stroke-dashoffset: 214; transition: stroke-dashoffset 1.1s cubic-bezier(.2, .8, .2, 1) .1s; }
.hd-pane.on .hd-ring .v { stroke-dashoffset: 0; }
.hd-backup strong { display: block; font-size: 1.6rem; font-weight: 700; color: #0f1b33; line-height: 1.15; }
.hd-backup span { font-size: .75rem; font-weight: 500; color: #6b778c; }

@media (max-width: 1280px) {
  .hd-body { grid-template-columns: 164px 1fr; }
  .hd-nav li { font-size: .75rem; padding: 8px 10px; }
  .hd-big strong { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hd-pane.on .hd-bars-v i { animation: none; }
}
