/* ==========================================================================
   Software Hero: Kinetic Text & Animated Ambient Matrix
   ========================================================================== */
.software-reactor-hero {
  position: relative;
  width: 100%;
  min-height: 88vh;
  padding: 120px 5% 80px;
  background-color: #040711;
  color: #f8fafc;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
}

/* ==========================================================================
   BACKGROUND IMAGE KINETIC ANIMATIONS (Continuous Zoom Effect)
   ========================================================================== */
.reactor-bg-matrix {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* 1. Dynamic Infinite Breathing Zoom on High-Res Circuit Image */
.reactor-bg-image-layer {
  position: absolute;
  inset: -12%;
  background-image: url('https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  filter: contrast(1.35) brightness(0.85);
  animation: bgInfiniteZoom 18s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes bgInfiniteZoom {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.12) translate(-25px, -15px);
  }
  100% {
    transform: scale(1.22) translate(18px, 12px);
  }
}

/* 2. Perspective Matrix Blueprint Lines */
.reactor-circuit-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(6, 182, 212, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(6, 182, 212, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at 65% 50%, black 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 65% 50%, black 35%, transparent 80%);
}

/* 3. Laser Sweep Scanline Across Background */
.reactor-scanline-laser {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.6), rgba(56, 189, 248, 0.9), transparent);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.7);
  animation: bgLaserSweep 7s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes bgLaserSweep {
  0% { top: -5%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 105%; opacity: 0; }
}

.reactor-light-shroud {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 50%, rgba(4, 7, 17, 0.25) 0%, #040711 85%),
              linear-gradient(to bottom, transparent 0%, #040711 100%);
}

/* Ambient Luminescent Orbs */
.reactor-ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.orb-cyan {
  width: 520px;
  height: 520px;
  background: rgba(6, 182, 212, 0.16);
  top: -60px;
  right: 15%;
  animation: orbPulse 8s ease-in-out infinite alternate;
}

.orb-violet {
  width: 480px;
  height: 480px;
  background: rgba(99, 102, 241, 0.14);
  bottom: -40px;
  left: -60px;
  animation: orbPulse 10s ease-in-out infinite alternate-reverse;
}

@keyframes orbPulse {
  0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
  100% { transform: scale(1.15) translate(20px, 15px); opacity: 0.9; }
}

/* Layout Container */
.reactor-layout-container {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 60px;
  align-items: center;
}

/* ==========================================================================
   STAGGERED TEXT CONTENT ANIMATIONS (Keyframe Cascading)
   ========================================================================== */
.reactor-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.text-anim-item {
  opacity: 0;
  transform: translateY(28px);
  animation: textFadeUpReveal 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--anim-order, 1) * 0.12s + 0.1s);
  will-change: opacity, transform;
}

