/* 
 * WOW MOMENTS - PHASE 3 DAY 1-2
 * Talk-Worthiness Strategy: Create shareable "Wow" moments
 * CRITICAL: Product-protected implementation
 */

/* ============================================
   1. HERO SECTION WOW
   Interactive 3D Building Visualization
   ============================================ */

.hero-3d-container {
  position: relative;
  width: 100%;
  min-height: 500px;  /* Smaller container */
  perspective: 1200px;
  overflow: hidden;
  margin: 40px 0;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.building-3d-wrapper {
  position: relative;
  width: 100%;
  height: 480px;  /* Smaller building height */
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.building-3d-wrapper:hover {
  transform: rotateY(5deg) rotateX(-2deg);
}

.building-layer {
  position: absolute;
  width: 320px;  /* Smaller width (was 400px) */
  height: 440px;  /* Smaller height (was 550px) */
  left: 50%;
  top: 50%;
  transform-origin: center center;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 4px 4px 0 0;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.building-layer-front {
  transform: translate(-50%, -50%) translateZ(120px);
  background: linear-gradient(135deg, rgba(0, 60, 120, 0.95), rgba(0, 100, 180, 0.9));
  border: 2px solid rgba(0, 212, 255, 0.6);
  box-shadow: 
    0 30px 100px rgba(0, 0, 0, 0.6),
    inset 0 0 100px rgba(0, 212, 255, 0.1);
}

.building-layer-mid {
  transform: translate(-50%, -50%) translateZ(60px);
  background: linear-gradient(135deg, rgba(0, 60, 120, 0.75), rgba(0, 100, 180, 0.65));
  border: 2px solid rgba(0, 212, 255, 0.4);
}

.building-layer-back {
  transform: translate(-50%, -50%) translateZ(0px);
  background: linear-gradient(135deg, rgba(0, 60, 120, 0.6), rgba(0, 100, 180, 0.5));
  border: 2px solid rgba(0, 212, 255, 0.2);
}

.building-floor {
  height: 22px;  /* 20 floors fit in 440px */
  border-bottom: 1px solid rgba(0, 212, 255, 0.25);
  position: relative;
  display: flex;
  gap: 5px;
  padding: 3px 6px;
  align-items: center;
}

.building-window {
  width: 28px;  /* Slightly smaller windows */
  height: 14px;  /* Slightly smaller windows */
  background: rgba(180, 220, 255, 0.3);  /* Glass tint */
  border: 1px solid rgba(0, 212, 255, 0.5);
  border-radius: 2px;
  animation: windowGlow 4s ease-in-out infinite;
  animation-delay: calc(var(--window-index) * 0.05s);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

/* Glass reflection effect */
.building-window.window-glass-reflect::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: glassReflect 8s ease-in-out infinite;
  animation-delay: calc(var(--window-index) * 0.1s);
}

@keyframes glassReflect {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

@keyframes windowGlow {
  0%, 100% {
    background: rgba(180, 220, 255, 0.3);
    box-shadow: 
      inset 0 0 10px rgba(255, 255, 255, 0.2),
      0 0 5px rgba(0, 212, 255, 0.3);
  }
  50% {
    background: rgba(0, 212, 255, 0.7);
    box-shadow: 
      inset 0 0 15px rgba(255, 255, 255, 0.4),
      0 0 25px rgba(0, 212, 255, 0.9);
  }
}

/* Real-time Data Streaming (Demo) */
.data-stream-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 10;
}

.data-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #00d4ff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
  animation: dataFlow 3s linear infinite;
  opacity: 0;
}

@keyframes dataFlow {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0) scale(0);
  }
  10% {
    opacity: 1;
    transform: translateY(-50px) translateX(20px) scale(1);
  }
  90% {
    opacity: 1;
    transform: translateY(-450px) translateX(-20px) scale(0.5);
  }
  100% {
    opacity: 0;
    transform: translateY(-500px) translateX(0) scale(0);
  }
}

/* Animated Metrics Overlay */
.hero-metrics-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  z-index: 20;
}

.hero-metric-card {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  padding: 16px;
  border-radius: 12px;
  border: 2px solid rgba(0, 212, 255, 0.5);
  text-align: center;
  transition: all 0.3s ease;
}

