/* FactCheckTool - Complete Stylesheet */
/* Combined: Main CSS + Header + Footer + Hero Section */
/* New Color Scheme: Primary #263355 | Secondary #00FE66 */

/* ========================================
   COLOR VARIABLES
   ======================================== */
:root {
    --primary-dark: #263355;
    --primary-darker: #1a2339;
    --primary-lighter: #3d4d6f;
    --accent-green: #00FE66;
    --accent-green-hover: #00ff70;
    --text-white: #FFFFFF;
    --text-gray: #B8C5D6;
    --text-muted: #7A8BA3;
    --card-bg: #2A3654;
    --card-border: #3d4d6f;
    --glow-green: rgba(0, 254, 102, 0.3);
}

/* ========================================
   GLOBAL STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--primary-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-green-hover);
}

/* ========================================
   CONTAINERS
   ======================================== */
.container {
    max-width: 1200px;
}

/* ========================================
   NAVBAR STYLING
   ======================================== */
.navbar-factcheck {
    background: #0D0C1D;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-factcheck.scrolled {
    background: #0D0C1D;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 254, 102, 0.3));
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-link {
    color: var(--text-gray) !important;
    font-weight: 500;
    padding: 0.5rem 1.2rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--text-white) !important;
    background: rgba(0, 254, 102, 0.1);
}

.nav-link i {
    margin-right: 0.4rem;
    opacity: 0.8;
}

.btn-login {
    background: transparent;
    color: var(--text-gray) !important;
    border: 1.5px solid var(--card-border);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-login:hover {
    border-color: var(--accent-green);
    color: var(--accent-green) !important;
    background: rgba(0, 254, 102, 0.05);
    transform: translateY(-1px);
}

.btn-signup {
    background: linear-gradient(135deg, var(--accent-green) 0%, #00ff70 100%);
    color: #0D0C1D !important;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 254, 102, 0.25);
    font-size: 0.9rem;
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 254, 102, 0.4);
}

.navbar-toggler {
    border-color: var(--card-border);
    padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 254, 102, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(184, 197, 214, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    background: linear-gradient(135deg, #1a2339 0%, #263355 50%, #2d3a5c 100%);
    padding: 6rem 0 8rem 0;
    position: relative;
    overflow: hidden;
}

/* Animated background grid */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 254, 102, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 254, 102, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Floating particles */
.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 254, 102, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: particlesFloat 30s linear infinite;
}

@keyframes particlesFloat {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(100px, 100px) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #B8C5D6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-section .subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   FACT CHECK FORM
   ======================================== */
.fact-check-form {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.fact-check-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-green) 50%, transparent 100%);
}

.fact-check-form input[type="url"] {
    background: white;
    border: 1.5px solid var(--card-border);
    border-radius: 12px;
    padding: 1.1rem 1.5rem;
    font-size: 1rem;
    color: black;
    transition: all 0.3s ease;
}

.fact-check-form input[type="url"]::placeholder {
    color: var(--text-muted);
}

.btn-check-fact {
    background: linear-gradient(135deg, var(--accent-green) 0%, #00ff70 100%);
    color: #0D0C1D;
    border: none;
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 254, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-check-fact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-check-fact:hover::before {
    left: 100%;
}

.btn-check-fact:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 254, 102, 0.4);
}

.form-hint {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1.2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-hint i {
    color: var(--accent-green);
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid var(--card-border);
    min-width: 180px;
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    border-color: var(--accent-green);
    background: rgba(0, 254, 102, 0.05);
    box-shadow: 0 10px 30px rgba(0, 254, 102, 0.2);
}

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-green) 0%, #00ff70 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 500;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
    padding: 6rem 0;
    background: var(--primary-dark);
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--text-gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 4rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-green), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-green);
    box-shadow: 0 15px 40px rgba(0, 254, 102, 0.2);
    background: rgba(42, 54, 84, 0.8);
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 254, 102, 0.1);
    border-radius: 14px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(0, 254, 102, 0.2);
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--accent-green);
}

.feature-card h3 {
    color: var(--text-white);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
}

.steps-container {
    display: flex;
    justify-content: space-around;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.step {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-green) 0%, #00ff70 100%);
    color: white;
    border-radius: 20px;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 254, 102, 0.3);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 22px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-green), #00ff70);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step:hover .step-number::after {
    opacity: 1;
}

.step h3 {
    color: var(--text-white);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--accent-green) 0%, #00ff70 100%);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 30px 30px;
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.btn-cta-white {
    background: white;
    color: var(--accent-green);
    padding: 1.1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: var(--accent-green);
}

/* ========================================
   FOOTER STYLING
   ======================================== */
.footer {
    background: black;
    color: var(--text-white);
    padding: 20px;
    border-top: 1px solid var(--card-border);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-green) 50%, transparent 100%);
}

.footer-content {
    padding: 2rem 0;
}

