:root {
  --teal-primary: #01C3AE;
  --mint-accent: #63EAC3;
  --teal-dark: #005B68;
  --dark-bg: #0A1628;
  --dark-secondary: #0F2847;
  --dark-surface: #162D50;
  --dark-border: #1E3A5F;
  --neural-pulse: rgba(1, 195, 174, 0.4);
}

body {
  background-color: var(--dark-bg);
  color: white;
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Header Navigation */
.site-header {
  padding: 1.5rem 0;
  background: linear-gradient(to bottom, rgba(10, 22, 40, 0.8) 0%, rgba(10, 22, 40, 0) 100%);
  border-bottom: 1px solid transparent;
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.header-scrolled {
  padding: 1rem 0;
  background: rgba(15, 40, 71, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(1, 195, 174, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Typography */
h1 {
  letter-spacing: -0.04em;
  line-height: 1.05;
  filter: drop-shadow(0 0 30px rgba(1, 195, 174, 0.1));
}

.hero-subtitle {
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  line-height: 1.2 !important;
}

.text-reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  filter: blur(4px);
  transition: all 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.text-reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--teal-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--mint-accent);
}

/* Glass morphism */
.glass {
  background: rgba(15, 40, 71, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(1, 195, 174, 0.15);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Nav Dropdown & Mobile Menu Opaque Fix */
#solutions-dropdown, #mobile-menu {
  background: rgba(10, 22, 40, 0.98);
}

.glass-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transition: 0.5s;
}

.glass-card:hover::before {
  left: 100%;
}

.glass-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--teal-primary);
  box-shadow: 0 0 30px rgba(1, 195, 174, 0.2);
}

.text-gradient {
  background: linear-gradient(135deg, var(--teal-primary), var(--mint-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Background Canvas */
#neural-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 0%, var(--dark-bg) 80%);
  z-index: -1;
}

/* Animations */
@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 var(--neural-pulse); }
  70% { box-shadow: 0 0 0 15px rgba(1, 195, 174, 0); }
  100% { box-shadow: 0 0 0 0 rgba(1, 195, 174, 0); }
}

.pulse-button {
  animation: pulse-glow 2s infinite;
}

.parallax-section {
  position: relative;
  overflow: hidden;
}

@keyframes scroll-line {
  0% { transform: translateY(-100%); opacity: 0; }
  50% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

.scroll-line-anim {
  overflow: hidden;
  position: relative;
}

.scroll-line-anim::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--teal-primary);
  animation: scroll-line 2s infinite ease-in-out;
}

@keyframes tracking-in {
  0% { letter-spacing: -0.5em; opacity: 0; filter: blur(10px); }
  100% { letter-spacing: -0.04em; opacity: 1; filter: blur(0); }
}

.animate-tracking {
  animation: tracking-in 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Hover Neural Effect */
.neural-link {
  position: relative;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.neural-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--mint-accent);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--teal-primary);
}

.neural-link:hover::after {
  width: 100%;
}

.neural-link:hover {
  text-shadow: 0 0 8px var(--teal-primary);
}

/* Elegant Links */
.elegant-link {
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: var(--teal-primary);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.elegant-link-line {
  width: 40px;
  height: 2px;
  background: var(--teal-primary);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.elegant-link:hover {
  color: var(--mint-accent);
}

.elegant-link:hover .elegant-link-line {
  width: 120px;
  background: var(--mint-accent);
  box-shadow: 0 0 15px var(--teal-primary);
}

/* --- Lifecycle Architecture Animation --- */
.lifecycle-wrapper {
  --lc-glass-bg: rgba(255, 255, 255, 0.03);
  --lc-glass-border: rgba(255, 255, 255, 0.1);

  --lc-accent-cyan: var(--teal-primary);
  --lc-accent-blue: var(--mint-accent);
  --lc-accent-magenta: var(--teal-primary);
  --lc-accent-gold: #ffd700;

  --lc-text-main: #ffffff;
  --lc-text-muted: rgba(255, 255, 255, 0.6);

  position: relative;
  width: 100%;
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  overflow: hidden;
  margin-top: 0;
  font-family: 'Inter', sans-serif;
  background: transparent;
}

.temporal-layer {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  overflow: hidden;
  opacity: 0.15;
  pointer-events: none;
}

/* ... (temporal-layer styles) ... */

.arch-grid {
  display: grid;
  grid-template-columns: 1fr 200px 1fr 150px 1fr;
  grid-template-rows: 1fr;
  align-items: center;
  justify-items: center;
  width: 140%;
  max-width: none;
  height: 80%;
  z-index: 10;
  position: relative;
  transform: scale(0.75);
}

.col-input {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.data-card {
  background: var(--lc-glass-bg);
  border: 1px solid var(--lc-glass-border);
  padding: 15px;
  border-radius: 8px;
  position: relative;
  transition: 0.3s;
  backdrop-filter: blur(5px);
  text-align: left;
}

.data-card:hover {
  border-color: var(--lc-accent-cyan);
  box-shadow: 0 0 15px rgba(1, 195, 174, 0.2);
  transform: translateX(5px);
}

.card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--lc-accent-cyan);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-desc {
  font-size: 0.75rem;
  color: var(--lc-text-muted);
}

.data-card::after {
  content: '';
  position: absolute;
  right: -10px; top: 50%;
  width: 8px; height: 8px;
  background: var(--lc-accent-cyan);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 10px var(--lc-accent-cyan);
}

.dc-1::after { animation: emitData 3s infinite 0s; }
.dc-2::after { animation: emitData 3s infinite 1s; }
.dc-3::after { animation: emitData 3s infinite 2s; }

.col-streams {
  position: relative;
  width: 100%;
  height: 80%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.stream-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lc-glass-border), transparent);
  position: relative;
}