@keyframes textFadeUpReveal {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Top Innovation Status Badge */
.reactor-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(6, 182, 212, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
}

.status-pulse-core {
  position: relative;
  width: 10px;
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulse-point {
  width: 6px;
  height: 6px;
  background: #06b6d4;
  border-radius: 50%;
  box-shadow: 0 0 10px #06b6d4;
}

.pulse-ring {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1.5px solid #06b6d4;
  border-radius: 50%;
  animation: beaconWave 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes beaconWave {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.badge-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #38bdf8;
}

.badge-chip {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  border-radius: 6px;
}

/* Main Typography & Shimmer Gradient Animation */
.reactor-main-title {
  font-size: clamp(2.6rem, 4.2vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 16px 0;
}

.headline-word {
  display: inline-block;
}

.reactor-gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 35%, #34d399 70%, #38bdf8 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShineShift 6s ease-in-out infinite;
  text-shadow: 0 0 40px rgba(56, 189, 248, 0.3);
}

@keyframes gradientShineShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.title-sub-phrase {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  color: #94a3b8;
  font-weight: 700;
}

.reactor-desc-lead {
  font-size: 1.06rem;
  line-height: 1.65;
  color: #94a3b8;
  margin: 0 0 32px 0;
  max-width: 580px;
}

/* Glass Telemetry Metrics Strip */
.reactor-metrics-hud {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  margin-bottom: 34px;
  flex-wrap: wrap;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.reactor-metrics-hud:hover {
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 12px 36px rgba(6, 182, 212, 0.15);
}

.metric-segment {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.metric-num {
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.metric-pill {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.pill-cyan { background: rgba(6, 182, 212, 0.15); color: #22d3ee; }
.pill-green { background: rgba(16, 185, 129, 0.15); color: #34d399; }

.metric-caption {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
}

.metric-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
}

/* Action Trigger Group */
.reactor-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.reactor-primary-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.reactor-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(2, 132, 199, 0.6);
}

.btn-sheen-sweep {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
}

.reactor-primary-btn:hover .btn-sheen-sweep {
  left: 140%;
}

.reactor-primary-btn svg {
  transition: transform 0.25s ease;
}

.reactor-primary-btn:hover svg {
  transform: translateX(4px);
}

.reactor-secondary-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f8fafc;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.reactor-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ==========================================================================
   Right Column: 3D Holographic Neural Reactor Model
   ========================================================================== */
.reactor-model-col {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

.scroll-reveal-model {
  opacity: 0;
  transform: scale(0.92) translateY(30px);
  animation: modelStageEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

@keyframes modelStageEntrance {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.reactor-3d-stage {
  position: relative;
  width: 100%;
  max-width: 530px;
  height: 530px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   RIPPLE & RADAR ANIMATION FOR THE 2 OUTER CIRCLE RINGS
   ========================================================================== */
.compass-ring-outer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1.5px dashed rgba(56, 189, 248, 0.35);
  pointer-events: none;
  /* Rotation + Sonar Pulse Waves */
  animation: compassRotate 40s linear infinite, ringPulseOuter 4s ease-out infinite;
}

.compass-ring-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1.5px solid rgba(129, 140, 248, 0.4);
  pointer-events: none;
  /* Reverse Rotation + Sonar Pulse Waves with 1.8s offset */
  animation: compassRotate 24s linear infinite reverse, ringPulseInner 4s ease-out infinite 1.8s;
}

@keyframes compassRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Outer Ring Expanding Echo Wave */
@keyframes ringPulseOuter {
  0% {
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.5), inset 0 0 10px rgba(56, 189, 248, 0.2);
    border-color: rgba(56, 189, 248, 0.6);
  }
  60% {
    box-shadow: 0 0 0 28px rgba(56, 189, 248, 0), inset 0 0 25px rgba(56, 189, 248, 0);
    border-color: rgba(56, 189, 248, 0.25);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0), inset 0 0 0 rgba(56, 189, 248, 0);
    border-color: rgba(56, 189, 248, 0.35);
  }
}

/* Inner Ring Expanding Echo Wave */
@keyframes ringPulseInner {
  0% {
    box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.55), inset 0 0 12px rgba(168, 85, 247, 0.3);
    border-color: rgba(168, 85, 247, 0.65);
  }
  60% {
    box-shadow: 0 0 0 22px rgba(168, 85, 247, 0), inset 0 0 20px rgba(168, 85, 247, 0);
    border-color: rgba(168, 85, 247, 0.2);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(168, 85, 247, 0), inset 0 0 0 rgba(168, 85, 247, 0);
    border-color: rgba(168, 85, 247, 0.4);
  }
}

/* ==========================================================================
   3D Gyroscopic Core Assembly & Quantum Core
   ========================================================================== */
.core-gyro-assembly {
  position: relative;
  width: 240px;
  height: 240px;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Central Quantum Singularity */
.singularity-sphere {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #7dd3fc 0%, #0284c7 50%, #075985 85%, #082f49 100%);
  box-shadow: 0 0 50px rgba(56, 189, 248, 0.85), inset 0 0 20px rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  animation: pulseSingularity 3s ease-in-out infinite alternate;
}

@keyframes pulseSingularity {
  0% { transform: scale(0.96); box-shadow: 0 0 35px rgba(56, 189, 248, 0.7); }
  100% { transform: scale(1.06); box-shadow: 0 0 70px rgba(56, 189, 248, 1); }
}

.core-data-text {
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

/* Internal Gyro Orbiting Rings */
.gyro-ring {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  transform-style: preserve-3d;
  pointer-events: none;
}

/* Ring 1: Horizontal Track with High-Speed Spin */
.ring-horizontal {
  border: 2px solid transparent;
  border-top-color: #38bdf8;
  border-bottom-color: rgba(56, 189, 248, 0.25);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.6);
  animation: orbitRingHorizontal 9s linear infinite;
}

@keyframes orbitRingHorizontal {
  0% {
    transform: rotateX(72deg) rotateY(12deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(72deg) rotateY(12deg) rotateZ(360deg);
  }
}

/* Ring 2: Tilted Violet Loop with Continuous Rotation */
.ring-vertical {
  border: 2px solid transparent;
  border-left-color: #a855f7;
  border-right-color: rgba(168, 85, 247, 0.25);
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.5);
  animation: orbitRingVertical 11s linear infinite;
}

@keyframes orbitRingVertical {
  0% {
    transform: rotateX(35deg) rotateY(65deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(35deg) rotateY(65deg) rotateZ(360deg);
  }
}

/* Orbiting Satellites on the Rings */
.ring-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 12px #ffffff, 0 0 20px #38bdf8;
  animation: nodeGleam 2s ease-in-out infinite alternate;
}

@keyframes nodeGleam {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.3); opacity: 1; }
}

.node-a { top: -4px; left: 50%; }
.node-b { bottom: -4px; left: 50%; }
.node-c { top: 50%; left: -4px; }
.node-d { top: 50%; right: -4px; }

/* ==========================================================================
   Floating HUD Satellite Nodes
   ========================================================================== */
.reactor-hud-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  z-index: 3;
  white-space: nowrap;
  pointer-events: none;
  overflow: hidden;
}

.hud-border-glow {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  opacity: 0.4;
  pointer-events: none;
  animation: badgeBorderPulse 3s ease-in-out infinite alternate;
}

.glow-cyan-border {
  box-shadow: inset 0 0 12px rgba(6, 182, 212, 0.5), 0 0 15px rgba(6, 182, 212, 0.3);
}

.glow-blue-border {
  box-shadow: inset 0 0 12px rgba(59, 130, 246, 0.5), 0 0 15px rgba(59, 130, 246, 0.3);
}

.glow-emerald-border {
  box-shadow: inset 0 0 12px rgba(16, 185, 129, 0.5), 0 0 15px rgba(16, 185, 129, 0.3);
}

@keyframes badgeBorderPulse {
  0% { opacity: 0.25; filter: brightness(1); }
  100% { opacity: 0.75; filter: brightness(1.4); }
}

.hud-icon-shell {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  z-index: 1;
}

.shell-cyan { background: rgba(6, 182, 212, 0.15); border: 1px solid rgba(6, 182, 212, 0.4); }
.shell-blue { background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.4); }
.shell-emerald { background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.4); }

.hud-text-stack {
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.hud-text-stack strong {
  font-size: 0.84rem;
  color: #ffffff;
  line-height: 1.2;
}

.hud-text-stack span {
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 500;
}

.hud-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-left: 4px;
  z-index: 1;
  animation: beaconFlash 2s infinite;
}

.beacon-cyan { background: #06b6d4; box-shadow: 0 0 10px #06b6d4; }
.beacon-blue { background: #3b82f6; box-shadow: 0 0 10px #3b82f6; }
.beacon-emerald { background: #10b981; box-shadow: 0 0 10px #10b981; }

@keyframes beaconFlash {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* Individual Card Positions & Levitation Loops */
.hud-pos-erp {
  top: 35px;
  left: 15px;
  animation: badgeLevitateA 5s ease-in-out infinite alternate;
}

.hud-pos-crm {
  top: 95px;
  right: 10px;
  animation: badgeLevitateB 5.5s ease-in-out infinite alternate;
}

.hud-pos-auto {
  bottom: 85px;
  left: 15px;
  animation: badgeLevitateA 6.5s ease-in-out infinite alternate-reverse;
}

@keyframes badgeLevitateA {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-0.5deg); }
  100% { transform: translateY(-14px) rotate(0.5deg); }
}

@keyframes badgeLevitateB {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(8px) rotate(0.5deg); }
  100% { transform: translateY(14px) rotate(-0.5deg); }
}

/* Telemetry Badge (Bottom-Right) */
.reactor-live-telemetry {
  position: absolute;
  bottom: 20px;
  right: 15px;
  background: rgba(8, 13, 26, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  z-index: 3;
  animation: badgeLevitateB 6s ease-in-out infinite alternate;
}

.telemetry-bar-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.telemetry-lights { display: flex; gap: 4px; }
.t-led { width: 5px; height: 5px; border-radius: 50%; }
.led-green { background: #10b981; box-shadow: 0 0 6px #10b981; }
.led-cyan { background: #06b6d4; box-shadow: 0 0 6px #06b6d4; }
.telemetry-title { font-size: 0.62rem; color: #94a3b8; letter-spacing: 0.5px; }
.telemetry-data-grid { display: flex; gap: 12px; }
.t-item { display: flex; flex-direction: column; }
.t-item span { font-size: 0.54rem; color: #64748b; }
.t-item strong { font-size: 0.66rem; color: #38bdf8; }

/* Responsive Rules */
@media (max-width: 1024px) {
  .reactor-layout-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .reactor-content-col { align-items: center; }
  .reactor-status-badge { justify-content: center; }
  .reactor-metrics-hud { justify-content: center; }
  .reactor-cta-row { justify-content: center; }
  .metric-divider { display: none; }
  .reactor-3d-stage {
    max-width: 420px;
    height: 420px;
    margin: 0 auto;
  }
  .compass-ring-outer { width: 360px; height: 360px; }
  .compass-ring-inner { width: 260px; height: 260px; }
  .hud-pos-erp { top: 15px; left: 5px; }
  .hud-pos-crm { top: 75px; right: 5px; }
  .hud-pos-auto { bottom: 60px; left: 5px; }
  .reactor-live-telemetry { bottom: 10px; right: 5px; }
}

@media (max-width: 640px) {
  .software-reactor-hero { padding: 100px 5% 60px; }
  .reactor-main-title { font-size: 2.2rem; }
  .reactor-metrics-hud { flex-direction: column; gap: 14px; width: 100%; }
  .reactor-cta-row { flex-direction: column; width: 100%; }
  .reactor-primary-btn, .reactor-secondary-btn { width: 100%; justify-content: center; }
}

/* Section 2 Starts  */

/* ==========================================================================
   Software Development Services Pill Cloud Section
   ========================================================================== */
.software-services-pill-section {
  position: relative;
  width: 100%;
  padding: 95px 5% 90px;
  background-color: #f8fafc;
  color: #0f172a;
  overflow: hidden;
  box-sizing: border-box;
}

.pill-section-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Header Area Styling */
.pill-section-header {
  max-width: 860px;
  margin: 0 auto 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pill-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: #0284c7;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  margin-bottom: 18px;
}

.pill-dot {
  width: 6px;
  height: 6px;
  background-color: #0284c7;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.8);
  animation: pillDotPulse 2s infinite;
}

@keyframes pillDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.6); }
}

.pill-section-title {
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #0f172a;
  margin: 0 0 14px 0;
}

.pill-lead-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 10px 0;
  line-height: 1.5;
}

.pill-sublead-text {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
  max-width: 760px;
}

/* ==========================================================================
   Centered Pill Links Cloud (Matches Reference Layout)
   ========================================================================== */
.pill-links-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 14px;
  max-width: 1220px;
  margin: 0 auto;
}

/* Exact rounded-rectangle pill link styling */
.service-pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background-color: #ffffff;
  color: #1e293b;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  user-select: none;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-pill-link:hover {
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(2, 132, 199, 0.12);
  background-color: #ffffff;
}

.service-pill-link:active {
  transform: translateY(0);
}

/* Scroll Reveal Initial States */
.scroll-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Responsive Rules */
@media (max-width: 768px) {
  .software-services-pill-section {
    padding: 70px 5%;
  }

  .pill-links-cloud {
    gap: 10px;
  }

  .service-pill-link {
    padding: 8px 16px;
    font-size: 0.84rem;
  }
}

/* Section 2 Ends  */

/* Section 3 Starts  */

/* ==========================================================================
   Software Process: 2-Line S-Curve Roadmap & Approach Ribbon
   ========================================================================== */
.soft-process-2row-section {
  position: relative;
  width: 100%;
  padding: 100px 5% 90px;
  background-color: #f8fafc;
  color: #0f172a;
  overflow: hidden;
  box-sizing: border-box;
}

/* Ambient Radial Glows */
.proc-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.glow-cyan {
  width: 500px;
  height: 500px;
  background: rgba(6, 182, 212, 0.08);
  top: 5%;
  left: -80px;
}

.glow-indigo {
  width: 480px;
  height: 480px;
  background: rgba(99, 102, 241, 0.07);
  bottom: 5%;
  right: -80px;
}

.proc-container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* Header Area */
.proc-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.proc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: #0284c7;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  margin-bottom: 16px;
}

.proc-dot {
  width: 6px;
  height: 6px;
  background-color: #0284c7;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.8);
  animation: procPulseDot 2s infinite;
}

@keyframes procPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.6); }
}

