/* Process — forge steps */

#process.process-new {
  position: relative;
  overflow: hidden;
  padding: var(--sec-y, clamp(48px, 5.5vw, 72px)) 0;
  background: transparent;
}

.process-new .pro-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.process-new .pro-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 50% at 20% 30%, rgba(93, 95, 239, 0.12), transparent 58%),
    radial-gradient(ellipse 40% 45% at 85% 70%, rgba(6, 182, 212, 0.1), transparent 55%);
}

.process-new .pro-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.028;
  background-image:
    linear-gradient(rgba(238, 242, 255, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 242, 255, 0.55) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 50%, #000 18%, transparent 75%);
}

.process-new .w {
  position: relative;
  z-index: 1;
}

.process-new .sh {
  margin-bottom: clamp(40px, 5vw, 56px);
}

.process-new .st {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.process-new .sd {
  max-width: 520px;
  font-size: 16px;
  color: var(--t2);
  line-height: 1.75;
}

.process-new .prowrap {
  position: relative;
  margin-top: 0;
}

.process-new .proline {
  display: none;
}

.process-new .prosteps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-new .proste {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: clamp(22px, 2.4vw, 28px);
  background: rgba(8, 7, 16, 0.72);
  border: 1px solid rgba(165, 180, 252, 0.14);
  border-radius: 4px 20px 4px 20px;
  transition:
    border-color 0.35s,
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.4s;
}

.process-new .proste::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 28%;
  height: 1px;
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.55), transparent);
  opacity: 0.7;
  transition: opacity 0.35s;
}

.process-new .proste:hover {
  border-color: rgba(165, 180, 252, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38);
}

.process-new .proste:hover::before {
  opacity: 1;
}

.process-new .pronum {
  width: auto;
  height: auto;
  margin-bottom: 18px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 2.8vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  background-image: linear-gradient(135deg, #67e8f9 0%, #a5b4fc 55%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.process-new .proste:nth-child(2) .pronum,
.process-new .proste:nth-child(3) .pronum,
.process-new .proste:nth-child(4) .pronum {
  border: none;
  box-shadow: none;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.process-new .proste:nth-child(2) .pronum {
  background-image: linear-gradient(135deg, #a5b4fc 0%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.process-new .proste:nth-child(3) .pronum {
  background-image: linear-gradient(135deg, #818cf8 0%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.process-new .proste:nth-child(4) .pronum {
  background-image: linear-gradient(135deg, #22d3ee 0%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.process-new .proste h3 {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--t1, #eef2ff);
}

.process-new .proste p {
  font-size: 13.5px;
  color: var(--t2);
  line-height: 1.75;
  margin: 0;
}

/* Connector ticks between steps on desktop */
.process-new .proste:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 38px;
  right: -11px;
  width: 10px;
  height: 1px;
  background: linear-gradient(90deg, rgba(165, 180, 252, 0.35), rgba(6, 182, 212, 0.45));
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .process-new .proste,
  .process-new .proste:hover {
    transition: none;
    transform: none;
  }
}

@media (max-width: 900px) {
  .process-new .prosteps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-new .proste:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .process-new .prosteps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .process-new .proste {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0 16px;
    padding: 20px 18px;
  }

  .process-new .pronum {
    margin-bottom: 0;
    font-size: 28px;
    min-width: 42px;
  }

  .process-new .proste h3 {
    flex: 1;
    margin-bottom: 0;
    align-self: center;
  }

  .process-new .proste p {
    width: 100%;
    margin-top: 10px;
  }
}