.hero-metric-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 212, 255, 1);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.hero-metric-value {
  font-size: 32px;
  font-weight: 900;
  color: #00d4ff !important;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-metric-label {
  font-size: 12px;
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Particle Effects Background */
.particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   2. DASHBOARD WOW ENHANCEMENTS
   Enhanced Interactive Demo
   ============================================ */

.dashboard-wow-container {
  position: relative;
  margin: 60px 0;
}

/* AI Recommendations Preview */
.ai-recommendations-preview {
  background: linear-gradient(135deg, rgba(0, 85, 159, 0.1), rgba(0, 212, 255, 0.05));
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
}

.ai-recommendations-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

.ai-recommendation-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.ai-recommendation-card:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.6);
  transform: translateX(8px);
}

.ai-recommendation-icon {
  font-size: 32px;
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.6));
}

.ai-recommendation-content {
  flex: 1;
}

.ai-recommendation-title {
  font-size: 18px;
  font-weight: 700;
  color: #00d4ff !important;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.ai-recommendation-desc {
  font-size: 14px;
  color: #c9e4ff !important;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.ai-recommendation-impact {
  display: inline-block;
  background: rgba(0, 212, 255, 0.2);
  color: #00ffff !important;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 8px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* Predictive Insights Teaser */
.predictive-insights-teaser {
  background: linear-gradient(135deg, rgba(10, 40, 80, 0.9), rgba(0, 85, 159, 0.8));
  border: 3px solid rgba(0, 212, 255, 0.6);
  border-radius: 20px;
  padding: 32px;
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}

.insight-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulseWave 3s ease-out infinite;
}

.insight-wave:nth-child(2) {
  animation-delay: 1s;
}

.insight-wave:nth-child(3) {
  animation-delay: 2s;
}

@keyframes pulseWave {
  0% {
    width: 100px;
    height: 100px;
    opacity: 1;
  }
  100% {
    width: 500px;
    height: 500px;
    opacity: 0;
  }
}

.insight-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.insight-title {
  font-size: 32px;
  font-weight: 900;
  color: #ffffff !important;
  margin-bottom: 16px;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.6), 0 4px 16px rgba(0, 0, 0, 0.6);
}

.insight-subtitle {
  font-size: 18px;
  color: #c9e4ff !important;
  margin-bottom: 24px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.insight-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.insight-preview-item {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  padding: 20px;
  border-radius: 12px;
  border: 2px solid rgba(0, 212, 255, 0.4);
  text-align: center;
  transition: all 0.3s ease;
}

.insight-preview-item:hover {
  transform: scale(1.05);
  border-color: rgba(0, 212, 255, 1);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.4);
}

.insight-icon {
  font-size: 48px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.8));
}

.insight-label {
  font-size: 16px;
  font-weight: 700;
  color: #00d4ff !important;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.insight-value {
  font-size: 14px;
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ============================================
   3. INNOVATION WOW
   Industry-First Messaging
   ============================================ */

.innovation-breakthrough-section {
  background: #051729 !important;
  background-image: linear-gradient(135deg, #051729 0%, #0a2540 100%) !important;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  margin: 80px 0;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  min-height: 600px !important;
}

.breakthrough-badge {
  display: inline-block;
  background: linear-gradient(135deg, #00d4ff, #00ffff);
  color: #000000;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.5);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 12px 48px rgba(0, 212, 255, 0.8);
    transform: scale(1.05);
  }
}

.breakthrough-headline {
  font-size: 56px;
  font-weight: 900;
  color: #ffffff !important;
  line-height: 1.2;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.breakthrough-headline .highlight {
  color: #00d4ff !important;
  text-shadow: 0 0 40px rgba(0, 212, 255, 0.8);
}

.breakthrough-subheadline {
  font-size: 24px;
  color: #c9e4ff !important;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.revolutionary-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.revolutionary-feature-card {
  background: rgba(0, 85, 159, 0.1);
  border: 3px solid rgba(0, 212, 255, 0.4);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.revolutionary-feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  transform: rotate(45deg);
  transition: all 0.6s ease;
}

.revolutionary-feature-card:hover::before {
  transform: rotate(45deg) scale(1.5);
}

.revolutionary-feature-card:hover {
  transform: translateY(-12px);
  border-color: rgba(0, 212, 255, 1);
  box-shadow: 0 20px 60px rgba(0, 212, 255, 0.4);
  background: rgba(0, 85, 159, 0.2);
}

.feature-icon-large {
  font-size: 64px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 1));
  position: relative;
  z-index: 2;
}

.feature-title-large {
  font-size: 24px;
  font-weight: 900;
  color: #00d4ff !important;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.feature-desc-large {
  font-size: 16px;
  color: #c9e4ff !important;
  line-height: 1.8;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ============================================
   4. RESULTS WOW
   Dramatic Transformations
   ============================================ */

.results-transformation-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 30%, #2d3561 60%, #00d4ff 100%) !important;
  position: relative;
  overflow: hidden;
  opacity: 1 !important;
  visibility: visible !important;
}

.transformation-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

/* Before/After Slider */
.transformation-slider {
  position: relative;
  width: 100%;
  height: 500px;
  margin: 60px 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(0, 212, 255, 0.3);
  border: 2px solid rgba(0, 212, 255, 0.4);
}

.transformation-side {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.transformation-before {
  left: 0;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.95), rgba(204, 0, 0, 0.9)) !important;
  border-right: 2px solid rgba(255, 255, 255, 0.3);
}

