/* =========================================================
   HAEGL — "Our Process: You See Working Software Every Two Weeks"
   Futuristic Connected Sprint Pipeline with Laser Trace & Shimmer
   ========================================================= */

.process-section {
  position: relative;
  background: radial-gradient(circle at 50% 20%, #450009 0%, #1f0105 45%, #08080a 100%);
  color: #ffffff;
  padding: 100px 0 105px;
  overflow: hidden;
}

/* Ambient Floating Glow Lights */
.process-ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(80px);
}

.process-ambient-glow--1 {
  top: -10%;
  right: 5%;
  width: 500px;
  height: 500px;
  background: rgba(230, 0, 38, 0.25);
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.process-ambient-glow--2 {
  bottom: -15%;
  left: 5%;
  width: 550px;
  height: 550px;
  background: rgba(180, 0, 25, 0.2);
  animation: floatOrb 15s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -25px) scale(1.1); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}

.process-section .container {
  position: relative;
  z-index: 3;
}

/* =========================================================
   Section Header (Split Layout)
   ========================================================= */
.process-header {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: flex-end;
  margin-bottom: 56px;
}

.process-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #ff6680;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.process-sparkle {
  color: #ff3355;
  animation: sparkleRotate 4s linear infinite;
  display: inline-block;
}

@keyframes sparkleRotate {
  0% { transform: scale(1) rotate(0deg); opacity: 0.85; }
  50% { transform: scale(1.25) rotate(180deg); opacity: 1; }
  100% { transform: scale(1) rotate(360deg); opacity: 0.85; }
}

.process-title {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
}

.process-lead {
  font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e2e8f0;
  margin: 0;
  opacity: 0.95;
}

.process-lead strong {
  color: #ffffff;
  font-weight: 700;
  border-bottom: 1.5px solid #ff3355;
  padding-bottom: 1px;
}

/* =========================================================
   Connected Laser Pipeline Track
   ========================================================= */
.process-pipeline-wrap {
  position: relative;
  width: 100%;
}

.process-laser-track {
  position: absolute;
  top: -24px;
  left: 8%;
  right: 8%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  z-index: 2;
  display: flex;
  align-items: center;
}

