/* --- Page Header --- */
.proc-header {
  padding: 100px 0 72px;
  position: relative;
}

.proc-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.proc-title {
  font-size: 52px;
  line-height: 1.1;
  margin: 0 0 20px;
  font-weight: 700;
}

.proc-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 580px;
  margin: 0;
}

/* --- Timeline section --- */
.proc-timeline {
  padding: 80px 0 0;
}

.proc-track {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* --- Single step row --- */
.proc-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0 48px;
  align-items: start;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.proc-step.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Left column: circle + vertical connector --- */
.proc-step-left {
  display: flex;
  justify-content: center;
  position: relative;
}

.proc-circle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* The vertical line that runs between circles */
.proc-connector {
  width: 2px;
  height: 48px;
  background: linear-gradient(180deg, var(--border) 0%, rgba(74,158,255,0.25) 100%);
  order: -1;
}

.proc-step:first-child .proc-connector {
  visibility: hidden;
}

.proc-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: border-color 0.4s, box-shadow 0.4s;
}

.proc-step.visible .proc-circle {
  border-color: rgba(74,158,255,0.5);
  box-shadow: 0 0 0 4px rgba(74,158,255,0.1);
}

.proc-circle-final {
  border-color: transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(135deg, #4a9eff, #7b61ff) border-box;
  border: 2px solid transparent;
}

.proc-step.visible .proc-circle-final {
  box-shadow: 0 0 0 4px rgba(123,97,255,0.15);
}

.proc-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.8px;
  font-variant-numeric: tabular-nums;
}

/* --- Right column: content --- */
.proc-step-right {
  padding: 0 0 64px;
}

.proc-step-last .proc-step-right {
  padding-bottom: 0;
}

.proc-name {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  margin: 4px 0 12px;
}

.proc-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 20px;
  max-width: 560px;
}

.proc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
}

.proc-list li {
  font-size: 14px;
  color: var(--text);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.proc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

/* --- FAQ strip --- */
.proc-faq {
  padding: 80px 0;
}

.proc-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.proc-faq-item {
  border-top: 2px solid var(--border);
  padding-top: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.proc-faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.proc-faq-item h3 {
  font-size: 17px;
  margin: 0 0 10px;
  font-weight: 600;
  line-height: 1.3;
}

.proc-faq-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* --- Closing CTA --- */
.proc-cta {
  padding: 100px 0 80px;
}

.proc-cta-inner {
  text-align: center;
  position: relative;
}

.proc-cta-inner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(74,158,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.proc-cta-title {
  font-size: 42px;
  line-height: 1.2;
  margin: 0 0 14px;
  font-weight: 700;
  position: relative;
}

.proc-cta-sub {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 32px;
  position: relative;
}

.proc-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  position: relative;
}

.proc-cta-btn {
  font-size: 16px;
  padding: 14px 32px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .proc-header {
    padding: 64px 0 48px;
  }

  .proc-title {
    font-size: 36px;
  }

  .proc-subtitle {
    font-size: 16px;
  }

  .proc-step {
    grid-template-columns: 36px 1fr;
    gap: 0 20px;
  }

  .proc-connector {
    height: 32px;
  }

  .proc-circle {
    width: 36px;
    height: 36px;
  }

  .proc-num {
    font-size: 11px;
  }

  .proc-step-right {
    padding-bottom: 40px;
  }

  .proc-name {
    font-size: 21px;
  }

  .proc-desc {
    font-size: 15px;
  }

  .proc-list {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .proc-faq {
    padding: 60px 0;
  }

  .proc-faq-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .proc-cta {
    padding: 64px 0 48px;
  }

  .proc-cta-title {
    font-size: 30px;
  }

  .proc-cta-btns {
    flex-direction: column;
    align-items: center;
  }
}
