/* ==========================================================================
   AI Data Solution Hero: Large Brain + Proportional Matched Dotted Ripples
   ========================================================================== */
.ai-ripple-hero-section {
  position: relative;
  width: 100%;
  min-height: 88vh;
  padding: 120px 5% 90px;
  background-color: #020617; /* Deep Cyber Obsidian Base */
  color: #f8fafc;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
}

/* Background Atmosphere & Infinite Breathing Zoom Image */
.ai-ripple-bg-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ai-ripple-bg-image {
  position: absolute;
  inset: -15%;
  background-image: url('https://images.unsplash.com/photo-1620712943543-bcc4688e7485?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  filter: contrast(1.4) brightness(0.7);
  animation: infiniteBreathingZoom 25s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes infiniteBreathingZoom {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.12) translate(-15px, -10px); }
  100% { transform: scale(1.22) translate(15px, 10px); }
}

.ai-ripple-grid-mesh {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(236, 72, 153, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at 65% 50%, black 35%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 65% 50%, black 35%, transparent 85%);
}

.ai-ripple-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 50%, rgba(2, 6, 23, 0.4) 0%, #020612 85%),
              linear-gradient(to bottom, transparent 0%, #020612 100%);
}

/* Three.js WebGL Canvas Layer */
.ai-ripple-webgl-canvas {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.ai-ripple-webgl-canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  outline: none;
}

/* Master Layout Container */
.ai-ripple-master-container {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

/* ==========================================================================
   Left Column: Typography & Intelligence Console
   ========================================================================== */
.ai-ripple-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ai-ripple-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(236, 72, 153, 0.35);
  backdrop-filter: blur(12px);
  border-radius: 30px;
  margin-bottom: 22px;
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.15);
}

.ai-ripple-beacon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ec4899;
  box-shadow: 0 0 10px #ec4899;
  animation: beaconPulse 2s infinite;
}

@keyframes beaconPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.65); }
}

.badge-txt {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: #f472b6;
}

.badge-code {
  font-size: 0.65rem;
  font-weight: 700;
  color: #38bdf8;
}

.ai-ripple-main-title {
  font-size: clamp(2.6rem, 4.4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin: 0 0 16px 0;
}

.ai-ripple-gradient-text {
  background: linear-gradient(135deg, #ec4899 0%, #38bdf8 50%, #10b981 100%);
  background-size: 250% 250%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 6s ease-in-out infinite;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.ai-ripple-lead-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #94a3b8;
  margin: 0 0 32px 0;
  max-width: 580px;
}

/* Glass Performance Matrix */
.ai-ripple-metrics-bar {
  display: flex;
  align-items: center;
  gap: 22px;
  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;
  margin-bottom: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.ripple-m-cell strong {
  font-size: 1.3rem;
  font-weight: 900;
  color: #ffffff;
}

.ripple-m-cell span {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
}

.ripple-m-sep {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.1);
}

/* Action Group */
.ai-ripple-action-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ai-ripple-btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #db2777 0%, #0284c7 100%);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(219, 39, 119, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-ripple-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(219, 39, 119, 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;
}
.ai-ripple-btn-primary:hover .btn-sheen-sweep { left: 140%; }

.ai-ripple-btn-ghost {
  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;
}

.ai-ripple-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ==========================================================================
   Right Column: 3D Stage & Floating Telemetry HUD Cards
   ========================================================================== */
.ai-ripple-visual-col {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-ripple-3d-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floating Telemetry HUD Cards */
.ai-ripple-hud-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
  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: 10;
  white-space: nowrap;
  pointer-events: none;
}

.hud-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.ico-magenta { background: rgba(236, 72, 153, 0.15); border: 1px solid rgba(236, 72, 153, 0.35); }
.ico-cyan    { background: rgba(56, 189, 248, 0.15); border: 1px solid rgba(56, 189, 248, 0.35); }

.hud-text strong {
  display: block;
  font-size: 0.82rem;
  color: #ffffff;
}

.hud-text span {
  font-size: 0.68rem;
  color: #94a3b8;
}

.hud-top {
  top: 20px;
  right: 10px;
  animation: hudFloatA 5s ease-in-out infinite alternate;
}

.hud-bottom {
  bottom: 20px;
  left: 10px;
  animation: hudFloatB 5.5s ease-in-out infinite alternate;
}

@keyframes hudFloatA {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

@keyframes hudFloatB {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* Staggered Scroll-Reveal Animations */
.scroll-reveal {
  opacity: 0;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s 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 Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .ai-ripple-master-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .ai-ripple-content-col {
    align-items: center;
  }

  .ai-ripple-badge-pill,
  .ai-ripple-metrics-bar,
  .ai-ripple-action-row {
    justify-content: center;
  }

  .ai-ripple-visual-col {
    height: 400px;
  }
}

@media (max-width: 640px) {
  .ai-ripple-hero-section {
    padding: 100px 5% 60px;
  }

  .ai-ripple-main-title {
    font-size: 2.3rem;
  }

  .ai-ripple-metrics-bar {
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }

  .ripple-m-sep {
    display: none;
  }

  .ai-ripple-action-row {
    flex-direction: column;
    width: 100%;
  }

  .ai-ripple-btn-primary,
  .ai-ripple-btn-ghost {
    width: 100%;
    justify-content: center;
  }
}


/* Section 2 Starst  */

/* ==========================================================================
   Cyber-Neural Radar Hub & Orbit Matrix (Default Light Background #f8fafc)
   ========================================================================== */
.radar-matrix-section {
  position: relative;
  width: 100%;
  padding: 100px 5% 95px;
  background-color: #f8fafc; /* Default Light Background */
  color: #0f172a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow: hidden;
  box-sizing: border-box;
  border-bottom: 1px solid #e2e8f0;
}

.radar-master-container {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 55px;
}

/* Header Block */
.radar-header-block {
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.radar-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 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 8px rgba(15, 23, 42, 0.04);
  margin-bottom: 18px;
}

.radar-beacon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0284c7;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.8);
  animation: radarBeaconPulse 2s infinite;
}

@keyframes radarBeaconPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.65); }
}

