* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --electric-blue: #4169E1;
    --neon-purple: #8B00FF;
    --cyber-cyan: #00D9FF;
    --dark-bg: #0a0e1a;
    --darker-bg: #050810;
    --card-bg: rgba(15, 20, 35, 0.8);
    --accent-gradient: linear-gradient(135deg, var(--electric-blue), var(--neon-purple));
    --text-light: #e0e6ed;
    --text-muted: #8b95a8;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--darker-bg);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 50%, rgba(65, 105, 225, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 0, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 217, 255, 0.1) 0%, transparent 40%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Grid overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(65, 105, 225, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(65, 105, 225, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(65, 105, 225, 0.2);
    z-index: 1000;
    animation: slideDown 0.6s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

nav .container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 80px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(65, 105, 225, 0.5));
    transition: all 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0 0 30px rgba(65, 105, 225, 0.8));
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--cyber-cyan);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-connect {
    padding: 0.8rem 2rem;
    background: var(--accent-gradient);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(65, 105, 225, 0.4);
}

.btn-connect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-connect:hover::before {
    left: 100%;
}

.btn-connect:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(65, 105, 225, 0.7);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 5% 4rem;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    background: linear-gradient(135deg, #4169E1, #8B00FF, #00D9FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 0 0 80px rgba(65, 105, 225, 0.5);
}

.hero p {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-primary, .btn-secondary {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 0 40px rgba(65, 105, 225, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 60px rgba(65, 105, 225, 0.8);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--electric-blue);
    color: var(--electric-blue);
}

.btn-secondary:hover {
    background: var(--electric-blue);
    color: white;
    box-shadow: 0 0 30px rgba(65, 105, 225, 0.6);
    transform: translateY(-3px);
}

/* Stats Section */
.stats {
    padding: 4rem 5%;
    background: rgba(15, 20, 35, 0.6);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(65, 105, 225, 0.2);
    border-bottom: 1px solid rgba(65, 105, 225, 0.2);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid rgba(65, 105, 225, 0.2);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease both;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.stat-item:hover {
    transform: translateY(-10px);
    border-color: var(--electric-blue);
    box-shadow: 0 10px 40px rgba(65, 105, 225, 0.3);
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Features Section */
.features {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(65, 105, 225, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--electric-blue);
    box-shadow: 0 20px 60px rgba(65, 105, 225, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(65, 105, 225, 0.6));
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--cyber-cyan);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
}

/* Community Section */
.community {
    padding: 6rem 5%;
    background: rgba(15, 20, 35, 0.6);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(65, 105, 225, 0.2);
    border-bottom: 1px solid rgba(65, 105, 225, 0.2);
}

.community-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.community-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
}

.community-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.community-stat {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(65, 105, 225, 0.2);
    transition: all 0.3s ease;
}

.community-stat:hover {
    border-color: var(--electric-blue);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(65, 105, 225, 0.3);
}

.community-stat h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--cyber-cyan);
    margin-bottom: 0.5rem;
}

.community-stat p {
    font-size: 0.9rem;
    margin: 0;
}

/* Footer */
footer {
    padding: 4rem 5% 2rem;
    background: var(--darker-bg);
    border-top: 1px solid rgba(65, 105, 225, 0.2);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--cyber-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--cyber-cyan);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--card-bg);
    border: 1px solid rgba(65, 105, 225, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    color: var(--text-light);
}

.social-links a i {
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 10px 25px rgba(65, 105, 225, 0.4);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(65, 105, 225, 0.1);
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 350px;
    }
}

/* Glowing cursor effect */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(65, 105, 225, 0.15) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: opacity 0.3s ease;
}