.proc-title {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0 0 10px 0;
}

.proc-lead-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px 0;
}

.proc-lead-desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

/* ==========================================================================
   2-Line Roadmap Canvas & Circuit SVG
   ========================================================================== */
.proc-roadmap-canvas {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 10px 0;
}

.proc-circuit-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.circuit-dash-path {
  stroke: #94a3b8;
  stroke-width: 2.5px;
  animation: circuitDashCycle 20s linear infinite;
}

@keyframes circuitDashCycle {
  to {
    stroke-dashoffset: -1000;
  }
}

/* Grid Layouts for the 2 Lines */
.proc-grid-row {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 30px;
}

/* Line 1: 4 Equal Steps */
.row-line-1 {
  grid-template-columns: repeat(4, 1fr);
}

/* Line 2: 3 Centered Steps */
.row-line-2 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 960px;
  margin-left: auto; /* Aligns neatly under steps 02, 03, 04 */
}

/* Individual Process Step Card */
.proc-card-box {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top-width: 4px; /* Vibrant accent color stripe */
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  min-height: 200px;
}

.proc-card-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.card-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.card-num-chip {
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
}

.card-icon {
  font-size: 1.3rem;
  transition: transform 0.25s ease;
}

.proc-card-box:hover .card-icon {
  transform: scale(1.15) rotate(4deg);
}

