/* === Variables === */
:root {
    --navy: #1a2744;
    --navy-dark: #111b30;
    --navy-light: #2a3d5e;
    --red: #c0392b;
    --red-dark: #a93226;
    --red-light: #e74c3c;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f0f2f5;
    --gray-200: #e2e6ea;
    --gray-300: #cdd3da;
    --gray-500: #7b8a9e;
    --gray-700: #4a5568;
    --gray-900: #1a202c;
    --font-heading: 'Merriweather', Georgia, serif;
    --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
    --max-width: 1140px;
    --radius: 8px;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font-body); color: var(--gray-900); line-height: 1.7; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }

/* === Container === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* === Buttons === */
.btn {
    display: inline-block; padding: 14px 32px; border-radius: var(--radius);
    font-family: var(--font-body); font-weight: 600; font-size: 1rem;
    cursor: pointer; transition: all 0.2s; border: 2px solid transparent; text-align: center;
}
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-full { width: 100%; }

/* === Navbar === */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--navy-dark); border-bottom: 3px solid var(--red);
    transition: background 0.3s;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-logo { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--white); }
.nav-logo span { color: var(--red); }
.nav-links { display: flex; list-style: none; gap: 8px; }
.nav-links a {
    color: rgba(255,255,255,0.85); padding: 8px 16px; border-radius: var(--radius);
    font-weight: 500; font-size: 0.95rem; transition: all 0.2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 6px 0; transition: all 0.3s; }