.stream-packet {
  position: absolute;
  top: -2px; left: 0;
  width: 20px; height: 6px;
  background: var(--lc-accent-cyan);
  border-radius: 3px;
  box-shadow: 0 0 10px var(--lc-accent-cyan);
  animation: streamFlow 2s linear infinite;
}

.sl-1 .stream-packet { animation-delay: 0.2s; }
.sl-2 .stream-packet { animation-delay: 1.2s; }
.sl-3 .stream-packet { animation-delay: 0.8s; }

.feature-label {
  position: absolute;
  font-size: 0.6rem;
  color: var(--lc-accent-cyan);
  opacity: 0.7;
  top: -15px; left: 30%;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.col-agents {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.agent-node {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 2px solid var(--lc-accent-blue);
  background: rgba(34, 90, 240, 0.1);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 20px rgba(34, 90, 240, 0.3);
  animation: pulseAgent 4s ease-in-out infinite;
  z-index: 5;
}

.agent-icon {
  width: 40%; height: 40%;
  background: var(--lc-accent-blue);
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.agent-label {
  position: absolute;
  left: 75px;
  width: 120px;
  font-size: 0.8rem;
  color: var(--lc-accent-blue);
  font-weight: 700;
  text-shadow: 0 0 5px rgba(34, 90, 240, 0.5);
  opacity: 0;
  text-align: left;
  animation: fadeInLabel 4s infinite alternate;
}

.ag-1 { animation-delay: 0s; }
.ag-2 { animation-delay: 1.5s; border-color: var(--lc-accent-magenta); }
.ag-2 .agent-icon { background: var(--lc-accent-magenta); }
.ag-2 .agent-label { color: var(--lc-accent-magenta); }
.ag-3 { animation-delay: 0.5s; }

.col-connect {
  position: relative;
  width: 100%;
  height: 100%;
}

.svg-connect {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.connect-path {
  fill: none;
  stroke: var(--lc-accent-magenta);
  stroke-width: 2;
  stroke-dasharray: 10;
  opacity: 0.5;
  animation: dashMove 1s linear infinite;
}

.col-integration {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.core-ensemble {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--lc-accent-magenta) 0%, transparent 70%);
  border: 1px solid rgba(255,255,255,0.2);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 50px rgba(1, 195, 174, 0.4);
}

.core-ring {
  position: absolute;
  top: -10px; left: -10px; right: -10px; bottom: -10px;
  border: 2px solid var(--lc-accent-cyan);
  border-radius: 50%;
  border-top-color: transparent;
  border-bottom-color: transparent;
  animation: rotateRing 4s linear infinite reverse;
}

.output-beam {
  margin-top: 30px;
  width: 2px;
  height: 50px;
  background: linear-gradient(to bottom, var(--lc-accent-magenta), transparent);
}

.final-card {
  margin-top: 10px;
  background: linear-gradient(135deg, rgba(230,0,255,0.1), rgba(0,255,242,0.1));
  border: 1px solid var(--lc-accent-cyan);
  padding: 20px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(1, 195, 174, 0.15);
  animation: floatCard 6s ease-in-out infinite;
}

.final-title {
  font-size: 1rem;
  color: var(--lc-accent-cyan);
  font-weight: 800;
  margin-bottom: 5px;
}

.final-sub {
  font-size: 0.7rem;
  color: white;
  opacity: 0.8;
}

@keyframes timeScroll {
  0% { transform: perspective(500px) rotateX(20deg) translateX(0); }
  100% { transform: perspective(500px) rotateX(20deg) translateX(-50%); }
}

@keyframes driftWave {
  0% { transform: translateY(-60%) scaleY(1); opacity: 0.3; }
  100% { transform: translateY(-40%) scaleY(1.5); opacity: 0.6; }
}

@keyframes emitData {
  0% { transform: translateX(0) scale(1); opacity: 1; }
  100% { transform: translateX(50px) scale(0); opacity: 0; }
}

@keyframes streamFlow {
  0% { left: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes pulseAgent {
  0% { transform: scale(1); box-shadow: 0 0 20px rgba(34, 90, 240, 0.3); }
  50% { transform: scale(1.1); box-shadow: 0 0 40px rgba(34, 90, 240, 0.6); }
  100% { transform: scale(1); box-shadow: 0 0 20px rgba(34, 90, 240, 0.3); }
}

@keyframes rotateCore {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes rotateRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes dashMove {
  to { stroke-dashoffset: -20; }
}

@keyframes fadeInLabel {
  0%, 20% { opacity: 0; transform: translateX(-10px); }
  50%, 80% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(-10px); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 1024px) {
  .arch-grid {
      grid-template-columns: 1fr;
      grid-template-rows: auto;
      height: auto;
      gap: 30px;
      padding: 40px 20px;
  }
  .col-streams, .col-connect { display: none; }
  .col-agents { flex-direction: row; gap: 20px; flex-wrap: wrap; }
  .agent-label { display: none; }
  .lifecycle-wrapper { height: auto; }
  .temporal-layer { display: none; }
}

/* ===================================
   PLATFORM PAGE - NEW STYLES
   =================================== */

/* --- Architecture Diagram --- */
.architecture-diagram {
  position: relative;
  padding: 40px 0;
}

.arch-nodes-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .arch-nodes-container {
    flex-wrap: nowrap;
  }
}

.arch-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px;
  position: relative;
  z-index: 10;
}

.arch-node:hover {
  transform: translateY(-5px);
}

.arch-node.active .arch-node-circle {
  transform: scale(1.1);
}

.arch-node.active .arch-node-ring circle {
  stroke: var(--mint-accent);
  stroke-dashoffset: 0;
}

.arch-node-circle {
  width: 120px;
  height: 120px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.arch-node-inner {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dark-surface), var(--dark-secondary));
  border: 2px solid var(--dark-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
  box-shadow: 0 0 30px rgba(1, 195, 174, 0.1);
}

.arch-node:hover .arch-node-inner {
  border-color: var(--teal-primary);
  box-shadow: 0 0 40px rgba(1, 195, 174, 0.3);
}

.arch-node.active .arch-node-inner {
  border-color: var(--mint-accent);
  background: linear-gradient(135deg, var(--dark-surface), rgba(1, 195, 174, 0.1));
  box-shadow: 0 0 50px rgba(1, 195, 174, 0.4);
}

.arch-node-number {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--teal-primary);
  letter-spacing: 0.1em;
}

.arch-node-icon {
  width: 28px;
  height: 28px;
  color: var(--slate-300, #cbd5e1);
  transition: color 0.3s ease;
}

.arch-node:hover .arch-node-icon,
.arch-node.active .arch-node-icon {
  color: var(--teal-primary);
}

.arch-node-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.arch-node-ring circle {
  fill: none;
  stroke: var(--teal-primary);
  stroke-width: 2;
  stroke-dasharray: 302;
  stroke-dashoffset: 302;
  transition: stroke-dashoffset 0.8s ease, stroke 0.3s ease;
  transform: rotate(-90deg);
  transform-origin: center;
}

.arch-node:hover .arch-node-ring circle {
  stroke-dashoffset: 151;
}

.arch-node-title {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-top: 16px;
  text-align: center;
}

.arch-node-subtitle {
  font-size: 0.75rem;
  color: var(--teal-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* Connection Lines */
.arch-connection {
  width: 80px;
  height: 3px;
  position: relative;
  display: none;
}

@media (min-width: 768px) {
  .arch-connection {
    display: block;
  }
}

.arch-connection-line {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--dark-border), var(--teal-primary), var(--dark-border));
  border-radius: 2px;
  opacity: 0.5;
}

.arch-connection-pulse {
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 6px;
  background: var(--teal-primary);
  border-radius: 3px;
  transform: translateY(-50%);
  animation: archPulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px var(--teal-primary);
}

@keyframes archPulse {
  0%, 100% { left: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: calc(100% - 20px); opacity: 0; }
}

/* Panels */
.arch-panels {
  position: relative;
  min-height: 0;
  transition: min-height 0.4s ease;
}

.arch-panel {
  display: none;
  background: rgba(15, 40, 71, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--dark-border);
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  animation: panelSlideIn 0.4s ease;
  margin-top: 20px;
}

.arch-panel.active {
  display: block;
}

@keyframes panelSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.arch-panel-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  border-bottom: 1px solid var(--dark-border);
  background: rgba(1, 195, 174, 0.05);
}

.arch-panel-badge {
  padding: 6px 12px;
  background: var(--teal-primary);
  color: var(--dark-bg);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 6px;
}

.arch-panel-header .arch-panel-title {
  flex: 1;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.arch-panel-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  color: var(--slate-400, #94a3b8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.arch-panel-close:hover {
  background: var(--teal-primary);
  border-color: var(--teal-primary);
  color: var(--dark-bg);
}

.arch-panel-content {
  padding: 32px;
}

.arch-panel-subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--mint-accent);
  margin-bottom: 16px;
}

.arch-panel-text {
  font-size: 1.15rem;
  color: var(--slate-400, #94a3b8);
  line-height: 1.7;
  margin-bottom: 16px;
}

.arch-panel-text strong {
  color: white;
}

.arch-panel-feature {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: rgba(1, 195, 174, 0.05);
  border: 1px solid rgba(1, 195, 174, 0.2);
  border-radius: 16px;
  margin-top: 24px;
}

.arch-panel-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-primary);
  color: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.arch-panel-feature h5 {
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.arch-panel-feature p {
  font-size: 1.05rem;
  color: var(--slate-400, #94a3b8);
  line-height: 1.6;
}

.arch-panel-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .arch-panel-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.arch-panel-feature-item {
  padding: 20px;
  background: rgba(1, 195, 174, 0.05);
  border: 1px solid rgba(1, 195, 174, 0.15);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.arch-panel-feature-item:hover {
  border-color: var(--teal-primary);
  transform: translateY(-3px);
}

.arch-panel-feature-item h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal-primary);
  margin-bottom: 8px;
}

.arch-panel-feature-item p {
  font-size: 1rem;
  color: var(--slate-400, #94a3b8);
  line-height: 1.6;
}

.arch-panel-agents {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.arch-panel-agent {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.arch-panel-agent:hover {
  border-color: var(--teal-primary);
  transform: translateX(5px);
}

.arch-panel-agent-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-primary), var(--mint-accent));
  color: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.arch-panel-agent h5 {
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.arch-panel-agent p {
  font-size: 1rem;
  color: var(--slate-400, #94a3b8);
}

.arch-panel-conclusion {
  font-size: 1.15rem;
  color: var(--slate-300, #cbd5e1);
  line-height: 1.7;
  padding: 20px;
  background: rgba(1, 195, 174, 0.08);
  border-left: 3px solid var(--teal-primary);
  border-radius: 0 12px 12px 0;
  margin-top: 24px;
}

/* --- Stats Grid --- */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.stat-card {
  background: rgba(15, 40, 71, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid var(--dark-border);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-primary), var(--mint-accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
  border-color: var(--teal-primary);
  box-shadow: 0 20px 40px rgba(1, 195, 174, 0.15);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-card-featured {
  background: linear-gradient(135deg, rgba(1, 195, 174, 0.1), rgba(99, 234, 195, 0.05));
  border-color: rgba(1, 195, 174, 0.3);
}

@media (min-width: 1024px) {
  .stat-card-featured {
    grid-column: span 1;
  }
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 3rem;
  }
}

.stat-plus {
  color: var(--teal-primary);
  font-weight: 800;
}

.stat-label {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.stat-sublabel {
  font-size: 0.8rem;
  color: var(--slate-500, #64748b);
  line-height: 1.5;
}

/* --- White Box Comparison --- */
.whitebox-comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.whitebox-example {
  padding: 24px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.whitebox-bad {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.whitebox-good {
  background: rgba(1, 195, 174, 0.08);
  border: 1px solid rgba(1, 195, 174, 0.3);
  box-shadow: 0 0 30px rgba(1, 195, 174, 0.1);
}

.whitebox-example-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.whitebox-bad .whitebox-example-header {
  color: #ef4444;
}

.whitebox-good .whitebox-example-header {
  color: var(--teal-primary);
}

.whitebox-example-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--slate-300, #cbd5e1);
}

.whitebox-bad .whitebox-example-text {
  font-style: italic;
  color: var(--slate-400, #94a3b8);
}

.whitebox-arrow {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}

/* --- Counter Animation (for stats) --- */
.stat-number[data-count] {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.stat-number[data-count].counted {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   LIFECYCLE PAGE - STYLES
   =================================== */

/* --- Funnel Background --- */
.lifecycle-funnel-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.funnel-svg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateY(-50%);
  opacity: 0.5;
}

.funnel-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.funnel-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(1, 195, 174, 0.3) 0%,
    rgba(1, 195, 174, 0.1) 50%,
    rgba(1, 195, 174, 0.02) 100%
  );
  left: 0;
  right: 0;
}

.funnel-line-1 {
  top: 30%;
  transform: rotate(-3deg);
}

.funnel-line-2 {
  top: 50%;
}

.funnel-line-3 {
  top: 70%;
  transform: rotate(3deg);
}

/* --- Lifecycle Diagram --- */
.lifecycle-diagram {
  position: relative;
  padding: 20px 0;
}

.lifecycle-nodes-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

@media (min-width: 1024px) {
  .lifecycle-nodes-container {
    flex-wrap: nowrap;
    gap: 0;
  }
}

/* --- Lifecycle Node --- */
.lifecycle-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 16px;
  position: relative;
  z-index: 10;
  width: 140px;
}

@media (min-width: 1024px) {
  .lifecycle-node {
    width: auto;
    padding: 20px;
  }
}

.lifecycle-node:hover {
  transform: translateY(-5px);
}

.lifecycle-node.active {
  transform: translateY(-8px);
}

.lifecycle-node-circle {
  width: 80px;
  height: 80px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

@media (min-width: 768px) {
  .lifecycle-node-circle {
    width: 100px;
    height: 100px;
  }
}

.lifecycle-node-inner {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dark-surface), var(--dark-secondary));
  border: 2px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
  box-shadow: 0 0 20px rgba(1, 195, 174, 0.1);
}

@media (min-width: 768px) {
  .lifecycle-node-inner {
    width: 85px;
    height: 85px;
  }
}

.lifecycle-node:hover .lifecycle-node-inner {
  border-color: var(--teal-primary);
  box-shadow: 0 0 30px rgba(1, 195, 174, 0.3);
}

.lifecycle-node.active .lifecycle-node-inner {
  border-color: var(--mint-accent);
  background: linear-gradient(135deg, var(--dark-surface), rgba(1, 195, 174, 0.15));
  box-shadow: 0 0 40px rgba(1, 195, 174, 0.4);
}

.lifecycle-node-icon {
  width: 28px;
  height: 28px;
  color: var(--slate-300, #cbd5e1);
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .lifecycle-node-icon {
    width: 32px;
    height: 32px;
  }
}

.lifecycle-node:hover .lifecycle-node-icon,
.lifecycle-node.active .lifecycle-node-icon {
  color: var(--teal-primary);
  transform: scale(1.1);
}

.lifecycle-node-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.lifecycle-node-ring circle {
  fill: none;
  stroke: var(--teal-primary);
  stroke-width: 2;
  stroke-dasharray: 290;
  stroke-dashoffset: 290;
  transition: stroke-dashoffset 0.8s ease, stroke 0.3s ease;
  transform: rotate(-90deg);
  transform-origin: center;
}

.lifecycle-node:hover .lifecycle-node-ring circle {
  stroke-dashoffset: 145;
}

.lifecycle-node.active .lifecycle-node-ring circle {
  stroke: var(--mint-accent);
  stroke-dashoffset: 0;
}

.lifecycle-node-label {
  text-align: center;
  margin-top: 16px;
}

.lifecycle-node-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .lifecycle-node-title {
    font-size: 1rem;
  }
}

.lifecycle-node-subtitle {
  font-size: 0.7rem;
  color: var(--teal-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .lifecycle-node-subtitle {
    font-size: 0.75rem;
  }
}

/* --- Lifecycle Connection --- */
.lifecycle-connection {
  display: none;
  align-items: center;
  justify-content: center;
  width: 60px;
  position: relative;
}

@media (min-width: 1024px) {
  .lifecycle-connection {
    display: flex;
    width: 80px;
  }
}

.lifecycle-connection-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-primary), var(--dark-border));
  opacity: 0.4;
}

.lifecycle-connection-arrow {
  position: absolute;
  width: 20px;
  height: 20px;
  color: var(--teal-primary);
  opacity: 0.6;
}

/* --- Lifecycle Panels --- */
.lifecycle-panels {
  position: relative;
  min-height: 0;
}

.lifecycle-panel {
  display: none;
  background: rgba(15, 40, 71, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid var(--dark-border);
  border-radius: 24px;
  overflow: hidden;
  animation: lifecyclePanelIn 0.4s ease;
  margin-top: 20px;
}

.lifecycle-panel.active {
  display: block;
}

@keyframes lifecyclePanelIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lifecycle-panel-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--dark-border);
  background: rgba(1, 195, 174, 0.05);
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .lifecycle-panel-header {
    padding: 24px 32px;
    flex-wrap: nowrap;
  }
}

.lifecycle-panel-badge {
  padding: 6px 12px;
  background: var(--teal-primary);
  color: var(--dark-bg);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 6px;
  flex-shrink: 0;
}

.lifecycle-panel-header .lifecycle-panel-title {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

@media (min-width: 768px) {
  .lifecycle-panel-header .lifecycle-panel-title {
    font-size: 1.25rem;
  }
}

.lifecycle-panel-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  color: var(--slate-400, #94a3b8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.lifecycle-panel-close:hover {
  background: var(--teal-primary);
  border-color: var(--teal-primary);
  color: var(--dark-bg);
}

.lifecycle-panel-content {
  padding: 24px;
}

@media (min-width: 768px) {
  .lifecycle-panel-content {
    padding: 32px;
  }
}

.lifecycle-panel-goal {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: none;
  margin-bottom: 16px;
}

.lifecycle-panel-goal-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--teal-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.lifecycle-panel-goal-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
}

.lifecycle-panel-subtitle {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--mint-accent);
  margin-bottom: 8px;
}

.lifecycle-panel-text {
  font-size: 1rem;
  color: var(--slate-400, #94a3b8);
  line-height: 1.6;
  margin-bottom: 20px;
}

.lifecycle-panel-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .lifecycle-panel-features {
    flex-direction: row;
    gap: 32px;
  }
}

.lifecycle-panel-feature {
  flex: 1;
  padding: 0;
  background: transparent;
  border: none;
  display: block;
}

.lifecycle-panel-feature h5 {
  font-size: 0.9rem;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lifecycle-panel-feature h5::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--teal-primary);
  border-radius: 50%;
}

.lifecycle-panel-feature p {
  font-size: 0.85rem;
  color: var(--slate-400, #94a3b8);
  line-height: 1.5;
}

.lifecycle-panel-impact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 0 0 0;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 8px;
}

.lifecycle-panel-impact > i {
  color: var(--mint-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.lifecycle-panel-impact-label {
  font-weight: 800;
  color: var(--teal-primary);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  margin-right: 8px;
}

.lifecycle-panel-impact span:last-child {
  color: var(--slate-300, #cbd5e1);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ===================================
   PIPELINE DIAGRAM - Clinical Development Stages
   =================================== */

.pipeline-container {
  position: relative;
  padding: 40px 0;
}

/* Funnel Background - Contained */
.pipeline-funnel {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  height: calc(100% - 32px);
  overflow: hidden;
  pointer-events: none;
}

.pipeline-funnel-svg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateY(-50%);
}

.pipeline-funnel-lines {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 100%;
  transform: translateY(-50%);
}

.pipeline-funnel-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
}

.pipeline-funnel-line-top {
  top: 24%;
  background: linear-gradient(90deg,
    rgba(1, 195, 174, 0.3) 0%,
    rgba(1, 195, 174, 0.16) 50%,
    rgba(1, 195, 174, 0.04) 100%
  );
  transform: rotate(3deg);
  transform-origin: left center;
}

.pipeline-funnel-line-bottom {
  bottom: 24%;
  background: linear-gradient(90deg,
    rgba(1, 195, 174, 0.3) 0%,
    rgba(1, 195, 174, 0.16) 50%,
    rgba(1, 195, 174, 0.04) 100%
  );
  transform: rotate(-3deg);
  transform-origin: left center;
}

/* Pipeline Nodes Container */
.pipeline-nodes {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .pipeline-nodes {
    flex-wrap: nowrap;
    gap: 0;
  }
}

/* Pipeline Node */
.pipeline-node {
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 12px;
}

@media (min-width: 768px) {
  .pipeline-node {
    padding: 16px;
  }
}

.pipeline-node:hover {
  transform: translateY(-5px);
}

.pipeline-node.active {
  transform: translateY(-8px);
}

.pipeline-node-stage {
  display: grid;
  grid-template-rows: 2.2em auto 2.4em;
  row-gap: 12px;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.pipeline-node-phase {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--teal-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
  opacity: 0.8;
}

@media (min-width: 768px) {
  .pipeline-node-phase {
    font-size: 0.7rem;
  }
}

.pipeline-node-circle {
  width: 56px;
  height: 56px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .pipeline-node-circle {
    width: 72px;
    height: 72px;
  }
}

.pipeline-node-inner {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dark-surface), var(--dark-secondary));
  border: 2px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .pipeline-node-inner {
    width: 60px;
    height: 60px;
  }
}

.pipeline-node:hover .pipeline-node-inner {
  border-color: var(--teal-primary);
  box-shadow: 0 0 30px rgba(1, 195, 174, 0.3);
}

.pipeline-node.active .pipeline-node-inner {
  border-color: var(--mint-accent);
  background: linear-gradient(135deg, rgba(1, 195, 174, 0.2), var(--dark-surface));
  box-shadow: 0 0 40px rgba(1, 195, 174, 0.5);
}

.pipeline-node-number {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--slate-400, #94a3b8);
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .pipeline-node-number {
    font-size: 1.5rem;
  }
}

.pipeline-node:hover .pipeline-node-number,
.pipeline-node.active .pipeline-node-number {
  color: var(--teal-primary);
}

.pipeline-node-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  line-height: 1.15;
  max-width: 100px;
}

@media (min-width: 768px) {
  .pipeline-node-title {
    font-size: 1rem;
    max-width: 120px;
  }
}

/* Pipeline Connector */
.pipeline-connector {
  display: none;
  align-items: center;
  justify-content: center;
  width: 50px;
  position: relative;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .pipeline-connector {
    display: flex;
    width: 60px;
  }
}

.pipeline-connector-line {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg,
    var(--teal-primary) 0%,
    rgba(1, 195, 174, 0.3) 100%
  );
  border-radius: 2px;
}

.pipeline-connector-arrow {
  position: absolute;
  right: 0;
  color: var(--teal-primary);
  opacity: 0.7;
}

/* ===================================
   TRANSFORMATION FLOW - Value Lifecycle Hero
   =================================== */

.transformation-flow {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

@media (min-width: 1024px) {
  .transformation-flow {
    flex-direction: row;
    gap: 0;
    align-items: stretch;
  }
}

/* Transform Cards */
.transform-card {
  position: relative;
  flex: 1;
  padding: 32px;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 1024px) {
  .transform-card {
    padding: 40px;
  }
}

.transform-card-content {
  position: relative;
  z-index: 2;
}

.transform-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.transform-card:hover .transform-card-glow {
  opacity: 1;
}

/* Problem Card */
.transform-problem {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(15, 40, 71, 0.6) 100%);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.transform-problem:hover {
  border-color: rgba(239, 68, 68, 0.4);
  transform: translateY(-4px);
}

.transform-problem-glow {
  background: radial-gradient(ellipse at top left, rgba(239, 68, 68, 0.15) 0%, transparent 60%);
}

/* Solution Card */
.transform-solution {
  background: linear-gradient(135deg, rgba(1, 195, 174, 0.12) 0%, rgba(15, 40, 71, 0.6) 100%);
  border: 1px solid rgba(1, 195, 174, 0.3);
  box-shadow: 0 0 40px rgba(1, 195, 174, 0.1);
}

.transform-solution:hover {
  border-color: rgba(1, 195, 174, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 0 60px rgba(1, 195, 174, 0.2);
}

.transform-solution-glow {
  background: radial-gradient(ellipse at top right, rgba(1, 195, 174, 0.2) 0%, transparent 60%);
}

/* Transform Icon */
.transform-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.transform-icon-problem {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.transform-icon-solution {
  background: linear-gradient(135deg, var(--teal-primary), var(--mint-accent));
  color: var(--dark-bg);
  box-shadow: 0 0 20px rgba(1, 195, 174, 0.4);
}

/* Transform Labels */
.transform-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(239, 68, 68, 0.8);
  margin-bottom: 8px;
}

.transform-label-solution {
  color: var(--teal-primary);
}

/* Transform Title */
.transform-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .transform-title {
    font-size: 1.75rem;
  }
}

/* Transform Text */
.transform-text {
  font-size: 1rem;
  color: var(--slate-400, #94a3b8);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Transform Stat */
.transform-stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(239, 68, 68, 0.15);
}

.transform-stat-solution {
  border-top-color: rgba(1, 195, 174, 0.2);
}

.transform-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(239, 68, 68, 0.7);
  line-height: 1;
}

.transform-stat-solution .transform-stat-number {
  color: var(--teal-primary);
  text-shadow: 0 0 20px rgba(1, 195, 174, 0.5);
}

.transform-stat-label {
  font-size: 0.85rem;
  color: var(--slate-500, #64748b);
  line-height: 1.4;
}

/* Transform Connector */
.transform-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
  position: relative;
}

@media (min-width: 1024px) {
  .transform-connector {
    flex-direction: column;
    padding: 0 32px;
    min-width: 120px;
  }
}

.transform-connector-line {
  position: relative;
  width: 3px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(239, 68, 68, 0.3), var(--teal-primary));
  border-radius: 2px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .transform-connector-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, rgba(239, 68, 68, 0.3), var(--teal-primary));
  }
}

/* Animated Particles */
.transform-connector-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--teal-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--teal-primary), 0 0 20px var(--teal-primary);
  animation: flowParticleVertical 2s ease-in-out infinite;
}

