:root {
    --bg-dark: #0a0e17;
    --bg-card: rgba(20, 30, 46, 0.7);
    --text-primary: #ffffff;
    --text-secondary: #a0aab5;
    --accent-blue: #0057B7;
    --accent-yellow: #FFDD00;
    --accent-blue-glow: rgba(0, 87, 183, 0.5);
    --accent-yellow-glow: rgba(255, 221, 0, 0.5);
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-blue);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-yellow);
}

.cta-btn {
    background: linear-gradient(135deg, var(--accent-blue), #003d80);
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: var(--font-heading);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--accent-blue-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-blue-glow);
}

.cta-btn-outline {
    background: transparent;
    border: 2px solid var(--accent-yellow);
    color: var(--accent-yellow);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn-outline:hover {
    background: var(--accent-yellow);
    color: #000;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 87, 183, 0.15) 0%, var(--bg-dark) 70%),
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48ZyBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0wIDQwaDQwVjBIMHY0MHptMjAtMjBoMnYyaC0ydi0yem0wLTRoMnYyaC0ydi0yem0wLTRoMnYyaC0ydi0yem0wLTRoMnYy') repeat;
    /* Fallback pattern */
    background-size: cover, cover, 100px;
    position: relative;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 87, 183, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 60px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent-yellow);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

/* Map Section */
#map-section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-secondary);
}

#map {
    height: 600px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

/* Custom Leaflet Dark Mode inspired overrides */
.leaflet-container {
    background: #0a0e17 !important;
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 50px 0;
}

.step-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.step-number {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.step-card h3 {
    color: var(--accent-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Feed Section */
.feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.social-card {
    background: #1a202c;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-card:hover {
    transform: scale(1.02);
}

.card-img {
    height: 200px;
    background-color: #2d3748;
    background-size: cover;
    background-position: center;
    position: relative;
}

.platform-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 1.2rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.card-content {
    padding: 20px;
}

.card-content p {
    font-size: 0.9rem;
    color: #e2e8f0;
    margin-bottom: 15px;
}

.hashtags {
    color: var(--accent-blue);
    font-size: 0.85rem;
}

/* Footer */
footer {
    background: #05070a;
    padding: 80px 0 30px;
    margin-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--accent-yellow);
    margin-bottom: 25px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.disclaimer {
    background: rgba(255, 221, 0, 0.1);
    border: 1px solid rgba(255, 221, 0, 0.2);
    padding: 15px;
    border-radius: 5px;
    font-size: 0.85rem;
    color: #ffd700;
    margin-top: 20px;
}

.copyright {
    text-align: center;
    color: #4a5568;
    font-size: 0.8rem;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #131b2e;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--accent-blue);
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 87, 183, 0.3);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.close-modal:hover {
    color: #fff;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-yellow);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #0a0e17;
    border: 1px solid #2d3748;
    color: #fff;
    border-radius: 5px;
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        /* Logic in this version handles only desktop nav */
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    #map {
        height: 400px;
    }

    .modal-content {
        padding: 20px;
    }
}