* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: radial-gradient(ellipse at center, #001a33 0%, #000000 70%);
    background-attachment: fixed;
    color: #b8c5d6;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    background: rgba(15, 20, 40, 0.95);
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.5px;
}

.logo span {
    color: #5db9ff;
}

.header-link {
    color: #b8c5d6;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.header-link:hover {
    color: #5db9ff;
}

/* Main Container */
.main-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* Register Box */
.register-box {
    background: rgba(21, 25, 46, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 48px;
    width: 100%;
    max-width: 560px;
    backdrop-filter: blur(10px);
}

.register-header {
    text-align: center;
    margin-bottom: 40px;
}

.register-header h1 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.register-header p {
    color: #8b98a9;
    font-size: 15px;
}

/* Steps Indicator */
.steps-indicator {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.step {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    transition: all 0.3s;
}

.step.active {
    background: #5db9ff;
}

.step.completed {
    background: #27ae60;
}

/* Form */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

label {
    display: block;
    color: #b8c5d6;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.required {
    color: #e74c3c;
    margin-left: 2px;
}

input[type="email"],
input[type="password"],
input[type="text"],
input[type="tel"],
select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s;
    font-family: inherit;
}

select {
    cursor: pointer;
}

input:focus,
select:focus {
    outline: none;
    border-color: #5db9ff;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(93, 185, 255, 0.1);
}

input::placeholder {
    color: #6b7685;
}

/* Password Strength */
.password-strength {
    margin-top: 8px;
    display: none;
}

.strength-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 6px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s;
    border-radius: 2px;
}

.strength-fill.weak {
    width: 33%;
    background: #e74c3c;
}

.strength-fill.medium {
    width: 66%;
    background: #ff9f43;
}

.strength-fill.strong {
    width: 100%;
    background: #27ae60;
}

.strength-text {
    font-size: 12px;
    color: #8b98a9;
}

/* Checkbox Group */
.checkbox-group {
    margin-bottom: 24px;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #5db9ff;
    margin-top: 2px;
    flex-shrink: 0;
}

.checkbox-label {
    color: #b8c5d6;
    font-size: 14px;
    cursor: pointer;
    margin: 0;
    line-height: 1.5;
}

.checkbox-label a {
    color: #5db9ff;
    text-decoration: none;
    transition: color 0.3s;
}

.checkbox-label a:hover {
    color: #fff;
}

/* Buttons */
.register-btn {
    width: 100%;
    padding: 14px;
    background: #5db9ff;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 16px;
}

.register-btn:hover:not(:disabled) {
    background: #4da8ee;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(93, 185, 255, 0.3);
}

.register-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.register-btn:active:not(:disabled) {
    transform: translateY(0);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 32px 0;
    color: #6b7685;
    font-size: 13px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
}

.divider span {
    padding: 0 16px;
}

/* Social Register */
.social-register {
    display: grid;
    gap: 12px;
    margin-bottom: 32px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #b8c5d6;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.social-btn:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-icon {
    font-size: 20px;
}

/* Login Link */
.login-link {
    text-align: center;
    color: #8b98a9;
    font-size: 14px;
}

.login-link a {
    color: #5db9ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.login-link a:hover {
    color: #fff;
}

/* Alert Box */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
}

.alert.error {
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.alert.success {
    background: rgba(39, 174, 96, 0.15);
    border: 1px solid rgba(39, 174, 96, 0.3);
    color: #27ae60;
}

/* Plan Selection */
.plan-selection {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.plan-option {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.plan-option:hover {
    border-color: rgba(93, 185, 255, 0.3);
    background: rgba(0, 0, 0, 0.4);
}

.plan-option.selected {
    border-color: #5db9ff;
    background: rgba(93, 185, 255, 0.1);
}

.plan-name {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.plan-price {
    color: #5db9ff;
    font-size: 20px;
    font-weight: 700;
}

.plan-period {
    color: #8b98a9;
    font-size: 12px;
}

/* Account Type Selection */
.account-type-selection {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 8px;
}

.account-type {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.account-type:hover {
    border-color: rgba(93, 185, 255, 0.3);
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.account-type.selected {
    border-color: #5db9ff;
    background: rgba(93, 185, 255, 0.1);
}

.account-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.account-name {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.account-desc {
    color: #8b98a9;
    font-size: 13px;
}

/* Footer */
footer {
    background: rgba(15, 20, 40, 0.95);
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-links a {
    color: #8b98a9;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #5db9ff;
}

.copyright {
    color: #6b7685;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .register-box {
        padding: 32px 24px;
    }

    .register-header h1 {
        font-size: 26px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .plan-selection {
        grid-template-columns: 1fr;
    }

    .account-type-selection {
        grid-template-columns: 1fr;
    }

    .header-content,
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}