/* Neon Space Theme - Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --neon-cyan: #00ffff;
    --neon-pink: #ff00ff;
    --neon-purple: #b000ff;
    --neon-blue: #00d4ff;
    --space-black: #0a0a0f;
    --space-dark: #1a1a2e;
    --space-purple: #16213e;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--space-black);
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Animated Starfield Canvas */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(to bottom, #0a0a0f 0%, #1a0a2e 50%, #0a0a0f 100%);
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Neon Title with Glow Effect */
.header {
    text-align: center;
    padding: 60px 20px 40px;
}

.neon-title {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-pink), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: glow 2s ease-in-out infinite alternate;
    text-shadow:
        0 0 10px rgba(0, 255, 255, 0.8),
        0 0 20px rgba(0, 255, 255, 0.6),
        0 0 30px rgba(255, 0, 255, 0.4),
        0 0 40px rgba(255, 0, 255, 0.2);
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 20px var(--neon-cyan))
                drop-shadow(0 0 40px var(--neon-pink));
    }
    to {
        filter: drop-shadow(0 0 30px var(--neon-pink))
                drop-shadow(0 0 50px var(--neon-purple));
    }
}

.subtitle {
    font-size: 1.5rem;
    color: var(--neon-cyan);
    letter-spacing: 0.2em;
    margin-top: 10px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Navigation */
.nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 30px 0;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--neon-cyan);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 10px 25px;
    border: 2px solid var(--neon-cyan);
    border-radius: 5px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    transition: left 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: var(--space-black);
    background: var(--neon-cyan);
    box-shadow:
        0 0 20px var(--neon-cyan),
        0 0 40px var(--neon-cyan),
        inset 0 0 20px rgba(0, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(10, 10, 15, 0.8) 100%);
    border-radius: 20px;
    border: 2px solid var(--neon-purple);
    box-shadow:
        0 0 30px rgba(176, 0, 255, 0.3),
        inset 0 0 30px rgba(176, 0, 255, 0.1);
    margin: 40px 0;
}

.glitch {
    font-size: 3rem;
    font-weight: 800;
    color: var(--neon-pink);
    text-shadow:
        0 0 10px rgba(255, 0, 255, 0.8),
        0 0 20px rgba(255, 0, 255, 0.6),
        0 0 30px rgba(255, 0, 255, 0.4);
    margin-bottom: 30px;
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 90%, 100% {
        text-shadow:
            0 0 10px rgba(255, 0, 255, 0.8),
            0 0 20px rgba(255, 0, 255, 0.6);
    }
    95% {
        text-shadow:
            -2px 0 10px rgba(0, 255, 255, 0.8),
            2px 0 20px rgba(255, 0, 255, 0.6);
        transform: skew(-1deg);
    }
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #b8b8ff;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* CTA Button */
.cta-button {
    font-size: 1.3rem;
    font-weight: 700;
    padding: 18px 50px;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-purple));
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    box-shadow:
        0 0 20px var(--neon-pink),
        0 0 40px var(--neon-purple),
        0 5px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 0 30px var(--neon-pink),
        0 0 60px var(--neon-purple),
        0 10px 25px rgba(0, 0, 0, 0.6);
}

.cta-button:active {
    transform: translateY(-2px) scale(1.02);
}

/* Feature Cards */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 60px 20px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.6) 0%, rgba(10, 10, 15, 0.6) 100%);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid var(--neon-cyan);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(0, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s;
}

.feature-card:hover::before {
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-pink);
    box-shadow:
        0 0 30px rgba(255, 0, 255, 0.4),
        0 10px 40px rgba(0, 0, 0, 0.6);
}

.icon {
    font-size: 4rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px var(--neon-cyan));
}

.feature-card h3 {
    font-size: 1.8rem;
    color: var(--neon-pink);
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.6);
}

.feature-card p {
    font-size: 1.1rem;
    color: #b8b8ff;
    line-height: 1.6;
}

/* Info Section */
.info-section {
    padding: 60px 20px;
}

.info-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(10, 10, 15, 0.8) 100%);
    padding: 50px;
    border-radius: 20px;
    border: 2px solid var(--neon-purple);
    box-shadow:
        0 0 30px rgba(176, 0, 255, 0.3),
        inset 0 0 30px rgba(176, 0, 255, 0.05);
}

.section-title {
    font-size: 2.5rem;
    color: var(--neon-cyan);
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.info-card p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #d8d8ff;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
    border-top: 2px solid var(--neon-cyan);
    background: linear-gradient(to top, rgba(26, 26, 46, 0.8), transparent);
}

.footer p {
    color: #b8b8ff;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-link {
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 20px;
    border: 1px solid var(--neon-cyan);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--neon-cyan);
    color: var(--space-black);
    box-shadow: 0 0 15px var(--neon-cyan);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .neon-title {
        font-size: 3rem;
        letter-spacing: 0.2em;
    }

    .glitch {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .nav {
        gap: 20px;
    }

    .nav-link {
        font-size: 1rem;
        padding: 8px 20px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .info-card {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .neon-title {
        font-size: 2rem;
        letter-spacing: 0.1em;
    }

    .subtitle {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 15px 35px;
    }
}