/* === Hero === */
.hero {
    position: relative; min-height: 55vh; display: flex; align-items: center;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
    padding: 120px 0 80px;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; text-align: center; max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero-photo { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; border: 4px solid var(--accent); box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.hero h1 {
    font-family: var(--font-heading); font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900; color: var(--white); margin-bottom: 24px; line-height: 1.2;
}
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 24px; max-width: 650px; margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === Sections === */
.section { padding: 80px 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-header h2 { font-family: var(--font-heading); font-size: 2rem; color: var(--navy); margin-bottom: 16px; }
.section-header p { color: var(--gray-700); font-size: 1.1rem; }

/* Intro */
.section-intro { background: var(--gray-50); }
.intro-grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.intro-text h2 { font-family: var(--font-heading); font-size: 1.8rem; color: var(--navy); margin-bottom: 20px; }
.intro-text p { color: var(--gray-700); margin-bottom: 16px; font-size: 1.05rem; }
.fact-card {
    background: var(--white); border-radius: var(--radius); padding: 32px;
    box-shadow: var(--shadow); border-top: 4px solid var(--red);
}
.fact-card h3 { font-family: var(--font-heading); font-size: 1.1rem; color: var(--navy); margin-bottom: 16px; }
.fact-card ul { list-style: none; }
.fact-card li { padding: 8px 0; border-bottom: 1px solid var(--gray-100); font-size: 0.95rem; color: var(--gray-700); }
.fact-card li:last-child { border-bottom: none; }
.fact-card strong { color: var(--navy); }
.fact-card-red { background: #fff5f5; border: 2px solid var(--accent); }
.fact-card-red h3 { color: var(--accent); }
.fact-card-red li { color: #333; border-bottom-color: #f0d0d0; }
.fact-card-red strong { color: var(--accent); font-size: 1.1em; }

/* Record */
.section-record { background: var(--white); }
.record-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.record-card {
    background: var(--gray-50); border-radius: var(--radius); padding: 32px;
    border: 1px solid var(--gray-200); transition: all 0.2s;
}
.record-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.record-icon { font-size: 2rem; margin-bottom: 16px; }
.record-card h3 { font-family: var(--font-heading); font-size: 1.1rem; color: var(--navy); margin-bottom: 12px; }
.record-card p { color: var(--gray-700); font-size: 0.95rem; margin-bottom: 16px; }
.badge {
    display: inline-block; padding: 4px 12px; border-radius: 20px;
    font-size: 0.8rem; font-weight: 600; background: var(--navy); color: var(--white);
}
.badge-critical { background: #b91c1c; }
.badge-warning { background: #b45309; }
.record-card.record-critical { border-left: 4px solid #b91c1c; background: #fef2f2; }
.record-card.record-warning { border-left: 4px solid #b45309; background: #fffbeb; }
.record-sources { margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.record-sources a {
    font-size: 0.8rem; color: var(--red); text-decoration: underline;
    transition: color 0.2s;
}
.record-sources a:hover { color: var(--navy); }

/* News Banner */
.news-banner { background: linear-gradient(135deg, #0d0d0d 0%, #2c0a0a 50%, #0d0d0d 100%); border-top: 4px solid var(--accent); border-bottom: 4px solid var(--accent); padding: 0; position: relative; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.news-banner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(255,0,0,0.03) 50px, rgba(255,0,0,0.03) 100px); pointer-events: none; }
.news-banner-inner { position: relative; min-height: 140px; }
.banner-slide { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; transition: opacity 0.6s ease; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 36px 60px; box-sizing: border-box; text-align: center; }
.banner-slide.active { opacity: 1; position: relative; }
.banner-label { background: var(--accent); color: var(--white); font-size: 0.85rem; font-weight: 900; padding: 8px 20px; border-radius: 4px; letter-spacing: 2px; text-transform: uppercase; white-space: nowrap; flex-shrink: 0; box-shadow: 0 2px 12px rgba(198,40,40,0.5); animation: pulse-label 2s ease-in-out infinite; }
@keyframes pulse-label { 0%, 100% { box-shadow: 0 2px 12px rgba(198,40,40,0.5); } 50% { box-shadow: 0 2px 24px rgba(198,40,40,0.8); } }
.banner-text { color: #f0f0f0; font-size: 1.15rem; line-height: 1.6; max-width: 700px; font-weight: 400; }
.banner-link { color: #fff; font-weight: 800; font-size: 1rem; text-decoration: none; white-space: nowrap; flex-shrink: 0; border: 2px solid var(--accent); background: var(--accent); padding: 8px 20px; border-radius: 4px; transition: all 0.2s; }
.banner-link:hover { background: #e53935; border-color: #e53935; color: #fff; text-decoration: none; }
.banner-controls { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 10px 0 22px; }
.banner-prev, .banner-next { background: none; border: 2px solid rgba(255,255,255,0.4); color: var(--white); width: 38px; height: 38px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.banner-prev:hover, .banner-next:hover { background: var(--accent); border-color: var(--accent); }
.banner-dots { display: flex; gap: 8px; }
.banner-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: all 0.3s; border: none; padding: 0; }
.banner-dot.active { background: var(--accent); transform: scale(1.3); box-shadow: 0 0 8px rgba(198,40,40,0.6); }
@media (max-width: 768px) { .banner-slide { padding: 28px 20px; } .banner-text { font-size: 1rem; } .banner-label { font-size: 0.75rem; } }

/* News Section */
.section-news { background: var(--gray-100); }
.news-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.news-item { background: var(--white); border-radius: 12px; padding: 28px 32px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border-left: 5px solid var(--navy); }
.news-item.news-critical { border-left-color: var(--accent); }
.news-item.news-warning { border-left-color: #e67e22; }
.news-tag { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; background: var(--navy); color: var(--white); margin-bottom: 12px; }
.news-critical .news-tag { background: var(--accent); }
.news-warning .news-tag { background: #e67e22; }
.news-item h3 { font-family: var(--font-heading); font-size: 1.25rem; color: var(--navy); margin-bottom: 12px; line-height: 1.3; }
.news-item p { color: var(--gray-700); font-size: 0.95rem; line-height: 1.7; margin-bottom: 10px; }
.news-item em { font-style: italic; }
.news-sources { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--gray-200); }
.news-sources a { font-size: 0.82rem; color: var(--accent); text-decoration: none; font-weight: 600; padding: 4px 10px; border: 1px solid var(--accent); border-radius: 4px; transition: all 0.2s; }
.news-sources a:hover { background: var(--accent); color: var(--white); }
@media (max-width: 768px) { .news-item { padding: 20px; } .news-sources { flex-direction: column; } }

/* Concerns */
.section-concerns { background: var(--navy-dark); color: var(--white); }
.section-concerns .section-header h2 { color: var(--white); }
.section-concerns .section-header p { color: rgba(255,255,255,0.7); }
.concerns-list { max-width: 800px; margin: 0 auto; }
.concern-item { display: flex; gap: 24px; margin-bottom: 40px; align-items: flex-start; }
.concern-number {
    font-family: var(--font-heading); font-size: 2rem; font-weight: 900;
    color: var(--red); min-width: 60px; line-height: 1;
}
.concern-content h3 { font-size: 1.2rem; margin-bottom: 8px; }
.concern-content p { color: rgba(255,255,255,0.75); }
.concerns-cta { text-align: center; margin-top: 48px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); }
.concerns-cta p { color: rgba(255,255,255,0.7); margin-bottom: 20px; }

/* Stories */
.section-stories { background: var(--gray-50); }
.stories-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.stories-disclaimer {
    background: var(--white); border-radius: var(--radius); padding: 24px;
    border-left: 4px solid var(--red); margin-bottom: 24px;
}
.stories-disclaimer h4 { color: var(--navy); margin-bottom: 8px; }
.stories-disclaimer p { color: var(--gray-700); font-size: 0.95rem; }
.stories-why h4 { color: var(--navy); margin-bottom: 12px; }
.stories-why ul { list-style: none; }
.stories-why li { padding: 6px 0; color: var(--gray-700); padding-left: 20px; position: relative; }
.stories-why li::before { content: '✓'; position: absolute; left: 0; color: var(--red); font-weight: 700; }

.stories-form-wrapper {
    background: var(--white); border-radius: var(--radius); padding: 36px;
    box-shadow: var(--shadow);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: 0.95rem; }
.optional { font-weight: 400; color: var(--gray-500); font-size: 0.85rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px; border: 1px solid var(--gray-300);
    border-radius: var(--radius); font-family: var(--font-body); font-size: 1rem;
    transition: border-color 0.2s; background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,39,68,0.1);
}
.form-check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; }
.form-check input { margin-top: 4px; flex-shrink: 0; }
.form-check label { font-size: 0.9rem; color: var(--gray-700); font-weight: 400; }
.form-message { margin-top: 16px; padding: 12px; border-radius: var(--radius); font-size: 0.95rem; display: none; }
.form-message.success { display: block; background: #d4edda; color: #155724; }
.form-message.error { display: block; background: #f8d7da; color: #721c24; }

/* Resources */
.section-resources { background: var(--white); }
.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.resource-card {
    display: block; background: var(--gray-50); border-radius: var(--radius);
    padding: 28px; border: 1px solid var(--gray-200); transition: all 0.2s;
}
.resource-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--navy); }
.resource-type {
    display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.05em; color: var(--red); margin-bottom: 8px;
}
.resource-card h3 { font-family: var(--font-heading); font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.resource-card p { color: var(--gray-700); font-size: 0.9rem; margin-bottom: 16px; }
.resource-link { color: var(--navy); font-weight: 600; font-size: 0.9rem; }

/* Footer */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.6); padding: 48px 0; }
.footer-content { text-align: center; }
.footer-disclaimer {
    max-width: 700px; margin: 0 auto 24px; padding: 20px;
    background: rgba(255,255,255,0.05); border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
}
.footer-disclaimer p { font-size: 0.9rem; line-height: 1.6; }
.footer-links { margin-bottom: 20px; display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.footer-links a:hover { color: var(--white); }
.footer-copy p { font-size: 0.85rem; }

/* === Mobile === */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none; position: absolute; top: 70px; left: 0; right: 0;
        background: var(--navy-dark); flex-direction: column; padding: 16px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .nav-links.active { display: flex; }
    .nav-links a { padding: 12px 16px; }
    .intro-grid { grid-template-columns: 1fr; }
    .intro-sidebar { order: -1; }
    .record-grid { grid-template-columns: 1fr; }
    .stories-grid { grid-template-columns: 1fr; }
    .resources-grid { grid-template-columns: 1fr; }
    .hero { min-height: 50vh; padding: 80px 0 40px; }
    .concern-item { flex-direction: column; gap: 8px; }
    .concern-number { font-size: 1.5rem; }
    .section { padding: 60px 0; }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .record-grid { grid-template-columns: repeat(2, 1fr); }
    .resources-grid { grid-template-columns: repeat(2, 1fr); }
}
