/* ============================================
       FEATURES PAGE - Premium UI Redesign
       ============================================ */

    /* --- Navigation Enhancement --- */
    .site-header {
      background-color: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
    }

    .nav-link.active {
      color: var(--color-primary);
    }

    .nav-link.active::after {
      width: 100%;
    }

/* ============================================
   HERO PRO ANIMATIONS (features.php hero)
   ============================================ */
.features-hero.hero-pro {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 140px 0 120px;
  background: linear-gradient(135deg, #EEF2FF 0%, #FFFFFF 35%, #E0E7FF 70%, #FCE7F3 100%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Animated mesh gradient background */
.hero-bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(at 20% 25%, rgba(99, 102, 241, 0.18) 0px, transparent 50%),
    radial-gradient(at 80% 20%, rgba(168, 85, 247, 0.15) 0px, transparent 50%),
    radial-gradient(at 60% 75%, rgba(236, 72, 153, 0.12) 0px, transparent 50%),
    radial-gradient(at 10% 85%, rgba(34, 211, 238, 0.12) 0px, transparent 50%);
  filter: blur(40px) saturate(120%);
  animation: mesh-drift 22s ease-in-out infinite alternate;
  z-index: -3;
  pointer-events: none;
}

@keyframes mesh-drift {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: translate(2%, -1%) scale(1.05);
    opacity: 1;
  }
  100% {
    transform: translate(-1%, 2%) scale(1.02);
    opacity: 0.9;
  }
}

/* Subtle grid overlay */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  animation: grid-shift 30s linear infinite;
  z-index: -2;
  pointer-events: none;
}

@keyframes grid-shift {
  to { background-position: 60px 60px; }
}

