/* ===================================================================
   ECI Slovakia - Clean Professional Design
   Simple Color Palette | Clear Links | Minimal Backgrounds
   =================================================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors */
    --primary-blue: #003399;
    --primary-blue-light: #0055CC;
    --primary-blue-dark: #002266;
    
    /* Link Color - Orange for visibility */
    --link-orange: #E65A2A;
    --link-orange-hover: #D14920;
    
    /* Accent Colors */
    --accent-red: #C1121F;
    --accent-red-light: #F5E6E6;
    
    /* Text Colors */
    --text-black: #2B2D42;
    --text-gray: #5A5A5A;
    --text-light: #707070;
    
    /* Background Colors - Only whites and grays */
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-subtle: #F5F5F5;
    
    /* Border Colors */
    --border-light: #E8E8E8;
    --border-medium: #D0D0D0;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 6px 20px rgba(0, 0, 0, 0.10);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.65;
    color: var(--text-black);
    background-color: var(--bg-white);
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.centered-text {
    text-align: center;
}

/* ===================================================================
   TYPOGRAPHY
   =================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-black);
}

h1 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 2rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.875rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

/* Links - Orange and Underlined */
a {
    color: var(--link-orange);
    text-decoration: underline;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--link-orange-hover);
}

/* Ensure content links are always orange, even with inline styles */
.timeline-content a,
.qa-answer a,
.fact-card a,
.context a,
.note a,
.intro a,
.document-container a,
p a,
li a {
    color: var(--link-orange) !important;
    text-decoration: underline;
}

/* Exception: Keep navigation links black */
.nav-menu a {
    color: var(--text-black) !important;
    text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-blue) !important;
    text-decoration: none;
}

/* ===================================================================
   LISTS
   =================================================================== */

ul, ol {
    margin-left: 2rem;
    padding-left: 0.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

.qa-answer ul,
.qa-answer ol,
.sources ul,
.sources ol,
.note ul,
.note ol,
.context ul,
.context ol,
.evidence-links ul,
.evidence-links ol {
    margin-left: 2rem;
    padding-left: 0.5rem;
}

.qa-item div[style*="background"] ul,
.qa-item div[style*="background"] ol {
    margin-left: 2rem !important;
    padding-left: 1rem !important;
}

.qa-item ul li,
.qa-item ol li {
    margin-bottom: 0.5rem;
    margin-left: 1.5rem;
}

.detail-box {
    background: var(--document-beige);
    border-left: 4px solid var(--accent-red);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.detail-box h3 {
    color: var(--accent-red);
    margin-top: 0;
}

.info-box {
    background: var(--document-beige);
    border-left: 4px solid var(--accent-red);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.info-box h3,
.info-box h4 {
    margin-top: 0;
}

.qa-item {
    scroll-margin-top: 120px;
}

/* ===================================================================
   NAVIGATION
   =================================================================== */

.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand h2 {
    margin: 0;
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-black) !important;
    font-weight: 500;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-blue) !important;
    text-decoration: none !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-black);
    transition: 0.3s;
}

/* ===================================================================
   BUTTONS
   =================================================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--bg-white) !important;
}

.btn-primary:hover {
    background-color: var(--primary-blue-dark);
    color: var(--bg-white) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--text-black);
    color: var(--bg-white) !important;
}

.btn-secondary:hover {
    background-color: #1a1c2e;
    color: var(--bg-white) !important;
    text-decoration: none;
}

.btn-sign {
    background-color: var(--primary-blue);
    color: var(--bg-white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
}

.btn-sign:hover {
    background-color: var(--primary-blue-dark);
    color: var(--bg-white) !important;
    text-decoration: none;
}

/* Ultra-specific rule for navigation sign button */
.navbar .btn-sign,
.nav-menu .btn-sign,
.nav-menu a.btn-sign,
.navbar a.btn-sign {
    color: var(--bg-white) !important;
    background-color: var(--accent-green) !important;
}

.navbar .btn-sign:hover,
.nav-menu .btn-sign:hover {
    background-color: #238276 !important;
    color: var(--bg-white) !important;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Buttons on red backgrounds - special styling */
div[style*="background: var(--accent-red)"] .btn,
div[style*="background-color: var(--accent-red)"] .btn,
div[style*="background:#C1121F"] .btn,
div[style*="background: #C1121F"] .btn,
div[style*="background-color:#C1121F"] .btn,
div[style*="background-color: #C1121F"] .btn {
    background-color: var(--bg-white) !important;
    color: var(--accent-red) !important;
    border: 2px solid var(--bg-white);
}

div[style*="background: var(--accent-red)"] .btn:hover,
div[style*="background-color: var(--accent-red)"] .btn:hover,
div[style*="background:#C1121F"] .btn:hover,
div[style*="background: #C1121F"] .btn:hover {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: var(--accent-red) !important;
    transform: translateY(-1px);
}

/* ===================================================================
   HERO SECTION
   =================================================================== */

.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: var(--bg-white);
    padding: 4rem 0;
    text-align: center;
}

