/* ============================================
   PROCESS SECTION — From idea to scale
   ============================================ */

.proc-section {
  background: #06060f;
  padding: 90px 0 100px;
}

.proc-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Header ── */
.proc-header {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.proc-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.50);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 5px 16px;
  background: rgba(255,255,255,0.04);
  letter-spacing: 0.03em;
}

.proc-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0;
  font-family: 'Inter', 'Poppins', system-ui, sans-serif;
}

.proc-gradient {
  background: linear-gradient(90deg, #60a5fa 0%, #818cf8 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 3-column grid: [card] [dots] [card] ── */
.proc-grid {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  row-gap: 18px;
  column-gap: 0;
  align-items: center;
}

@media (max-width: 680px) {
  .proc-grid {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }
  .proc-connector { display: none; }
}

/* ── Connector dots ── */
.proc-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.proc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(129, 140, 248, 0.50);
  display: block;
}

/* ── Cards ── */
.proc-card {
  background: #0a0a1e;
  border-radius: 16px;
  padding: 26px 28px 24px;
  position: relative;
  isolation: isolate;
  transition: transform 0.25s ease, background 0.25s ease;
  cursor: default;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Gradient border using mask technique */
.proc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  pointer-events: none;
  z-index: 1;
  transition: background 0.3s ease;
}

/* Left cards: gradient comes from bottom-right (purple/blue) */
.proc-card-left::after {
  background: linear-gradient(
    315deg,
    rgba(139, 92, 246, 0.70) 0%,
    rgba(99, 60, 200, 0.30)  35%,
    transparent 65%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

/* Right cards: gradient comes from top-left */
.proc-card-right::after {
  background: linear-gradient(
    135deg,
    rgba(96, 165, 250, 0.70)  0%,
    rgba(139, 92, 246, 0.35)  35%,
    transparent 65%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

.proc-card:hover {
  transform: translateY(-4px);
  background: #0e0d28;
}

/* Step number — top-right for left cards, top-left for right cards */
.proc-num {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
  font-family: 'Inter', 'Poppins', system-ui, sans-serif;
  background: linear-gradient(135deg, #60a5fa 0%, #818cf8 60%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.proc-card-left  { text-align: right; }
.proc-card-right { text-align: left; }

/* Step title */
.proc-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

/* Step description */
.proc-step-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
  line-height: 1.55;
}

/* ── Light mode ── */
body:not(.dark-mode) .proc-section  { background: #f8fafc; }
body:not(.dark-mode) .proc-badge    { color: #64748b; border-color: rgba(0,0,0,0.12); background: rgba(0,0,0,0.03); }
body:not(.dark-mode) .proc-title    { color: #0f172a; }
body:not(.dark-mode) .proc-card     { background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
body:not(.dark-mode) .proc-card:hover { background: #f0f4ff; }
body:not(.dark-mode) .proc-step-title { color: #0f172a; }
body:not(.dark-mode) .proc-step-desc  { color: #64748b; }
body:not(.dark-mode) .proc-dot { background: rgba(99,60,220,0.30); }