.footer-logo-section img {
    max-width: 180px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(0, 254, 102, 0.2));
}

.footer-description {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 350px;
}

.footer-cta-button {
    display: inline-flex;
    background: #00FE66 !important;
    align-items: center;
    gap: 0.5rem;
    color: #0D0C1D !important;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 254, 102, 0.25);
    font-size: 0.95rem;
}

.footer-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 254, 102, 0.4);
}

.footer-links-title {
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-links-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-green);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links .menu-item {
    margin-bottom: 0.75rem;
}

.footer-links .menu-link {
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links .menu-link:hover {
    color: var(--accent-green);
    padding-left: 8px;
}

.footer-links .menu-link::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--accent-green);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links .menu-link:hover::before {
    opacity: 1;
}

.footer-contact-info {
    margin-bottom: 2rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: var(--text-gray);
    font-size: 0.95rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    border-color: var(--card-border);
    background: rgba(255, 255, 255, 0.04);
}

.footer-contact-item i {
    color: var(--accent-green);
    font-size: 1.2rem;
    min-width: 20px;
    margin-top: 0.15rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    color: var(--text-gray) !important;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon-link:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: var(--text-white) !important;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 254, 102, 0.3);
}

.social-icon-link i {
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid var(--card-border);
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--accent-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--accent-green-hover);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    border-radius: 8px;
}

.btn:focus {
    outline: none;
    box-shadow: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-hover) 100%);
    border: none;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--glow-green);
}

/* ========================================
   FORM CONTROLS
   ======================================== */
.form-control {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-white);
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus {
    background: var(--primary-darker);
    border-color: var(--accent-green);
    color: var(--text-white);
    box-shadow: 0 0 0 0.2rem rgba(0, 254, 102, 0.15);
}

/* ========================================
   CARDS
   ======================================== */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-green);
}

.card-body {
    padding: 2rem;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-primary-custom {
    color: var(--accent-green) !important;
}

.bg-primary-custom {
    background-color: var(--primary-dark) !important;
}

.bg-secondary-custom {
    background-color: var(--card-bg) !important;
}

.text-muted-custom {
    color: var(--text-muted) !important;
}

/* ========================================
   BADGES
   ======================================== */
.badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.badge-primary {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-green-hover));
    color: white;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 254, 102, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 254, 102, 0.4);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

.navbar {
    animation: fadeInDown 0.6s ease-out;
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--primary-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--card-bg);
    border-radius: 6px;
    border: 2px solid var(--primary-darker);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-green);
}

/* ========================================
   SELECTION
   ======================================== */
::selection {
    background-color: var(--accent-green);
    color: white;
}

::-moz-selection {
    background-color: var(--accent-green);
    color: white;
}

/* ========================================
   ALERTS
   ======================================== */
.alert {
    border-radius: 10px;
    border: 1px solid var(--card-border);
}

.alert-success {
    background: rgba(0, 254, 102, 0.1);
    border-color: rgba(0, 254, 102, 0.3);
    color: var(--accent-green);
}

.alert-danger {
    background: rgba(255, 77, 77, 0.1);
    border-color: rgba(255, 77, 77, 0.3);
    color: #ff4d4d;
}

.alert-info {
    background: rgba(52, 152, 219, 0.1);
    border-color: rgba(52, 152, 219, 0.3);
    color: #3498db;
}

/* ========================================
   TOOLTIPS
   ======================================== */
.tooltip-inner {
    background: var(--card-bg);
    color: var(--text-white);
    border: 1px solid var(--card-border);
}

/* ========================================
   MODALS
   ======================================== */
.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-white);
}

.modal-header {
    border-bottom: 1px solid var(--card-border);
}

.modal-footer {
    border-top: 1px solid var(--card-border);
}

.close {
    color: var(--text-white);
    opacity: 0.7;
}

.close:hover {
    color: var(--accent-green);
    opacity: 1;
}

/* ========================================
   TABLES
   ======================================== */
.table {
    color: var(--text-white);
}

.table-dark {
    background: var(--card-bg);
    border-color: var(--card-border);
}

.table-striped tbody tr:nth-of-type(odd) {
    background: rgba(255, 255, 255, 0.02);
}

/* ========================================
   LOADING SPINNER
   ======================================== */
.spinner-border-custom {
    color: var(--accent-green);
    width: 2rem;
    height: 2rem;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

*:focus-visible {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--card-bg);
        padding: 1.5rem;
        margin-top: 1rem;
        border-radius: 12px;
        border: 1px solid var(--card-border);
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
    
    .btn-login, .btn-signup {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    body {
        font-size: 0.95rem;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section .subtitle {
        font-size: 1.1rem;
    }
    
    .fact-check-form {
        padding: 1.8rem;
    }
    
    .stats-row {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .footer-links-title::after {
        left: 0;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    body {
        background: white;
        color: #263355;
    }
    
    .navbar, .footer, .btn {
        display: none;
    }
}