@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto:wght@300;400&display=swap');

:root {
    --dark-bg: #0A0F14;
    --primary-blue: #0D96F2;
    --primary-green: #00FF7F;
    --light-text: #E0E0E0;
    --dark-text: #0A0F14;
    --card-bg: #101418;
    --border-color: rgba(13, 150, 242, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    background-image: linear-gradient(var(--border-color) 1px, transparent 1px), linear-gradient(to right, var(--border-color) 1px, transparent 1px);
    background-size: 40px 40px;
    overflow-x: hidden;
}

a {
    color: var(--light-text);
}

html {
    scroll-behavior: smooth;
}

h1, h2 {
    font-family: 'Orbitron', sans-serif;
}

/* Accessibility */
:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 1.5rem 5%;
    background: var(--dark-bg);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.mobile-logo {
    display: none;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    text-shadow: 0 0 5px rgba(13, 150, 242, 0.5);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 3;
    position: relative;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--light-text);
    transition: all 0.3s ease-in-out;
    transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(2) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(3) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(4) {
    transform: translateY(-8px) rotate(-45deg);
}



.nav-links {
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--light-text);
    font-weight: 400;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-green);
    text-shadow: 0 0 5px rgba(0, 255, 127, 0.7);
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
}

.hero-text {
    animation: fadeIn 1s ease-in-out;
}

.hero-text h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
    text-shadow: 0 0 10px rgba(13, 150, 242, 0.6);
}

.hero-text p {
    font-size: 1.2rem;
    margin: 0 auto 2.5rem;
    max-width: 600px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    text-decoration: none;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    background: var(--primary-green);
    color: var(--dark-text);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0, 255, 127, 0.5);
}

.content-section {
    padding: 6rem 5%;
    max-width: 900px;
    margin: 8rem auto;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-section h2 {
    font-size: 2.8rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-weight: 300;
}

.community-heading {
    margin-top: 4rem;
}

.cta-section {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 4rem;
    border: 1px solid var(--border-color);
}

footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    font-weight: 300;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 945px) {
    .hero-text h1 {
        font-size: 3rem;
    }

    .mobile-logo {
        display: block;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        background: rgba(10, 15, 20, 0.8);
        backdrop-filter: blur(30px);
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 5rem 0 2rem 0;
        gap: 1.5rem;
        z-index: 2;

        /* Animation */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease, max-height 0.3s ease;
    }

    .nav-links.active {
        max-height: 100vh;
        opacity: 1;
        visibility: visible;
        display: flex;
    }

        .content-section {
        padding: 4rem 2rem;
        margin: 4rem 2rem;
    }
}

@media (min-width: 946px) {
    .nav-links {
        display: flex; /* Show on desktop */
    }
}
