:root {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --accent-color: #38bdf8;
    --warning-color: #fb7185;
    --danger-color: #ef4444;
    --border-color: #334155;
    --container-width: 1200px;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #7dd3fc;
    text-decoration: underline;
}

/* Header & Nav */
header {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

nav {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    max-width: var(--container-width);
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.hero-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    /* For the microscope image */
    filter: brightness(0.9) contrast(1.1); 
}

.caption {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 1rem;
    font-style: italic;
    text-align: center;
}

/* Sections General */
section {
    padding: 5rem 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
    border-bottom: 1px solid var(--border-color);
}

section:last-of-type {
    border-bottom: none;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--text-primary);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* Content Layouts */
.content-wrapper .text-content {
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 900px;
}

.process-diagram {
    margin: 3rem 0;
    text-align: center;
}

.diagram-image {
    width: 100%;
    max-width: 800px;
    border-radius: 0.5rem;
    background: #fff; /* Diagrams often have white backgrounds, this frames them if transparent */
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.diagram-image-small {
    width: 100%;
    max-width: 500px;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

.split-layout {
    display: grid;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.card h3 {
    margin-top: 0;
    color: var(--accent-color);
    font-size: 1.25rem;
}

.card ul {
    list-style-position: inside;
    margin-top: 1rem;
    color: var(--text-secondary);
}

/* News Cards Specifics */
.news-card .news-meta {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card h3 a {
    color: var(--text-primary);
    text-decoration: none;
}

.news-card h3 a:hover {
    color: var(--accent-color);
}

.news-card .read-more {
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 500;
}

.loading-card h3 {
    color: var(--text-secondary);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

/* Skepticism / Risks Section */
.warning-block {
    background-color: rgba(239, 68, 68, 0.1);
    border-left: 4px solid var(--danger-color);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.warning-block h3 {
    color: var(--danger-color);
    margin-top: 0;
}

.risk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

.risk-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.risk-item h3 {
    color: var(--warning-color);
}

/* Bottom Line Box */
.bottom-line {
    background: linear-gradient(145deg, var(--card-bg), #0f172a);
    border: 1px solid var(--accent-color);
    padding: 2.5rem;
    border-radius: 1rem;
    margin-top: 3rem;
}

.bottom-line h4 {
    color: var(--accent-color);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.bottom-line ul {
    list-style: none;
}

.bottom-line li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.bottom-line li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* References */
.references {
    background-color: #020617;
    padding: 4rem 2rem;
    font-size: 0.875rem;
    color: #64748b;
}

.references h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: none;
}

.references h2::after {
    display: none;
}

.references ol {
    list-style-position: inside;
    columns: 2;
    column-gap: 4rem;
}

.references li {
    margin-bottom: 0.5rem;
    break-inside: avoid;
}

.references a {
    color: #64748b;
    text-decoration: underline;
}

.references a:hover {
    color: var(--accent-color);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: #020617;
    color: #475569;
    border-top: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Simple hiding for now, normally would be hamburger */
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .split-layout {
        grid-template-columns: 1fr;
    }
    
    .risk-grid {
        grid-template-columns: 1fr;
    }
    
    .references ol {
        columns: 1;
    }
}
