/* Süreç, filo görseli ve operasyon yüzdesi için son görsel düzenlemeler. */

.process-line {
  --process-accent: #263f96;
  --process-accent-soft: #edf1ff;
}

.process-line::before {
  top: 63px;
  background: repeating-linear-gradient(
    90deg,
    rgba(38, 63, 150, 0.24) 0 8px,
    transparent 8px 16px
  );
}

.process-line article > span {
  top: -9px;
  left: calc(50% + 30px);
  z-index: 3;
  padding: 4px 7px;
  border: 1px solid rgba(38, 63, 150, 0.12);
  border-radius: 999px;
  color: var(--process-accent);
  background: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.process-icon {
  position: relative;
  width: 82px;
  height: 82px;
  margin: 20px auto 28px;
  overflow: hidden;
  border: 1px solid rgba(38, 63, 150, 0.18);
  border-radius: 20px;
  color: transparent;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.95), transparent 36%),
    linear-gradient(145deg, #fff 0%, var(--process-accent-soft) 100%);
  box-shadow:
    0 16px 35px rgba(25, 45, 112, 0.12),
    inset 0 1px 0 #fff;
  font-size: 0;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.process-icon::before,
.process-icon::after {
  position: absolute;
  box-sizing: border-box;
  content: "";
}

.process-line article:hover .process-icon {
  border-color: rgba(38, 63, 150, 0.35);
  box-shadow:
    0 19px 42px rgba(25, 45, 112, 0.17),
    inset 0 1px 0 #fff;
  transform: translateY(-4px);
}

/* 01 — ihtiyaç analizi / hedef */
.process-line article:nth-child(1) .process-icon::before {
  top: 21px;
  left: 21px;
  width: 38px;
  height: 38px;
  border: 2px solid var(--process-accent);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    var(--process-accent) 0 4px,
    transparent 5px 10px,
    rgba(38, 63, 150, 0.22) 11px 12px,
    transparent 13px
  );
}

.process-line article:nth-child(1) .process-icon::after {
  top: 16px;
  left: 16px;
  width: 48px;
  height: 48px;
  opacity: 0.45;
  background:
    linear-gradient(var(--process-accent), var(--process-accent)) center / 2px 100% no-repeat,
    linear-gradient(90deg, var(--process-accent), var(--process-accent)) center / 100% 2px no-repeat;
}

/* 02 — güzergâh planlama */
.process-line article:nth-child(2) .process-icon::before {
  top: 29px;
  left: 24px;
  width: 34px;
  height: 25px;
  border-bottom: 2px solid var(--process-accent);
  border-left: 2px solid var(--process-accent);
  border-radius: 0 0 0 16px;
  transform: rotate(-13deg);
}

.process-line article:nth-child(2) .process-icon::after {
  top: 49px;
  left: 22px;
  width: 10px;
  height: 10px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--process-accent);
  box-shadow:
    28px -27px 0 -2px var(--process-accent),
    28px -27px 0 1px #fff;
}

/* 03 — araç ve ekip hazırlığı */
.process-line article:nth-child(3) .process-icon::before {
  top: 25px;
  left: 21px;
  width: 40px;
  height: 29px;
  border: 2px solid var(--process-accent);
  border-radius: 8px 8px 5px 5px;
  background:
    linear-gradient(90deg, rgba(38, 63, 150, 0.18) 0 47%, transparent 47% 53%, rgba(38, 63, 150, 0.18) 53% 100%) center 5px / 27px 10px no-repeat,
    linear-gradient(to top, rgba(38, 63, 150, 0.12) 0 7px, transparent 7px);
}

.process-line article:nth-child(3) .process-icon::after {
  top: 49px;
  left: 27px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--process-accent);
  border-radius: 50%;
  background: #fff;
  box-shadow: 20px 0 0 -2px #fff, 20px 0 0 0 var(--process-accent);
}

/* 04 — güvenli başlangıç */
.process-line article:nth-child(4) .process-icon::before {
  top: 19px;
  left: 24px;
  width: 34px;
  height: 42px;
  clip-path: polygon(50% 0, 93% 17%, 84% 67%, 50% 100%, 16% 67%, 7% 17%);
  background: linear-gradient(145deg, #3454bb, #1f357f);
}

.process-line article:nth-child(4) .process-icon::after {
  top: 33px;
  left: 34px;
  width: 16px;
  height: 9px;
  border-bottom: 3px solid #fff;
  border-left: 3px solid #fff;
  transform: rotate(-45deg);
}

.fleet-art {
  background:
    linear-gradient(160deg, rgba(5, 9, 17, 0.02), rgba(5, 9, 17, 0.2)),
    url("dew.png") center center / cover no-repeat;
}

.corporate-card {
  background-image: url("dew.png");
  background-position: center center;
}

.fleet-art::before {
  display: none;
}

.score-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.score-ring small {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-8px);
}

.board-score > div {
  min-width: 0;
}

@media (max-width: 620px) {
  .process-icon {
    width: 78px;
    height: 78px;
  }

  .process-line article > span {
    left: calc(50% + 27px);
  }

  .score-ring small {
    font-size: 10px;
    transform: translateY(-6px);
  }

  .fleet-art {
    min-height: 420px;
    background-position: center center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-icon {
    transition: none;
  }

  .process-line article:hover .process-icon {
    transform: none;
  }
}
