* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", sans-serif;
    background-color: #010101;
    color: white;
    width: 100%;
    overflow-x: hidden;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 60px;
    background-color: rgba(1, 1, 1, 0.9);
    backdrop-filter: blur(8px);
    transition: padding 0.3s ease, background-color 0.3s ease;
    animation: fadeIn 0.8s ease-out forwards;
}

header.scrolled {
    padding: 16px 60px;
    background-color: rgba(1, 1, 1, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.logo img {
    width: auto;
    height: 50px;
    max-height: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

nav a {
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    color: #a9a9a9;
    position: relative;
    transition: color 0.3s ease;
}

nav a:after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

nav a:hover:after {
    width: 100%;
}

nav a.active {
    color: white;
}

nav a.active:after {
    width: 100%;
}

.signup-button {
    border: 1px solid #ececec;
    background: transparent;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.signup-button:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: -1;
}

.signup-button:hover:before {
    left: 0;
}

.signup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1a1a1a;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 8px;
    border: 1px solid #333;
    padding: 10px 0;
}

.dropdown-content a {
    color: #e1e1e1;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #333;
    color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* Signup Form Section */
.signup-section {
    padding: 80px 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 100px);
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease-out forwards;
}

.light-left,
.light-right {
    position: absolute;
    top: 50%;
    width: 180px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.2) 0%,
        transparent 80%
    );
    filter: blur(60px);
    z-index: 1;
    transform: translateY(-50%);
    pointer-events: none;
    animation: pulse 8s infinite alternate;
}

.light-left {
    left: -90px;
}

.light-right {
    right: -90px;
}

.signup-container {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    padding: 50px 40px;
    border-radius: 15px;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid #3a3a3a;
    position: relative;
    z-index: 10;
    animation: fadeIn 1s ease-out forwards;
}

.signup-header {
    text-align: center;
    margin-bottom: 30px;
}

.signup-header h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.signup-header p {
    color: #ccc;
    font-size: 16px;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #e1e1e1;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    font-size: 15px;
    color: white;
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus {
    border-color: #666;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 42px;
    cursor: pointer;
    color: #a0a0a0;
}

.agreement {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 14px;
    color: #ccc;
}

.agreement input {
    width: 16px;
    height: 16px;
    accent-color: #4a4a4a;
}

.agreement a {
    color: #fff;
    text-decoration: none;
    position: relative;
}

.agreement a:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: white;
}

.signup-btn {
    margin-top: 20px;
    padding: 16px;
    background: linear-gradient(to right, #444, #1a1a1a);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.signup-btn:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.6s, opacity 0.6s;
}

.signup-btn:hover:after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.signup-btn:hover {
    background: linear-gradient(to right, #666, #333);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-signup {
    margin-top: 30px;
    text-align: center;
    position: relative;
}

.social-signup:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #3a3a3a;
}

.social-signup span {
    position: relative;
    background: rgba(26, 26, 26, 0.8);
    padding: 0 15px;
    color: #ccc;
    font-size: 14px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: #666;
}

.login-link {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #ccc;
}

.login-link a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.login-link a:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: white;
}

.footer {
    background-color: #0d0d0d;
    color: #ccc;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    font-family: "Inter", sans-serif;
    border-top: 1px solid #222;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: translateY(-50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-50%) scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-50%) scale(1);
        opacity: 0.5;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    header {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        position: relative;
        padding: 1rem;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    nav#nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1a1a1a;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    nav#nav-menu.active {
        display: flex;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: transparent;
        padding-left: 1rem;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .signup-section {
        padding: 60px 20px;
    }

    .signup-container {
        padding: 30px 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .social-icons {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .signup-header h1 {
        font-size: 28px;
    }

    .signup-container {
        padding: 25px 15px;
    }
}