/* Floating particles */
.hero-bg-particles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.h-particle {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #818CF8, #6366F1);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
  opacity: 0.5;
}
.hp-1 { top: 12%; left: 8%;  animation: particle-float-1 18s ease-in-out infinite; }
.hp-2 { top: 25%; left: 88%; animation: particle-float-2 22s ease-in-out infinite; background: linear-gradient(135deg, #F472B6, #EC4899); box-shadow: 0 0 12px rgba(236, 72, 153, 0.6); }
.hp-3 { top: 55%; left: 5%;  animation: particle-float-3 25s ease-in-out infinite; background: linear-gradient(135deg, #34D399, #10B981); box-shadow: 0 0 12px rgba(16, 185, 129, 0.6); }
.hp-4 { top: 70%; left: 92%; animation: particle-float-1 20s ease-in-out infinite reverse; }
.hp-5 { top: 85%; left: 15%; animation: particle-float-2 28s ease-in-out infinite; background: linear-gradient(135deg, #FBBF24, #F59E0B); box-shadow: 0 0 12px rgba(245, 158, 11, 0.6); }
.hp-6 { top: 8%;  left: 65%; animation: particle-float-3 24s ease-in-out infinite; }
.hp-7 { top: 40%; left: 50%; animation: particle-float-1 30s ease-in-out infinite; background: linear-gradient(135deg, #A78BFA, #8B5CF6); box-shadow: 0 0 12px rgba(139, 92, 246, 0.6); }
.hp-8 { top: 92%; left: 60%; animation: particle-float-2 26s ease-in-out infinite reverse; background: linear-gradient(135deg, #22D3EE, #06B6D4); box-shadow: 0 0 12px rgba(6, 182, 212, 0.6); }

@keyframes particle-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  25% { transform: translate(40px, -30px) scale(1.3); opacity: 0.7; }
  50% { transform: translate(20px, -50px) scale(1); opacity: 0.5; }
  75% { transform: translate(-20px, -20px) scale(1.2); opacity: 0.6; }
}
@keyframes particle-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  33% { transform: translate(-30px, 30px) scale(1.2); opacity: 0.8; }
  66% { transform: translate(-50px, -10px) scale(0.9); opacity: 0.4; }
}
@keyframes particle-float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  50% { transform: translate(30px, 40px) scale(1.4); opacity: 0.9; }
}

/* Hero container */
.hero-container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ============================================
   LEFT: Hero copy
   ============================================ */
.hero-copy { max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--color-indigo);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-radius: 999px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08);
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: badge-pulse 2s ease-out infinite;
}
@keyframes badge-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-headline {
  font-size: 58px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2.5px;
  margin: 0 0 24px;
  color: var(--text-primary);
}
.reveal-line {
  display: block;
  overflow: hidden;
}
.gradient-text {
  background: linear-gradient(135deg, #6366F1 0%, #A855F7 50%, #EC4899 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s ease-in-out infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@media (max-width: 768px) {
  .hero-headline { font-size: 38px; letter-spacing: -1.5px; }
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.hero-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.hero-btn:hover::before { transform: translateX(100%); }
.hero-btn:hover { transform: translateY(-2px); }

/* Hero trust strip */
.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 14px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
.trust-icon-live {
  background: linear-gradient(135deg, #10B981, #059669);
}
.trust-icon-live span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
  animation: badge-pulse 2s ease-out infinite;
}
.trust-icon-secure {
  background: linear-gradient(135deg, #6366F1, #4F46E5);
}
.trust-item strong {
  display: block;
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}
.trust-item span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 1px;
}
.trust-divider {
  width: 1px;
  height: 28px;
  background: rgba(99, 102, 241, 0.2);
}

@media (max-width: 992px) {
  .hero-container { grid-template-columns: 1fr; gap: 50px; }
}

/* ============================================
   RIGHT: Hero Canvas Frame
   ============================================ */
.hero-canvas-wrap {
  position: relative;
  perspective: 1400px;
}

.hero-canvas-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 540px;
  margin-left: auto;
  background: linear-gradient(145deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 28px;
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 100px rgba(99, 102, 241, 0.15);
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  will-change: transform;
}

/* Subtle inner grid */
.hero-canvas-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  opacity: 0.5;
}

/* Rotating glow rings around center */
.hero-glow-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(129, 140, 248, 0.4);
  transform: translate(-50%, -50%);
  animation: ring-rotate 18s linear infinite;
  pointer-events: none;
}
.hero-glow-ring::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(129, 140, 248, 0.6) 25%, transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
}
.hero-glow-ring-2 {
  width: 180px; height: 180px;
  border-color: rgba(168, 85, 247, 0.3);
  animation: ring-rotate 12s linear infinite reverse;
}
@keyframes ring-rotate {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* SVG canvas (lines + packets + ripples) */
.hero-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Connection lines draw-in animation */
.conn-line {
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  opacity: 0.7;
  animation: line-draw 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.conn-line[data-line="1"] { animation-delay: 0.6s; }
.conn-line[data-line="2"] { animation-delay: 0.75s; }
.conn-line[data-line="3"] { animation-delay: 0.9s; }
.conn-line[data-line="4"] { animation-delay: 1.05s; }
.conn-line[data-line="5"] { animation-delay: 1.2s; }
@keyframes line-draw {
  to { stroke-dashoffset: 0; }
}

/* Traveling data packets (round-trips) */
.travel-packet { opacity: 0; }
.tp-1  { offset-path: path("M 80 90 L 250 250");   offset-rotate: 0deg; animation: packet-flow-1 3s ease-in-out infinite 1.8s; }
.tp-1b { offset-path: path("M 250 250 L 80 90");   offset-rotate: 0deg; animation: packet-flow-1b 3s ease-in-out infinite 2.5s; }
.tp-2  { offset-path: path("M 420 70 L 250 250");  offset-rotate: 0deg; animation: packet-flow-2 3.5s ease-in-out infinite 2.0s; }
.tp-2b { offset-path: path("M 250 250 L 420 70");  offset-rotate: 0deg; animation: packet-flow-2b 3.5s ease-in-out infinite 2.7s; }
.tp-3  { offset-path: path("M 70 410 L 250 250");  offset-rotate: 0deg; animation: packet-flow-3 4s ease-in-out infinite 2.2s; }
.tp-3b { offset-path: path("M 250 250 L 70 410");  offset-rotate: 0deg; animation: packet-flow-3b 4s ease-in-out infinite 3.0s; }
.tp-4  { offset-path: path("M 430 430 L 250 250"); offset-rotate: 0deg; animation: packet-flow-4 3.2s ease-in-out infinite 2.4s; }
.tp-4b { offset-path: path("M 250 250 L 430 430"); offset-rotate: 0deg; animation: packet-flow-4b 3.2s ease-in-out infinite 2.9s; }
.tp-5  { offset-path: path("M 250 460 L 250 250"); offset-rotate: 0deg; animation: packet-flow-5 3.8s ease-in-out infinite 2.6s; }
.tp-5b { offset-path: path("M 250 250 L 250 460"); offset-rotate: 0deg; animation: packet-flow-5b 3.8s ease-in-out infinite 3.3s; }

@keyframes packet-flow-1  { 0% { offset-distance: 0%;   opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes packet-flow-1b { 0% { offset-distance: 0%;   opacity: 0; } 10% { opacity: 0.7; } 90% { opacity: 0.7; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes packet-flow-2  { 0% { offset-distance: 0%;   opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes packet-flow-2b { 0% { offset-distance: 0%;   opacity: 0; } 10% { opacity: 0.7; } 90% { opacity: 0.7; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes packet-flow-3  { 0% { offset-distance: 0%;   opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes packet-flow-3b { 0% { offset-distance: 0%;   opacity: 0; } 10% { opacity: 0.7; } 90% { opacity: 0.7; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes packet-flow-4  { 0% { offset-distance: 0%;   opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes packet-flow-4b { 0% { offset-distance: 0%;   opacity: 0; } 10% { opacity: 0.7; } 90% { opacity: 0.7; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes packet-flow-5  { 0% { offset-distance: 0%;   opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes packet-flow-5b { 0% { offset-distance: 0%;   opacity: 0; } 10% { opacity: 0.7; } 90% { opacity: 0.7; } 100% { offset-distance: 100%; opacity: 0; } }

/* Ripple rings emanating from center */
.ripple {
  transform-origin: 250px 250px;
  opacity: 0;
  animation: ripple-out 4s ease-out infinite;
}
.ripple-1 { animation-delay: 0s; }
.ripple-2 { animation-delay: 1.3s; }
.ripple-3 { animation-delay: 2.6s; }
@keyframes ripple-out {
  0%   { transform: scale(0.3); opacity: 0; }
  10%  { opacity: 0.6; }
  100% { transform: scale(3);   opacity: 0; }
}

/* ============================================
   CENTER HUB
   ============================================ */
.hero-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 130px;
  height: 130px;
}

.hero-center-core {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #6366F1 0%, #A855F7 60%, #EC4899 100%);
  background-size: 200% 200%;
  animation: hub-bg-shift 8s ease-in-out infinite;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow:
    0 0 60px rgba(99, 102, 241, 0.5),
    0 0 100px rgba(168, 85, 247, 0.3),
    0 20px 40px rgba(99, 102, 241, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  animation: hub-bg-shift 8s ease-in-out infinite, hub-breathe 4s ease-in-out infinite;
}
@keyframes hub-bg-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes hub-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}
.hero-center-core svg { margin-bottom: 4px; }
.hero-center-core strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1;
}
.hero-center-core span {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 2px;
}

/* Pulse halo around core */
.hero-center-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 36px;
  border: 2px solid rgba(168, 85, 247, 0.6);
  animation: hub-pulse-halo 3s ease-out infinite;
  pointer-events: none;
}
@keyframes hub-pulse-halo {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Orbiting dots */
.hero-center-orbit {
  position: absolute;
  inset: -25px;
  pointer-events: none;
  animation: orbit-rotate 14s linear infinite;
}
.orbit-dot {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #FBBF24;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.8);
}
.orbit-dot-1 { top: 0;    left: 50%;  transform: translate(-50%, -50%); }
.orbit-dot-2 { top: 50%;  right: 0;   transform: translate(50%, -50%);   background: #34D399; box-shadow: 0 0 8px rgba(52, 211, 153, 0.8); }
.orbit-dot-3 { bottom: 0; left: 50%;  transform: translate(-50%, 50%);  background: #F472B6; box-shadow: 0 0 8px rgba(244, 114, 182, 0.8); }
@keyframes orbit-rotate { to { transform: rotate(360deg); } }

/* ============================================
   FLOATING STATUS CARDS
   ============================================ */
.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 14px;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  z-index: 4;
  min-width: 180px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  animation: card-enter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.hc-1 { top: 8%; left: 4%;    animation-delay: 0.4s; }
.hc-2 { top: 8%; right: 4%;   animation-delay: 0.55s; }
.hc-3 { bottom: 18%; left: 4%; animation-delay: 0.7s; }
.hc-4 { bottom: 18%; right: 4%; animation-delay: 0.85s; }
.hc-5 { bottom: 4%; left: 50%; transform: translate(-50%, 20px) scale(0.9); animation-delay: 1.0s; }

@keyframes card-enter {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hc-card-bc.hc-5 {
  /* override - center bottom */
}

/* Card hover lift */
.hero-card:hover {
  transform: translateY(-4px) scale(1.04);
  border-color: rgba(129, 140, 248, 0.7);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 32px rgba(99, 102, 241, 0.3);
}

.hc-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hc-body { min-width: 0; flex: 1; }
.hc-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}
.hc-head strong {
  font-size: 12px;
  font-weight: 700;
  color: #F1F5F9;
  line-height: 1;
}
.hc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: dot-pulse 1.8s ease-out infinite;
  flex-shrink: 0;
}
@keyframes dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70%  { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 10.5px;
  color: #94A3B8;
}
.hc-metric {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}
.hc-metric b {
  color: #F1F5F9;
  font-weight: 800;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  min-width: 14px;
  display: inline-block;
}
.hc-trend {
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.15);
  color: #94A3B8;
}
.hc-trend.up { background: rgba(16, 185, 129, 0.15); color: #34D399; }

/* Per-card subtle continuous float */
.hc-1 { animation: card-enter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.4s, card-float-1 7s ease-in-out infinite 1.5s; }
.hc-2 { animation: card-enter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.55s, card-float-2 8s ease-in-out infinite 1.7s; }
.hc-3 { animation: card-enter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.7s, card-float-3 7.5s ease-in-out infinite 1.9s; }
.hc-4 { animation: card-enter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.85s, card-float-4 8.5s ease-in-out infinite 2.1s; }

@keyframes card-float-1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-3px, -6px); } }
@keyframes card-float-2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(3px, -8px); } }
@keyframes card-float-3 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-4px, 5px); } }
@keyframes card-float-4 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(4px, 6px); } }

/* ============================================
   LIVE DATA TICKER
   ============================================ */
.hero-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 38px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(99, 102, 241, 0.2);
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 3;
  opacity: 0;
  animation: ticker-fade-in 0.6s ease-out forwards 1.4s;
}
@keyframes ticker-fade-in { to { opacity: 1; } }

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  animation: ticker-scroll 50s linear infinite;
  padding-left: 100%;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #CBD5E1;
  font-weight: 600;
  font-family: 'SF Mono', Menlo, Monaco, Consolas, monospace;
}
.t-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10B981;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: dot-pulse 1.8s ease-out infinite;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* Pause ticker on hover for readability */
.hero-ticker:hover .ticker-track { animation-play-state: paused; }

/* ============================================
   REVEAL ANIMATIONS (entrance)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: reveal-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.reveal[data-reveal-delay="0"] { animation-delay: 0.0s; }
.reveal[data-reveal-delay="1"] { animation-delay: 0.1s; }
.reveal[data-reveal-delay="2"] { animation-delay: 0.2s; }
.reveal[data-reveal-delay="3"] { animation-delay: 0.3s; }
.reveal[data-reveal-delay="4"] { animation-delay: 0.45s; }
.reveal[data-reveal-delay="5"] { animation-delay: 0.6s; }
.reveal[data-reveal-delay="6"] { animation-delay: 0.75s; }

@keyframes reveal-up {
  to { opacity: 1; transform: translateY(0); }
}

/* Per-line reveal (slide up from inside mask) */
.reveal-line {
  display: block;
  opacity: 0;
  transform: translateY(110%);
  animation: reveal-line-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.reveal-line[data-reveal-delay="1"] { animation-delay: 0.15s; }
.reveal-line[data-reveal-delay="2"] { animation-delay: 0.3s; }
.reveal-line[data-reveal-delay="3"] { animation-delay: 0.45s; }

@keyframes reveal-line-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   BOTTOM WAVE
   ============================================ */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .hero-canvas-frame { max-width: 100%; margin: 0 auto; }
  .hero-card { min-width: 160px; }
  .hc-1 { top: 6%; left: 3%; }
  .hc-2 { top: 6%; right: 3%; }
  .hc-3 { bottom: 16%; left: 3%; }
  .hc-4 { bottom: 16%; right: 3%; }
}

@media (max-width: 576px) {
  .hero-canvas-frame { aspect-ratio: 1; }
  .hero-card { min-width: 140px; padding: 8px 10px; }
  .hc-icon { width: 28px; height: 28px; }
  .hc-head strong { font-size: 11px; }
  .hc-meta { font-size: 9.5px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

        /* --- Enhanced Platform Explorer --- */
    .explorer-canvas-container {
      background: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);
      border: 1px solid rgba(79, 70, 229, 0.1);
      box-shadow: 0 20px 60px rgba(79, 70, 229, 0.08);
      position: relative;
      min-height: 500px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: var(--radius-xl);
      overflow: hidden;
    }

    .explorer-center-hub {
      width: 140px;
      height: 140px;
      background: linear-gradient(135deg, var(--color-primary), var(--color-indigo));
      color: white;
      font-size: 14px;
      font-weight: 800;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      box-shadow: 0 0 80px rgba(79, 70, 229, 0.5), 0 20px 40px rgba(79, 70, 229, 0.3);
      position: relative;
      z-index: 10;
    }

    .explorer-center-hub .sub {
      font-size: 10px;
      font-weight: 500;
      opacity: 0.8;
      margin-top: 4px;
    }

    .explorer-floating-node {
      position: absolute;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      border: 1px solid var(--border-color);
      padding: 12px 20px;
      font-size: 12px;
      font-weight: 600;
      color: var(--text-primary);
      border-radius: var(--radius-lg);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
      cursor: pointer;
      transition: all var(--trans-normal);
      white-space: nowrap;
    }

    .explorer-floating-node:hover {
      background: linear-gradient(135deg, var(--color-primary), var(--color-indigo));
      color: white;
      transform: scale(1.1);
      box-shadow: 0 16px 48px rgba(79, 70, 229, 0.3);
    }

    /* --- Enhanced Explorer Modal --- */
    .explorer-modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(15, 23, 42, 0.8);
      backdrop-filter: blur(8px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transition: all var(--trans-normal);
    }

    .explorer-modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .explorer-modal-box {
      background: white;
      border-radius: var(--radius-xl);
      padding: 40px;
      max-width: 500px;
      width: 90%;
      position: relative;
      transform: translateY(20px);
      transition: transform var(--trans-normal);
      box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
    }

    .explorer-modal-overlay.active .explorer-modal-box {
      transform: translateY(0);
    }

    .explorer-modal-close {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 36px;
      height: 36px;
      border: none;
      background: var(--bg-subtle);
      border-radius: 50%;
      font-size: 20px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all var(--trans-fast);
    }

    .explorer-modal-close:hover {
      background: var(--color-red);
      color: white;
    }

    /* --- Enhanced Architecture Section --- */
    .arch-layers-stack {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .arch-layer-item {
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(10px);
      border: 1px solid var(--border-color);
      padding: 20px 24px;
      border-radius: var(--radius-lg);
      font-size: 14px;
      font-weight: 600;
      color: var(--text-primary);
      transition: all var(--trans-normal);
      position: relative;
      overflow: hidden;
    }

    .arch-layer-item::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 4px;
      height: 100%;
    }

    .arch-layer-item:nth-child(1)::before { background: var(--color-primary); }
    .arch-layer-item:nth-child(2)::before { background: var(--color-primary); }
    .arch-layer-item:nth-child(3)::before { background: var(--color-primary); }
    .arch-layer-item:nth-child(4)::before { background: var(--color-indigo); }
    .arch-layer-item:nth-child(5)::before { background: var(--color-indigo); }
    .arch-layer-item:nth-child(6)::before { background: var(--color-emerald); }
    .arch-layer-item:nth-child(7)::before { background: var(--color-emerald); }

    .arch-layer-item:hover {
      transform: translateX(8px);
      box-shadow: var(--shadow-md);
    }

    /* --- Enhanced Digital Twin --- */
    .digital-twin-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }

    .twin-building-card {
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(10px);
      border: 2px solid var(--border-color);
      border-radius: var(--radius-xl);
      padding: 28px 24px;
      cursor: pointer;
      transition: all var(--trans-normal);
      position: relative;
      overflow: hidden;
    }

    .twin-building-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--color-primary), var(--color-indigo));
      opacity: 0;
      transition: var(--trans-fast);
    }

    .twin-building-card:hover::before,
    .twin-building-card.active::before {
      opacity: 1;
    }

    .twin-building-card:hover,
    .twin-building-card.active {
      border-color: var(--color-primary);
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
    }

    .twin-ping-glow {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 10px;
      height: 10px;
      background: var(--color-emerald);
      border-radius: 50%;
      animation: ping 2s ease-in-out infinite;
    }

    @keyframes ping {
      0%, 100% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.5); opacity: 0.5; }
    }

    .twin-sidebar-panel {
      background: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-xl);
      padding: 36px;
      display: flex;
      flex-direction: column;
      gap: 24px;
      box-shadow: var(--shadow-md);
    }

    /* --- Enhanced Lifecycle Timeline --- */
    .lifecycle-timeline-track {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 40px 20px;
    }

    .lifecycle-timeline-track::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--color-primary), var(--color-indigo), var(--color-emerald));
      border-radius: var(--radius-full);
      transform: translateY(-50%);
    }

    .lifecycle-step-circle {
      width: 56px;
      height: 56px;
      border: 4px solid var(--color-primary);
      background: var(--bg-surface);
      font-size: 16px;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.1);
      transition: all var(--trans-spring);
      position: relative;
      z-index: 2;
    }

    .lifecycle-step-node:hover .lifecycle-step-circle {
      background: linear-gradient(135deg, var(--color-primary), var(--color-indigo));
      color: white;
      transform: scale(1.2);
      box-shadow: 0 0 0 12px rgba(37, 99, 235, 0.2), 0 8px 24px rgba(37, 99, 235, 0.3);
    }

    .lifecycle-step-node h4 {
      font-size: 13px;
      font-weight: 700;
      color: var(--text-secondary);
      text-align: center;
      margin-top: 12px;
      transition: color var(--trans-fast);
    }

    .lifecycle-step-node:hover h4 {
      color: var(--color-primary);
    }

    /* --- Enhanced Department Workspaces --- */
    .module-scope-column {
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(20px);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-xl);
      padding: 36px 28px;
      transition: all var(--trans-normal);
      position: relative;
      overflow: hidden;
    }

    .module-scope-column::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--color-primary), var(--color-indigo));
      opacity: 0;
      transition: var(--trans-fast);
    }

    .module-scope-column:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-xl);
      border-color: transparent;
    }

    .module-scope-column:hover::before {
      opacity: 1;
    }

    .module-scope-column h3 {
      font-size: 20px;
      border-bottom: none;
      padding-bottom: 0;
      margin-bottom: 12px;
    }

    .module-scope-column p {
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.6;
    }

    /* --- Enhanced Automation Studio --- */
    .auto-builder-flow {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
    }

    .auto-flow-card {
      flex: 1;
      min-width: 180px;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      border: 2px solid var(--border-color);
      border-radius: var(--radius-xl);
      padding: 28px 20px;
      text-align: center;
      transition: all var(--trans-normal);
      position: relative;
    }

    .auto-flow-card::after {
      content: '→';
      position: absolute;
      right: -20px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 20px;
      color: var(--color-primary);
      font-weight: 700;
    }

    .auto-flow-card:last-child::after {
      display: none;
    }

    .auto-flow-card:hover {
      border-color: var(--color-primary);
      transform: translateY(-6px);
      box-shadow: var(--shadow-lg);
    }

    /* --- Enhanced AI Section --- */
    .ai-section {
      background: linear-gradient(180deg, #0B0F19 0%, #1E1B4B 50%, #0B0F19 100%);
      position: relative;
      overflow: hidden;
    }

    .ai-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234F46E5' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

    .ai-neural-visual {
      background: rgba(79, 70, 229, 0.05);
      border: 1px solid rgba(79, 70, 229, 0.2);
      border-radius: var(--radius-xl);
      position: relative;
      overflow: hidden;
    }

    .ai-neural-core {
      font-size: 32px;
      font-weight: 800;
      color: #00D2C4;
      text-align: center;
      padding: 60px 20px;
    }

    /* --- Enhanced KPI Dashboard --- */
    .kpi-board-mockup {
      background: linear-gradient(145deg, #1E293B, #0F172A);
      border-radius: var(--radius-xl);
      padding: 24px;
      box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
      border: 1px solid rgba(255,255,255,0.1);
    }

    .kpi-board-header {
      background: rgba(255,255,255,0.05);
      padding: 12px 16px;
      border-radius: var(--radius-md);
      margin-bottom: 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .kpi-box-item {
      background: rgba(255,255,255,0.05);
      border-radius: var(--radius-md);
      padding: 20px;
      text-align: center;
    }

    .kpi-lbl {
      font-size: 11px;
      color: rgba(226, 232, 240, 0.6);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      display: block;
      margin-bottom: 8px;
    }

    .kpi-val {
      font-size: 24px;
      font-weight: 900;
    }

    /* --- Enhanced Integration Cards --- */
    .integration-node-card {
      background: var(--bg-surface);
      border: 2px solid var(--border-color);
      border-radius: var(--radius-xl);
      padding: 32px 20px;
      text-align: center;
      transition: all var(--trans-normal);
      position: relative;
      overflow: hidden;
    }

    .integration-node-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(79, 70, 229, 0.1));
      opacity: 0;
      transition: var(--trans-fast);
    }

    .integration-node-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-xl);
      border-color: var(--color-primary);
    }

    .integration-node-card:hover::before {
      opacity: 1;
    }

    .integration-icon-container {
      font-size: 44px;
      margin-bottom: 14px;
    }

    .integration-node-card span {
      font-size: 13px;
      font-weight: 700;
      color: var(--text-primary);
      position: relative;
    }

    /* --- Enhanced Tech Stack --- */
    .tech-stack-card {
      background: rgba(255, 255, 255, 0.95);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-xl);
      padding: 28px 20px;
      text-align: center;
      transition: all var(--trans-normal);
      position: relative;
      overflow: hidden;
    }

    .tech-stack-card::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--color-primary), var(--color-indigo));
      transform: scaleX(0);
      transition: transform var(--trans-normal);
    }

    .tech-stack-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-lg);
      border-color: transparent;
    }

    .tech-stack-card:hover::after {
      transform: scaleX(1);
    }

    .tech-stack-card h4 {
      font-size: 16px;
      margin-bottom: 8px;
      color: var(--text-primary);
    }

    .tech-stack-card p {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* --- Enhanced SOC Dashboard --- */
    .security-dark-panel {
      background: linear-gradient(135deg, #0B0F19 0%, #1E1B4B 100%);
      position: relative;
      overflow: hidden;
    }

    .security-dark-panel::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(ellipse at center, rgba(79, 70, 229, 0.1) 0%, transparent 50%);
    }

    .soc-console-dashboard {
      background: rgba(15, 23, 42, 0.8);
      border: 1px solid rgba(79, 70, 229, 0.3);
      border-radius: var(--radius-xl);
      padding: 24px;
      position: relative;
      z-index: 1;
    }

    .soc-console-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
      padding-bottom: 16px;
      border-bottom: 1px solid rgba(79, 70, 229, 0.2);
    }

    .soc-scan-pulse {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      color: var(--color-emerald);
    }

    .soc-scan-line-anim {
      width: 8px;
      height: 8px;
      background: var(--color-emerald);
      border-radius: 50%;
      animation: pulse 2s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.4; }
    }

    .soc-threat-indicators {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-bottom: 20px;
    }

    .soc-stat-box {
      background: rgba(79, 70, 229, 0.1);
      border: 1px solid rgba(79, 70, 229, 0.2);
      border-radius: var(--radius-md);
      padding: 16px;
    }

    .soc-logs-stream {
      background: rgba(0, 0, 0, 0.3);
      border-radius: var(--radius-md);
      padding: 16px;
      font-family: monospace;
      font-size: 11px;
      color: var(--color-emerald);
      max-height: 120px;
      overflow-y: auto;
    }

    /* --- Enhanced Deployment Cards --- */
    .deployment-card {
      background: rgba(255, 255, 255, 0.95);
      border: 2px solid var(--border-color);
      border-radius: var(--radius-xl);
      padding: 36px 28px;
      transition: all var(--trans-normal);
      position: relative;
      overflow: hidden;
    }

    .deployment-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
    }

    .deployment-card.cloud::before { background: linear-gradient(90deg, var(--color-primary), var(--color-indigo)); }
    .deployment-card.hybrid::before { background: linear-gradient(90deg, var(--color-indigo), #8B5CF6); }
    .deployment-card.onpremise::before { background: linear-gradient(90deg, var(--color-emerald), #34D399); }

    .deployment-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-xl);
    }

    .deployment-card h3 {
      font-size: 22px;
      margin-bottom: 12px;
    }

    .deployment-card > p {
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.6;
      margin-bottom: 16px;
    }

    /* --- Enhanced Developer Console --- */
    .dev-console-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: start;
    }

    @media (max-width: 992px) {
      .dev-console-layout {
        grid-template-columns: 1fr;
      }
    }

    .dev-code-box {
      background: #0F172A;
      border-radius: var(--radius-xl);
      overflow: hidden;
      box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    }

    .dev-tab-header {
      display: flex;
      background: #1E293B;
      padding: 12px 16px;
      gap: 8px;
    }

    .dev-tab-btn {
      padding: 8px 16px;
      background: transparent;
      border: none;
      color: #94A3B8;
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      border-radius: var(--radius-md);
      transition: all var(--trans-fast);
    }

    .dev-tab-btn:hover,
    .dev-tab-btn.active {
      background: rgba(37, 99, 235, 0.2);
      color: var(--color-primary);
    }

    .dev-code-box pre {
      padding: 24px;
      margin: 0;
      color: #E2E8F0;
      font-size: 12px;
      line-height: 1.7;
    }

    /* --- Enhanced Roadmap --- */
    .roadmap-timeline-track {
      display: flex;
      justify-content: space-between;
      position: relative;
      padding: 40px 0;
    }

    .roadmap-timeline-track::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--color-primary), var(--color-indigo), var(--color-emerald));
      border-radius: var(--radius-full);
      transform: translateY(-50%);
    }

    .roadmap-node-step {
      flex: 1;
      text-align: center;
      position: relative;
      z-index: 2;
    }

    .roadmap-node-circle {
      width: 64px;
      height: 64px;
      background: linear-gradient(135deg, var(--color-primary), var(--color-indigo));
      color: white;
      font-size: 14px;
      font-weight: 800;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px;
      box-shadow: 0 8px 32px rgba(37, 99, 235, 0.3);
    }

    .roadmap-node-step h4 {
      font-size: 15px;
      margin-bottom: 8px;
      color: var(--text-primary);
    }

    .roadmap-node-step p {
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.5;
      max-width: 200px;
      margin: 0 auto;
    }

    /* --- Enhanced Implementation Steps --- */
    .implement-steps-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 20px;
    }

    @media (max-width: 992px) {
      .implement-steps-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (max-width: 576px) {
      .implement-steps-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    .implement-step-box {
      text-align: center;
      padding: 32px 16px;
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-xl);
      transition: all var(--trans-normal);
      position: relative;
    }

    .implement-step-box::after {
      content: '';
      position: absolute;
      right: -20px;
      top: 50%;
      transform: translateY(-50%);
      width: 0;
      height: 0;
      border-left: 10px solid var(--color-primary);
      border-top: 6px solid transparent;
      border-bottom: 6px solid transparent;
    }

    .implement-step-box:last-child::after {
      display: none;
    }

    @media (max-width: 992px) {
      .implement-step-box::after {
        display: none;
      }
    }

    .implement-step-box:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-xl);
      border-color: var(--color-primary);
    }

    .implement-step-circle {
      width: 56px;
      height: 56px;
      background: linear-gradient(135deg, var(--color-primary), var(--color-indigo));
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      font-weight: 800;
      margin: 0 auto 16px;
      box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
    }

    .implement-step-box h4 {
      font-size: 14px;
      margin-bottom: 6px;
    }

    .implement-step-box p {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* --- Enhanced Final CTA --- */
    .final-cta-panel {
      background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-indigo) 100%);
      position: relative;
      overflow: hidden;
    }

    .final-cta-panel::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -20%;
      width: 60%;
      height: 200%;
      background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    }

    .final-cta-content {
      text-align: center;
      position: relative;
      z-index: 1;
    }

    .final-cta-content h2 {
      color: white;
      font-size: 40px;
      margin-bottom: 16px;
    }

    .final-cta-content p {
      color: rgba(255, 255, 255, 0.9);
      font-size: 18px;
      margin-bottom: 32px;
    }

    .cta-btn-row {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
    }

    /* --- Footer Enhancement --- */
    .site-footer {
      background: linear-gradient(180deg, #0F172A 0%, #000000 100%);
    }

    /* --- Badge Enhancement --- */
    .badge {
      display: inline-block;
      padding: 8px 18px;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      border-radius: var(--radius-full);
      margin-bottom: 16px;
      background: rgba(37, 99, 235, 0.08);
      color: var(--color-primary);
    }

    /* --- Scroll Animations --- */
    .animate-on-scroll {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .animate-on-scroll.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* --- Section spacing --- */
    .section {
      padding: 100px 0;
    }

    .section-subtle {
      padding: 100px 0;
      background: var(--bg-subtle);
    }

    /* --- Mobile Responsive --- */
    @media (max-width: 768px) {
      .features-hero {
        padding: 100px 0 60px;
      }

      .features-hero h1 {
        font-size: 36px;
      }

      .explorer-canvas-container {
        min-height: 400px;
      }

      .digital-twin-grid {
        grid-template-columns: 1fr;
      }

      .auto-builder-flow {
        flex-direction: column;
      }

      .auto-flow-card::after {
        display: none;
      }

      .dev-console-layout {
        grid-template-columns: 1fr;
      }

      .roadmap-timeline-track {
        flex-direction: column;
        gap: 32px;
      }

      .roadmap-timeline-track::before {
        display: none;
      }
    }
  

      /* Platform Explorer Section */
      .platform-explorer-section {
        background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 50%, #F1F5F9 100%);
        position: relative;
        overflow: hidden;
      }

      .platform-explorer-section::before {
        content: '';
        position: absolute;
        top: -10%;
        left: -5%;
        width: 50%;
        height: 60%;
        background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
        pointer-events: none;
      }

      .platform-explorer-section::after {
        content: '';
        position: absolute;
        bottom: -10%;
        right: -5%;
        width: 50%;
        height: 60%;
        background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
        pointer-events: none;
      }

      /* Top Control Bar */
      .hub-control-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 24px;
        padding: 16px 24px;
        background: white;
        border: 1px solid #E2E8F0;
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
        flex-wrap: wrap;
        gap: 16px;
      }

      .hub-legend {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
      }

      .legend-item {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        color: #64748B;
        font-weight: 600;
        cursor: pointer;
        padding: 6px 12px;
        border-radius: 8px;
        transition: all 0.3s ease;
      }

      .legend-item:hover {
        background: #F1F5F9;
      }

      .legend-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        position: relative;
      }

      .legend-dot::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: inherit;
        opacity: 0.3;
        animation: legendPulse 2s ease-in-out infinite;
      }

      @keyframes legendPulse {
        0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
        50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
      }

      .hub-stats {
        display: flex;
        align-items: center;
        gap: 16px;
      }

      .hub-stat {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
      }

      .hub-stat-value {
        font-size: 16px;
        font-weight: 800;
        color: #1E293B;
        line-height: 1;
      }

      .hub-stat-value.status-online {
        color: #10B981;
        font-size: 14px;
        animation: statusBlink 2s ease-in-out infinite;
      }

      @keyframes statusBlink {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.4; }
      }

      .hub-stat-label {
        font-size: 10px;
        color: #94A3B8;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 600;
      }

      .hub-stat-divider {
        width: 1px;
        height: 24px;
        background: #E2E8F0;
      }

      /* Main Visual Container */
      .platform-hub-visual {
        background: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);
        border: 1px solid rgba(37, 99, 235, 0.08);
        border-radius: 24px;
        padding: 32px;
        box-shadow: 0 20px 60px rgba(37, 99, 235, 0.06);
        position: relative;
      }

      #platform-canvas {
        scroll-margin-top: 100px;
      }

      .platform-canvas-area {
        position: relative;
        height: 640px;
        background: radial-gradient(ellipse at center, #FFFFFF 0%, #F8FAFC 70%, #EEF2FF 100%);
        border-radius: 20px;
        border: 1px solid #E2E8F0;
        overflow: hidden;
        box-shadow: inset 0 0 60px rgba(37, 99, 235, 0.04);
      }

      /* Background Grid Pattern */
      .canvas-grid-bg {
        position: absolute;
        inset: 0;
        background-image:
          linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
          linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
        background-size: 40px 40px;
        background-position: center;
        mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
        -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
      }

      /* Particle Field */
      .particle-field {
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 1;
      }

      .particle {
        position: absolute;
        left: var(--x);
        top: var(--y);
        width: 4px;
        height: 4px;
        background: #2563EB;
        border-radius: 50%;
        opacity: 0.5;
        animation: particleFloat var(--dur) ease-in-out var(--delay) infinite;
        box-shadow: 0 0 8px rgba(37, 99, 235, 0.6);
      }

      .particle:nth-child(2n) {
        background: #8B5CF6;
        box-shadow: 0 0 8px rgba(139, 92, 246, 0.6);
      }

      .particle:nth-child(3n) {
        background: #10B981;
        box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
      }

      .particle:nth-child(4n) {
        background: #F59E0B;
        box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
      }

      @keyframes particleFloat {
        0%, 100% {
          transform: translate(0, 0) scale(1);
          opacity: 0.5;
        }
        25% {
          transform: translate(20px, -30px) scale(1.2);
          opacity: 0.8;
        }
        50% {
          transform: translate(-15px, -50px) scale(0.9);
          opacity: 0.6;
        }
        75% {
          transform: translate(30px, -20px) scale(1.1);
          opacity: 0.7;
        }
      }

      /* Orbit Rings */
      .orbit-ring {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        border: 1px dashed rgba(37, 99, 235, 0.15);
        pointer-events: none;
        z-index: 1;
      }

      .orbit-ring-1 {
        width: 480px;
        height: 480px;
        animation: orbitRotate 60s linear infinite;
      }

      .orbit-ring-2 {
        width: 720px;
        height: 720px;
        border-color: rgba(79, 70, 229, 0.12);
        animation: orbitRotate 80s linear infinite reverse;
      }

      .orbit-ring-3 {
        width: 960px;
        height: 960px;
        border-color: rgba(16, 185, 129, 0.1);
        animation: orbitRotate 100s linear infinite;
      }

      @keyframes orbitRotate {
        from { transform: translate(-50%, -50%) rotate(0deg); }
        to { transform: translate(-50%, -50%) rotate(360deg); }
      }

      /* Orbit Tick Marks */
      .orbit-ticks {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 320px;
        height: 320px;
        animation: orbitRotate 30s linear infinite;
        pointer-events: none;
        z-index: 1;
      }

      .orbit-tick {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 6px;
        height: 6px;
        background: rgba(37, 99, 235, 0.6);
        border-radius: 50%;
        transform: rotate(calc(var(--i) * 30deg)) translateY(-160px);
        box-shadow: 0 0 8px rgba(37, 99, 235, 0.5);
      }

      /* Hub Connections SVG */
      .hub-connections-svg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 2;
      }

      /* Center Hub */
      .platform-hub-center {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        animation: hubFloat 6s ease-in-out infinite;
      }

      @keyframes hubFloat {
        0%, 100% { transform: translate(-50%, -50%) translateY(0); }
        50% { transform: translate(-50%, -50%) translateY(-8px); }
      }

      .hub-aura {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
        z-index: -1;
        animation: auraPulse 3s ease-in-out infinite;
      }

      @keyframes auraPulse {
        0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
        50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
      }

      .hub-core-icon {
        position: relative;
        width: 88px;
        height: 88px;
        background: linear-gradient(135deg, #2563EB 0%, #4F46E5 50%, #7C3AED 100%);
        border-radius: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow:
          0 12px 40px rgba(37, 99, 235, 0.4),
          0 0 0 8px rgba(37, 99, 235, 0.1),
          0 0 0 16px rgba(37, 99, 235, 0.05);
      }

      .hub-core-pulse {
        position: absolute;
        inset: 0;
        border-radius: 24px;
        border: 2px solid rgba(255, 255, 255, 0.5);
        animation: corePulse 2s ease-out infinite;
      }

      @keyframes corePulse {
        0% { transform: scale(1); opacity: 0.8; }
        100% { transform: scale(1.4); opacity: 0; }
      }

      .hub-core-label {
        font-size: 14px;
        font-weight: 800;
        color: #1E293B;
        margin-top: 8px;
        letter-spacing: 0.5px;
      }

      .hub-core-sublabel {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 10px;
        color: #64748B;
        font-weight: 600;
        background: rgba(16, 185, 129, 0.08);
        padding: 4px 10px;
        border-radius: 20px;
      }

      .hub-status-dot {
        width: 6px;
        height: 6px;
        background: #10B981;
        border-radius: 50%;
        animation: statusBlink 1.5s ease-in-out infinite;
        box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
      }

      /* Platform Nodes — centering uses `translate` so fade/hover transforms don't break it */
      .platform-node {
        position: absolute;
        z-index: 5;
        display: flex;
        align-items: center;
        gap: 12px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1.5px solid #E2E8F0;
        border-radius: 14px;
        padding: 12px 16px;
        cursor: pointer;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.35s ease, filter 0.35s ease;
        min-width: 160px;
        max-width: min(210px, 44%);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
        opacity: 0;
        animation: nodeFadeIn 0.6s ease-out forwards;
      }

      .platform-node.is-centered {
        left: 50%;
        translate: -50% 0;
      }

      .platform-node.is-dimmed {
        opacity: 0.22 !important;
        filter: grayscale(0.85);
        pointer-events: none;
      }

      .legend-item.is-active {
        background: #EEF2FF;
        color: #1E293B;
        box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.2);
      }

      @keyframes nodeFadeIn {
        from {
          opacity: 0;
          transform: translateY(10px) scale(0.95);
        }
        to {
          opacity: 1;
          transform: translateY(0) scale(1);
        }
      }

      .platform-node:hover {
        transform: translateY(-6px) scale(1.03);
        box-shadow:
          0 20px 50px rgba(0, 0, 0, 0.12),
          0 0 0 1px rgba(37, 99, 235, 0.2);
        z-index: 20;
      }

      .node-glow {
        position: absolute;
        inset: -2px;
        border-radius: 16px;
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(79, 70, 229, 0.3));
        opacity: 0;
        z-index: -1;
        transition: opacity 0.3s;
        filter: blur(8px);
      }

      .platform-node:hover .node-glow {
        opacity: 0.6;
      }

      .platform-node.academic-node {
        border-color: rgba(37, 99, 235, 0.3);
      }
      .platform-node.academic-node:hover {
        border-color: #2563EB;
        background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(37, 99, 235, 0.04));
      }

      .platform-node.operations-node {
        border-color: rgba(16, 185, 129, 0.3);
      }
      .platform-node.operations-node:hover {
        border-color: #10B981;
        background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(16, 185, 129, 0.04));
      }

      .platform-node.admin-node {
        border-color: rgba(139, 92, 246, 0.3);
      }
      .platform-node.admin-node:hover {
        border-color: #8B5CF6;
        background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(139, 92, 246, 0.04));
      }

      .platform-node.analytics-node {
        border-color: rgba(245, 158, 11, 0.3);
      }
      .platform-node.analytics-node:hover {
        border-color: #F59E0B;
        background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(245, 158, 11, 0.04));
      }

      .node-icon {
        width: 38px;
        height: 38px;
        background: linear-gradient(135deg, #F8FAFC, #F1F5F9);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        flex-shrink: 0;
        transition: transform 0.3s;
      }

      .platform-node:hover .node-icon {
        transform: scale(1.1) rotate(-5deg);
      }

      .node-info {
        display: flex;
        flex-direction: column;
        gap: 2px;
        flex: 1;
      }

      .node-category {
        font-size: 9px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #94A3B8;
      }

      .node-title {
        font-size: 12px;
        font-weight: 700;
        color: #1E293B;
        white-space: nowrap;
      }

      .node-pulse-indicator {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 6px;
        height: 6px;
        background: #10B981;
        border-radius: 50%;
        box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
        animation: nodePulse 2s ease-in-out infinite;
      }

      @keyframes nodePulse {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.5; transform: scale(1.5); }
      }

      /* Hint Bar */
      .hub-hint-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-top: 20px;
        padding: 12px 20px;
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(79, 70, 229, 0.04));
        border: 1px dashed rgba(37, 99, 235, 0.2);
        border-radius: 12px;
        font-size: 12px;
        color: #475569;
        font-weight: 600;
      }

      .hint-icon {
        color: #2563EB;
        animation: hintBounce 2s ease-in-out infinite;
      }

      @keyframes hintBounce {
        0%, 100% { transform: translateX(0); }
        50% { transform: translateX(4px); }
      }

      .hint-icon:last-child {
        animation: hintBounceReverse 2s ease-in-out infinite;
      }

      @keyframes hintBounceReverse {
        0%, 100% { transform: translateX(0); }
        50% { transform: translateX(-4px); }
      }

      /* Enhanced Modal */
      .explorer-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 23, 42, 0.7);
        backdrop-filter: blur(8px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
      }

      .explorer-modal-overlay.active {
        opacity: 1;
        visibility: visible;
      }

      .explorer-modal-box {
        background: white;
        border-radius: 24px;
        padding: 36px;
        max-width: 480px;
        width: 90%;
        position: relative;
        transform: translateY(20px) scale(0.95);
        transition: all 0.3s ease;
        box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
      }

      .explorer-modal-overlay.active .explorer-modal-box {
        transform: translateY(0) scale(1);
      }

      .explorer-modal-close {
        position: absolute;
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
        border: none;
        background: #F1F5F9;
        border-radius: 50%;
        font-size: 20px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
        color: #64748B;
      }

      .explorer-modal-close:hover {
        background: #E2E8F0;
        color: #1E293B;
      }

      .modal-header-section {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-bottom: 20px;
      }

      .modal-icon-box {
        width: 56px;
        height: 56px;
        background: linear-gradient(135deg, #F8FAFC, #F1F5F9);
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 28px;
      }

      .modal-title-section {
        flex: 1;
      }

      .modal-category {
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: #2563EB;
      }

      .modal-title-section h3 {
        font-size: 22px;
        font-weight: 800;
        color: #1E293B;
        margin-top: 4px;
      }

      .modal-features {
        background: #F8FAFC;
        border-radius: 12px;
        padding: 20px;
        margin-bottom: 20px;
      }

      .features-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }

      .feature-item {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 13px;
        color: #475569;
      }

      .feature-item::before {
        content: '✓';
        width: 18px;
        height: 18px;
        background: rgba(16, 185, 129, 0.15);
        color: #10B981;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        font-weight: 700;
        flex-shrink: 0;
      }

      .modal-cta {
        margin-top: 8px;
      }

      @media (max-width: 768px) {
        .platform-canvas-area {
          height: auto;
          min-height: 0;
          padding: 12px;
          display: grid;
          grid-template-columns: 1fr 1fr;
          gap: 10px;
          overflow: visible;
        }

        .canvas-grid-bg,
        .particle-field,
        .orbit-ring,
        .orbit-ticks,
        .hub-connections-svg,
        .platform-hub-center {
          display: none;
        }

        .platform-node,
        .platform-node.is-centered {
          position: relative;
          top: auto !important;
          left: auto !important;
          right: auto !important;
          bottom: auto !important;
          translate: none;
          min-width: 0;
          max-width: none;
          width: 100%;
          opacity: 1;
          animation: none;
          padding: 10px 12px;
        }
        
        .node-icon {
          width: 32px;
          height: 32px;
          font-size: 14px;
        }
        
        .node-title {
          font-size: 11px;
          white-space: normal;
        }
        
        .hub-core-icon {
          width: 60px;
          height: 60px;
        }
      }
    

      /* Digital Twin Section */
      .digital-twin-section {
        background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 50%, #F1F5F9 100%);
        position: relative;
        overflow: hidden;
      }

      .digital-twin-section::before {
        content: '';
        position: absolute;
        top: 10%;
        right: -10%;
        width: 50%;
        height: 60%;
        background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
        pointer-events: none;
      }

      /* Twin Layout */
      .twin-layout {
        display: grid;
        grid-template-columns: 1.3fr 0.7fr;
        gap: 32px;
        align-items: stretch;
      }

      @media (max-width: 992px) {
        .twin-layout {
          grid-template-columns: 1fr;
        }
      }

      /* Map Container */
      .twin-map-container {
        background: linear-gradient(145deg, #FFFFFF 0%, #F0FDF4 100%);
        border: 1px solid rgba(16, 185, 129, 0.15);
        border-radius: 24px;
        padding: 24px;
        box-shadow: 0 20px 60px rgba(16, 185, 129, 0.08);
        position: relative;
      }

      /* Map Controls */
      .map-controls {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;
      }

      .map-control-group {
        display: flex;
        gap: 6px;
        background: white;
        padding: 4px;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
      }

      .map-control-btn {
        width: 32px;
        height: 32px;
        border: none;
        background: transparent;
        color: #64748B;
        cursor: pointer;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        transition: all 0.2s;
      }

      .map-control-btn:hover {
        background: #F1F5F9;
        color: #2563EB;
      }

      .map-control-btn.active {
        background: linear-gradient(135deg, #2563EB, #4F46E5);
        color: white;
      }

      /* Isometric Map */
      .isometric-map {
        position: relative;
        background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%);
        border-radius: 16px;
        height: 480px;
        overflow: hidden;
        border: 1px solid #D1FAE5;
      }

      .campus-svg {
        width: 100%;
        height: 100%;
      }

      /* Iso Buildings */
      .iso-building {
        cursor: pointer;
        transition: transform 0.3s ease;
        transform-origin: center;
      }

      .iso-building:hover {
        transform: translate(var(--tx, 370px), var(--ty, 180px)) scale(1.05);
        filter: drop-shadow(0 12px 20px rgba(0,0,0,0.2));
      }

      .iso-building.active {
        filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.5));
      }

      .admin-building { --tx: 370px; --ty: 180px; }
      .academic-building { --tx: 150px; --ty: 320px; }
      .library-building { --tx: 580px; --ty: 320px; }
      .hostel-building { --tx: 280px; --ty: 440px; }
      .transport-building { --tx: 490px; --ty: 440px; }

      /* Pulse Rings */
      .pulse-ring {
        animation: ringPulse 2s ease-out infinite;
        transform-origin: center;
      }

      .pulse-ring-2 {
        animation-delay: 1s;
      }

      @keyframes ringPulse {
        0% {
          opacity: 0.8;
          transform: scale(0.8);
        }
        100% {
          opacity: 0;
          transform: scale(2);
        }
      }

      /* Map Info Overlay */
      .map-info-overlay {
        position: absolute;
        top: 16px;
        left: 16px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        z-index: 5;
      }

      .map-info-item {
        display: flex;
        align-items: center;
        gap: 8px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 8px 12px;
        border-radius: 10px;
        font-size: 11px;
        font-weight: 600;
        color: #1E293B;
        box-shadow: 0 4px 16px rgba(0,0,0,0.06);
      }

      .info-pulse {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        position: relative;
      }

      .info-pulse::after {
        content: '';
        position: absolute;
        inset: -4px;
        border-radius: 50%;
        background: inherit;
        opacity: 0.3;
        animation: pulseExpand 2s ease-out infinite;
      }

      @keyframes pulseExpand {
        0% { transform: scale(1); opacity: 0.3; }
        100% { transform: scale(2.5); opacity: 0; }
      }

      .info-pulse.green { background: #10B981; }
      .info-pulse.blue { background: #2563EB; }

      /* Twin Stats Row */
      .twin-stats-row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        margin-top: 16px;
      }

      .twin-stat-pill {
        display: flex;
        align-items: center;
        gap: 8px;
        background: white;
        border: 1px solid #E2E8F0;
        border-radius: 12px;
        padding: 12px 16px;
        transition: all 0.2s;
      }

      .twin-stat-pill:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.06);
      }

      .stat-pill-icon {
        font-size: 18px;
      }

      .stat-pill-value {
        font-size: 16px;
        font-weight: 800;
        color: #1E293B;
      }

      .stat-pill-label {
        font-size: 10px;
        color: #94A3B8;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 600;
        margin-left: auto;
      }

      /* Info Panel */
      .twin-info-panel {
        background: linear-gradient(160deg, #FFFFFF 0%, #F8FAFC 100%);
        border: 1px solid #E2E8F0;
        border-radius: 24px;
        padding: 0;
        box-shadow: 0 20px 60px rgba(37, 99, 235, 0.08);
        overflow: hidden;
        display: flex;
        flex-direction: column;
      }

      .info-hero {
        position: relative;
        padding: 28px 24px;
        background: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #4F46E5 100%);
        overflow: hidden;
      }

      .info-hero-bg {
        position: absolute;
        inset: 0;
        background-image:
          radial-gradient(circle at 20% 50%, rgba(255,255,255,0.15) 0%, transparent 40%),
          radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 40%);
      }

      .info-hero-content {
        position: relative;
        display: flex;
        align-items: center;
        gap: 16px;
        z-index: 1;
      }

      .info-icon-circle {
        width: 64px;
        height: 64px;
        background: rgba(255,255,255,0.2);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,0.3);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 32px;
        flex-shrink: 0;
      }

      .info-title-block {
        flex: 1;
      }

      .info-status {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: rgba(16, 185, 129, 0.2);
        backdrop-filter: blur(10px);
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 10px;
        font-weight: 700;
        color: #D1FAE5;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 6px;
      }

      .status-dot {
        width: 6px;
        height: 6px;
        background: #34D399;
        border-radius: 50%;
        animation: statusBlink 1.5s ease-in-out infinite;
        box-shadow: 0 0 6px rgba(52, 211, 153, 0.6);
      }

      @keyframes statusBlink {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.5; }
      }

      .info-title-block h3 {
        color: white;
        font-size: 22px;
        font-weight: 800;
        margin: 0;
      }

      .info-subtitle {
        color: rgba(255, 255, 255, 0.7);
        font-size: 12px;
        font-weight: 500;
      }

      /* Metrics Row */
      .info-metrics-row {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 20px 24px;
        background: white;
        border-bottom: 1px solid #F1F5F9;
      }

      .info-metric {
        flex: 1;
        text-align: center;
      }

      .info-metric-value {
        display: block;
        font-size: 20px;
        font-weight: 800;
        color: #1E293B;
        line-height: 1;
      }

      .info-metric-label {
        font-size: 10px;
        color: #94A3B8;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 600;
        margin-top: 4px;
        display: block;
      }

      .info-metric-divider {
        width: 1px;
        height: 36px;
        background: #E2E8F0;
      }

      /* Info Sections */
      .info-section {
        padding: 20px 24px;
        border-bottom: 1px solid #F1F5F9;
      }

      .info-section:last-of-type {
        border-bottom: none;
      }

      .info-section-header {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 12px;
      }

      .info-section-icon {
        font-size: 14px;
      }

      .info-section-header h4 {
        font-size: 12px;
        font-weight: 700;
        color: #1E293B;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin: 0;
        flex: 1;
      }

      .info-section-badge {
        font-size: 9px;
        background: rgba(16, 185, 129, 0.1);
        color: #059669;
        padding: 3px 8px;
        border-radius: 6px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }

      /* Module Tags */
      .module-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
      }

      .module-tag {
        background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
        color: #1E40AF;
        font-size: 11px;
        font-weight: 700;
        padding: 6px 12px;
        border-radius: 20px;
        border: 1px solid rgba(37, 99, 235, 0.2);
        transition: all 0.2s;
      }

      .module-tag:hover {
        background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
        transform: translateY(-1px);
      }

      /* Users List */
      .users-list {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
      }

      .user-chip {
        display: flex;
        align-items: center;
        gap: 6px;
        background: #F8FAFC;
        padding: 4px 10px 4px 4px;
        border-radius: 20px;
        font-size: 11px;
        font-weight: 600;
        color: #475569;
        border: 1px solid #E2E8F0;
      }

      .user-avatar {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        font-weight: 700;
      }

      /* Activity Feed */
      .activity-feed {
        display: flex;
        flex-direction: column;
        gap: 8px;
      }

      .activity-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 12px;
        background: #F8FAFC;
        border-radius: 8px;
        font-size: 11px;
        transition: all 0.2s;
      }

      .activity-item:hover {
        background: #F1F5F9;
        transform: translateX(4px);
      }

      .activity-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        flex-shrink: 0;
      }

      .activity-dot.blue { background: #2563EB; }
      .activity-dot.green { background: #10B981; }
      .activity-dot.purple { background: #8B5CF6; }
      .activity-dot.orange { background: #F59E0B; }

      .activity-text {
        flex: 1;
        color: #475569;
        font-weight: 500;
      }

      .activity-time {
        color: #94A3B8;
        font-weight: 700;
      }

      /* Twin CTA Button */
      .twin-cta-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 0 24px 24px;
        padding: 14px;
        background: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
        color: white;
        border-radius: 14px;
        font-weight: 700;
        font-size: 14px;
        text-decoration: none;
        box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
        transition: all 0.3s;
      }

      .twin-cta-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4);
      }

      /* Building Selector Pills */
      .building-selector {
        display: flex;
        gap: 10px;
        justify-content: center;
        flex-wrap: wrap;
      }

      .building-pill {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 18px;
        background: white;
        border: 1.5px solid #E2E8F0;
        border-radius: 24px;
        cursor: pointer;
        font-size: 12px;
        font-weight: 600;
        color: #475569;
        transition: all 0.2s;
      }

      .building-pill:hover {
        border-color: #2563EB;
        color: #1E293B;
        transform: translateY(-2px);
      }

      .building-pill.active {
        background: linear-gradient(135deg, #2563EB, #4F46E5);
        color: white;
        border-color: transparent;
        box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
      }

      .pill-color {
        width: 8px;
        height: 8px;
        border-radius: 50%;
      }

      .building-pill.active .pill-color {
        background: white !important;
      }

      @media (max-width: 768px) {
        .isometric-map {
          height: 360px;
        }

        .twin-stats-row {
          grid-template-columns: repeat(2, 1fr);
        }

        .info-metrics-row {
          padding: 16px;
          gap: 8px;
        }

        .info-section {
          padding: 16px;
        }
      }
    

      .ai-engine-section {
        background: linear-gradient(180deg, #050816 0%, #0B0F19 40%, #1E1B4B 100%);
        position: relative;
        overflow: hidden;
        padding: 100px 0;
      }

      .ai-engine-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
          radial-gradient(circle at 25% 30%, rgba(0, 210, 196, 0.08) 0%, transparent 35%),
          radial-gradient(circle at 75% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 35%);
        pointer-events: none;
      }

      .ai-engine-section > .container {
        position: relative;
        z-index: 1;
      }

      /* ====== Brain Stage ====== */
      .ai-brain-stage {
        position: relative;
        aspect-ratio: 1 / 1;
        max-width: 480px;
        margin: 56px auto 64px;
      }

      .brain-backdrop {
        position: absolute;
        inset: 0;
        background: radial-gradient(circle, rgba(0, 210, 196, 0.12) 0%, transparent 60%);
        animation: backdropPulse 5s ease-in-out infinite;
      }

      @keyframes backdropPulse {
        0%, 100% { opacity: 0.6; transform: scale(1); }
        50% { opacity: 1; transform: scale(1.1); }
      }

      /* Brain Core */
      .brain-core {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
      }

      .brain-ring {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        border: 1px solid rgba(0, 210, 196, 0.3);
        animation: ringExpand 3s ease-out infinite;
      }

      .brain-ring-1 {
        width: 140px; height: 140px;
        animation-delay: 0s;
      }
      .brain-ring-2 {
        width: 140px; height: 140px;
        animation-delay: 1s;
      }
      .brain-ring-3 {
        width: 140px; height: 140px;
        animation-delay: 2s;
      }

      @keyframes ringExpand {
        0% { width: 140px; height: 140px; opacity: 0.8; border-width: 2px; }
        100% { width: 320px; height: 320px; opacity: 0; border-width: 1px; }
      }

      .brain-inner {
        width: 140px;
        height: 140px;
        background: linear-gradient(135deg, #0B0F19 0%, #1E1B4B 100%);
        border: 2px solid rgba(0, 210, 196, 0.5);
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        box-shadow:
          0 0 50px rgba(0, 210, 196, 0.4),
          inset 0 0 30px rgba(0, 210, 196, 0.1);
        animation: brainFloat 5s ease-in-out infinite;
        position: relative;
        z-index: 5;
      }

      @keyframes brainFloat {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-6px); }
      }

      .brain-label {
        font-size: 16px;
        font-weight: 800;
        color: white;
        margin-top: 4px;
      }

      .brain-version {
        font-size: 9px;
        color: rgba(0, 210, 196, 0.85);
        text-transform: uppercase;
        letter-spacing: 1.5px;
        font-weight: 700;
      }

      /* Orbits */
      .brain-orbit {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        border: 1px dashed rgba(255, 255, 255, 0.08);
      }

      .brain-orbit-outer {
        width: 100%; height: 100%;
        animation: orbitSpin 30s linear infinite;
      }

      .brain-orbit-mid {
        width: 75%; height: 75%;
        border-color: rgba(0, 210, 196, 0.15);
        animation: orbitSpin 22s linear infinite reverse;
      }

      .brain-orbit-inner {
        width: 50%; height: 50%;
        border-color: rgba(139, 92, 246, 0.18);
        animation: orbitSpin 15s linear infinite;
      }

      @keyframes orbitSpin {
        from { transform: translate(-50%, -50%) rotate(0deg); }
        to { transform: translate(-50%, -50%) rotate(360deg); }
      }

      .orbit-dot {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 8px;
        height: 8px;
        background: #00D2C4;
        border-radius: 50%;
        box-shadow: 0 0 12px currentColor;
        transform: rotate(var(--p, 0deg)) translateY(calc(-1 * var(--radius, 50%))) translate(-50%, -50%);
      }

      .brain-orbit-outer .orbit-dot {
        --radius: 50%;
        background: #00D2C4;
      }
      .brain-orbit-mid .orbit-dot {
        --radius: 50%;
        background: #8B5CF6;
      }
      .brain-orbit-inner .orbit-dot {
        --radius: 50%;
        background: #F59E0B;
      }

      /* Floating Capability Tags */
      .brain-tag {
        position: absolute;
        background: rgba(15, 23, 42, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 24px;
        padding: 8px 14px;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        font-weight: 600;
        color: white;
        white-space: nowrap;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
        z-index: 15;
        animation: tagFloat 6s ease-in-out infinite;
      }

      .tag-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        box-shadow: 0 0 8px currentColor;
      }

      .brain-tag-1 {
        top: 6%; left: 50%;
        transform: translateX(-50%);
        animation-delay: 0s;
      }
      .brain-tag-2 {
        top: 30%; right: -8%;
        animation-delay: 1s;
      }
      .brain-tag-3 {
        top: 55%; right: -12%;
        animation-delay: 2s;
      }
      .brain-tag-4 {
        bottom: 6%; left: 50%;
        transform: translateX(-50%);
        animation-delay: 3s;
      }
      .brain-tag-5 {
        top: 55%; left: -12%;
        animation-delay: 4s;
      }
      .brain-tag-6 {
        top: 30%; left: -8%;
        animation-delay: 5s;
      }

      @keyframes tagFloat {
        0%, 100% { transform: translate(var(--tx, 0), 0); }
        50% { transform: translate(var(--tx, 0), -8px); }
      }

      .brain-tag-1, .brain-tag-4 { --tx: -50%; }

      /* ====== Capability Grid ====== */
      .ai-cap-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
      }

      @media (max-width: 992px) {
        .ai-cap-grid { grid-template-columns: repeat(2, 1fr); }
      }

      @media (max-width: 576px) {
        .ai-cap-grid { grid-template-columns: 1fr; }
      }

      .ai-cap-tile {
        position: relative;
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 20px;
        padding: 28px 24px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
      }

      .ai-cap-tile::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--accent, #00D2C4), transparent);
        opacity: 0;
        transition: opacity 0.4s;
      }

      .ai-cap-tile:hover {
        transform: translateY(-6px);
        border-color: rgba(0, 210, 196, 0.3);
        background: linear-gradient(145deg, rgba(0, 210, 196, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
      }

      .ai-cap-tile:hover::before { opacity: 1; }

      .ai-cap-num {
        position: absolute;
        top: 16px;
        right: 20px;
        font-size: 36px;
        font-weight: 900;
        color: rgba(0, 210, 196, 0.08);
        line-height: 1;
        font-variant-numeric: tabular-nums;
      }

      .ai-cap-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 16px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
      }

      .ai-cap-tile h3 {
        font-size: 16px;
        font-weight: 700;
        color: white;
        margin: 0 0 10px;
      }

      .ai-cap-tile p {
        font-size: 13px;
        color: rgba(199, 210, 254, 0.7);
        line-height: 1.6;
        margin: 0 0 20px;
      }

      .ai-cap-stat {
        display: flex;
        flex-direction: column;
        padding-top: 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
      }

      .ai-cap-stat-num {
        font-size: 18px;
        font-weight: 800;
        background: linear-gradient(135deg, #00D2C4, #4F46E5);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1;
      }

      .ai-cap-stat-lbl {
        font-size: 10px;
        color: rgba(199, 210, 254, 0.5);
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 600;
        margin-top: 4px;
      }

      /* ====== Trust Strip ====== */
      .ai-trust-strip {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 32px;
        margin-top: 56px;
        padding: 24px 32px;
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 20px;
        flex-wrap: wrap;
      }

      .trust-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
      }

      .trust-num {
        font-size: 22px;
        font-weight: 900;
        background: linear-gradient(135deg, #00D2C4, #4F46E5);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1;
      }

      .trust-lbl {
        font-size: 11px;
        color: rgba(199, 210, 254, 0.6);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 600;
      }

      .trust-divider {
        width: 1px;
        height: 32px;
        background: rgba(255, 255, 255, 0.1);
      }

      @media (max-width: 768px) {
        .ai-trust-strip {
          gap: 16px;
        }
        .trust-divider {
          display: none;
        }
        .ai-brain-stage {
          max-width: 360px;
          margin: 40px auto 48px;
        }
      }
    

      /* API Hub Styles */
      .api-hub-visual {
        position: relative;
        background: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);
        border: 1px solid rgba(37, 99, 235, 0.1);
        border-radius: 24px;
        padding: 48px;
        box-shadow: 0 20px 60px rgba(37, 99, 235, 0.06);
      }

      .api-hub-center {
        text-align: center;
        margin-bottom: 40px;
      }

      .api-hub-core {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        background: linear-gradient(135deg, #2563EB, #4F46E5);
        color: white;
        padding: 16px 32px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 16px;
        box-shadow: 0 8px 32px rgba(37, 99, 235, 0.3);
      }

      .api-hub-label {
        margin-top: 12px;
        font-size: 12px;
        color: #94A3B8;
        font-weight: 500;
        letter-spacing: 1px;
      }

      .api-connections-svg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 0;
      }

      .api-integrations-row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        position: relative;
        z-index: 1;
      }

      .api-row-1 {
        margin-bottom: 20px;
      }

      .api-integration-card {
        background: white;
        border: 1px solid #E2E8F0;
        border-radius: 16px;
        padding: 24px;
        display: flex;
        align-items: flex-start;
        gap: 16px;
        transition: all 0.3s ease;
        cursor: pointer;
      }

      .api-integration-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
        border-color: #2563EB;
      }

      .api-integration-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        flex-shrink: 0;
      }

      .api-integration-info {
        flex: 1;
      }

      .api-integration-info h4 {
        font-size: 14px;
        font-weight: 700;
        color: #1E293B;
        margin-bottom: 4px;
      }

      .api-integration-info p {
        font-size: 12px;
        color: #64748B;
        line-height: 1.5;
      }

      .api-integration-status {
        font-size: 10px;
        font-weight: 600;
        color: #10B981;
        background: rgba(16, 185, 129, 0.1);
        padding: 4px 10px;
        border-radius: 20px;
        white-space: nowrap;
      }

      .api-stats-bar {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 32px;
        background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
        border-radius: 16px;
        padding: 24px 40px;
        flex-wrap: wrap;
      }

      .api-stat-item {
        text-align: center;
      }

      .api-stat-number {
        display: block;
        font-size: 24px;
        font-weight: 800;
        color: #38BDF8;
      }

      .api-stat-label {
        font-size: 11px;
        color: #94A3B8;
        text-transform: uppercase;
        letter-spacing: 1px;
      }

      .api-stat-divider {
        width: 1px;
        height: 40px;
        background: rgba(148, 163, 184, 0.2);
      }

      @media (max-width: 992px) {
        .api-integrations-row {
          grid-template-columns: repeat(2, 1fr);
        }
        
        .api-stats-bar {
          gap: 24px;
        }
        
        .api-stat-divider {
          display: none;
        }
      }

      @media (max-width: 576px) {
        .api-integrations-row {
          grid-template-columns: 1fr;
        }
        
        .api-hub-visual {
          padding: 24px;
        }
      }


