/* ==========================================================================
   Deployment & Commissioning Page (dedicated)
   ========================================================================== */

/* --- Process overview --- */
.deploy-overview {
  padding: 6rem 0;
}

.deploy-overview .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.deploy-overview .section-subtitle {
  margin: 0 auto;
}

/* --- 5-step timeline (expanded) --- */
.deploy-timeline-full {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  position: relative;
}

.deploy-timeline-full::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(var(--accent-primary-rgb), 0.15),
    rgba(var(--accent-primary-rgb), 0.35),
    rgba(var(--accent-primary-rgb), 0.15));
}

.deploy-step-full {
  text-align: center;
  position: relative;
}

.deploy-step-full .step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid rgba(var(--accent-primary-rgb), 0.25);
  color: var(--accent-primary);
  font-weight: 800;
  font-size: 1.15rem;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg-primary), 0 4px 16px rgba(var(--accent-primary-rgb), 0.1);
  transition: all 0.3s ease;
}

.deploy-step-full:hover .step-num {
  background: var(--accent-gradient);
  color: var(--text-on-accent);
  border-color: transparent;
  box-shadow: 0 0 0 6px var(--bg-primary), 0 6px 24px rgba(var(--accent-primary-rgb), 0.25);
  transform: scale(1.1);
}

.deploy-step-full h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.deploy-step-full:hover h4 {
  color: var(--accent-primary);
}

.deploy-step-full p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 180px;
  margin: 0 auto;
}

/* --- Detailed phase cards --- */
.deploy-phases {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.deploy-phases .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.deploy-phases .section-subtitle {
  margin: 0 auto;
}

.phases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.phase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow-color);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.phase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition);
}

.phase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-primary-rgb), 0.2);
  box-shadow: 0 12px 40px var(--shadow-color);
}

.phase-card:hover::before {
  opacity: 1;
}

.phase-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.phase-card h3 svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-primary);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.phase-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.phase-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.phase-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.phase-checklist li svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-primary);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Full-width card for handover */
.phase-card.full-width {
  grid-column: 1 / -1;
}

/* --- Maintenance tiers --- */
.deploy-maintenance {
  padding: 6rem 0;
}

.deploy-maintenance .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.deploy-maintenance .section-subtitle {
  margin: 0 auto;
}

.tier-grid-deploy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px var(--shadow-color);
}

.tier-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-primary-rgb), 0.2);
  box-shadow: 0 8px 24px var(--shadow-color);
}

.tier-card svg {
  width: 40px;
  height: 40px;
  stroke: var(--accent-primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 1rem;
}

.tier-card:nth-child(2) svg { stroke: var(--accent-primary); }
.tier-card:nth-child(3) svg { stroke: var(--accent-dark); }

.tier-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.tier-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .deploy-timeline-full {
    grid-template-columns: repeat(3, 1fr);
  }
  .deploy-timeline-full::before {
    display: none;
  }
  .tier-grid-deploy {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .deploy-timeline-full {
    grid-template-columns: repeat(2, 1fr);
  }
  .phases-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .deploy-timeline-full {
    grid-template-columns: 1fr;
  }
}
