/* RESET & BASE STYLES */
:root {
    --primary: #10B981;
    --primary-dark: #059669;
    --secondary: #34D399;
    --dark: #000000;
    --darker: #0a0a0a;
    --light: #ffffff;
    --gray: #9ca3af;
    --green-transparent: rgba(16, 185, 129, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

body {
    background: #0a0612;
    color: var(--light);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

.account-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.signup-container {
    display: flex;
    width: 100%;
    max-width: 1000px;
    min-height: 650px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.signup-form-container {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    max-height: 100vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.signup-form-container::-webkit-scrollbar {
    display: none;
}

.signup-image-container {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.signup-image-content {
    text-align: center;
    padding: 30px;
    z-index: 2;
}

.signup-image-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--light) 0%, #c3f4d4 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.graphic-element {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    position: absolute;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.graphic-element-1 {
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
}

.graphic-element-2 {
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.logo-icon {
    font-size: 28px;
    color: #34D399;
    background: linear-gradient(135deg, #10B981, #6EE7B7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.7));
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(to right, #f1f1f1, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.signup-form-container h1 {
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.signup-form-container p {
    color: var(--gray);
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, select {
    width: 100%;
    padding: 15px;
    background: rgba(10, 10, 10, 0.3);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--border-radius);
    color: var(--light);
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

select option {
    background: #1a1a1a;
    color: white;
}

.form-group input:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
}

.name-fields {
    display: flex;
    gap: 15px;
}

.name-fields .form-group {
    flex: 1;
}

.terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.terms input {
    margin-top: 5px;
    accent-color: var(--primary);
}

.terms label {
    color: var(--gray);
    line-height: 1.4;
}

.terms a {
    color: var(--secondary);
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

.btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 25px;
    font-family: 'Outfit', sans-serif;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.4);
}

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

.login-link a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.login-link a:hover {
    text-decoration: underline;
}

.password-strength {
    margin-top: 8px;
    height: 6px;
    border-radius: 3px;
    background: rgba(10, 10, 10, 0.3);
    overflow: hidden;
}

.strength-meter {
    height: 100%;
    width: 0;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.weak {
    background: #ff4757;
    width: 33%;
}

.medium {
    background: #ffa502;
    width: 66%;
}

.strong {
    background: #2ed573;
    width: 100%;
}

.password-requirements {
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--gray);
}

.feature-list {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.feature-icon {
    color: var(--primary);
    font-size: 1.5rem;
}

.feature-item h4 {
    margin-bottom: 5px;
    color: white;
}

.feature-item p {
    color: #aaa;
    font-size: 0.9rem;
}

/* AGENT TYPE SELECTION */
.agent-type {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.agent-type label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 13px;
}

.agent-type input[type="radio"] {
    display: none;
}

.agent-type input[type="radio"]:checked + label {
    border-color: #10B981;
    background: rgba(16, 185, 129, 0.1);
}

.agent-type i {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #10B981;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}


/* VALIDATION STATES */
.error-message {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.form-group.error input,
.form-group.error select {
    border-color: #ff6b6b;
}

.form-group.error .error-message {
    display: block;
}

.form-group.success input,
.form-group.success select {
    border-color: var(--primary);
}

/* ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }
.delay-5 { animation-delay: 0.5s; opacity: 0; }

/* BACK LINK */
.back-link {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    z-index: 10;
    text-decoration: none;
}

.back-link:hover {
    color: white;
}

/* PASSWORD TOGGLE */
.password-toggle {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 9px;
    transform: translateY(170%);
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    font-size: 1.1rem;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 5px;
}

.requirement i {
    font-size: 0.8rem;
}

.requirement.valid {
    color: var(--primary);
}

.requirement.invalid {
    color: #ff6b6b;
}

/* PARTICLES BACKGROUND */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
    .signup-container {
        flex-direction: column;
        max-width: 500px;
    }
    
    .signup-image-container {
        display: none;
    }
    
    .signup-form-container {
        padding: 40px 30px;
    }
    
    .name-fields {
        flex-direction: column;
        gap: 0;
    }
    .back-link {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 20px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .signup-form-container {
        padding: 30px 20px;
    }
    
    .logo {
        justify-content: center;
    }
    
    .signup-form-container h1 {
        text-align: center;
        font-size: 1.5rem;
    }
}