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

:root {
    --black: #000000;
    --deep-black: #0A0A0A;
    --dark-gray: #121212;
    --purple: #8B5CF6;
    --purple-light: #A78BFA;
    --purple-dark: #6D28D9;
    --white: #FFFFFF;
    --gray: #9CA3AF;
    --gray-light: #D1D5DB;
    --green: #10B981;
    --red: #EF4444;
    --blue: #3B82F6;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.purple-line {
    position: absolute;
    background: linear-gradient(180deg, transparent, var(--purple), transparent);
    width: 2px;
    height: 100vh;
    opacity: 0.2;
}

.line-1 { left: 20%; }
.line-2 { left: 50%; }
.line-3 { left: 80%; }

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--purple);
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--purple-dark);
    bottom: -50px;
    left: -50px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

/* Register Container */
.register-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
    padding: 2rem;
}

/* Logo */
.logo-container {
    text-align: center;
    margin-bottom: 3rem;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
    text-decoration: none;
    display: inline-block;
}

.logo-accent {
    color: var(--purple);
}

.logo-tagline {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

/* Register Card */
.register-card {
    background: var(--deep-black);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.register-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.register-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.register-subtitle {
    font-size: 0.95rem;
    color: var(--gray);
}

/* Benefits Badge */
.benefits-badge {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.benefits-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-light);
}

.benefit-item::before {
    content: '✓';
    color: var(--green);
    font-weight: 900;
}

/* Form */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

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

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--purple);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.form-input::placeholder {
    color: var(--gray);
}

.form-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: var(--purple);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.form-select option {
    background: var(--deep-black);
    color: var(--white);
}

/* Password Strength */
.password-strength {
    margin-top: 0.5rem;
    display: none;
}

.password-strength.show {
    display: block;
}

.strength-bars {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

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

.strength-bar.active {
    background: var(--red);
}

.strength-bar.active.medium {
    background: #F59E0B;
}

.strength-bar.active.strong {
    background: var(--green);
}

.strength-text {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Terms Checkbox */
.terms-group {
    margin: 2rem 0;
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.terms-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--purple);
    flex-shrink: 0;
    margin-top: 2px;
}

.terms-group label {
    font-size: 0.9rem;
    color: var(--gray-light);
    line-height: 1.6;
}

.terms-group label a {
    color: var(--purple-light);
    text-decoration: none;
    transition: color 0.3s;
}

.terms-group label a:hover {
    color: var(--purple);
}

/* Buttons */
.btn-primary {
    width: 100%;
    background: var(--purple);
    color: var(--white);
    padding: 1.1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1.5rem;
}

.btn-primary:hover {
    background: var(--purple-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(139, 92, 246, 0.2);
}

.divider span {
    padding: 0 1rem;
    font-size: 0.85rem;
    color: var(--gray);
}

/* Social Login */
.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-social {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--white);
    padding: 0.9rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.btn-social:hover {
    border-color: var(--purple);
    background: rgba(139, 92, 246, 0.05);
    transform: translateY(-2px);
}

/* Footer */
.register-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.register-footer p {
    font-size: 0.9rem;
    color: var(--gray);
}

.register-footer a {
    color: var(--purple-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.register-footer a:hover {
    color: var(--purple);
}

/* Back to Home */
.back-home {
    text-align: center;
    margin-top: 2rem;
}

.back-home a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.back-home a:hover {
    color: var(--purple);
}

/* Error/Success Messages */
.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--red);
    display: none;
}

.error-message.show {
    display: block;
}

.success-message {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--green);
    display: none;
}

.success-message.show {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .register-container {
        padding: 1rem;
    }

    .register-card {
        padding: 2rem 1.5rem;
    }

    .register-title {
        font-size: 1.6rem;
    }

    .form-row,
    .social-buttons,
    .benefits-list {
        grid-template-columns: 1fr;
    }
}