/**
 * Wind Tower VIV Monitoring - Additional Styles
 * Supplements landing.css with wind-specific components
 */

/* ==========================================
   FORENSIC INCIDENT SECTION ENHANCEMENTS
   ========================================== */

.forensic-intro {
  margin-top: var(--space-4);
  margin-bottom: var(--space-8);
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 800px;
}

.incident-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.incident-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--accent-orange);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.incident-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-orange), var(--danger));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.incident-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-left-color: var(--danger);
  transform: translateX(2px);
}

.incident-card:hover::before {
  opacity: 1;
}

.incident-header {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.incident-year {
  font-family: var(--font-data);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--accent-orange);
  background: rgba(255, 69, 0, 0.1);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  letter-spacing: var(--tracking-wide);
}

.incident-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin: 0;
}

.incident-description {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 var(--space-5) 0;
}

.incident-lesson {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: rgba(0, 255, 65, 0.05);
  border-radius: var(--radius-md);
  border-left: 2px solid var(--accent-green);
}

.lesson-label {
  font-family: var(--font-data);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

.lesson-text {
  font-size: var(--text-sm);
  color: var(--text-primary);
  line-height: 1.5;
}

.forensic-conclusion {
  padding: var(--space-6);
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.08) 0%, rgba(255, 51, 51, 0.08) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 69, 0, 0.2);
  border-left: 4px solid var(--accent-orange);
}

.forensic-conclusion p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.forensic-conclusion strong {
  color: var(--accent-orange);
  font-weight: var(--weight-semibold);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .incident-grid {
    grid-template-columns: 1fr;
  }
  
  .incident-header {
    flex-direction: column;
    gap: var(--space-2);
  }
}

/* ==========================================
   HERO - TOWER VISUALIZATION
   ========================================== */

.tower-visualization {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.hero-tower-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 20px rgba(0, 255, 65, 0.1));
}

/* Tower animation - subtle sway */
@keyframes towerSway {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(2px); }
}

/* ==========================================
   TIMELINE VISUALIZATION (Contact Section)
   ========================================== */

.timeline-visualization {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-phase {
  display: grid;
  grid-template-columns: 80px 1fr 200px;
  gap: var(--space-4);
  align-items: center;
}

.phase-label {
  font-family: var(--font-data);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-secondary);
  text-align: right;
}

.phase-bar {
  height: 32px;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
}

.phase-setup {
  background: linear-gradient(90deg, 
    rgba(160, 160, 160, 0.3) 0%, 
    rgba(160, 160, 160, 0.1) 100%);
}

.phase-danger {
  background: linear-gradient(90deg, 
    rgba(255, 69, 0, 0.4) 0%, 
    rgba(255, 51, 51, 0.4) 100%);
  animation: pulseDanger 2s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(255, 69, 0, 0.3);
}

.phase-critical {
  background: linear-gradient(90deg, 
    rgba(255, 184, 0, 0.4) 0%, 
    rgba(255, 184, 0, 0.2) 100%);
}

.phase-safe {
  background: linear-gradient(90deg, 
    rgba(0, 255, 65, 0.3) 0%, 
    rgba(0, 255, 65, 0.1) 100%);
}

@keyframes pulseDanger {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.phase-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.4;
}

.timeline-phase.vulnerability .phase-desc {
  color: var(--accent-orange);
  font-weight: var(--weight-medium);
}

.timeline-note {
  margin-top: var(--space-4);
  padding: var(--space-4);
  background: rgba(0, 255, 65, 0.05);
  border-left: 3px solid var(--accent-green);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================
   RESPONSIVE TIMELINE
   ========================================== */

@media (max-width: 768px) {
  .timeline-phase {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
  
  .phase-label {
    text-align: left;
  }
  
  .phase-desc {
    font-size: var(--text-xs);
  }
}

/* ==========================================
   INCIDENT CALLOUT UPDATES
   ========================================== */

.incident-examples {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.incident {
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--accent-orange);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text-secondary);
}

.incident strong {
  color: var(--text-primary);
  font-weight: var(--weight-semibold);
  display: block;
  margin-bottom: var(--space-2);
}

.incident em {
  display: block;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-style: normal;
  color: var(--accent-green);
  font-size: var(--text-xs);
  font-family: var(--font-data);
}
