﻿* {
    box-sizing: border-box;
}
body, html {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #0a0a0a;
    background: radial-gradient(circle at center, #1a0a0a 0%, #050505 100%);
    color: #fff;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* pointer-events removed to allow interaction */ /* allows clicking through to background, but wait, particles.js can have mouse interaction. Usually we want it underneath everything. */
}

.top-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    z-index: 1000;
    pointer-events: none;
}
.nav-link {
    pointer-events: auto;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    background: rgba(255,255,255,0.05);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}
.nav-link:hover {
    color: #ff3333;
    border-color: rgba(255,0,0,0.5);
    background: rgba(255,0,0,0.1);
    box-shadow: 0 0 15px rgba(255,0,0,0.3);
}
.login-wrapper {
    position: relative;
    z-index: 10;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 100px 20px 40px 20px;
}
.glass-box {
    pointer-events: auto;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 20px rgba(255,0,0,0.1);
    position: relative;
}
.logo-container {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    padding: 5px;
    background: #050505;
    box-shadow: 0 0 20px rgba(255,0,0,0.5), inset 0 0 10px rgba(255,0,0,0.3);
    border: 1px solid rgba(255,0,0,0.2);
}
.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.login-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 25px;
    letter-spacing: 2px;
    color: #e0e0e0;
}
.form-group {
    position: relative;
    margin-bottom: 20px;
}
.form-group i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}
.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 12px 45px 12px 20px;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}
.form-control:focus {
    border-color: rgba(255,0,0,0.5);
    background: rgba(0,0,0,0.5);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}
.form-control::placeholder {
    color: #666;
}
.btn-login {
    width: 100%;
    background: #e60000;
    background: linear-gradient(90deg, #b30000, #ff1a1a);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    margin-top: 10px;
}
.btn-login:hover {
    box-shadow: 0 5px 25px rgba(255, 0, 0, 0.6);
    transform: translateY(-2px);
}
.forgot-flex {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 25px;
    padding: 0 10px;
}
.forgot-flex a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}
.forgot-flex a:hover {
    color: #ff3333;
}
.checkbox-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #aaa;
    cursor: pointer;
}
.checkbox-custom input {
    accent-color: #ff0000;
}
.register-link {
    text-align: center;
    margin-top: 25px;
    font-size: 13px;
    color: #888;
}
.register-link a {
    color: #ff3333;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}
.register-link a:hover {
    color: #ff6666;
    text-shadow: 0 0 5px rgba(255,0,0,0.5);
}

@media (max-width: 480px) {
    .glass-box {
    pointer-events: auto;
        padding: 30px 20px;
    }
    .top-nav {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .login-wrapper {
        padding-top: 120px;
    }
}

/* Pricing Specific Styles */
.pricing-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 100px 20px 60px 20px;
    flex-direction: column;
    pointer-events: none; /* Let clicks pass to background */
}
.pricing-title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 20px rgba(255,0,0,0.8);
    margin-bottom: 50px;
    letter-spacing: 2px;
    text-align: center;
}
.pricing-grid {
    display: flex;
    gap: 30px;
    width: 100%;
    max-width: 1100px;
    justify-content: center;
    align-items: stretch;
    pointer-events: none;
}
.pricing-card {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 2px solid rgba(255, 0, 0, 0.4);
    border-radius: 20px;
    padding: 40px 30px;
    flex: 1;
    min-width: 300px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 15px rgba(255,0,0,0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    pointer-events: auto; /* Catch clicks */
    transition: 0.3s;
    overflow: hidden;
}
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.8), 0 0 30px rgba(255,0,0,0.2);
    border-color: rgba(255,0,0,0.6);
}
.pricing-card.popular {
    transform: scale(1.05);
    border: 2px solid #ff0000;
    box-shadow: 0 0 40px rgba(255,0,0,0.2), inset 0 0 20px rgba(255,0,0,0.1);
}
.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 0 50px rgba(255,0,0,0.4), inset 0 0 30px rgba(255,0,0,0.2);
}
.ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(90deg, #d50000, #ff1a1a);
    color: #fff;
    padding: 5px 40px;
    font-size: 13px;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}
.card-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
}
.card-price {
    font-size: 38px;
    font-weight: 800;
    text-align: center;
    color: #ff3333;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255,0,0,0.3);
}
.card-interval {
    font-size: 14px;
    color: #aaa;
    text-align: center;
    margin-bottom: 30px;
}
.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    flex-grow: 1;
}
.card-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: #ccc;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.card-features li i {
    color: #00d284;
}
.card-features li i.fa-times {
    color: #ff4560;
}
.btn-select-plan {
    width: 100%;
    background: transparent;
    border: 2px solid rgba(255,0,0,0.5);
    color: #fff;
    padding: 15px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    text-align: center;
    display: block;
}
.btn-select-plan:hover, .pricing-card.popular .btn-select-plan {
    background: linear-gradient(90deg, #d50000, #ff1a1a);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}
.pricing-card.popular .btn-select-plan:hover {
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.7);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }
    .pricing-card {
        width: 100%;
        max-width: 450px;
    }
    .pricing-card.popular {
        transform: scale(1);
    }
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
}
