/* Minimal modern CSS for gallery+landing */
:root {
  --bg-primary: #0f1116;
  --bg-secondary: #161a22;
  --panel: #161a22;
  --text-primary: #e6e6e6;
  --text-secondary: #aeb4c2;
  --text: #e6e6e6;
  --muted: #aeb4c2;
  --accent: #6ea8fe;
  --accent-2: #7ee787;
  --warn: #f0a856;
  --border: #222835;
}
* { box-sizing: border-box; }
html, body { 
  margin: 0; 
  padding: 0; 
  background: var(--bg-primary); 
  color: var(--text); 
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji"; 
  line-height: 1.6;
  font-size: 16px;
}

/* Typography scale */
h1 { font-size: 2.5rem; font-weight: 700; line-height: 1.2; margin-bottom: 1.5rem; }
h2 { font-size: 2rem; font-weight: 600; line-height: 1.3; margin-bottom: 1.25rem; }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.4; margin-bottom: 1rem; }
h4 { font-size: 1.25rem; font-weight: 500; line-height: 1.4; margin-bottom: 0.75rem; }
p { line-height: 1.6; margin-bottom: 1rem; }

/* Global container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
}

.header { position: sticky; top: 0; backdrop-filter: blur(6px); background: rgba(15,17,22,0.75); border-bottom: 1px solid #222835; z-index: 50; }
.nav { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 14px 16px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--accent); }
/* Active nav link */
.nav a.active { color: var(--accent-2); font-weight: 600; }