.card-step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
  margin: 0 0 8px 0;
  line-height: 1.25;
}

.card-step-desc {
  font-size: 0.84rem;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}

/* Color Accents by Theme */
/* Azure (01) */
.theme-azure { border-top-color: #0284c7; }
.theme-azure .card-num-chip { background: #e0f2fe; color: #0284c7; }

/* Indigo (02) */
.theme-indigo { border-top-color: #4f46e5; }
.theme-indigo .card-num-chip { background: #ede9fe; color: #4f46e5; }

/* Pink (03) */
.theme-pink { border-top-color: #ec4899; }
.theme-pink .card-num-chip { background: #fce7f3; color: #db2777; }

/* Purple (04) */
.theme-purple { border-top-color: #9333ea; }
.theme-purple .card-num-chip { background: #f3e8ff; color: #9333ea; }

/* Amber (05) */
.theme-amber { border-top-color: #d97706; }
.theme-amber .card-num-chip { background: #fef3c7; color: #d97706; }

/* Teal (06) */
.theme-teal { border-top-color: #0d9488; }
.theme-teal .card-num-chip { background: #ccfbf1; color: #0d9488; }

/* Emerald (07) */
.theme-emerald { border-top-color: #059669; }
.theme-emerald .card-num-chip { background: #dcfce7; color: #059669; }

/* ==========================================================================
   Bottom Ribbon: Our Development Approach
   ========================================================================== */
.proc-approach-ribbon {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.02);
  flex-wrap: wrap;
  gap: 16px;
}

.approach-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.approach-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.approach-label {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
}

.approach-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.flow-pill {
  padding: 5px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  transition: all 0.25s ease;
}

.flow-pill:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  transform: translateY(-2px);
}

.flow-pill.pill-highlight {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #16a34a;
}

.flow-pill.pill-highlight:hover {
  background: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
}

.flow-arrow {
  color: #94a3b8;
  font-weight: 800;
  font-size: 0.85rem;
}

/* Staggered Scroll-Reveal Base */
.scroll-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ==========================================================================
   Responsive Handling
   ========================================================================== */
@media (max-width: 1080px) {
  .proc-circuit-svg {
    display: none; /* Hide complex SVG spine on smaller screens to prevent clipping */
  }

  .proc-roadmap-canvas {
    gap: 20px;
  }

  .row-line-1 {
    grid-template-columns: repeat(2, 1fr);
  }

  .row-line-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .soft-process-2row-section {
    padding: 70px 5%;
  }

  .row-line-1,
  .row-line-2 {
    grid-template-columns: 1fr;
  }

  /* Reset reversed Line 2 on mobile devices for intuitive vertical reading */
  .row-line-2 {
    display: flex;
    flex-direction: column-reverse;
  }

  .proc-approach-ribbon {
    flex-direction: column;
    align-items: flex-start;
  }

  .approach-flow {
    justify-content: flex-start;
  }
}

/* Section 3 Ends  */

/* Section 4 Starts  */

/* ==========================================================================
   Why Choose DeeGenex Section (Default System Fonts & Light Theme)
   ========================================================================== */
.dg-why-software-section {
  position: relative;
  width: 100%;
  padding: 110px 5% 95px;
  background-color: #fcfdfe;
  color: #0f172a;
  overflow: hidden;
  box-sizing: border-box;
}

/* Ambient Radial Glows */
.why-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.glow-cyan {
  width: 500px;
  height: 500px;
  background: rgba(6, 182, 212, 0.08);
  top: 5%;
  left: -80px;
}

.glow-indigo {
  width: 520px;
  height: 520px;
  background: rgba(99, 102, 241, 0.07);
  bottom: 5%;
  right: -80px;
}

.why-container {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 55px;
}

/* ==========================================================================
   Header Block
   ========================================================================== */
.why-header-block {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #0284c7;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  margin-bottom: 16px;
}

.why-dot-pulse {
  width: 6px;
  height: 6px;
  background-color: #0284c7;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.8);
  animation: whyDotBeacon 2s infinite;
}

@keyframes whyDotBeacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.65); }
}

.why-main-title {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0 0 16px 0;
}

.why-gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.why-lead-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
  margin: 0;
  max-width: 800px;
}

/* ==========================================================================
   8-Pillar Feature Matrix Grid
   ========================================================================== */
.why-feature-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Base Feature Card */
.why-feature-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.why-feature-card:hover {
  transform: translateY(-6px);
  border-color: #cbd5e1;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

/* Top Accent Highlight Strip */
.why-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  transition: height 0.25s ease;
}

.why-feature-card:hover::before {
  height: 4px;
}

.card-head-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.card-icon-bubble {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: transform 0.25s ease;
}

.why-feature-card:hover .card-icon-bubble {
  transform: scale(1.1) rotate(4deg);
}

.card-index-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #94a3b8;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.015em;
  margin: 0 0 10px 0;
  line-height: 1.25;
}

.card-desc {
  font-size: 0.86rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 20px 0;
  flex: 1;
}

.card-tech-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  width: fit-content;
  background: #f1f5f9;
  color: #334155;
  transition: all 0.25s ease;
}

/* Theme Accents (Stripe & Badge Colors) */
/* 01 Cyan */
.theme-cyan::before { background: #06b6d4; }
.theme-cyan:hover .card-tech-badge { background: #cffafe; color: #0891b2; }

/* 02 Blue */
.theme-blue::before { background: #2563eb; }
.theme-blue:hover .card-tech-badge { background: #dbeafe; color: #1d4ed8; }

/* 03 Indigo */
.theme-indigo::before { background: #4f46e5; }
.theme-indigo:hover .card-tech-badge { background: #ede9fe; color: #4338ca; }

/* 04 Purple */
.theme-purple::before { background: #9333ea; }
.theme-purple:hover .card-tech-badge { background: #f3e8ff; color: #7e22ce; }

/* 05 Rose */
.theme-rose::before { background: #e11d48; }
.theme-rose:hover .card-tech-badge { background: #ffe4e6; color: #be123c; }

/* 06 Amber */
.theme-amber::before { background: #d97706; }
.theme-amber:hover .card-tech-badge { background: #fef3c7; color: #b45309; }

/* 07 Emerald */
.theme-emerald::before { background: #059669; }
.theme-emerald:hover .card-tech-badge { background: #d1fae5; color: #047857; }

/* 08 Teal */
.theme-teal::before { background: #0d9488; }
.theme-teal:hover .card-tech-badge { background: #ccfbf1; color: #0f766e; }

/* ==========================================================================
   Bottom Conversion Ribbon Dock
   ========================================================================== */
.why-conversion-dock {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 22px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
  flex-wrap: wrap;
  gap: 24px;
}

.dock-left-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.dock-pill-headline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dock-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.dock-pill-headline strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}

.dock-tags-stream {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dock-tag {
  font-size: 0.76rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

/* Call to Action Button */
.dock-action-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.dock-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.45);
}

.btn-arrow-icon {
  transition: transform 0.25s ease;
}

.dock-action-btn:hover .btn-arrow-icon {
  transform: translateX(4px);
}

.btn-ripple-glide {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
}

.dock-action-btn:hover .btn-ripple-glide {
  left: 140%;
}

/* Staggered Scroll-Reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
  .why-feature-matrix {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dg-why-software-section {
    padding: 75px 5%;
  }

  .why-feature-matrix {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .why-conversion-dock {
    flex-direction: column;
    align-items: flex-start;
  }

  .dock-action-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Section 3 Ends  */

/* sECTION 4 starts  */

/* ==========================================================================
   Software Services Master Stylesheet (Light Theme & System Typography)
   ========================================================================== */
.soft-srv-section {
  position: relative;
  width: 100%;
  padding: 100px 5%;
  background-color: #f8fafc;
  color: #0f172a;
  overflow: hidden;
  border-bottom: 1px solid #e2e8f0;
  box-sizing: border-box;
}

/* Background Color Alternations for Distinct Visual Flow */
.theme-indigo-bg { background-color: #f6f8fd; }
.theme-teal-bg   { background-color: #f4fbf9; }
.theme-amber-bg  { background-color: #fffcf4; }
.theme-purple-bg { background-color: #faf5ff; }
.theme-slate-bg  { background-color: #f1f5f9; }
.theme-cyan-bg   { background-color: #f0fdfa; }

.soft-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 65px;
  align-items: center;
}

.soft-container.reversed {
  grid-template-columns: 1.15fr 0.95fr;
}

/* Base Typographic Hierarchy */
.srv-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #0284c7;
  margin-bottom: 14px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.badge-dot { width: 6px; height: 6px; border-radius: 50%; }
.dot-cyan { background-color: #06b6d4; box-shadow: 0 0 6px #06b6d4; }
.dot-indigo { background-color: #4f46e5; box-shadow: 0 0 6px #4f46e5; }
.dot-rose { background-color: #e11d48; box-shadow: 0 0 6px #e11d48; }
.dot-teal { background-color: #0d9488; box-shadow: 0 0 6px #0d9488; }
.dot-emerald { background-color: #059669; box-shadow: 0 0 6px #059669; }
.dot-amber { background-color: #d97706; box-shadow: 0 0 6px #d97706; }
.dot-purple { background-color: #9333ea; box-shadow: 0 0 6px #9333ea; }
.dot-blue { background-color: #2563eb; box-shadow: 0 0 6px #2563eb; }

.srv-title {
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: #0f172a;
  margin: 0 0 8px 0;
  letter-spacing: -0.025em;
}

.srv-subtitle {
  font-size: 1.22rem;
  font-weight: 700;
  color: #0284c7;
  margin: 0 0 14px 0;
}

.srv-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 24px 0;
}

/* ==========================================================================
   Features Pill Matrix Block
   ========================================================================== */
.features-pill-block {
  margin-bottom: 28px;
}

.features-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #0f172a;
  margin: 0 0 12px 0;
}

.features-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.feat-pill {
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.02);
  transition: all 0.25s ease;
}

.feat-pill:hover {
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.1);
}

/* ==========================================================================
   Pricing Tiers Grid (Basic, Professional, Enterprise)
   ========================================================================== */
.pricing-tiers-grid {
  display: grid;
  gap: 16px;
}

.pricing-tiers-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.pricing-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.pricing-card.popular-tier {
  border: 2px solid #0284c7;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.09);
}

.popular-ribbon {
  position: absolute;
  top: -10px;
  right: 14px;
  background: #0284c7;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 20px;
}

.tier-head {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.tier-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.tier-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
}

.tier-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tier-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.4;
}

.tier-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0284c7;
  font-weight: 900;
  font-size: 0.75rem;
}

/* ==========================================================================
   Distinct Visual Cards for Each of the 17 Services
   ========================================================================== */
.soft-visual-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.soft-main-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 24px;
  transition: transform 0.5s ease;
}

/* 01. Custom Software Frame */
.iso-visual-card {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}
.floating-tech-tag {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #0f172a;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.tag-top { top: 20px; left: 20px; }
.tag-bottom { bottom: 20px; right: 20px; }

/* 02. ERP Executive Wrap */
.executive-visual-wrap {
  position: relative;
  width: 100%;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(79, 70, 229, 0.1);
}
.executive-stat-pill {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.executive-stat-pill strong { font-size: 0.9rem; color: #1e1b4b; }
.executive-stat-pill span { font-size: 0.72rem; color: #64748b; font-weight: 600; }

/* 03. CRM Funnel Stage */
.funnel-stage-wrap {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
}
.funnel-badge-live {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #e11d48;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
}

/* 04. HRMS Roster Frame */
.hrms-roster-frame { position: relative; width: 100%; border-radius: 24px; overflow: hidden; }
.hrms-telemetry-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #0d9488;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 800;
}

/* 05. Accounting Ledger Card */
.accounting-ledger-card { position: relative; width: 100%; border-radius: 24px; overflow: hidden; }
.ledger-floating-pill {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #ffffff;
  border: 1px solid #10b981;
  color: #059669;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
}

/* 06. Inventory Logistics Box */
.warehouse-visual-box { position: relative; width: 100%; border-radius: 24px; overflow: hidden; }
.stock-alert-pill {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #d97706;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 800;
}

/* 07. Business Management Command */
.bizmanage-card-wrap { position: relative; width: 100%; border-radius: 24px; overflow: hidden; }
.bizmanage-floating-hud {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid #2563eb;
  color: #2563eb;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

/* 08. School Management Frame */
.school-visual-card { position: relative; width: 100%; border-radius: 24px; overflow: hidden; }
.campus-telemetry-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #7c3aed;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 800;
}

/* 09. Hospital Clinical Viewport */
.hospital-stage-frame { position: relative; width: 100%; border-radius: 24px; overflow: hidden; }
.clinical-status-pill {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #ffffff;
  border: 1px solid #06b6d4;
  color: #0891b2;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 800;
}

/* 10. Manufacturing Assembly */
.manufacturing-assembly-card { position: relative; width: 100%; border-radius: 24px; overflow: hidden; }
.assembly-stat-tag {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #0f172a;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 800;
}

/* 11. Retail POS Counter */
.retail-pos-card { position: relative; width: 100%; border-radius: 24px; overflow: hidden; }
.pos-status-pill {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #e11d48;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 800;
}

/* 12. Business Automation Synapse */
.automation-synapse-card { position: relative; width: 100%; border-radius: 24px; overflow: hidden; }
.synapse-pill-tag {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #0284c7;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 800;
}

/* 13. SaaS Product Frame */
.saas-product-frame { position: relative; width: 100%; border-radius: 24px; overflow: hidden; }
.saas-badge-pill {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #4f46e5;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 800;
}

/* 14. API Mesh Card */
.api-mesh-card { position: relative; width: 100%; border-radius: 24px; overflow: hidden; }
.mesh-telemetry-pill {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #0d9488;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 800;
}

/* 15. Software Support Operations */
.ops-support-card { position: relative; width: 100%; border-radius: 24px; overflow: hidden; }
.support-status-pill {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #ffffff;
  border: 1px solid #059669;
  color: #059669;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 800;
}

/* 16. Custom BI Dashboard Card */
.bi-dashboard-card { position: relative; width: 100%; border-radius: 24px; overflow: hidden; }
.bi-stat-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #1e1b4b;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 800;
}

/* 17. Cloud-Based Software Vault */
.cloud-vault-card { position: relative; width: 100%; border-radius: 24px; overflow: hidden; }
.cloud-telemetry-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #0284c7;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 800;
}

/* Scroll Reveal Base States */
.scroll-reveal {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal[data-dir="left"] { transform: translateX(-40px); }
.scroll-reveal[data-dir="right"] { transform: translateX(40px); }

.scroll-reveal.revealed {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* Responsive Rules for Tablets and Mobile */
@media (max-width: 1100px) {
  .soft-container,
  .soft-container.reversed {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pricing-tiers-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .soft-srv-section {
    padding: 70px 5%;
  }
  .pricing-tiers-grid.cols-3 {
    grid-template-columns: 1fr;
  }
  .soft-main-img {
    height: 300px;
  }
}

/* Section 4 Ends  */