.radar-main-title {
  font-size: clamp(2.3rem, 4.2vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #0f172a;
  margin: 0 0 12px 0;
}

.radar-gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.radar-lead-highlight {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 14px 0;
}

.radar-lead-desc {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

.radar-lead-desc strong {
  color: #0f172a;
}

/* Radar Orbit Workspace Layout (Left Column - Center Core - Right Column) */
.radar-orbit-workspace {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 280px 1fr;
  gap: 30px;
  align-items: center;
}

.radar-nodes-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Individual Floating Node Cards */
.radar-node-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.radar-node-card:hover {
  transform: translateY(-4px);
  border-color: #0284c7;
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.08);
}

.node-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.node-idx {
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 800;
  color: #0284c7;
}

.node-tag {
  font-family: monospace;
  font-size: 0.68rem;
  font-weight: 800;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.radar-node-card h3 {
  font-size: 1.05rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.01em;
}

.radar-node-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #64748b;
}

.node-pulse-dot {
  position: absolute;
  top: 24px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0284c7;
  box-shadow: 0 0 6px #0284c7;
}

.left-nodes .node-pulse-dot {
  right: -15px;
}

.right-nodes .node-pulse-dot {
  left: -15px;
}

/* Center Holographic Radar Core */
.radar-core-visual {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-sweep-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(2, 132, 199, 0.35);
  pointer-events: none;
}

.radar-sweep-ring.outer {
  width: 280px;
  height: 280px;
  animation: radarSpin 25s linear infinite;
}

.radar-sweep-ring.middle {
  width: 210px;
  height: 210px;
  border-style: solid;
  border-color: rgba(37, 99, 235, 0.2);
  animation: radarSpin 18s linear infinite reverse;
}

.radar-sweep-ring.inner {
  width: 140px;
  height: 140px;
  border-color: rgba(147, 51, 234, 0.3);
  animation: radarSpin 12s linear infinite;
}

@keyframes radarSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-core-center {
  position: relative;
  width: 90px;
  height: 90px;
  background: #ffffff;
  border: 2px solid #0284c7;
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(2, 132, 199, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  z-index: 2;
}

.core-icon {
  font-size: 1.4rem;
}

.core-label {
  font-family: monospace;
  font-size: 0.52rem;
  font-weight: 800;
  color: #0284c7;
  letter-spacing: 0.5px;
}

/* Capabilities Ribbon Dock */
.radar-capabilities-dock {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px 30px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.caps-header {
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #0284c7;
}

.caps-marquee-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cap-tag {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #334155;
  transition: all 0.2s ease;
}

.cap-tag:hover {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
}

/* Conclusion Banner */
.radar-conclusion-banner {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 35px;
  box-shadow: 0 6px 25px rgba(15, 23, 42, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.banner-info {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.banner-info h3 {
  font-size: 1.35rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
}

.banner-info p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: #64748b;
}

.banner-info strong {
  color: #0f172a;
}

.banner-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.banner-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.5);
}

.banner-action-btn svg {
  transition: transform 0.25s ease;
}

.banner-action-btn:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Staggered Scroll-Reveal Animations
   ========================================================================== */
.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="down"] { transform: translateY(-25px); }
.scroll-reveal[data-dir="up"]   { transform: translateY(25px); }
.scroll-reveal[data-dir="left"] { transform: translateX(-30px); }
.scroll-reveal[data-dir="right"]{ transform: translateX(30px); }

.scroll-reveal.revealed {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1100px) {
  .radar-orbit-workspace {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .radar-core-visual {
    order: -1;
    margin-bottom: 10px;
  }
  .node-pulse-dot {
    display: none;
  }
}

@media (max-width: 768px) {
  .radar-matrix-section {
    padding: 70px 5%;
  }

  .radar-conclusion-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .banner-action-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Section 2 ENds  */


/* Section 3 starts */

/* ==========================================================================
   AI & Data Solutions Services Pill Cloud Section (Matches Reference Layout)
   ========================================================================== */
.ai-services-pill-section {
  position: relative;
  width: 100%;
  padding: 100px 5% 95px;
  background-color: #f8fafc; /* Standard clean light mode background */
  color: #0f172a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow: hidden;
  box-sizing: border-box;
  border-bottom: 1px solid #e2e8f0;
}

.ai-pill-container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Header Block */
.ai-pill-header {
  max-width: 880px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ai-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;
}

.ai-pill-dot {
  width: 6px;
  height: 6px;
  background-color: #0284c7;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.8);
  animation: aiPillDotPulse 2s infinite;
}

@keyframes aiPillDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.6); }
}

.ai-pill-section-title {
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #0f172a;
  margin: 0 0 14px 0;
}

.ai-pill-lead-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 10px 0;
  line-height: 1.5;
}

