/**
 * Research Page Styles
 * Academic/professional styling for correlation research page
 */

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.page-header .breadcrumbs {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.page-header .breadcrumbs a {
  color: white;
  text-decoration: none;
}

.page-header h1 {
  margin: 0 0 0.5rem 0;
  font-size: 2.5rem;
}

.page-header .subtitle {
  font-size: 1.1rem;
  opacity: 0.95;
}

.page-header .meta {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 1rem;
}

/* Container */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Methodology Section */
.methodology {
  margin: 3rem 0;
  line-height: 1.8;
}

.methodology h3 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.methodology ul {
  padding-left: 1.5rem;
}

.methodology li {
  margin-bottom: 0.5rem;
}

/* Results Section */
.results {
  margin: 3rem 0;
}

.results h3 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.results p {
  line-height: 1.7;
  color: #374151;
}

.results ul {
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.results li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

/* Strategy Cards */
.strategy-card {
  background: #ede9fe;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border-left: 4px solid #7c3aed;
}

.strategy-card h4 {
  margin-top: 0;
  color: #5b21b6;
  font-size: 1.2rem;
}

.strategy-card ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.strategy-card li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: #6b21a8;
}

/* References Section */
.references {
  margin: 3rem 0;
  padding: 2rem;
  background: #faf5ff;
  border-radius: 12px;
}

.references h2 {
  color: #5b21b6;
  margin-top: 0;
}

.references ol {
  padding-left: 1.5rem;
}

.references li {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: #374151;
}

.references em {
  color: #6b21a8;
  font-style: italic;
}

.references blockquote {
  background: white;
  border-left: 4px solid #7c3aed;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: #4b5563;
}

/* Limitations Section (Transparency - E-E-A-T) */
.limitations {
  margin: 3rem 0;
  padding: 2rem;
  background: #fef2f2;
  border-radius: 12px;
  border-left: 4px solid #dc2626;
}

.limitations h2 {
  color: #991b1b;
  margin-top: 0;
}

.limitations ul {
  padding-left: 1.5rem;
}

.limitations li {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: #7f1d1d;
}

/* Practical Applications */
.practical-applications {
  margin: 3rem 0;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
  margin: 3rem 0;
}

.cta h2 {
  margin-top: 0;
  color: #5b21b6;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  color: white;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s;
}

.btn-primary:hover {
  transform: scale(1.05);
}

.btn-secondary {
  background: white;
  color: #7c3aed;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid #7c3aed;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: #7c3aed;
  color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 1.75rem;
  }

  .container {
    padding: 0 1rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* Table Styles for Research Content */
.results table,
.methodology table,
.strategy-card table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
  background: white;
}

.results table thead,
.methodology table thead,
.strategy-card table thead {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
}

.results table th,
.methodology table th,
.strategy-card table th {
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  border: 1px solid #c4b5fd;
  color: #5b21b6;
}

.results table td,
.methodology table td,
.strategy-card table td {
  padding: 0.75rem;
  border: 1px solid #e9d5ff;
  color: #374151;
}

.results table tbody tr:hover,
.methodology table tbody tr:hover,
.strategy-card table tbody tr:hover {
  background: #faf5ff;
}

@media (max-width: 768px) {
  .results table,
  .methodology table,
  .strategy-card table {
    font-size: 0.8rem;
  }

  .results table th,
  .results table td,
  .methodology table th,
  .methodology table td,
  .strategy-card table th,
  .strategy-card table td {
    padding: 0.5rem;
  }
}
