:root {
    --space-dark: #0B0D21;
    --space-purple: #9C6EFF;
    --space-blue: #4A90E2;
    --space-pink: #FF2D75;
    --space-yellow: #FFD166;
    --space-light: #E2F3F5;
    --neon-blue: #00F5FF;
    --neon-pink: #FF10F0;
}

a {
    text-decoration: none;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--space-dark);
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    animation: twinkle var(--duration) infinite ease-in-out;
}

.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--space-dark);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

header {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(11, 13, 33, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(156, 110, 255, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(90deg, var(--space-purple), var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.signup-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.signup-content {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    width: 100%;
}

.signup-illustration {
    flex: 1;
    position: relative;
    height: 500px;
}

.rocket-container {
    position: absolute;
    width: 300px;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    transform-origin: center bottom;
}

.rocket {
    width: 100%;
    filter: drop-shadow(0 0 10px rgba(156, 110, 255, 0.5));
}

.exhaust {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 60px;
    background: linear-gradient(to top, var(--space-yellow), var(--space-pink));
    border-radius: 50% 50% 0 0;
    filter: blur(5px);
    opacity: 0.8;
    animation: exhaust 1.5s infinite alternate;
}

.planet {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--space-purple), transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.3;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.signup-form {
    flex: 1;
    max-width: 450px;
    background: rgba(20, 22, 50, 0.6);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(156, 110, 255, 0.3);
    box-shadow: 0 10px 40px rgba(156, 110, 255, 0.2);
    backdrop-filter: blur(10px);
}

.signup-form h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--space-light);
}

.subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.gradient-text {
    background: linear-gradient(90deg, var(--space-purple), var(--space-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--space-light);
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid rgba(156, 110, 255, 0.3);
    background: rgba(11, 13, 33, 0.8);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--space-purple);
    box-shadow: 0 0 10px rgba(156, 110, 255, 0.5);
}

.password-strength {
    display: flex;
    gap: 5px;
    margin-top: 8px;
}

.strength-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    width: 100%;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--space-purple), var(--space-blue));
    color: white;
    box-shadow: 0 0 20px rgba(156, 110, 255, 0.5);
    margin-top: 10px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(156, 110, 255, 0.8);
}

.btn-text {
    flex: 1;
    text-align: center;
}

.btn-icon {
    margin-left: 10px;
}

.signup-links {
    text-align: center;
    margin-top: 20px;
}

.signup-links a {
    color: var(--space-yellow);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.signup-links a:hover {
    text-decoration: underline;
}

footer {
    background: rgba(11, 13, 33, 0.9);
    padding: 20px 40px;
    border-top: 1px solid rgba(156, 110, 255, 0.2);
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom p:first-child {
    margin-bottom: 10px;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(2deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-10px) rotate(-2deg); }
}

@keyframes exhaust {
    0% { height: 60px; opacity: 0.8; }
    100% { height: 100px; opacity: 0.4; }
}

@keyframes takeoff {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-100vh) scale(1.5); opacity: 0; }
}

/* Responsividade */
@media (max-width: 992px) {
    .signup-content {
        flex-direction: column;
        gap: 40px;
    }

    .signup-illustration {
        height: 300px;
    }

    .rocket-container {
        width: 200px;
    }

    .planet {
        width: 300px;
        height: 300px;
    }

    .signup-form {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .signup-content {
        max-width: 100%;
        padding: 0 10px;
    }

    .signup-form {
        padding: 30px;
    }

    .signup-form h1 {
        font-size: 2rem;
    }

    .form-group input {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .rocket-container {
        width: 150px;
    }

    .planet {
        width: 200px;
        height: 200px;
    }

    .logo-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    header {
        padding: 20px;
        flex-direction: column;
        gap: 10px;
    }

    .signup-container {
        padding: 20px;
    }

    .signup-form {
        padding: 25px;
    }

    .signup-form h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .form-group input {
        font-size: 0.9rem;
    }

    .btn {
        font-size: 0.9rem;
    }

    .signup-links a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }
}

@media (max-width: 400px) {
    .signup-form h1 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .form-group input {
        font-size: 0.85rem;
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .btn-icon {
        margin-left: 5px;
    }

    .signup-links a {
        font-size: 0.8rem;
    }

    .footer-bottom {
        font-size: 0.75rem;
    }
}