.hero h1,
.hero h2,
.hero h3,
.hero h4,
.hero p {
    color: var(--bg-white) !important;
}

.hero-content h1 {
    color: var(--bg-white) !important;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero a {
    color: var(--bg-white) !important;
    text-decoration: underline;
}

.hero .btn {
    color: var(--bg-white) !important;
    background-color: var(--primary-blue) !important;
    text-decoration: none !important;
}

.hero .btn:hover {
    background-color: var(--primary-blue-dark) !important;
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bg-white);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ===================================================================
   CARDS & CONTAINERS
   =================================================================== */

.fact-card,
.source-card,
.reason-card,
.momentum-card,
.material-card,
.quick-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.fact-card:hover,
.source-card:hover,
.reason-card:hover,
.momentum-card:hover,
.material-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.fact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.fact-card h3,
.source-card h4,
.reason-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.fact-link,
.source-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--link-orange);
    font-weight: 600;
}

/* ===================================================================
   SOURCE CONTAINERS - Subtle & Secondary
   =================================================================== */

.sources,
.evidence-links {
    background-color: transparent;
    border-top: 1px solid var(--border-light);
    padding: 1rem 0;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.sources h3,
.evidence-links strong {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: block;
    font-style: normal;
}

.sources a,
.evidence-links a {
    display: block;
    margin: 0.35rem 0;
    color: var(--link-orange);
    text-decoration: underline;
    font-size: 0.85rem;
    font-style: italic;
}

.sources li,
.evidence-links li {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-light);
}

/* ===================================================================
   SECTION CONTAINERS
   =================================================================== */

.why-important,
.key-facts,
.timeline-preview,
.evidence,
.why-slovakia,
.momentum,
.video-section,
.materials-section,
.qa-section {
    padding: 1rem 0;
}

.key-facts,
.evidence,
.momentum {
    background-color: var(--bg-light);
}

/* Center section headings */
.why-important > .container > h2,
.key-facts > .container > h2,
.timeline-preview > .container > h2,
.evidence > .container > h2,
.why-slovakia > .container > h2,
.momentum > .container > h2,
.video-section > .container > h2,
.materials-section > .container > h2 {
    text-align: center;
    color: var(--primary-blue);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* ===================================================================
   GRIDS
   =================================================================== */

.facts-grid,
.sources-grid,
.reasons-grid,
.momentum-grid,
.material-grid,
.quick-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* ===================================================================
   TIMELINE
   =================================================================== */

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary-blue);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: 10px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--link-orange);
    border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 3px var(--primary-blue);
}

.timeline-date {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--bg-white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--text-black);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-gray);
}

/* ===================================================================
   VIDEO SECTION
   =================================================================== */

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

