
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  min-height: 100vh;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 2rem;
  text-align: center;
  position: relative;
}

.article-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.article-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.4;
}

/* About Author Section */
.about-author {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.author-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  max-width: 800px;
  margin: 0 auto;
}

.author-photo {
  flex-shrink: 0;
}

.author-headshot {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 5px solid #3498db;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.author-headshot:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.author-details {
  flex: 1;
}

.author-details h3 {
  color: #2c3e50;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  border: none;
  padding: 0;
}

.author-role {
  font-size: 1.2rem;
  color: #3498db;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.author-experience {
  font-size: 1.1rem;
  color: #e74c3c;
  font-weight: 600;
  margin-bottom: 1rem;
}

.author-description {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.author-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-type {
  font-weight: 600;
  color: #2c3e50;
  min-width: 60px;
}

.contact-row a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-row a:hover {
  color: #2980b9;
  text-decoration: underline;
}

/* Main Content */
.content {
  padding: 3rem 2rem;
}

section {
  margin-bottom: 3rem;
}

h2 {
  color: #2c3e50;
  font-size: 2rem;
  margin-bottom: 1rem;
  border-bottom: 3px solid #3498db;
  padding-bottom: 0.5rem;
}

h3 {
  color: #34495e;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  text-align: justify;
}

/* Lists */
ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

/* Enhanced Visual Elements */
.highlight-box {
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
  border-left: 5px solid #2196f3;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.warning-box {
  background: linear-gradient(135deg, #fff3e0 0%, #fce4ec 100%);
  border-left: 5px solid #ff9800;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.key-point {
  background: #f8f9fa;
  border: 2px solid #28a745;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.key-point h3 {
  color: #28a745;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.callout {
  font-size: 1.2rem;
  color: #2c3e50;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
  background: #ecf0f1;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.stat-box {
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 15px;
  margin: 2rem 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.big-stat {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.insight-box {
  background: linear-gradient(135deg, #ffd54f 0%, #ffb74d 100%);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 5px solid #ff8f00;
}

.insight-box h3 {
  color: #e65100;
  margin-bottom: 1rem;
}

.stat-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.stat-item {
  text-align: center;
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  border: 2px solid #dee2e6;
}

.stat-item.total {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  border-color: #c0392b;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: #e74c3c;
  margin-bottom: 0.5rem;
}

.stat-item.total .stat-number {
  color: white;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
}

.survey-intro {
  background: #e8f5e8;
  border-left: 5px solid #4caf50;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 8px;
  font-style: italic;
}

.detailed-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.detailed-table th,
.detailed-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}

.detailed-table th {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  font-weight: 600;
}

.detailed-table tr:nth-child(even) {
  background-color: #f8f9fa;
}

.detailed-table tr:hover {
  background-color: #e3f2fd;
}

.considerations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.consideration-item {
  background: #f8f9fa;
  border: 2px solid #dee2e6;
  border-radius: 10px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.consideration-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.consideration-item h4 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.implications-box {
  background: linear-gradient(135deg, #e1f5fe 0%, #f3e5f5 100%);
  border: 2px solid #2196f3;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
}

.alternative-approach {
  background: #f0f8f0;
  border-left: 5px solid #4caf50;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 8px;
}

.alternative-approach h3 {
  color: #2e7d32;
  margin-bottom: 1rem;
}

.debate-summary {
  background: #fff8e1;
  border-radius: 12px;
  padding: 2rem;
  margin: 1.5rem 0;
}

.key-takeaway {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  margin: 1.5rem 0;
  box-shadow: 0 6px 20px rgba(238, 90, 36, 0.3);
}

.key-takeaway h3 {
  color: white;
  margin-bottom: 1rem;
  border: none;
  padding: 0;
}

.conclusion-content {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  padding: 2rem;
  margin: 1.5rem 0;
}

.final-thoughts {
  background: white;
  border: 2px solid #dee2e6;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.call-to-action {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  margin: 2rem 0;
}

.call-to-action p {
  margin-bottom: 1rem;
}

.final-thought {
  font-size: 1.3rem;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Code elements */
code {
  background: #f8f9fa;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.9em;
  color: #e74c3c;
  border: 1px solid #e9ecef;
}

/* Two column layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 1.5rem 0;
}

.column {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #3498db;
}

/* Highlight text */
.highlight {
  background: linear-gradient(120deg, #a8edea 0%, #fed6e3 100%);
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  font-size: 1.2rem;
  margin: 1.5rem 0;
}

.final-thought {
  background: linear-gradient(120deg, #f093fb 0%, #f5576c 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  font-size: 1.3rem;
  margin: 2rem 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Table styling */
.table-container {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

th {
  background: #3498db;
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #e9ecef;
}

tr:nth-child(even) {
  background: #f8f9fa;
}

tr:hover {
  background: #e3f2fd;
  transition: background 0.3s ease;
}

/* Footer */
.footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer a {
  color: #74b9ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #0984e3;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 1.5rem 1rem;
  }
  
  .article-title {
    font-size: 1.8rem;
  }
  
  .article-subtitle {
    font-size: 1.1rem;
  }
  
  .author-card {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .author-headshot {
    width: 120px;
    height: 120px;
  }
  
  .author-details h3 {
    font-size: 1.5rem;
  }
  
  .author-contact {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .contact-row {
    justify-content: center;
  }
  
  .content {
    padding: 2rem 1rem;
  }
  
  .two-column {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  table {
    font-size: 0.9rem;
  }
  
  th, td {
    padding: 0.5rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation for sections */
section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger animation delays */
section:nth-child(1) { animation-delay: 0.1s; }
section:nth-child(2) { animation-delay: 0.2s; }
section:nth-child(3) { animation-delay: 0.3s; }
section:nth-child(4) { animation-delay: 0.4s; }
section:nth-child(5) { animation-delay: 0.5s; }
section:nth-child(6) { animation-delay: 0.6s; }
section:nth-child(7) { animation-delay: 0.7s; }
section:nth-child(8) { animation-delay: 0.8s; }
section:nth-child(9) { animation-delay: 0.9s; }
