@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', sans-serif;
}

body {
    background: #0a0a2e;
    color: #fff;
    overflow-x: hidden;
}

/* Background Animation */
.stars, .twinkling {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stars {
    background: #000 url('https://i.imgur.com/YKY28eT.png') repeat top center;
    z-index: -2;
}

.twinkling {
    background: transparent url('https://i.imgur.com/XYMF4ca.png') repeat top center;
    z-index: -1;
    animation: move-twinkle 200s linear infinite;
}

@keyframes move-twinkle {
    from {background-position: 0 0;}
    to {background-position: -10000px 5000px;}
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(10, 10, 46, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.logo span {
    color: #00ffff;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

.login-btn {
    padding: 10px 25px;
    background: transparent;
    border: 2px solid #00ffff;
    color: #00ffff;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: #00ffff;
    color: #0a0a2e;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 60px;
}

.glitch {
    font-size: 4em;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    text-shadow: 3px 3px 0 #00ffff;
    animation: glitch 1s infinite;
}

.hero-subtitle {
    font-size: 1.5em;
    margin-top: 20px;
    color: #00ffff;
}

/* Pricing Section */
.pricing {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 100px 20px;
    flex-wrap: wrap;
}

.card {
    width: 350px;
    padding: 30px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid #00ffff;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.card h3 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #00ffff;
}

.price {
    font-size: 3em;
    margin-bottom: 30px;
    color: #fff;
}

.price span {
    font-size: 0.3em;
    opacity: 0.7;
}

.card ul {
    list-style: none;
    margin-bottom: 30px;
}

.card ul li {
    margin: 15px 0;
    font-size: 1.1em;
}

.select-plan {
    width: 100%;
    padding: 15px;
    background: #00ffff;
    border: none;
    border-radius: 5px;
    color: #0a0a2e;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.select-plan:hover {
    background: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* Features Section */
.features {
    padding: 100px 20px;
    text-align: center;
}

.features h2 {
    font-size: 3em;
    margin-bottom: 50px;
    color: #00ffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: rgba(13, 15, 30, 0.95);
    margin: 15% auto;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    border: 2px solid #00ffff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    animation: modalAppear 0.3s ease-out;
}

.modal-header h2 {
    color: #00ffff;
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.form-group {
    margin-bottom: 20px;
}

.modal-form input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.modal-form input:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.modal-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.start-btn {
    width: 100%;
    padding: 12px;
    background: #00ffff;
    border: none;
    border-radius: 5px;
    color: #0a0a2e;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    background: #fff;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        padding: 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .glitch {
        font-size: 2.5em;
    }

    .pricing {
        padding: 50px 20px;
    }

    .card {
        width: 100%;
        max-width: 350px;
    }
}

@keyframes glitch {
    0% {
        text-shadow: 3px 3px 0 #00ffff;
    }
    2% {
        text-shadow: -3px -3px 0 #ff00ff;
    }
    4% {
        text-shadow: 3px 3px 0 #00ffff;
    }
    100% {
        text-shadow: 3px 3px 0 #00ffff;
    }
}