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

.process-section {
  padding: 8rem 0;
  background: #fbfbfe;
  background-image: 
    radial-gradient(circle at 5% 5%, rgba(99, 102, 241, 0.02) 0%, transparent 35%),
    radial-gradient(circle at 95% 95%, rgba(139, 92, 246, 0.02) 0%, transparent 35%);
  position: relative;
  overflow: hidden;
}

.process-container {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* ── Header ── */
.process-header {
  text-align: center;
  margin-bottom: 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.12);
  color: #6366f1;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-badge:hover {
  transform: translateY(-1px);
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.2);
}

.process-badge .badge-icon {
  width: 0.85rem;
  height: 0.85rem;
  color: #6366f1;
  flex-shrink: 0;
}

.process-title {
  font-size: 3.5rem;
  font-weight: 850;
  color: #0f172a;
  margin: 1.5rem 0 1rem 0;
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

@media (max-width: 768px) {
  .process-title {
    font-size: 2.75rem;
  }
}

.process-gradient {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.process-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  font-weight: 400;
  max-width: 36rem;
  line-height: 1.5;
  margin: 0 auto;
}

/* ── Timeline Grid Layout ── */
.process-grid-wrapper {
  position: relative;
  margin-top: 4.5rem;
}

.timeline-vertical-line {
  position: absolute;
  top: 4rem;
  bottom: 4rem;
  left: 50%;
  width: 2px;
  background: rgba(99, 102, 241, 0.15);
  transform: translateX(-50%);
  z-index: 1;
  display: none;
}

@media (min-width: 1024px) {
  .timeline-vertical-line {
    display: block;
  }
}

.process-grid {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.timeline-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 1024px) {
  .timeline-row {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    align-items: center;
  }
}

/* ── Process Card ── */
.process-step-card {
  background: #ffffff;
  border: 1px solid rgba(99, 102, 241, 0.06);
  border-radius: 20px;
  padding: 2rem 2.25rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.02);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  width: 100%;
}

.process-step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.22);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.05);
}

.step-num {
  font-size: 2.75rem;
  font-weight: 850;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: transform 0.35s ease;
}

.process-step-card:hover .step-num {
  transform: scale(1.08);
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  text-align: left;
}

.step-content h4 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.step-content p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
}

.step-icon-box {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-icon-box svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #6366f1;
  transition: all 0.35s ease;
}

.process-step-card:hover .step-icon-box {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  transform: rotate(5deg);
}

.process-step-card:hover .step-icon-box svg {
  color: #ffffff;
}

/* ── Dotted connections & Center Node ── */
.timeline-center-node {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  height: 100%;
}

@media (min-width: 1024px) {
  .timeline-center-node {
    display: flex;
  }
}

.connector-dot {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid #6366f1;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
  z-index: 3;
}

.dotted-connection {
  position: absolute;
  top: 50%;
  width: 32px;
  height: 1px;
  border-top: 2px dotted rgba(99, 102, 241, 0.35);
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}

.line-left {
  right: 50%;
  margin-right: 0.5rem;
}

.line-right {
  left: 50%;
  margin-left: 0.5rem;
}

/* ── Bottom Trust Badge Pill ── */
.process-footer-partnership {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 5rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(99, 102, 241, 0.08);
  padding: 0.875rem 2.25rem;
  border-radius: 9999px;
  width: -moz-max-content;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.03);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(8px);
}

@media (max-width: 640px) {
  .process-footer-partnership {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    border-radius: 1.5rem;
    padding: 1.25rem 2rem;
    width: auto;
    max-width: 20rem;
  }

  .partnership-divider {
    display: none;
  }
}

.partnership-badge-star {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #6366f1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

.partnership-badge-star .star-icon {
  width: 0.75rem;
  height: 0.75rem;
  color: #ffffff;
}

.partnership-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.partnership-divider {
  color: rgba(99, 102, 241, 0.2);
  font-size: 0.95rem;
}

.partnership-tagline {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 500;
}

/* ── Dark Mode Overrides ── */
body.dark-mode .process-section {
  background: #09090b;
  background-image: 
    radial-gradient(circle at 5% 5%, rgba(139, 92, 246, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 95% 95%, rgba(139, 92, 246, 0.03) 0%, transparent 40%);
}

body.dark-mode .process-badge {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
}

body.dark-mode .process-badge .badge-icon {
  color: #a78bfa;
}

body.dark-mode .process-title {
  color: #f8fafc;
}

body.dark-mode .process-subtitle {
  color: #94a3b8;
}

body.dark-mode .timeline-vertical-line {
  background: rgba(255, 255, 255, 0.06);
}

body.dark-mode .connector-dot {
  background: #18181b;
  border-color: #8b5cf6;
}

body.dark-mode .dotted-connection {
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .process-step-card {
  background: #121214;
  border-color: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

body.dark-mode .process-step-card:hover {
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

body.dark-mode .step-content h4 {
  color: #f8fafc;
}

body.dark-mode .step-content p {
  color: #94a3b8;
}

body.dark-mode .step-icon-box {
  background: rgba(255, 255, 255, 0.02);
}

body.dark-mode .step-icon-box svg {
  color: #a78bfa;
}

body.dark-mode .process-step-card:hover .step-icon-box {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

body.dark-mode .process-step-card:hover .step-icon-box svg {
  color: #ffffff;
}

body.dark-mode .process-footer-partnership {
  background: rgba(24, 24, 27, 0.85);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

body.dark-mode .partnership-badge-star {
  background: #8b5cf6;
}

body.dark-mode .partnership-text strong {
  color: #f8fafc;
}

body.dark-mode .partnership-tagline {
  color: #94a3b8;
}

/* ══════════════════════════
   MOBILE RESPONSIVENESS OVERRIDES
   ══════════════════════════ */
@media (max-width: 540px) {
  .process-section {
    padding: 4.5rem 0 !important;
  }
  .process-container {
    padding: 0 1rem !important;
  }
  .process-header {
    margin-bottom: 3rem !important;
  }
  .process-title {
    font-size: 2.15rem !important;
    line-height: 1.25 !important;
    margin: 1.25rem 0 0.75rem 0 !important;
  }
  .process-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }
  .process-grid-wrapper {
    margin-top: 3rem !important;
  }
  .process-grid {
    gap: 2rem !important;
  }
  .process-step-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1.25rem !important;
    padding: 1.75rem 1.5rem !important;
    position: relative !important;
    border-radius: 1.5rem !important;
  }
  .step-icon-box {
    position: absolute !important;
    top: 1.5rem !important;
    right: 1.5rem !important;
    width: 3rem !important;
    height: 3rem !important;
    border-radius: 12px !important;
  }
  .step-icon-box svg {
    width: 1.25rem !important;
    height: 1.25rem !important;
  }
  .step-num {
    font-size: 2.25rem !important;
  }
  .step-content {
    width: 100% !important;
  }
  .step-content h4 {
    font-size: 1.25rem !important;
  }
  .step-content p {
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
  }
  .process-footer-partnership {
    margin-top: 3.5rem !important;
  }
}