@media (min-width: 1024px) {
  .transform-connector-particle {
    width: 10px;
    height: 10px;
    animation: flowParticle 2s ease-in-out infinite;
  }
}

.transform-connector-particle-2 {
  animation-delay: 0.6s;
  opacity: 0.7;
}

.transform-connector-particle-3 {
  animation-delay: 1.2s;
  opacity: 0.5;
}

@keyframes flowParticle {
  0% {
    left: -10px;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    left: calc(100% + 10px);
    opacity: 0;
  }
}

@keyframes flowParticleVertical {
  0% {
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
  }
}

.transform-connector-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark-bg);
  border: 2px solid var(--teal-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-primary);
  margin: 12px 0;
  box-shadow: 0 0 20px rgba(1, 195, 174, 0.3);
  animation: pulseIcon 2s ease-in-out infinite;
}

@keyframes pulseIcon {
  0%, 100% {
    box-shadow: 0 0 20px rgba(1, 195, 174, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(1, 195, 174, 0.6);
  }
}

.transform-connector-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ===================================
   SINGLE NARRATIVE BLOCK - Value Lifecycle Hero
   =================================== */

.narrative-block {
  background: linear-gradient(180deg, rgba(15, 40, 71, 0.4) 0%, rgba(1, 195, 174, 0.08) 100%);
  border: 1px solid var(--dark-border);
  border-radius: 24px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .narrative-block {
    padding: 56px 64px;
  }
}

/* Subtle top accent line */
.narrative-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal-primary), transparent);
  opacity: 0.5;
}