.process-laser-beam {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 30%;
  background: linear-gradient(90deg, transparent 0%, #ff3355 50%, #ffffff 80%, transparent 100%);
  border-radius: 999px;
  filter: drop-shadow(0 0 8px #ff3355);
  animation: laserSweep 5s ease-in-out infinite alternate;
}

@keyframes laserSweep {
  0% { left: 0%; width: 25%; }
  50% { left: 40%; width: 35%; }
  100% { left: 75%; width: 25%; }
}

.process-laser-nodes {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.laser-node {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1e0508;
  border: 2px solid rgba(255, 77, 109, 0.4);
  transition: all 0.3s ease;
}

.laser-node.is-active,
.process-card--featured ~ .process-laser-track .laser-node--3 {
  background: #ff3355;
  border-color: #ffffff;
  box-shadow: 0 0 12px #ff3355, 0 0 20px #e60026;
}

/* =========================================================
   4 Connected Sprint Cards Grid
   ========================================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
  z-index: 3;
}

.process-card {
  position: relative;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.07) 0%, rgba(26, 4, 8, 0.8) 45%, rgba(10, 1, 3, 0.95) 100%);
  border: 1.5px solid rgba(230, 0, 38, 0.3);
  border-radius: 22px;
  padding: 28px 22px 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.4s ease;
  overflow: hidden;
}

/* Featured Card 03 (Engine of 2-Week Deliverables) */
.process-card--featured {
  background: linear-gradient(170deg, rgba(230, 0, 38, 0.16) 0%, rgba(35, 4, 10, 0.9) 45%, rgba(14, 1, 4, 0.98) 100%);
  border-color: rgba(255, 77, 109, 0.7);
  box-shadow: 0 28px 65px rgba(230, 0, 38, 0.28), 0 0 20px rgba(230, 0, 38, 0.18), inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.process-core-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 10px;
  background: linear-gradient(90deg, #ff3355, #e60026);
  border-radius: 6px;
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  box-shadow: 0 0 14px rgba(230, 0, 38, 0.6);
  animation: ribbonPulse 3s ease-in-out infinite;
}

@keyframes ribbonPulse {
  0%, 100% { opacity: 0.95; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

/* Moving Shimmer Border Glow */
.process-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.06) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: all 0.75s ease;
  pointer-events: none;
}

.process-card:hover::before {
  left: 100%;
}

.process-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(255, 77, 109, 0.85);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.65), 0 0 35px rgba(230, 0, 38, 0.45);
}

/* Card Top Meta Bar */
.process-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.process-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(230, 0, 38, 0.15);
  border: 1px solid rgba(255, 77, 109, 0.35);
  border-radius: 999px;
}

.process-step-pill--highlight {
  background: rgba(230, 0, 38, 0.3);
  border-color: #ff4d6d;
}

.step-num {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.step-label {
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ff8095;
}

/* Icon Badge with Neon Ring */
.process-card__icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(230, 0, 38, 0.3) 0%, rgba(20, 2, 5, 0.8) 100%);
  border: 1px solid rgba(255, 77, 109, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff4d6d;
  box-shadow: 0 4px 14px rgba(230, 0, 38, 0.25);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.process-card__icon-badge--highlight {
  background: linear-gradient(135deg, #e60026 0%, #800010 100%);
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 0 16px rgba(230, 0, 38, 0.55);
}

.process-card:hover .process-card__icon-badge {
  transform: rotate(8deg) scale(1.1);
  background: linear-gradient(135deg, #e60026 0%, #800010 100%);
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(230, 0, 38, 0.65);
}

/* Card Heading */
.process-card__heading {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.22;
  color: #ffffff;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

/* List Items */
.process-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex-grow: 1;
}

.process-card__list li {
  position: relative;
  padding-left: 16px;
  font-family: var(--font-body, 'IBM Plex Sans', sans-serif);
  font-size: 0.86rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.process-card__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -1px;
  color: #ff3355;
  font-size: 1.15rem;
  line-height: 1;
}

/* Focused Highlight List Points in Phase 3 */
.process-card__list li.point-focus {
  background: rgba(230, 0, 38, 0.15);
  border: 1px solid rgba(255, 77, 109, 0.35);
  border-radius: 8px;
  padding: 8px 12px 8px 24px;
  color: #ffffff;
  font-size: 0.88rem;
  line-height: 1.45;
  box-shadow: 0 4px 12px rgba(230, 0, 38, 0.15);
}

.process-card__list li.point-focus strong {
  color: #ffffff;
}

.process-card__list li.point-focus::before {
  left: 8px;
  top: 7px;
  color: #ff3355;
  text-shadow: 0 0 8px #ff3355;
}

/* =========================================================
   Animated Holographic Conclusion Capsule
   ========================================================= */
.process-conclusion-capsule {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(230, 0, 38, 0.2) 0%, rgba(30, 3, 7, 0.6) 100%);
  border: 1px solid rgba(255, 77, 109, 0.45);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(230, 0, 38, 0.2);
  margin-top: auto;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-conclusion-capsule--featured {
  background: linear-gradient(135deg, rgba(230, 0, 38, 0.45) 0%, rgba(138, 0, 18, 0.75) 100%);
  border-color: #ff4d6d;
  box-shadow: 0 10px 28px rgba(230, 0, 38, 0.45);
}

.process-card:hover .process-conclusion-capsule {
  background: linear-gradient(135deg, rgba(230, 0, 38, 0.35) 0%, rgba(138, 0, 18, 0.7) 100%);
  border-color: #ff4d6d;
  box-shadow: 0 10px 28px rgba(230, 0, 38, 0.45);
  transform: translateY(-2px);
}

/* Pulsing Beacon Light */
.capsule-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3355;
  box-shadow: 0 0 10px #ff3355, 0 0 18px #e60026;
  flex-shrink: 0;
  animation: beaconPulse 2s ease-in-out infinite;
}

@keyframes beaconPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.4); opacity: 1; }
}

.capsule-text {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* =========================================================
   Responsive Breakpoints
   ========================================================= */

@media (max-width: 1100px) {
  .process-laser-track {
    display: none;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 860px) {
  .process-section {
    padding: 70px 0 65px;
  }

  .process-header {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 36px;
  }

  .process-title {
    font-size: 1.85rem;
  }

  .process-lead {
    font-size: 0.98rem;
  }
}

@media (max-width: 640px) {
  .process-section {
    padding: 55px 0 55px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .process-card__heading {
    font-size: 1.22rem;
  }

  .process-step-pill {
    padding: 4px 10px;
  }

  .process-card__icon-badge {
    width: 36px;
    height: 36px;
  }

  .process-card__icon-badge svg {
    width: 18px;
    height: 18px;
  }

  .process-conclusion-capsule {
    padding: 10px 12px;
  }

  .capsule-text {
    font-size: 0.84rem;
  }
}
