@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #6c63ff;
    --secondary-color: #4ecdc4;
    --accent-color: #ff6b6b;
    --text-color: #ffffff;
    --background-color: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Stars Background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle var(--duration) ease-in-out infinite;
    opacity: 0;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

@keyframes twinkle {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.glitch {
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0.05em 0 0 var(--primary-color),
                -0.05em -0.025em 0 var(--secondary-color),
                0.025em 0.05em 0 var(--accent-color);
    animation: glitch 500ms infinite;
}

.glitch span {
    position: absolute;
    top: 0;
    left: 0;
}

.subtitle {
    font-size: 1.5rem;
    margin: 1rem 0 2rem;
    opacity: 0.8;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
}

.primary-btn, .secondary-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.primary-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.secondary-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.primary-btn:hover, .secondary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 5rem 10%;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.feature-card p {
    opacity: 0.8;
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Animations */
@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 var(--primary-color),
                    -0.05em -0.025em 0 var(--secondary-color),
                    0.025em 0.05em 0 var(--accent-color);
    }
    14% {
        text-shadow: 0.05em 0 0 var(--primary-color),
                    -0.05em -0.025em 0 var(--secondary-color),
                    0.025em 0.05em 0 var(--accent-color);
    }
    15% {
        text-shadow: -0.05em -0.025em 0 var(--primary-color),
                    0.025em 0.025em 0 var(--secondary-color),
                    -0.05em -0.05em 0 var(--accent-color);
    }
    49% {
        text-shadow: -0.05em -0.025em 0 var(--primary-color),
                    0.025em 0.025em 0 var(--secondary-color),
                    -0.05em -0.05em 0 var(--accent-color);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 var(--primary-color),
                    0.05em 0 0 var(--secondary-color),
                    0 -0.05em 0 var(--accent-color);
    }
    99% {
        text-shadow: 0.025em 0.05em 0 var(--primary-color),
                    0.05em 0 0 var(--secondary-color),
                    0 -0.05em 0 var(--accent-color);
    }
    100% {
        text-shadow: -0.025em 0 0 var(--primary-color),
                    -0.025em -0.025em 0 var(--secondary-color),
                    -0.025em -0.05em 0 var(--accent-color);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }

    .nav-links {
        display: none;
    }

    .glitch {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .features {
        grid-template-columns: 1fr;
        padding: 3rem 5%;
    }
} 