/* Analysis Page Specific Styles */

.analysis-page {
  padding-top: var(--space-8);
  padding-bottom: var(--space-16);
}

/* Hero Section */
.hero-section {
  padding: var(--space-12) 0;
  border-bottom: 2px solid rgba(0, 243, 255, 0.1);
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--space-4);
  color: var(--primary);
  text-shadow: var(--shadow-neon-primary);
}

.hero-content p {
  font-size: var(--font-size-lg);
  color: var(--text-muted);
  line-height: var(--line-height-base);
  margin-bottom: var(--space-6);
}

.hero-image-wrapper {
  position: relative;
}

.neon-img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 2px solid rgba(0, 243, 255, 0.2);
  transition: all var(--transition-base);
}

.neon-img:hover {
  border-color: rgba(0, 243, 255, 0.5);
}

.primary-glow {
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.3), 0 0 40px rgba(0, 243, 255, 0.1);
}

.neon-img.primary-glow:hover {
  box-shadow: 0 0 30px rgba(0, 243, 255, 0.6), 0 0 60px rgba(0, 243, 255, 0.3);
}

.accent-glow {
  box-shadow: 0 0 20px rgba(188, 19, 254, 0.3), 0 0 40px rgba(188, 19, 254, 0.1);
}

.neon-img.accent-glow:hover {
  box-shadow: 0 0 30px rgba(188, 19, 254, 0.6), 0 0 60px rgba(188, 19, 254, 0.3);
}

.warning-glow {
  box-shadow: 0 0 20px rgba(255, 234, 0, 0.3), 0 0 40px rgba(255, 234, 0, 0.1);
}

.neon-img.warning-glow:hover {
  box-shadow: 0 0 30px rgba(255, 234, 0, 0.6), 0 0 60px rgba(255, 234, 0, 0.3);
}

/* Analysis Sections */
.analysis-section {
  padding: var(--space-12) 0;
  border-bottom: 1px solid rgba(0, 243, 255, 0.05);
}

.analysis-section.alternate {
  background: rgba(18, 18, 26, 0.3);
  padding: var(--space-12) var(--space-6);
  margin: 0 calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

.section-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: var(--space-4);
  color: var(--accent);
  text-shadow: var(--shadow-neon-accent);
}

.section-content p {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  line-height: var(--line-height-base);
  margin-bottom: var(--space-4);
}

.section-image {
  display: flex;
  justify-content: center;
}

.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

/* Cards Section */
.cards-section {
  padding: var(--space-12) 0;
}

.card {
  padding: var(--space-8);
  background: rgba(18, 18, 26, 0.5);
  border: 1px solid rgba(0, 243, 255, 0.1);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.card:hover {
  border-color: rgba(0, 243, 255, 0.3);
  box-shadow: var(--shadow-neon-primary);
  background: rgba(18, 18, 26, 0.8);
}

.card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-4);
  color: var(--primary);
}

.card p {
  color: var(--text-muted);
  font-size: var(--font-size-base);
}

/* Utility Classes */
.grid {
  display: grid;
  gap: var(--space-8);
}

.grid-cols-1 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .md-grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.items-center {
  align-items: center;
}

.gap-12 {
  gap: var(--space-12);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mt-4 {
  margin-top: var(--space-4);
}

.text-center {
  text-align: center;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-3) var(--space-6);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(0, 243, 255, 0.1);
  box-shadow: var(--shadow-neon-primary);
}

/* Animations */
.reveal {
  animation: revealOnScroll 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(40px);
}

@keyframes revealOnScroll {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .analysis-section {
    padding: var(--space-8) 0;
  }

  .analysis-section.alternate {
    padding: var(--space-8) var(--space-4);
  }

  .order-2 {
    order: initial;
  }

  .md-order-1 {
    order: 1;
  }

  .md-flex-row {
    flex-direction: column;
  }

  .md-flex-row-reverse {
    flex-direction: column-reverse;
  }
}

@media (min-width: 768px) {
  .md-order-1 {
    order: 1;
  }

  .md-flex-row {
    flex-direction: row;
  }

  .md-flex-row-reverse {
    flex-direction: row-reverse;
  }
}
