/* Sign Up Page Styles */

.container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
    padding-top: 4rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 560px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.logo {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.page-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.page-subtitle {
    font-size: 1rem;
    font-weight: 200;
    color: var(--muted);
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.signup-form {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 2.5rem;
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-purple);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(5, 3, 12, 0.46);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: rgba(168, 85, 247, 0.5);
    background: rgba(5, 3, 12, 0.62);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.form-input::placeholder {
    color: #666;
}

.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(5, 3, 12, 0.46);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text);
    font-family: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: rgba(168, 85, 247, 0.5);
    background: rgba(5, 3, 12, 0.62);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.form-select option {
    background: #10081f;
    color: var(--text);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.checkbox-input {
    width: 18px;
    height: 18px;
    accent-color: #a855f7;
    cursor: pointer;
    margin-top: 2px;
}

.checkbox-label {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-label a {
    color: #a855f7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.checkbox-label a:hover {
    color: #ec4899;
}

.submit-button {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 48%, #7c3aed 100%);
    background-size: 190% 190%;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 18px 52px rgba(168, 85, 247, 0.28);
    transition: transform 0.2s ease, background-position 0.35s ease, box-shadow 0.25s ease;
    font-family: inherit;
    margin-bottom: 1.5rem;
}

.submit-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 8%, rgba(255, 255, 255, 0.2) 46%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.45s ease;
}

.submit-button:hover {
    transform: translateY(-3px);
    background-position: 100% 50%;
    box-shadow: 0 22px 70px rgba(168, 85, 247, 0.42), 0 0 34px rgba(236, 72, 153, 0.25);
}

.submit-button:hover::before {
    transform: translateX(120%);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.login-link {
    text-align: center;
    font-size: 0.9rem;
    color: var(--muted);
}

.login-link a {
    color: #a855f7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.login-link a:hover {
    color: #ec4899;
}

.features-preview {
    max-width: 500px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.features-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.features-list li::before {
    content: "✓";
    color: #22c55e;
    font-weight: bold;
    margin-right: 0.75rem;
    font-size: 1rem;
}

.error-message {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: none;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
        padding-top: 4rem;
    }
    
    .back-home {
        top: 1rem;
        left: 1rem;
    }
}
