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

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: #0a0a0f;
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 24px 96px;
}

.form-card {
    width: 100%;
    max-width: 480px;
    padding: 40px 44px;
    border-radius: 18px;
    background: rgba(14, 14, 26, 0.75);
    border: 1px solid rgba(99, 102, 241, 0.25);
    box-shadow: 0 25px 60px rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(18px);
    color: #f3f4ff;
}

.brand-header {
    text-align: center;
    margin-bottom: 28px;
}

.brand-pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.45);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #c7c9ff;
    margin-bottom: 16px;
}

.brand-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.brand-header p {
    font-size: 15px;
    color: rgba(226, 227, 255, 0.7);
}

.registerDividerText {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    font-weight: 600;
    color: rgba(199, 201, 255, 0.6);
    margin-bottom: 22px;
}

.textField {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 0 18px;
    transition: all 0.2s ease;
}

.textField label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(226, 227, 255, 0.75);
    letter-spacing: 0.04em;
}

.textField input {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(99, 102, 241, 0.25);
    background: rgba(12, 12, 20, 0.85);
    color: #f9f9ff;
    font-size: 15px;
    transition: all 0.2s ease;
}

.textField input:focus {
    outline: none;
    border-color: rgba(129, 140, 248, 0.85);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.textField.filled label {
    color: rgba(226, 227, 255, 0.95);
}

.form-error {
    display: none;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 20px;
}

.textField input.fieldValidationError {
    border-color: rgba(236, 72, 153, 0.7) !important;
    box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.3);
}

.checkContainer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(226, 227, 255, 0.75);
    font-size: 14px;
}

.checkContainer.left {
    justify-content: flex-start;
}

.check {
    display: none;
}

.check-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1px solid rgba(129, 140, 248, 0.5);
    background: rgba(15, 15, 26, 0.9);
    cursor: pointer;
    transition: all 0.2s ease;
}

.check-label span {
    display: block;
    width: 6px;
    height: 12px;
    border: solid rgba(226, 227, 255, 0.95);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0.8);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.check:checked + .check-label {
    background: rgba(129, 140, 248, 0.25);
    border-color: rgba(129, 140, 248, 0.85);
}

.check:checked + .check-label span {
    border-color: rgba(226, 227, 255, 0.95);
    opacity: 1;
}

.checkLabel {
    flex: 1;
    line-height: 1.4;
}

.checkLabel a {
    color: rgba(129, 140, 248, 0.9);
    text-decoration: none;
}

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

.cf-turnstile {
    margin: 20px 0;
}

.btnContainer {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}

.btnContainer input[type="submit"] {
    flex: 1;
    padding: 12px 0;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.9), rgba(99, 102, 241, 0.9));
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btnContainer input[type="submit"]:hover:not(.disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.45);
}

.btnContainer input[type="submit"].disabled {
    cursor: not-allowed;
    opacity: 0.75;
    box-shadow: none;
}

.btnContainer .register-btn-wrapper {
    flex: 1;
    position: relative;
    display: flex;
}

.btnContainer .register-btn-wrapper input[type="submit"] {
    width: 100%;
}

.btnContainer .register-btn-wrapper.loading input[type="submit"] {
    padding-left: 40px;
}

.loading-spinner {
    display: none;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 1;
}

.register-btn-wrapper.loading .loading-spinner {
    display: block;
}

@keyframes spin {
    from {
        transform: translateY(-50%) rotate(0deg);
    }
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

.privacyLink {
    font-size: 13px;
    color: rgba(199, 201, 255, 0.7);
    text-decoration: none;
}

.privacyLink:hover {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
}

footer {
    position: relative;
    z-index: 1;
    padding: 24px 20px 32px;
    color: rgba(199, 201, 255, 0.4);
    font-size: 11px;
    text-align: center;
}

.footer-content {
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(74, 144, 226, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 40%);
    animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

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

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: rgba(99, 102, 241, 0.4);
    border-radius: 50%;
    animation: float linear infinite;
}

.particle:nth-child(1) {
    width: 3px;
    height: 3px;
    left: 10%;
    top: 20%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 2px;
    height: 2px;
    left: 60%;
    top: 80%;
    animation-duration: 12s;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 4px;
    height: 4px;
    left: 80%;
    top: 30%;
    animation-duration: 10s;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    width: 2px;
    height: 2px;
    left: 30%;
    top: 60%;
    animation-duration: 15s;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    width: 3px;
    height: 3px;
    left: 90%;
    top: 70%;
    animation-duration: 9s;
    animation-delay: 3s;
}

.particle:nth-child(6) {
    width: 2px;
    height: 2px;
    left: 15%;
    top: 90%;
    animation-duration: 11s;
    animation-delay: 5s;
}

.particle:nth-child(7) {
    width: 4px;
    height: 4px;
    left: 70%;
    top: 15%;
    animation-duration: 13s;
    animation-delay: 2.5s;
}

.particle:nth-child(8) {
    width: 3px;
    height: 3px;
    left: 45%;
    top: 40%;
    animation-duration: 14s;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(20px);
        opacity: 0;
    }
}

.accent-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
    height: 1px;
    width: 100%;
    animation: lineMove 8s ease-in-out infinite;
}

.accent-line:nth-child(1) {
    top: 30%;
    animation-delay: 0s;
}

.accent-line:nth-child(2) {
    top: 70%;
    animation-delay: 4s;
}

@keyframes lineMove {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.code-decoration {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: rgba(99, 102, 241, 0.2);
    animation: fadeInOut 6s ease-in-out infinite;
}

.code-decoration:nth-child(1) {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.code-decoration:nth-child(2) {
    top: 60%;
    right: 8%;
    animation-delay: 2s;
}

.code-decoration:nth-child(3) {
    bottom: 20%;
    left: 12%;
    animation-delay: 4s;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-10px);
    }
}

.SOON-badge {
    color: white;
    font-weight: bold;
    font-size: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
}

.llm-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 12px 24px;
    background: rgba(99, 102, 241, 0.2);
    border: 2px solid rgba(99, 102, 241, 0.5);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.llm-button:hover {
    background: rgba(99, 102, 241, 0.4);
    border-color: rgba(99, 102, 241, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

@media (max-width: 600px) {
    .form-card {
        padding: 32px 26px;
    }

    .btnContainer {
        flex-direction: column;
        align-items: stretch;
    }

    .privacyLink {
        text-align: center;
    }
}