.narrative-section {
  position: relative;
}

/* Marker (label with line) */
.narrative-marker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.narrative-marker-line {
  width: 24px;
  height: 2px;
  background: rgba(239, 68, 68, 0.5);
}

.narrative-marker-solution .narrative-marker-line {
  background: var(--teal-primary);
}

.narrative-marker-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(239, 68, 68, 0.7);
}

.narrative-marker-solution .narrative-marker-label {
  color: var(--teal-primary);
}

/* Headings */
.narrative-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .narrative-heading {
    font-size: 1.875rem;
  }
}

.narrative-heading-solution {
  color: var(--mint-accent);
}

/* Text */
.narrative-text {
  font-size: 1.05rem;
  color: var(--slate-400, #94a3b8);
  line-height: 1.8;
}

/* Divider */
.narrative-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px 0;
}

.narrative-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dark-border), transparent);
}

.narrative-divider-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark-bg);
  border: 1px solid var(--teal-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-primary);
  flex-shrink: 0;
}

/* --- Problem Cards (Rectangular Grid) --- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 20px 0;
}

@media (min-width: 768px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.problem-card {
  position: relative;
  background: rgba(15, 40, 71, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  overflow: hidden;
  height: 200px; /* Fixed height - reduced from 280px */
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(1, 195, 174, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.problem-card:hover {
  border-color: var(--teal-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  background: rgba(15, 40, 71, 0.8);
}

.problem-card:hover::before {
  opacity: 1;
}

.problem-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  transition: transform 0.4s ease;
}

/* Initial State: Center content vertically */
.problem-card .problem-content {
  transform: translateY(24px); /* Push down slightly so title is centered-ish */
}

.problem-card:hover .problem-content {
  transform: translateY(0);
}

.problem-icon {
  color: var(--teal-primary);
  transition: all 0.4s ease;
}

.problem-title {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.4s ease;
  line-height: 1.3;
}

.problem-text {
  font-size: 0.9rem;
  color: var(--slate-300);
  line-height: 1.5;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.problem-card:hover .problem-text {
  opacity: 1;
  max-height: 120px;
  margin-top: 8px;
}

.problem-card:hover .problem-icon {
  color: var(--mint-accent);
  transform: scale(0.9);
}

.problem-card:hover .problem-title {
  color: var(--mint-accent);
}

