:root {
    --base-clr: #11121a;
    --line-clr: #42434a;
    --hover-clr: #222533;
    --text-clr: #e6e6ef;
    --accent-clr: #5e63ff;
    --secondary-text-clr: #b0b3c1;
    --success-clr: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    position: relative;
    overflow-x: hidden;
}

/* Animated background elements */
.bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 20s infinite;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 80%;
    animation-delay: 3s;
}

.shape:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 20%;
    animation-delay: 6s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

.container {
    max-width: 900px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.logo {
    position: absolute;
    top: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    z-index: 10;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-clr);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 10px;
    font-weight: normal;
    opacity: 0.9;
}

.signup-card {
    background: var(--base-clr);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--accent-clr);
    position: relative;
    overflow: hidden;
}

.signup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-clr), var(--success-clr));
}

.card-header {
    text-align: center;
    margin-bottom: 40px;
}

.signup-title {
    color: var(--text-clr);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--text-clr), var(--accent-clr));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.signup-subtitle {
    color: var(--secondary-text-clr);
    font-size: 16px;
}

.signup-subtitle a {
    color: var(--accent-clr);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.signup-subtitle a:hover {
    color: #7e83ff;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    color: var(--text-clr);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: var(--hover-clr);
    border: 1px solid var(--line-clr);
    border-radius: 12px;
    color: var(--text-clr);
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--accent-clr);
    background: var(--base-clr);
    box-shadow: 0 0 0 3px rgba(94, 99, 255, 0.1);
    transform: translateY(-2px);
}

.form-input::placeholder {
    color: var(--secondary-text-clr);
}

.password-strength {
    margin-top: 8px;
    height: 4px;
    background: var(--line-clr);
    border-radius: 2px;
    overflow: hidden;
    display: none;
}

.password-strength.active {
    display: block;
}

.strength-bar {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-weak {
    width: 33%;
    background: #ef4444;
}

.strength-medium {
    width: 66%;
    background: #f59e0b;
}

.strength-strong {
    width: 100%;
    background: var(--success-clr);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 30px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-clr);
    margin-top: 2px;
}

.checkbox-group label {
    color: var(--secondary-text-clr);
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-group label a {
    color: var(--accent-clr);
    text-decoration: none;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

.signup-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--accent-clr), #7e83ff);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.signup-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.signup-btn:hover::before {
    left: 100%;
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(94, 99, 255, 0.4);
}

.signup-btn:active {
    transform: translateY(0);
}

.divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: var(--secondary-text-clr);
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line-clr);
}

.divider span {
    padding: 0 15px;
}

.social-signup {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: var(--hover-clr);
    border: 1px solid var(--line-clr);
    border-radius: 10px;
    color: var(--text-clr);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--line-clr);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icon {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .signup-card {
        padding: 40px 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .social-signup {
        grid-template-columns: 1fr;
    }

    .signup-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .logo {
        top: 20px;
        left: 20px;
        font-size: 20px;
    }

    .signup-card {
        padding: 30px 20px;
    }

    .signup-title {
        font-size: 32px;
    }
}