.nav-eli25 {
  background: linear-gradient(135deg, var(--accent), #ff6b35);
  color: #0b0b0b;
  border: none;
  padding: 8px 12px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.9em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
  position: relative;
  overflow: hidden;
}

.nav-eli25:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.nav-eli25:hover:before {
  left: 100%;
}

.nav-eli25:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
  background: linear-gradient(135deg, #ff6b35, var(--accent));
}

/* ELI25 Toggle Functionality */
/* Default state: show technical, hide layperson */
[data-technical] {
  display: block;
}

[data-layperson] {
  display: none;
}

/* When ELI25 is active: hide technical, show layperson */
.eli25-active [data-technical] {
  display: none;
}

.eli25-active [data-layperson] {
  display: block;
}

/* Hero section redesign */
.hero {
  padding: 4rem 0;
  background: var(--bg-primary);
}

.hero-content {
  text-align: center;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 2rem;
  font-weight: 400;
}

.key-result-hero {
  background: linear-gradient(135deg, rgba(240, 168, 86, 0.1), rgba(110, 168, 254, 0.05));
  border: 2px solid var(--warn);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.result-explanation {
  margin-top: 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
}

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

/* Method steps design */
.how-it-works-section {
  padding: 4rem 0;
  background: var(--bg-primary);
}

.how-it-works {
  background: var(--panel);
  border-radius: 12px;
  padding: 3rem 2rem;
  margin: 0;
}

.how-it-works h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  color: var(--text);
}

.method-steps {
  display: grid;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-number {
  background: var(--accent);
  color: var(--bg);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.step-content h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

.step-content p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}

.framework-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Scientific Integrity Section */
.integrity-section {
  padding: 3rem 0;
  background: var(--bg-secondary);
}

.integrity-pledge {
  background: linear-gradient(135deg, rgba(110, 168, 254, 0.05), rgba(126, 231, 135, 0.05));
  border: 1px solid rgba(110, 168, 254, 0.2);
  border-radius: 12px;
  padding: 2rem;
  margin: 0 auto;
  text-align: center;
  max-width: 1200px;
}

.integrity-pledge h3 {
  color: var(--accent);
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.integrity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 1.5rem 0;
  align-items: start;
  justify-items: center;
}

.integrity-item {
  text-align: center;
  max-width: 250px;
  width: 100%;
}

.integrity-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}

.integrity-item h4 {
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.integrity-item p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.integrity-motto {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
  margin-top: 1.5rem;
  margin-bottom: 0;
  font-size: 1.1rem;
}

/* Failure Value Section */
.failure-value {
  background: var(--panel);
  padding: 4rem 0;
  margin: 3rem 0;
}

.failure-value .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.failure-value h2 {
  color: var(--accent-2);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.failure-intro {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.value-item {
  background: rgba(126, 231, 135, 0.05);
  border: 1px solid rgba(126, 231, 135, 0.2);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.value-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.value-item h3 {
  color: var(--accent-2);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.value-item p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.failure-conclusion {
  background: linear-gradient(135deg, rgba(126, 231, 135, 0.1), rgba(110, 168, 254, 0.1));
  border: 1px solid rgba(126, 231, 135, 0.3);
  border-radius: 8px;
  padding: 2rem;
  margin-top: 3rem;
  font-size: 1.1rem;
  color: var(--text);
}

/* Implications Stakes Section */
.implications-stakes {
  padding: 4rem 0;
  margin: 3rem 0;
}

.implications-stakes .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.implications-stakes h2 {
  color: var(--warn);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.stakes-intro {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.stakes-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 3rem 0;
}

.stake-scenario {
  background: var(--panel);
  border-radius: 12px;
  padding: 2rem;
  text-align: left;
}

.scenario-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.if-right h3 {
  color: var(--accent-2);
}

.if-wrong h3 {
  color: var(--accent);
}

.scenario-icon {
  font-size: 1.5rem;
}

.scenario-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.scenario-list li {
  padding: 0.5rem 0;
  color: var(--muted);
  line-height: 1.6;
  position: relative;
  padding-left: 1.5rem;
}

.scenario-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.stakes-conclusion {
  background: rgba(240, 168, 86, 0.1);
  border: 1px solid var(--warn);
  border-radius: 8px;
  padding: 2rem;
  margin-top: 3rem;
}

.stakes-conclusion p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text);
}

.stakes-conclusion p:last-child {
  margin-bottom: 0;
  color: var(--warn);
  font-weight: 600;
}

/* Verification Invitation Section */
.verification-invitation {
  background: linear-gradient(135deg, rgba(110, 168, 254, 0.05), rgba(240, 168, 86, 0.05));
  padding: 4rem 0;
  margin: 3rem 0;
}

.verification-invitation .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.verification-invitation h2 {
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.verification-intro {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.verification-call {
  background: var(--panel);
  border: 1px solid rgba(110, 168, 254, 0.2);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.verification-call:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.verification-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.verification-call h3 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.verification-call p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.verification-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.verification-link:hover {
  color: var(--accent-2);
}

.verification-commitment {
  background: rgba(110, 168, 254, 0.1);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.verification-commitment h3 {
  color: var(--accent);
  margin-bottom: 1rem;
}

.verification-commitment p {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

/* Simplified key result for homepage */
.key-result {
  background: rgba(240, 168, 86, 0.05);
  border: 1px solid var(--warn);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

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

.breakthrough-item {
  background: var(--panel);
  border: 1px solid #262c39;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.article-cta-section {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.principle-list {
  list-style: none;
  padding: 0;
}

.principle-list li {
  background: var(--panel);
  border: 1px solid #262c39;
  border-radius: 6px;
  padding: 0.75rem;
  margin: 0.5rem 0;
}

@media (max-width: 768px) {
  .article-cta-section {
    flex-direction: column;
    align-items: center;
  }
  
  .breakthrough-grid {
    grid-template-columns: 1fr;
  }
}
.brand { font-weight: 700; color: var(--text); }
.brand a {
  text-decoration: none;
  color: inherit;
}


.card { background: var(--panel); border: 1px solid #262c39; border-radius: 8px; padding: 16px; position: relative; z-index: 2; }
.card.compact { padding: 12px; }
.showcase-image { width: 100%; border-radius: 8px; border: 2px solid var(--accent); box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.cta { 
  display: inline-flex; 
  align-items: center;
  justify-content: center;
  text-decoration: none; 
  border-radius: 8px; 
  font-weight: 600; 
  transition: all 0.3s ease; 
  min-height: 44px;
  font-size: 1rem;
  position: relative; 
  z-index: 2;
}

.cta.primary { 
  background: var(--accent); 
  color: #0b0b0b; 
  padding: 14px 28px; 
  box-shadow: 0 4px 12px rgba(110, 168, 254, 0.3);
}

.cta.primary:hover { 
  background: var(--accent-2); 
  transform: translateY(-2px); 
  box-shadow: 0 6px 20px rgba(110, 168, 254, 0.4); 
}

.cta.secondary { 
  background: transparent; 
  color: var(--accent); 
  border: 2px solid var(--accent);
  padding: 12px 24px; 
}

.cta.secondary:hover { 
  background: var(--accent); 
  color: #0b0b0b;
  transform: translateY(-1px); 
  box-shadow: 0 4px 12px rgba(110, 168, 254, 0.2); 
}

/* Legacy CTA support */
.cta:not(.primary):not(.secondary) {
  background: var(--accent); 
  color: #0b0b0b; 
  padding: 10px 14px;
}

/* Focus states for accessibility */
.cta:focus,
.nav a:focus,
.nav-eli25:focus,
button:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Improved focus visibility */
.nav a:focus-visible,
.nav-eli25:focus-visible,
.cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(110, 168, 254, 0.2);
}
.subtle { color: var(--muted); }

.hero-buttons {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.principles {
  font-size: 0.9rem;
  line-height: 1.5;
}

.toc-list {
  line-height: 1.6;
  margin: 0;
  padding-left: 1rem;
}

.toc-sub-list {
  margin: 0.5rem 0;
  padding-left: 1rem;
  font-size: 0.85rem;
  list-style-type: circle;
}

.toc-sub-list a {
  color: var(--muted);
}

.toc-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #333;
}

.toc-button {
  font-size: 12px;
  padding: 6px 12px;
  width: 100%;
  text-align: center;
  display: block;
}

.article-cta {
  text-align: center;
  margin: 2rem 0;
}

.code-block {
  overflow: auto;
  white-space: pre;
}

.skeptics-section h2 {
  border-bottom: 1px solid var(--accent);
  padding-bottom: 10px;
  margin-top: 2rem;
}

.skeptics-section .skeptical-view {
  background: rgba(240, 168, 86, 0.1);
  border-left: 5px solid var(--warn);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

.skeptics-section .response {
  background: rgba(110, 168, 254, 0.1);
  border-left: 5px solid var(--accent);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}

.accordion {
  border-top: 1px solid #262c39;
}

.accordion-item {
  border-bottom: 1px solid #262c39;
}

.accordion-header {
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 1rem;
  text-align: left;
  width: 100%;
  position: relative;
}

.accordion-header::after {
  content: '+';
  color: var(--accent);
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.accordion-item.active .accordion-header::after {
  transform: translateY(-50%) rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1rem;
}

/* Nested axiom accordion styles */
.axiom-foundations {
  margin: 1rem 0;
  border: 1px solid #3a4454;
  border-radius: 8px;
  background: rgba(26, 32, 44, 0.3);
}

.axiom-item {
  border-bottom: 1px solid #3a4454;
}

.axiom-item:last-child {
  border-bottom: none;
}

.axiom-header {
  background: rgba(45, 55, 72, 0.5);
  border: none;
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  text-align: left;
  width: 100%;
  position: relative;
  transition: background-color 0.2s;
}

.axiom-header:hover {
  background: rgba(45, 55, 72, 0.7);
}

.axiom-header::after {
  content: '▶';
  color: var(--accent);
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  transition: transform 0.3s;
}

.axiom-item.active .axiom-header::after {
  transform: translateY(-50%) rotate(90deg);
}

.axiom-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1rem;
  background: rgba(26, 32, 44, 0.2);
}

.axiom-content p {
  margin: 0.75rem 0;
  line-height: 1.6;
}

.axiom-content p:first-child {
  margin-top: 0.75rem;
}

.axiom-content p:last-child {
  margin-bottom: 0.75rem;
}

.back-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  border: none;
  outline: none;
  background-color: var(--accent);
  color: var(--bg);
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
  font-size: 18px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.back-to-top:hover {
  background-color: var(--accent-2);
}

.section { max-width: 1200px; margin: 28px auto; padding: 0 16px; }
.section h2 { margin: 8px 0 16px; }
.section h3 { margin: 6px 0 12px; }

.controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.toolbar { display: flex; gap: 8px; align-items: center; padding: 8px; background: var(--panel); border: 1px solid #262c39; border-radius: 12px; }
input.search { flex: 1; min-width: 220px; padding: 10px 12px; border-radius: 8px; background: #0c0f16; border: 1px solid #263044; color: var(--text); }
select.select { padding: 10px 12px; border-radius: 8px; background: #0c0f16; border: 1px solid #263044; color: var(--text); }
.badge { display: inline-block; padding: 2px 8px; border: 1px solid #2a3448; border-radius: 999px; color: var(--muted); font-size: 12px; }
.filterchips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 6px 10px; border-radius: 999px; border: 1px solid #2a3448; color: var(--muted); cursor: pointer; user-select: none; }
.chip.active { background: #0c1220; color: var(--accent-2); border-color: var(--accent-2); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 1200px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .grid { grid-template-columns: 1fr; } }
.tile { position: relative; background: #0c0e13; border: 1px solid #212838; border-radius: 10px; overflow: hidden; }
.tile img { display: block; width: 100%; height: 180px; object-fit: cover; background: #0b0d12; }
.tile .meta { padding: 10px 12px; display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.tile .name { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile .dims { font-size: 11px; color: var(--muted); }
.tile .tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.tile .tag { background: #1c212e; color: var(--accent); padding: 2px 6px; border-radius: 4px; font-size: 10px; }
.actions { display: flex; gap: 8px; }
.btn { font-size: 12px; padding: 4px 8px; border: 1px solid #2a3448; border-radius: 6px; background: #0c0f16; color: var(--text); text-decoration: none; }
.btn:hover { border-color: var(--accent); color: var(--accent); }
.loadmore { display:block; margin: 16px auto; }

/* Modal Styles */
.modal {
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--panel);
  margin: auto;
  padding: 24px;
  border: 1px solid #262c39;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.close-button {
  color: var(--muted);
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
}

.close-button:hover,
.close-button:focus {
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
}

/* Narrative case studies */
.casegrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .casegrid { grid-template-columns: 1fr; } }
.case { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; background: var(--panel); border: 1px solid #262c39; border-radius: 12px; overflow: hidden; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } }
.case img { width: 100%; height: 240px; object-fit: cover; background: #0b0d12; }
.case .copy { padding: 16px; }
.case .copy h3 { margin: 0 0 8px; }
.case .copy p { margin: 6px 0; color: var(--muted); }
.case .copy .cta { margin-top: 8px; }

.footer { max-width: 1200px; margin: 40px auto; padding: 0 16px 24px; color: var(--muted); }

/* Global image constraints */
article img, .articleLayout img {
  max-width: 100% !important;
  max-height: 80vh !important;
  object-fit: contain !important;
  height: auto !important;
}

/* Enhanced article layout and readability */
.articleLayout { display: flex; gap: 1.5rem; max-width: 1400px; margin: 0 auto; padding: 1rem; align-items: start; }
.tocSidebar { flex: 0 0 280px; position: sticky; top: 2rem; height: fit-content; max-height: calc(100vh - 4rem); }

/* Sticky sidebar styling */
.sticky-sidebar {
  position: fixed;
  top: 80px;
  left: 20px;
  width: 320px;
  max-height: calc(100vh - 100px);
  background: var(--panel);
  border: 1px solid #262c39;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  z-index: 100;
  overflow: hidden;
}

.sticky-sidebar .card {
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sticky-sidebar h3 {
  margin: 0;
  padding: 1.5rem 1.5rem 1rem;
  font-size: 1.2rem;
  color: var(--text);
  border-bottom: 2px solid var(--accent);
  background: linear-gradient(135deg, var(--panel), rgba(110, 168, 254, 0.1));
}

.toc-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
  max-height: calc(100vh - 200px);
}

.toc-scroll::-webkit-scrollbar {
  width: 6px;
}

.toc-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

.toc-scroll::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

.toc-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--accent-2);
}

.toc-scroll ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.toc-scroll li {
  margin: 0;
  padding: 0;
}

.toc-link {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
  margin: 0.25rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  border-left: 3px solid transparent;
}

.toc-link:hover {
  background: rgba(110, 168, 254, 0.1);
  color: var(--accent);
  border-left-color: var(--accent);
  transform: translateX(4px);
}

.toc-link.active {
  background: linear-gradient(135deg, rgba(110, 168, 254, 0.2), rgba(126, 231, 135, 0.1));
  color: var(--text);
  border-left-color: var(--accent);
  font-weight: 600;
}

.toc-scroll ul {
  list-style: none;
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

.toc-scroll ul .toc-link {
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
  color: var(--muted);
  font-weight: 400;
}

.toc-scroll ul .toc-link:hover {
  color: var(--accent-2);
}

/* Reading progress indicator */
.reading-progress {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid #262c39;
  background: linear-gradient(135deg, rgba(110, 168, 254, 0.05), transparent);
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 3px;
  transition: width 0.3s ease;
  width: 0%;
}

.progress-text {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  font-weight: 500;
}

.toc { background: var(--panel); border: 1px solid #262c39; border-radius: 8px; padding: 1rem; overflow-y: auto; max-height: calc(100vh - 6rem); }
.toc h3 { margin: 0 0 0.5rem 0; font-size: 1rem; color: var(--text); }
.toc ol { margin: 0; padding-left: 1.2rem; font-size: 0.9rem; }
.toc li { margin: 0.25rem 0; }
.toc a { color: var(--accent); text-decoration: none; }
.toc a:hover { text-decoration: underline; color: var(--accent-2); }

/* Article styling */
article { 
  flex: 1; 
  min-width: 0; 
  line-height: 1.8;
  font-size: 1.1rem;
  margin-left: 360px; /* Account for fixed sidebar */
  max-width: calc(100% - 360px);
}

article h1 { 
  font-size: 3rem; 
  color: var(--text); 
  margin-bottom: 2rem; 
  text-align: center;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

article h2 { 
  font-size: 1.9rem; 
  color: var(--text); 
  margin: 3rem 0 1.5rem 0; 
  padding: 1.2rem;
  border-left: 4px solid var(--accent);
  background: linear-gradient(90deg, var(--panel) 0%, transparent 100%);
  border-radius: 0 8px 8px 0;
  position: relative;
}

article h2::before {
  content: counter(section);
  counter-increment: section;
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  color: var(--bg);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8rem;
  z-index: 1;
}

article { counter-reset: section; }

article h3 {
  font-size: 1.4rem;
  color: var(--accent-2);
  margin: 2rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #262c39;
}

article p { 
  margin: 1.5rem 0; 
  text-align: justify;
  max-width: none;
  line-height: 1.7;
}

/* Callout boxes */
.insight {
  background: linear-gradient(135deg, rgba(110, 168, 254, 0.1) 0%, rgba(126, 231, 135, 0.1) 100%);
  border-left: 5px solid var(--accent);
  padding: 4.5rem 1.5rem 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
  font-weight: 500;
  position: relative;
  line-height: 1.6;
  max-width: 100%;
  box-sizing: border-box;
}

.insight::before {
  content: "💡 INSIGHT";
  position: absolute;
  top: 24px;
  left: 15px;
  background: var(--accent);
  color: var(--bg);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  z-index: 2;
  border: 1px solid var(--accent);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  white-space: nowrap;
}

.key-equation {
  background: rgba(240, 168, 86, 0.1);
  border: 2px solid var(--warn);
  padding: 5rem 1.5rem 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 12px;
  text-align: center;
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  font-weight: bold;
  position: relative;
  word-break: break-word;
  line-height: 1.5;
  max-width: 100%;
  box-sizing: border-box;
}

.key-equation::before {
  content: "⚡ KEY EQUATION";
  position: absolute;
  top: 28px;
  left: 15px;
  background: var(--warn);
  color: var(--bg);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  z-index: 2;
  border: 1px solid var(--warn);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  white-space: nowrap;
}

.comparison {
  background: linear-gradient(135deg, rgba(110, 168, 254, 0.15) 0%, rgba(126, 231, 135, 0.15) 100%);
  border: 2px solid var(--accent);
  padding: 4.5rem 1.5rem 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 12px;
  position: relative;
  line-height: 1.6;
  max-width: 100%;
  box-sizing: border-box;
}

.comparison::before {
  content: "📊 COMPARISON";
  position: absolute;
  top: 24px;
  left: 15px;
  background: var(--accent);
  color: var(--bg);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  z-index: 2;
  border: 1px solid var(--accent);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  white-space: nowrap;
}

.breakthrough {
  background: linear-gradient(135deg, rgba(126, 231, 135, 0.2) 0%, rgba(110, 168, 254, 0.15) 100%);
  border: 2px solid var(--accent-2);
  padding: 4.5rem 1.5rem 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 12px;
  position: relative;
  line-height: 1.6;
  max-width: 100%;
  box-sizing: border-box;
}

.breakthrough::before {
  content: "🚀 BREAKTHROUGH";
  position: absolute;
  top: 24px;
  left: 15px;
  background: var(--accent-2);
  color: var(--bg);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  z-index: 2;
  border: 1px solid var(--accent-2);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  white-space: nowrap;
}

.warning {
  background: rgba(240, 168, 86, 0.1);
  border: 2px solid var(--warn);
  padding: 5rem 1.25rem 1.25rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 8px;
  border-left: 5px solid var(--warn);
  position: relative;
  max-width: 100%;
  box-sizing: border-box;
}

.warning::before {
  content: "⚠️ WARNING";
  position: absolute;
  top: 28px;
  left: 15px;
  background: var(--warn);
  color: var(--bg);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  z-index: 2;
  border: 1px solid var(--warn);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  white-space: nowrap;
}

/* Figure styling */
.fig { 
  margin: 2rem 0; 
  text-align: center; 
  background: var(--panel);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #262c39;
  overflow: hidden; /* Prevent content from breaking out */
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.fig img { 
  max-width: 100%; 
  width: 100%;
  height: auto; 
  max-height: 400px; /* More restrictive height limit */
  object-fit: contain; /* Maintain aspect ratio while fitting container */
  border: 2px solid #262c39; 
  border-radius: 8px; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
  display: block; /* Ensure proper block display */
}

.fig img:hover {
  transform: scale(1.01); /* Reduced hover effect to prevent overflow */
}

.fig .caption { 
  margin: 1rem 0 0.5rem 0; 
  font-style: italic; 
  color: var(--muted); 
  font-size: 0.9rem;
  font-weight: 500;
  max-width: 100%;
  line-height: 1.4;
  padding: 0 0.5rem;
}

/* Figure action buttons */
.fig .actions, .fig-col .actions {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

.fig-col {
  background: var(--panel);
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid #262c39;
  text-align: center;
  overflow: hidden;
  min-width: 0; /* Prevent flex items from overflowing */
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.fig-col img {
  max-width: 100%;
  width: 100%;
  height: auto;
  max-height: 300px; /* Even smaller for two-column layout */
  object-fit: contain;
  border: 2px solid #262c39;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: block;
}

.fig-col .caption {
  margin: 1rem 0 0.5rem 0;
  font-style: italic;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Mathematical formulas */
.math-block {
  background: var(--panel);
  border: 2px solid var(--accent);
  padding: 5rem 1.5rem 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 12px;
  font-family: 'Times New Roman', serif;
  font-size: 1.2rem;
  text-align: center;
  overflow-x: auto;
  position: relative;
  word-break: break-word;
  line-height: 1.5;
  max-width: 100%;
  box-sizing: border-box;
}

.math-block::before {
  content: "∑ FORMULA";
  position: absolute;
  top: 28px;
  left: 15px;
  background: var(--accent);
  color: var(--bg);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  z-index: 2;
  border: 1px solid var(--accent);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  white-space: nowrap;
}

/* Lists */
article ul, article ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

article li {
  margin: 0.8rem 0;
}

/* Emphasis and highlights */
.highlight {
  background: linear-gradient(120deg, transparent 0%, rgba(126, 231, 135, 0.3) 50%, transparent 100%);
  padding: 2px 4px;
  border-radius: 3px;
}

.phi {
  color: var(--warn);
  font-weight: bold;
  font-size: 1.1em;
}

/* Responsive design */
@media (max-width: 900px) {
  .fig-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .fig-col {
    padding: 1rem;
  }
  .fig-col img {
    max-height: 350px;
  }
}

/* Responsive design for sticky sidebar */
@media (max-width: 1200px) {
  .sticky-sidebar {
    width: 280px;
    left: 15px;
  }
  
  article {
    margin-left: 320px;
  }
}

@media (max-width: 900px) {
  .sticky-sidebar {
    position: static;
    width: 100%;
    max-height: none;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  
  .sticky-sidebar h3 {
    padding: 1rem;
  }
  
  .toc-scroll {
    max-height: 300px;
    padding: 0.75rem 1rem;
  }
  
  .reading-progress {
    padding: 0.75rem 1rem 1rem;
  }
  
  article {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .articleLayout { 
    flex-direction: column; 
    padding: 0.5rem;
  }
  .tocSidebar { 
    flex: none; 
    position: static; 
    margin-bottom: 1rem;
  }
  
  .sticky-sidebar .toc-scroll {
    max-height: 200px;
  }
  
  .toc-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }
}
  article h1 { 
    font-size: 2.2rem; 
    margin-bottom: 1.5rem;
  }
  article h2 { 
    font-size: 1.5rem; 
    padding: 1rem; 
    margin: 2rem 0 1rem 0;
  }
  article h2::before { 
    display: none; 
  }
  article h3 {
    font-size: 1.2rem;
  }
  article { 
    font-size: 1rem; 
    line-height: 1.6;
  }
  .fig {
    margin: 1.5rem 0;
    padding: 1rem;
  }
  .fig img {
    max-height: 300px !important;
  }
  /* TABLET SOLUTION: Simplified approach with generous padding */
  .key-equation, .math-block {
    padding: 2rem 1.5rem;
    font-size: 1rem;
    margin: 1.5rem 0;
  }
  
  .insight, .comparison, .breakthrough, .warning {
    padding: 2rem 1.5rem;
    font-size: 1rem;
    margin: 1.5rem 0;
  }
  
  /* Keep labels but with better positioning */
  .key-equation::before, .math-block::before, .warning::before {
    top: 12px;
    font-size: 0.7rem;
  }
  
  .insight::before, .comparison::before, .breakthrough::before {
    top: 12px;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  article h1 {
    font-size: 1.8rem;
  }
  article h2 {
    font-size: 1.3rem;
    padding: 0.75rem;
  }
  article h3 {
    font-size: 1.1rem;
  }
  .fig {
    padding: 0.75rem;
  }
  .fig img, .fig-col img {
    max-height: 250px !important;
  }
  
  /* MOBILE SOLUTION: Hide decorative labels, focus on content */
  .key-equation, .math-block, .insight, .comparison, .breakthrough, .warning {
    padding: 1rem;
    font-size: 0.9rem;
    margin: 1rem 0;
    border-left-width: 4px; /* Stronger left border for visual distinction */
  }
  
  /* Hide all decorative ::before labels on mobile - they're not essential */
  .key-equation::before, .math-block::before, .warning::before,
  .insight::before, .comparison::before, .breakthrough::before {
    display: none;
  }
  
  /* Add subtle top borders instead for visual distinction */
  .key-equation {
    border-top: 3px solid var(--warn);
  }
  .warning {
    border-top: 3px solid var(--warn);
  }
  .math-block {
    border-top: 3px solid var(--accent);
  }
  .insight {
    border-top: 3px solid var(--accent);
  }
  .comparison {
    border-top: 3px solid var(--accent);
  }
  .breakthrough {
    border-top: 3px solid var(--accent-2);
  }
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 60;
}

.hamburger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text);
  margin: 5px 0;
  transition: all 0.3s;
}

@media (max-width: 980px) {
  .toc {
    position: initial;
  }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  
  /* Mobile hero adjustments */
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .cta {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .method-steps {
    gap: 1.5rem;
  }
  
  .step {
    gap: 1rem;
  }
  
  .step-number {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
  
  .step-content h3 {
    font-size: 1.1rem;
  }
  
  .how-it-works {
    padding: 2rem 1rem;
  }
  
  /* Mobile adjustments for new sections */
  .stakes-comparison {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .verification-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .value-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .integrity-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  /* Mobile Navigation */
  .nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #0f1116;
    border: 1px solid #222835;
    border-top: none;
    padding: 1rem;
    z-index: 55;
    box-shadow: 0 4px 12px rgba(0,0,0,0.9);
  }
  
  .nav.active {
    display: flex;
  }
  
  .nav a, .nav-eli25 {
    padding: 12px 16px;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #222835;
    margin: 0;
    border-radius: 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    color: #e6e6e6;
    background: transparent;
    transition: background-color 0.2s ease;
    text-decoration: none;
  }
  
  .nav a:hover {
    background: rgba(110, 168, 254, 0.1);
    color: var(--accent);
  }
  
  .nav a:last-child, .nav .nav-eli25:last-child {
    border-bottom: none;
  }
  
  /* Mobile ELI25 button specific styling */
  .nav .nav-eli25 {
    background: transparent;
    color: #6ea8fe;
    font-weight: 600;
    margin: 0;
    padding: 12px 16px;
    border-radius: 0;
    border: none;
    cursor: pointer;
    text-align: left;
    border-bottom: 1px solid #222835;
  }
  
  .nav .nav-eli25:hover {
    background: rgba(110, 168, 254, 0.2);
    color: #6ea8fe;
  }
  
  .hamburger-menu {
    display: block;
  }
}

/* Seeking Critics Section */
.seeking-critics {
  background: var(--bg-secondary);
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.critics-intro {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-secondary);
  font-style: italic;
}

.critics-invitation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.critic-call h3 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.critic-challenges {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.challenge {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-primary);
  border-radius: 8px;
  border-left: 4px solid var(--accent);
}

.challenge-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.challenge h4 {
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.challenge p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.honest-admission {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--accent-2);
}

.honest-admission h3 {
  color: var(--accent-2);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.honest-admission p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.honest-admission p:last-child {
  margin-bottom: 0;
}

/* Join Discovery Section */
.join-discovery {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.join-discovery h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.discovery-intro {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.participation-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 3rem;
}

.participation-level {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.level-header {
  margin-bottom: 1.5rem;
}

.level-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.level-header h3 {
  color: white;
  margin: 0;
  font-size: 1.4rem;
}

.participation-level p {
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.level-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.level-actions .cta {
  font-size: 0.9rem;
    padding: 0.75rem 1rem;
}

.discovery-conclusion {
  max-width: 600px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.conclusion-text {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  opacity: 0.9;
  font-style: italic;
}

.conclusion-cta {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

/* Moment of Truth Section */
.moment-of-truth {
  background: var(--bg-secondary);
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.moment-content {
  max-width: 800px;
  margin: 0 auto;
}

.moment-lead {
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-primary);
  font-weight: 500;
}

.moment-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.moment-point {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg-primary);
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}

.moment-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.moment-point h4 {
  margin: 0 0 0.5rem 0;
  color: var(--accent);
  font-size: 1.2rem;
}

.moment-point p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.moment-conclusion {
  text-align: center;
  padding: 2rem;
  background: var(--bg-primary);
  border-radius: 12px;
  border: 2px solid var(--accent-2);
}

.moment-conclusion p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.moment-conclusion p:last-child {
  margin-bottom: 0;
  color: var(--accent-2);
  font-weight: 600;
}

/* Mobile Responsiveness for New Sections */
@media (max-width: 768px) {
  .critics-invitation {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .participation-levels {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .moment-point {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .challenge {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* Hero ELI25 Toggle */
.hero-eli25-toggle {
  text-align: center;
  margin: 1.5rem 0;
}

.eli25-toggle-btn {
  background: linear-gradient(135deg, var(--accent), #ff6b35);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.eli25-toggle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.toggle-icon {
  font-size: 1.1rem;
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.toggle-hint {
  margin: 0.5rem 0 0 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* Enhanced Hero Elements */
.profound-realization {
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 100%);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
  text-align: center;
}

.realization-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.realization-icon {
  font-size: 2rem;
}

.realization-header h3 {
  color: white;
  margin: 0;
  font-size: 1.4rem;
}

.realization-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  opacity: 0.95;
}

.implication-cascade {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 12px;
  margin-top: 2rem;
  border-left: 4px solid var(--accent-2);
}

.implication-cascade h4 {
  color: var(--accent-2);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  text-align: center;
}

.cascade-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cascade-point {
  background: var(--bg-primary);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 3px solid var(--accent);
  font-size: 1rem;
  line-height: 1.6;
}

/* Step Surprise Elements */
.step-surprise {
  background: rgba(255, 165, 0, 0.1);
  border: 2px solid #ff6b35;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.95rem;
}

.step-surprise strong {
  color: #ff6b35;
}

/* Philosophical Bombshell Section */
.philosophical-bombshell {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: white;
  padding: 5rem 0;
  position: relative;
}

.philosophical-bombshell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="7" cy="7" r="0.3" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
  opacity: 0.3;
}

.philosophical-bombshell .container {
  position: relative;
  z-index: 1;
}

.philosophical-bombshell h2 {
  color: white;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.bombshell-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.bombshell-item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bombshell-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.bombshell-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.bombshell-item h3 {
  color: #ffd700;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  line-height: 1.3;
}

.bombshell-item p {
  line-height: 1.6;
  opacity: 0.9;
  font-size: 1rem;
}

.bombshell-conclusion {
  background: rgba(255, 215, 0, 0.1);
  border: 2px solid #ffd700;
  padding: 2.5rem;
  border-radius: 16px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.bombshell-conclusion h3 {
  color: #ffd700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.bombshell-conclusion p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  opacity: 0.95;
}

/* Mobile Responsiveness for Enhanced Elements */
@media (max-width: 768px) {
  .cascade-points {
    gap: 1rem;
  }
  
  .cascade-point {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .implication-cascade {
    padding: 1.5rem;
  }
  
  .bombshell-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .bombshell-item {
    padding: 1.5rem;
  }
  
  .philosophical-bombshell h2 {
    font-size: 2rem;
  }
  
  .profound-realization {
    padding: 1.5rem;
  }
  
  .realization-header {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .step-surprise {
    padding: 0.75rem;
    font-size: 0.85rem;
  }
  
  .hero-eli25-toggle {
    margin: 1rem 0;
  }
  
  .eli25-toggle-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .toggle-hint {
    font-size: 0.8rem;
  }
  
  .integrity-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .integrity-item {
    padding: 1rem;
  }
}

/* Skeptics Section Enhanced Styling */

/* Skeptics Hero Section */
.skeptics-hero {
  background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.skeptics-hero h1 {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.skeptics-hero .hero-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.skeptics-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.overview-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.overview-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.overview-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Enhanced Skeptics Section */
.skeptics-section {
  padding: 4rem 0;
  background: var(--bg-primary);
}

.accordion-category {
  margin-bottom: 3rem;
}

.accordion-category h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  color: var(--text);
}

/* Enhanced Accordion Items */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1rem;
  background: var(--panel);
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(110, 168, 254, 0.1);
}

.accordion-header {
  background: linear-gradient(135deg, var(--panel), rgba(110, 168, 254, 0.05));
  border: none;
  color: var(--text);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1.5rem;
  text-align: left;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background: linear-gradient(135deg, rgba(110, 168, 254, 0.1), var(--panel));
}

.question-icon {
  font-size: 1.2rem;
  color: var(--accent);
}

.accordion-header::after {
  content: '+';
  color: var(--accent);
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header::after {
  transform: translateY(-50%) rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
  padding: 1.5rem;
}

/* Enhanced Skeptical View and Response */
.skeptical-view, .response {
  margin-bottom: 2rem;
}

.skeptical-view h4, .response h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.skeptical-view h4 {
  color: var(--warn);
}

.response h4 {
  color: var(--accent);
}

.skeptical-view {
  background: rgba(240, 168, 86, 0.1);
  border-left: 4px solid var(--warn);
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

.response {
  background: rgba(110, 168, 254, 0.05);
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
}

/* Evidence Grid */
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.evidence-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.evidence-item h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.evidence-item ul {
  list-style: none;
  padding: 0;
}

.evidence-item li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding-left: 1.5rem;
}

.evidence-item li:before {
  content: '•';
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.evidence-item li:last-child {
  border-bottom: none;
}

/* Mathematical Proof */
.mathematical-proof {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.mathematical-proof h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.math-display {
  background: var(--bg-primary);
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 1rem;
  margin: 1rem 0;
  text-align: center;
  font-family: 'Courier New', monospace;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
}

/* Falsification Examples */
.falsification-examples {
  margin: 2rem 0;
}

.falsification-examples h5 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.prediction-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.prediction-card h6 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent);
}

.prediction-details {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
}

.prediction-value, .experimental-value, .agreement {
  padding: 0.75rem;
  border-radius: 6px;
  font-weight: 500;
}

.prediction-value {
  background: rgba(110, 168, 254, 0.1);
  border-left: 3px solid var(--accent);
}

.experimental-value {
  background: rgba(126, 231, 135, 0.1);
  border-left: 3px solid var(--accent-2);
}

.agreement {
  background: rgba(240, 168, 86, 0.1);
  border-left: 3px solid var(--warn);
}

.falsification-principle {
  background: rgba(110, 168, 254, 0.1);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
}

.falsification-principle h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent);
}

/* Parameter Comparison Table */
.parameter-comparison {
  margin: 1.5rem 0;
}

.parameter-comparison h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.comparison-table {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.table-header {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 600;
}

.header-cell {
  padding: 1rem;
  text-align: center;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  border-bottom: 1px solid var(--border);
}

.table-row:last-child {
  border-bottom: none;
}

.cell {
  padding: 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.cell:last-child {
  border-right: none;
}

/* Axiom Foundations */
.axiom-foundations {
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-secondary);
  overflow: hidden;
}

.axiom-item {
  border-bottom: 1px solid var(--border);
}

.axiom-item:last-child {
  border-bottom: none;
}

.axiom-header {
  background: rgba(110, 168, 254, 0.1);
  border: none;
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem;
  text-align: left;
  width: 100%;
  position: relative;
  transition: background-color 0.2s;
}

.axiom-header:hover {
  background: rgba(110, 168, 254, 0.2);
}

.axiom-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1rem;
}

.axiom-item.active .axiom-content {
  padding: 1rem;
}

.axiom-statement, .axiom-meaning, .axiom-foundation {
  margin-bottom: 1rem;
}

.axiom-statement h6, .axiom-meaning h6, .axiom-foundation h6 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.axiom-key-points, .axiom-verification {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.axiom-key-points h5, .axiom-verification h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.axiom-key-points ul {
  list-style: none;
  padding: 0;
}

.axiom-key-points li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding-left: 1.5rem;
}

.axiom-key-points li:before {
  content: '✓';
  color: var(--accent-2);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.axiom-key-points li:last-child {
  border-bottom: none;
}

/* Theory Hierarchy */
.theory-hierarchy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.hierarchy-level {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  min-width: 300px;
}

.level-label {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.level-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.hierarchy-arrow {
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: bold;
}

/* Philosophy vs Physics Comparison */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.comparison-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.comparison-item h6 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.comparison-item ul {
  list-style: none;
  padding: 0;
}

.comparison-item li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding-left: 1.5rem;
}

.comparison-item li:before {
  content: '•';
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.comparison-item li:last-child {
  border-bottom: none;
}

/* Verification Progress */
.verification-progress {
  margin: 1.5rem 0;
}

.verification-progress h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.progress-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.stat-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Next Steps */
.next-steps {
  margin: 1.5rem 0;
}

.next-steps h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.next-steps ul {
  list-style: none;
  padding: 0;
}

.next-steps li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding-left: 2rem;
}

.next-steps li:before {
  content: '→';
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.next-steps li:last-child {
  border-bottom: none;
}

/* Roadmap Link */
.roadmap-link {
  background: rgba(110, 168, 254, 0.1);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
}

.roadmap-link a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.roadmap-link a:hover {
  text-decoration: underline;
}

/* Discrepancy Example */
.discrepancy-example {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.discrepancy-example h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.discrepancy-details {
  background: rgba(240, 168, 86, 0.1);
  border: 1px solid var(--warn);
  border-radius: 6px;
  padding: 1rem;
  margin: 1rem 0;
}

.discrepancy-details p {
  margin: 0.5rem 0;
}

.discrepancy-principle {
  background: rgba(110, 168, 254, 0.1);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
}

.discrepancy-principle h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent);
}

/* Evidence Section */
.evidence-section {
  padding: 4rem 0;
  background: var(--bg-secondary);
}

.evidence-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: var(--text);
}

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

.evidence-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.evidence-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.evidence-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.evidence-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}

.evidence-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Call to Action Section */
.cta-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.cta-section p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.cta-button.primary {
  background: var(--accent);
  color: var(--bg-primary);
}

.cta-button.primary:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.cta-button.secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.cta-button.secondary:hover {
  background: var(--accent);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

.contact-info {
  background: rgba(110, 168, 254, 0.1);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-info p {
  margin: 0;
  color: var(--text);
}

/* Responsive Design */
@media (max-width: 768px) {
  .skeptics-hero h1 {
    font-size: 2rem;
  }
  
  .skeptics-overview {
    grid-template-columns: 1fr;
  }
  
  .evidence-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 300px;
  }
  
  .comparison-table {
    font-size: 0.9rem;
  }
  
  .table-header, .table-row {
    grid-template-columns: 1fr;
  }
  
  .hierarchy-level {
    min-width: auto;
    width: 100%;
  }
}

/* Experimental Predictions Styling */
.prediction-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--accent-2);
}

.prediction-card h4 {
  color: var(--accent-2);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.prediction-details {
  margin-top: 1rem;
}

.prediction-details p {
  margin: 0.75rem 0;
  line-height: 1.6;
}

.prediction-details strong {
  color: var(--text);
}

.experimental-timeline {
  margin: 2rem 0;
}

.experimental-timeline table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.experimental-timeline th,
.experimental-timeline td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.experimental-timeline th {
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 600;
}

.experimental-timeline tr:last-child td {
  border-bottom: none;
}

.experimental-timeline tr:nth-child(even) {
  background: rgba(110, 168, 254, 0.05);
}

/* Theory comparison tables */
.theory-comparison-table,
.emergence-comparison {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 1.5rem 0;
}

.theory-comparison-table th,
.theory-comparison-table td,
.emergence-comparison th,
.emergence-comparison td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.theory-comparison-table th,
.emergence-comparison th {
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 600;
}

.theory-comparison-table tr:nth-child(even),
.emergence-comparison tr:nth-child(even) {
  background: rgba(110, 168, 254, 0.05);
}

.theory-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 1.5rem 0;
}

.theory-side {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.theory-side h5 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.theory-side ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.theory-side li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding-left: 1.5rem;
}

.theory-side li:before {
  content: '•';
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.theory-side li:last-child {
  border-bottom: none;
}

/* Enhanced Mobile Accordion */
@media (max-width: 768px) {
  .accordion-header {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .accordion-content {
    padding: 0 1rem;
  }
  
  .accordion-item.active .accordion-content {
    padding: 1rem;
  }
  
  .evidence-grid {
    gap: 1rem;
  }
  
  .evidence-card {
    padding: 1.5rem;
  }
  
  .theory-comparison {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .prediction-card {
    padding: 1.5rem;
  }
  
  .experimental-timeline th,
  .experimental-timeline td,
  .theory-comparison-table th,
  .theory-comparison-table td {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
}

/* Equation numbering */
.equation-number {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  background: var(--accent);
  color: var(--bg-primary);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 2;
}

/* Implementation examples styling */
.implementation-example {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
  border-left: 4px solid var(--accent-2);
}

.implementation-example h5 {
  color: var(--accent-2);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.code-example {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem;
  margin: 1rem 0;
}

.code-example pre {
  background: none;
  color: var(--text);
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.performance-metrics table,
.game-results,
.production-metrics,
.solver-results {
  margin: 1rem 0;
}

.performance-metrics table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-secondary);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.performance-metrics th,
.performance-metrics td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.performance-metrics th {
  background: var(--accent-2);
  color: var(--bg-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.performance-metrics tr:nth-child(even) {
  background: rgba(110, 168, 254, 0.05);
}

.performance-metrics tr:last-child td {
  border-bottom: none;
}

.game-results ul,
.production-metrics ul,
.solver-results ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.game-results li,
.production-metrics li,
.solver-results li {
  padding: 0.5rem;
  margin: 0.25rem 0;
  background: var(--bg-secondary);
  border-radius: 4px;
  border-left: 3px solid var(--accent-2);
}

.game-results li:before,
.production-metrics li:before,
.solver-results li:before {
  content: '▶';
  color: var(--accent-2);
  margin-right: 0.5rem;
  font-size: 0.8rem;
}

/* Mobile responsiveness for implementation examples */
@media (max-width: 768px) {
  .implementation-example {
    padding: 1.5rem;
  }
  
  .code-example pre {
    font-size: 0.75rem;
  }
  
  .performance-metrics th,
  .performance-metrics td {
    padding: 0.5rem;
    font-size: 0.8rem;
  }
}

/* FIRM Simulation Showcase */
.simulation-showcase {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  border-left: 4px solid var(--accent);
}

/* Screenshot Gallery */
.screenshot-gallery {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 8px;
  border: 1px solid var(--border);
}

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

.screenshot-frame {
  background: var(--panel);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.screenshot-frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.screenshot-frame img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.frame-caption {
  padding: 1rem;
}

.frame-caption strong {
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.frame-caption span[data-technical] {
  font-size: 0.85rem;
  line-height: 1.4;
}

.frame-caption span[data-layperson] {
  font-size: 0.85rem;
  line-height: 1.4;
}

.simulation-showcase h4 {
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.video-container {
  position: relative;
  margin: 2rem 0;
  text-align: center;
}

.video-container iframe {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.video-caption {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
  text-align: center;
}

.simulation-features {
  margin: 2rem 0;
}

.simulation-features h5 {
  color: var(--accent-2);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.simulation-features ul {
  list-style: none;
  padding: 0;
}

.simulation-features li {
  padding: 0.75rem;
  margin: 0.5rem 0;
  background: var(--bg-secondary);
  border-radius: 6px;
  border-left: 3px solid var(--accent-2);
}

.interactive-access {
  background: var(--bg-secondary);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  border: 1px solid var(--border);
}

.interactive-access h5 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.controls-guide {
  background: var(--panel);
  border-radius: 6px;
  padding: 1rem;
  margin: 1rem 0;
  border: 1px solid var(--border);
}

.controls-guide strong {
  color: var(--accent-2);
  display: block;
  margin-bottom: 0.5rem;
}

.controls-guide ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
}

.controls-guide li {
  padding: 0.25rem 0;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.controls-guide code {
  background: var(--accent);
  color: var(--bg-primary);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-weight: 600;
  margin-right: 0.5rem;
  min-width: 1.5rem;
  display: inline-block;
  text-align: center;
}

/* Mobile responsiveness for simulation showcase */
@media (max-width: 768px) {
  .simulation-showcase {
    padding: 1.5rem;
  }
  
  .video-container iframe {
    width: 100%;
    height: 200px;
  }
  
  .interactive-access {
    padding: 1rem;
  }
  
  .controls-guide {
    padding: 0.75rem;
  }
  
  .controls-guide li {
    font-size: 0.8rem;
  }
}