/* =========================================================
   PRODUCT PAGE (features.php) — MOBILE / TABLET SYSTEM
   Proper desktop → mobile section conversions
   ========================================================= */

#features-page {
  overflow-x: clip;
}

.feat-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.feat-split--custom {
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
}

.feat-split--security {
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
}

.feat-tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 24px;
  margin-top: 48px;
}

.modules-scope-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1100px) {
  .feat-split,
  .feat-split--custom,
  .feat-split--security {
    gap: 36px;
  }
}

@media (max-width: 992px) {
  #features-page .section,
  #features-page .section-subtle,
  #features-page .features-hero.hero-pro {
    padding-left: 0;
    padding-right: 0;
  }

  #features-page .section,
  #features-page .section-subtle {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .features-hero.hero-pro {
    min-height: auto;
    padding: 110px 0 56px;
  }

  .hero-container {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .hero-headline {
    font-size: clamp(30px, 8vw, 40px);
    letter-spacing: -1.2px;
    margin-bottom: 16px;
  }

  .hero-sub {
    font-size: 15.5px;
    margin-bottom: 24px;
    max-width: none;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 24px;
  }

  .hero-ctas .btn,
  .hero-ctas .hero-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-canvas-wrap {
    order: 2;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-copy {
    order: 1;
  }

  /* Force split sections to stack */
  .feat-split,
  .feat-split--custom,
  .feat-split--security,
  #features-page .container[style*="grid-template-columns"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .feat-tech-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    margin-top: 28px !important;
  }

  #features-page .modules-scope-grid,
  .modules-scope-grid--3 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }

  #features-page .module-scope-column {
    padding: 22px 18px;
  }

  #features-page .module-scope-column h3 {
    font-size: 17px;
  }

  /* Lifecycle: vertical path (no horizontal page scroll) */
  #features-page .lifecycle-timeline-wrapper,
  .lifecycle-timeline-wrapper {
    overflow-x: hidden !important;
    padding: 12px 0 8px;
  }

  #features-page .lifecycle-timeline-track,
  .lifecycle-timeline-track {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    gap: 18px;
    padding: 8px 0;
  }

  #features-page .lifecycle-timeline-track::before,
  .lifecycle-timeline-track::before {
    top: 0;
    bottom: 0;
    left: 27px;
    right: auto;
    width: 3px;
    height: auto;
    transform: none;
    background: linear-gradient(180deg, var(--color-primary), var(--color-indigo), var(--color-emerald));
  }

  #features-page .lifecycle-step-node,
  .lifecycle-step-node {
    flex-direction: row !important;
    width: 100% !important;
    text-align: left !important;
    align-items: center;
    gap: 14px;
    padding-left: 4px;
  }

  #features-page .lifecycle-step-node h4,
  .lifecycle-step-node h4 {
    text-align: left;
    margin-top: 0;
    flex: 1;
    min-width: 0;
    font-size: 15px;
  }

  #features-page .lifecycle-step-circle {
    flex-shrink: 0;
  }

  /* Explorer canvas */
  #features-page .explorer-canvas-container {
    min-height: 360px;
    border-radius: 18px;
  }

  #features-page .platform-explorer-section .container,
  #features-page .section .container {
    max-width: 100%;
  }

  /* Twin / automation already mostly handled — reinforce */
  #features-page .digital-twin-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  #features-page .auto-builder-flow {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  #features-page .auto-flow-card {
    min-width: 0 !important;
    width: 100%;
  }

  #features-page .auto-flow-card::after {
    display: none !important;
  }

  #features-page .dev-console-layout {
    grid-template-columns: 1fr !important;
  }

  #features-page .roadmap-timeline-track {
    flex-direction: column !important;
    gap: 24px !important;
  }

  #features-page .roadmap-timeline-track::before {
    display: none !important;
  }

  /* Contain marquee ticker */
  #features-page .hero-ticker,
  .hero-ticker {
    overflow: hidden;
    max-width: 100%;
  }

  /* AI / API / twin stats grids */
  #features-page .ai-cap-grid,
  #features-page .api-integrations-row,
  #features-page .twin-stats-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  #features-page .platform-canvas-area {
    grid-template-columns: 1fr !important;
  }

  #features-page .twin-sidebar-panel {
    padding: 22px 18px;
  }

  #features-page .section-header h2,
  #features-page h2 {
    font-size: clamp(24px, 6.5vw, 32px) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.5px;
  }
}