.transformation-after {
  right: 0;
  background: linear-gradient(135deg, rgba(0, 100, 0, 0.95), rgba(0, 204, 0, 0.9)) !important;
  border-left: 2px solid rgba(255, 255, 255, 0.3);
}

.transformation-label {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  opacity: 1;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}

.transformation-value {
  font-size: 72px;
  font-weight: 900;
  margin-bottom: 12px;
}

.transformation-before .transformation-value {
  color: #ff3333 !important;  /* Innovative red for "before" (bad) */
  text-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.8), 
    0 0 30px rgba(255, 51, 51, 0.5);  /* Red glow */
}

.transformation-after .transformation-value {
  color: #00ff66 !important;  /* Innovative green for "after" (good) */
  text-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.8), 
    0 0 30px rgba(0, 255, 102, 0.5);  /* Green glow */
}

.transformation-desc {
  font-size: 20px;
  color: #ffffff !important;
  text-align: center;
  max-width: 300px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.transformation-divider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #ffffff !important;
  transform: translateX(-50%);
  z-index: 10;
  box-shadow: 
    0 0 30px rgba(255, 255, 255, 0.9),
    0 0 60px rgba(0, 212, 255, 0.6);
}

.transformation-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background: #ffffff !important;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: ew-resize;
  z-index: 20;
  box-shadow: 
    0 6px 25px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 212, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #0066cc !important;
  transition: all 0.3s ease;
  border: 3px solid rgba(0, 212, 255, 0.6);
}

.transformation-handle:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(0, 212, 255, 0.9);
}

.transformation-handle:hover {
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Impact Visualization Cards */
.impact-visualization-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.impact-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.impact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #00d4ff, #00ffff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.impact-card:hover::before {
  transform: scaleX(1);
}

.impact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 85, 159, 0.2);
}

.impact-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(0, 85, 159, 0.1), rgba(0, 212, 255, 0.1));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 40px;
}

.impact-metric {
  font-size: 48px;
  font-weight: 900;
  color: #0066cc;
  margin-bottom: 8px;
}

.impact-label {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 12px;
}

.impact-description {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
}

/* Animated Progress Bars */
.impact-progress {
  margin-top: 16px;
}

.progress-bar-wrapper {
  height: 8px;
  background: rgba(0, 85, 159, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #00d4ff, #00ffff);
  border-radius: 10px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .building-layer {
    width: 200px;
    height: 300px;
  }
  
  .breakthrough-headline {
    font-size: 36px;
  }
  
  .breakthrough-subheadline {
    font-size: 18px;
  }
  
  .transformation-slider {
    height: 400px;
  }
  
  .transformation-value {
    font-size: 48px;
  }
  
  .transformation-desc {
    font-size: 16px;
  }
}

/* Share Triggers - Subtle prompts for social sharing */
.share-prompt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(0, 212, 255, 0.1);
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 30px;
  font-size: 14px;
  color: #00d4ff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 24px;
}

.share-prompt:hover {
  background: rgba(0, 212, 255, 0.2);
  border-color: rgba(0, 212, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3);
}

.share-prompt-icon {
  font-size: 18px;
}