.ai-pill-sublead-text {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
  max-width: 820px;
}

/* ==========================================================================
   Center-Aligned Pill Button Cloud
   ========================================================================== */
.ai-pill-links-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 14px;
  max-width: 1150px;
  margin: 0 auto;
}

/* Rounded-Rectangle Button Pill Style */
.ai-service-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  background-color: #ffffff;
  color: #1e293b;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  border-radius: 30px; /* Fully rounded smooth pills */
  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);
}

.ai-service-pill-btn:hover {
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(2, 132, 199, 0.12);
  background-color: #ffffff;
}

.ai-service-pill-btn:active {
  transform: translateY(0);
}

/* 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 Rules */
@media (max-width: 768px) {
  .ai-services-pill-section {
    padding: 70px 5%;
  }

  .ai-pill-links-cloud {
    gap: 10px;
  }

  .ai-service-pill-btn {
    padding: 10px 20px;
    font-size: 0.84rem;
  }
}

/* Section 3 ENds  */


/* Section 4 STarts  */

/* ==========================================================================
   Asymmetrical Telemetry HUD Matrix (Default Light Theme #f8fafc)
   ========================================================================== */
.dx-unique-service {
  position: relative;
  width: 100%;
  padding: 100px 5%;
  background-color: #f8fafc; /* Default clean light background */
  color: #0f172a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow: hidden;
  border-bottom: 1px solid #e2e8f0;
  box-sizing: border-box;
}

.dx-container {
  max-width: 1320px;
  margin: 0 auto;
}

/* Header Flex Row */
.dx-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 35px;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 20px;
}

.dx-kicker {
  display: inline-block;
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: #0284c7;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.dx-title {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 900;
  line-height: 1.15;
  color: #0f172a;
  margin: 0 0 6px 0;
  letter-spacing: -0.025em;
}

.dx-sub {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0284c7;
  margin: 0;
}

.dx-badge-hud {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  font-family: monospace;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.76rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

/* Split-Pane Layout Grid */
.dx-grid-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}

.dx-grid-split.reverse {
  grid-template-columns: 1fr 1.1fr;
}

.dx-desc {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 24px 0;
}

.dx-feat-label {
  font-family: monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #0f172a;
  margin: 0 0 12px 0;
}

/* Chip Cloud */
.dx-chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dx-chip {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.81rem;
  font-weight: 700;
  color: #334155;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.02);
  transition: all 0.2s ease;
}

.dx-chip:hover {
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-2px);
}

/* Image Frames */
.dx-img-box {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
}

.dx-img-box img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.dx-img-box:hover img {
  transform: scale(1.03);
}

/* Staggered Scroll-Reveal Animations */
.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(-35px); }
.scroll-reveal[data-dir="right"] { transform: translateX(35px); }
.scroll-reveal[data-dir="up"]    { transform: translateY(25px); }