@media (max-width: 576px) {
  .features-hero.hero-pro {
    padding: 100px 0 40px;
  }

  .hero-headline {
    font-size: 28px;
    letter-spacing: -0.8px;
  }

  .hero-sub {
    font-size: 14.5px;
    line-height: 1.6;
  }

  .hero-canvas-frame {
    border-radius: 20px;
    max-width: 100%;
  }

  .hero-card {
    min-width: 0;
    padding: 8px 10px;
  }

  #features-page .modules-scope-grid,
  .modules-scope-grid--3,
  .feat-tech-grid,
  #features-page .ai-cap-grid,
  #features-page .api-integrations-row,
  #features-page .twin-stats-row {
    grid-template-columns: 1fr !important;
  }

  #features-page .section,
  #features-page .section-subtle {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  #features-page .explorer-canvas-container {
    min-height: 300px;
    padding: 12px;
  }

  #features-page .lifecycle-step-circle {
    width: 44px;
    height: 44px;
    font-size: 14px;
  }

  #features-page .lifecycle-timeline-track::before {
    left: 21px;
  }
}

/* Prefer reduced motion: keep layout, soften motion */
@media (prefers-reduced-motion: reduce) {
  #features-page .hero-bg-mesh,
  #features-page .hero-bg-grid,
  #features-page .h-particle {
    animation: none !important;
  }
}