.video-thumbnail-link {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.video-thumbnail-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.video-thumbnail-link img {
    width: 100%;
    height: auto;
    display: block;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.video-thumbnail-link:hover .play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.video-thumbnail-link:hover .play-button {
    transform: scale(1.1);
}

/* ===================================================================
   Q&A STYLES - Accordion with Prominent Questions
   =================================================================== */

.qa-nav {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 3rem;
    border: 1px solid var(--border-light);
}

.qa-nav h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.qa-nav ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1rem 0 0 0;
    padding: 0;
}

.qa-nav li {
    margin: 0;
}

.qa-nav a {
    display: block;
    padding: 0.75rem 1rem;
    background: var(--bg-white);
    border-radius: 5px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.qa-nav a:hover {
    background: var(--bg-subtle);
    transform: translateX(5px);
    border-color: var(--link-orange);
}

.qa-category {
    margin-bottom: 4rem;
}

.qa-category h2 {
    color: var(--primary-blue);
    border-bottom: 3px solid var(--border-medium);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

/* Accordion-style Q&A items */
.qa-item {
    background: var(--bg-white);
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-light);
    overflow: hidden;
    scroll-margin-top: 100px;
    transition: all 0.3s ease;
}

.qa-item:hover {
    border-color: var(--link-orange);
    box-shadow: var(--shadow-md);
}

/* Question header - clickable, prominent */
.qa-question {
    color: var(--bg-white);
    background: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.3s ease;
    position: relative;
}

.qa-question:hover {
    background: var(--primary-blue-light);
}

/* Add arrow indicator */
.qa-question::after {
    content: '\25BC';
    font-size: 0.8rem;
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.qa-item.active .qa-question::after {
    transform: rotate(180deg);
}

/* Answer content */
.qa-answer {
    color: var(--text-gray);
    padding: 2rem;
    display: none;
}

.qa-item.active .qa-answer {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    to {
        opacity: 1;
        max-height: 5000px;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

.qa-answer strong {
    color: var(--text-black);
}

.qa-answer h3,
.qa-answer h4 {
    color: var(--primary-blue);
    margin-top: 1.5rem;
}

/* Alternative style for specific Q&A items with inline styles */
.qa-item[style*="background"] {
    border-left: 5px solid var(--accent-red);
}

.qa-item[style*="background"] .qa-question {
    background: var(--accent-red);
}

.qa-item[style*="background"] .qa-question:hover {
    background: #A10F1A;
}

/* ===================================================================
   INFO BOXES - No colored backgrounds, only grays
   =================================================================== */

.note,
.context,
.intro {
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-blue);
    padding: 1.5rem;
    border-radius: 5px;
    margin: 1.5rem 0;
}

.note h3,
.note h4,
.context h3,
.context h4,
.intro h3,
.intro h4 {
    color: var(--primary-blue);
    margin-top: 0;
}

.note p,
.context p,
.intro p {
    color: var(--text-black);
}

/* Warning boxes - light red background */
.warning-box,
.critical-box {
    background-color: var(--accent-red-light);
    border-left: 4px solid var(--accent-red);
    padding: 1.5rem;
    border-radius: 5px;
    margin: 1.5rem 0;
}

.warning-box h3,
.warning-box h4,
.critical-box h3,
.critical-box h4 {
    color: var(--accent-red);
    margin-top: 0;
}

.warning-box p,
.warning-box li,
.critical-box p,
.critical-box li {
    color: var(--text-black) !important;
}

.warning-box strong,
.critical-box strong {
    color: var(--text-black) !important;
}

/* Force text visibility in any colored backgrounds */
div[style*="background: var(--accent-red)"] p,
div[style*="background: var(--accent-red)"] li,
div[style*="background: var(--accent-red)"] strong,
div[style*="background-color: var(--accent-red)"] p,
div[style*="background-color: var(--accent-red)"] li,
div[style*="background-color: var(--accent-red)"] strong {
    color: var(--bg-white) !important;
}

div[style*="background: var(--primary-blue)"] p,
div[style*="background: var(--primary-blue)"] li,
div[style*="background: var(--primary-blue)"] strong,
div[style*="background-color: var(--primary-blue)"] p,
div[style*="background-color: var(--primary-blue)"] li,
div[style*="background-color: var(--primary-blue)"] strong {
    color: var(--bg-white) !important;
}

/* Handle inline red/blue backgrounds with color names or hex */
div[style*="background:#C1121F"] p,
div[style*="background:#C1121F"] li,
div[style*="background:#C1121F"] strong,
div[style*="background: #C1121F"] p,
div[style*="background: #C1121F"] li,
div[style*="background: #C1121F"] strong,
div[style*="background-color:#C1121F"] p,
div[style*="background-color:#C1121F"] li,
div[style*="background-color:#C1121F"] strong,
div[style*="background-color: #C1121F"] p,
div[style*="background-color: #C1121F"] li,
div[style*="background-color: #C1121F"] strong {
    color: var(--bg-white) !important;
}

/* Make links white on red backgrounds, but NOT buttons */
div[style*="background: var(--accent-red)"] a:not(.btn):not([class*="btn"]),
div[style*="background-color: var(--accent-red)"] a:not(.btn):not([class*="btn"]),
div[style*="background:#C1121F"] a:not(.btn):not([class*="btn"]),
div[style*="background: #C1121F"] a:not(.btn):not([class*="btn"]),
div[style*="background-color:#C1121F"] a:not(.btn):not([class*="btn"]),
div[style*="background-color: #C1121F"] a:not(.btn):not([class*="btn"]) {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: underline;
}

div[style*="background: var(--accent-red)"] a:not(.btn):not([class*="btn"]):hover,
div[style*="background-color: var(--accent-red)"] a:not(.btn):not([class*="btn"]):hover,
div[style*="background:#C1121F"] a:not(.btn):not([class*="btn"]):hover,
div[style*="background: #C1121F"] a:not(.btn):not([class*="btn"]):hover {
    color: var(--bg-white) !important;
}

/* Buttons on red backgrounds keep their own styling */
div[style*="background: var(--accent-red)"] .btn,
div[style*="background-color: var(--accent-red)"] .btn,
div[style*="background:#C1121F"] .btn,
div[style*="background: #C1121F"] .btn {
    /* Button keeps its normal colors */
}

/* Links on red backgrounds must be white for visibility */
div[style*="background: var(--accent-red)"] a,
div[style*="background-color: var(--accent-red)"] a,
div[style*="background:#C1121F"] a,
div[style*="background: #C1121F"] a,
div[style*="background-color:#C1121F"] a,
div[style*="background-color: #C1121F"] a {
    color: var(--bg-white) !important;
    text-decoration: underline;
}

div[style*="background: var(--accent-red)"] a:hover,
div[style*="background-color: var(--accent-red)"] a:hover,
div[style*="background:#C1121F"] a:hover,
div[style*="background: #C1121F"] a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

div[style*="background:#003399"] p,
div[style*="background:#003399"] li,
div[style*="background:#003399"] strong,
div[style*="background: #003399"] p,
div[style*="background: #003399"] li,
div[style*="background: #003399"] strong {
    color: var(--bg-white) !important;
}

/* Ensure headings in colored backgrounds are visible */
div[style*="background: var(--accent-red)"] h1,
div[style*="background: var(--accent-red)"] h2,
div[style*="background: var(--accent-red)"] h3,
div[style*="background: var(--accent-red)"] h4,
div[style*="background-color: var(--accent-red)"] h1,
div[style*="background-color: var(--accent-red)"] h2,
div[style*="background-color: var(--accent-red)"] h3,
div[style*="background-color: var(--accent-red)"] h4 {
    color: var(--bg-white) !important;
}

div[style*="background: var(--primary-blue)"] h1,
div[style*="background: var(--primary-blue)"] h2,
div[style*="background: var(--primary-blue)"] h3,
div[style*="background: var(--primary-blue)"] h4,
div[style*="background-color: var(--primary-blue)"] h1,
div[style*="background-color: var(--primary-blue)"] h2,
div[style*="background-color: var(--primary-blue)"] h3,
div[style*="background-color: var(--primary-blue)"] h4 {
    color: var(--bg-white) !important;
}

/* Quote boxes */
.quote-box {
    background-color: var(--bg-light);
    border-left: 5px solid var(--primary-blue);
    padding: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
}

/* ===================================================================
   CTA SECTION
   =================================================================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: var(--bg-white);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.cta-section .btn {
    color: var(--bg-white) !important;
    text-decoration: none !important;
}

.cta-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.95);
}

.sign-options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.sign-option {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    max-width: 350px;
}

.sign-option h3 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.sign-option p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.sign-info {
    background: rgba(255, 255, 255, 0.15);
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: left;
}

.sign-info h4 {
    color: var(--bg-white);
    margin-bottom: 1rem;
    text-align: center;
}

.sign-info ol {
    color: rgba(255, 255, 255, 0.95);
    padding-left: 1.5rem;
}

.sign-info li {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.95);
}

/* ===================================================================
   FOOTER
   =================================================================== */

footer {
    background-color: var(--text-black);
    color: var(--bg-white);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: underline;
}

.footer-section a:hover {
    color: var(--bg-white) !important;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===================================================================
   SPECIAL ELEMENTS
   =================================================================== */

.checkmark {
    color: var(--primary-blue);
    font-weight: bold;
}

.verification-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.verified {
    background-color: var(--bg-subtle);
    color: var(--text-black);
    border: 1px solid var(--border-medium);
}

.partial {
    background-color: var(--bg-light);
    color: var(--text-gray);
    border: 1px solid var(--border-medium);
}

.not-found {
    background-color: var(--accent-red-light);
    color: var(--accent-red);
    border: 1px solid var(--accent-red);
}

.timestamp {
    background-color: var(--bg-subtle);
    color: var(--text-black);
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 600;
}

.author {
    color: var(--text-black);
    font-weight: 600;
}

/* ===================================================================
   DOCUMENT CONTAINERS
   =================================================================== */

.document-container {
    background-color: var(--bg-white);
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    border-radius: 8px;
}

.document-title {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--border-medium);
    padding-bottom: 0.75rem;
    margin-bottom: 2rem;
}

.document-h2 {
    color: var(--text-black);
    margin-top: 2.5rem;
    border-left: 4px solid var(--primary-blue);
    padding-left: 1rem;
}

.document-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===================================================================
   SCROLL TO TOP BUTTON
   =================================================================== */

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: var(--bg-white);
    border: none;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===================================================================
   RESPONSIVE DESIGN
   =================================================================== */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .facts-grid,
    .sources-grid,
    .reasons-grid,
    .momentum-grid,
    .material-grid,
    .quick-cards {
        grid-template-columns: 1fr;
    }
    
    .sign-options {
        flex-direction: column;
    }
    
    .video-thumbnails {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    .document-container {
        padding: 1.5rem;
    }
    
    /* Fix long URLs breaking layout on mobile */
    .sources a,
    .evidence-links a,
    .document-container a,
    .qa-answer a,
    .timeline-content a,
    .fact-card a {
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
        display: inline-block;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* ===================================================================
   PRINT STYLES
   =================================================================== */

@media print {
    .navbar,
    .hamburger,
    footer,
    .scroll-top-btn {
        display: none;
    }
    
    body {
        background-color: white;
    }
    
    .hero {
        background: none;
        color: black;
    }
}