.scroll-reveal.revealed {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* Responsive Adaptations */
@media (max-width: 1080px) {
  .dx-grid-split,
  .dx-grid-split.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .dx-unique-service {
    padding: 70px 5%;
  }
  .dx-img-box img {
    height: 260px;
  }
}

/* Section 4 Ends  */


/* Section last  */

/* ==========================================================================
   Interactive Step Deck Process Section (Default Light Background #f8fafc)
   ========================================================================== */
.dx-interactive-deck-section {
  position: relative;
  width: 100%;
  padding: 100px 5% 95px;
  background-color: #f8fafc; /* Default clean light background */
  color: #0f172a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow: hidden;
  box-sizing: border-box;
  border-bottom: 1px solid #e2e8f0;
}

.dx-deck-master-container {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* Header Block */
.dx-deck-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dx-deck-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #2563eb;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  margin-bottom: 18px;
}

.dx-deck-beacon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.8);
  animation: deckBeaconPulse 2s infinite;
}

@keyframes deckBeaconPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.65); }
}

.dx-deck-main-title {
  font-size: clamp(2.3rem, 4.2vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #0f172a;
  margin: 0 0 10px 0;
}

.dx-deck-lead-highlight {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2563eb;
  margin: 0 0 14px 0;
}

.dx-deck-lead-desc {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

/* Workspace Container */
.dx-deck-workspace {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Stepper Bar Tabs */
.dx-deck-stepper-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

.dx-step-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s ease;
  border-bottom: 3px solid transparent;
}

.tab-num {
  font-family: monospace;
  font-size: 0.76rem;
  font-weight: 900;
  color: #64748b;
  background: #e2e8f0;
  padding: 2px 6px;
  border-radius: 6px;
}

.tab-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: #475569;
}

.dx-step-tab:hover {
  background: rgba(255, 255, 255, 0.6);
}

.dx-step-tab:hover .tab-text {
  color: #0f172a;
}

.dx-step-tab.active {
  background: #ffffff;
  border-bottom-color: #2563eb;
}

.dx-step-tab.active .tab-num {
  background: #eff6ff;
  color: #2563eb;
}

.dx-step-tab.active .tab-text {
  color: #0f172a;
  font-weight: 900;
}

/* Display Card Panels */
.dx-deck-display-card {
  position: relative;
  min-height: 320px;
  padding: 45px;
  background: #ffffff;
}

.dx-stage-panel {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  padding: 45px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.dx-stage-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.stage-info-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stage-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stage-badge-code {
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 800;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 3px 10px;
  border-radius: 6px;
}

.stage-status-live {
  font-family: monospace;
  font-size: 0.68rem;
  font-weight: 800;
  color: #10b981;
  letter-spacing: 0.5px;
}

.stage-info-col h3 {
  font-size: 2rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
}

.stage-info-col p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #475569;
}

.stage-key-metric {
  margin-top: 4px;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #2563eb;
  border-radius: 0 10px 10px 0;
  font-size: 0.86rem;
  color: #334155;
  font-weight: 600;
}

.stage-key-metric strong {
  color: #0f172a;
}

/* Stage Visual Graphics Box */
.stage-visual-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-visual-box {
  position: relative;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 4px 15px rgba(15, 23, 42, 0.04);
}

.big-icon {
  font-size: 3.5rem;
  z-index: 2;
  animation: floatIcon 3s ease-in-out infinite alternate;
}

@keyframes floatIcon {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.visual-glow-orb {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  z-index: 1;
  animation: pulseOrb 3s ease-in-out infinite alternate;
}

@keyframes pulseOrb {
  0% { transform: scale(0.95); opacity: 0.5; }
  100% { transform: scale(1.1); opacity: 1; }
}

/* Trace Dock */
.dx-deck-trace-dock {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px 30px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.trace-deck-label {
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #2563eb;
}

.trace-deck-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.td-item {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #334155;
}

.td-highlight {
  background: linear-gradient(135deg, #2563eb 0%, #9333ea 100%);
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
}

.td-sep {
  color: #cbd5e1;
  font-weight: 900;
  font-size: 0.85rem;
}

/* ==========================================================================
   Staggered Scroll-Reveal Animations
   ========================================================================== */
.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="down"] { transform: translateY(-25px); }
.scroll-reveal[data-dir="up"]   { transform: translateY(25px); }

.scroll-reveal.revealed {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 900px) {
  .dx-deck-stepper-bar {
    grid-template-columns: repeat(3, 1fr);
  }
  .dx-stage-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .stage-visual-col {
    order: -1;
  }
  .stage-visual-box {
    width: 130px;
    height: 130px;
  }
  .big-icon {
    font-size: 2.5rem;
  }
}

@media (max-width: 600px) {
  .dx-interactive-deck-section {
    padding: 70px 5%;
  }
  .dx-deck-stepper-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .dx-deck-display-card,
  .dx-stage-panel {
    padding: 25px;
  }
  .stage-info-col h3 {
    font-size: 1.5rem;
  }
  .td-sep {
    display: none;
  }
}

/* Section Last  */