:root {
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --border-color: rgba(255, 255, 255, 0.15);
    --stratus-blue: #60A5FA;
    --crowd-green: #84CC16;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-color: transparent;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/bg.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    filter: blur(3px) brightness(0.65);
    transform: scale(1.05);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.1) 0%, rgba(5, 10, 20, 0.6) 100%),
                linear-gradient(to bottom, rgba(5, 10, 20, 0.15) 0%, rgba(5, 10, 20, 0.9) 100%);
    z-index: -1;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 4rem;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.logo-icon {
    width: 70px;
    height: 45px;
    margin-right: -5px;
}

.logo-text-1 {
    color: var(--stratus-blue);
    letter-spacing: -0.02em;
}

.logo-text-2 {
    color: var(--crowd-green);
    letter-spacing: -0.02em;
}

.stealth-mode {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 0 8px rgba(96, 165, 250, 0.5), 0 0 20px rgba(96, 165, 250, 0.25);
    animation: pulse-glow 3s infinite ease-in-out;
}

@keyframes pulse-glow {
    0%, 100% {
        text-shadow: 0 0 4px rgba(96, 165, 250, 0.3), 0 0 10px rgba(96, 165, 250, 0.15);
        opacity: 0.8;
    }
    50% {
        text-shadow: 0 0 12px rgba(96, 165, 250, 0.7), 0 0 28px rgba(96, 165, 250, 0.4);
        opacity: 1;
    }
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    margin-top: -2vh;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    color: #f8fafc;
}

.subtitle {
    font-size: 1.1rem;
    color: #d4d4d8;
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.cta-button {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.9rem 2.2rem;
    font-size: 1.05rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
}

.cta-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.footer {
    padding: 2rem 4rem 3rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.features-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    max-width: 1100px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.02) 50%, transparent 100%);
    position: relative;
}

.feature-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1rem;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.5rem;
    color: #e4e4e7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.feature-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: #f4f4f5;
    letter-spacing: 0.01em;
}

.feature-desc {
    font-size: 0.9rem;
    color: #a1a1aa;
    font-weight: 300;
}

.feature-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border-color), transparent);
    margin: 1rem 0;
}

.bottom-link {
    margin-top: 2.5rem;
}

.bottom-link a {
    color: #a1a1aa;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 300;
    transition: color 0.3s ease;
}

.bottom-link a:hover {
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 900px) {
    .main-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .main-title {
        font-size: 2.2rem;
    }
    
    .features-container {
        flex-direction: column;
        background: none;
        border-bottom: none;
    }
    
    .feature-divider {
        height: 1px;
        width: 100%;
        background: linear-gradient(to right, transparent, var(--border-color), transparent);
        margin: 0;
    }
    
    .footer {
        padding: 1.5rem;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: linear-gradient(180deg, #0f1322 0%, #080a12 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    padding: 2.5rem;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #a1a1aa;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #fff;
}

.modal-title {
    font-size: 1.6rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #f8fafc;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.form-group.inline-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #e4e4e7;
    margin-bottom: 0.5rem;
}

.form-group.inline-group label {
    margin-bottom: 0;
}

.form-input, .form-select {
    width: 100%;
    background-color: #05080f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.form-select option {
    background-color: #0f1322;
    color: #fff;
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: rgba(96, 165, 250, 0.5);
}

.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.form-group.inline-group .custom-select-wrapper {
    min-width: 180px;
    width: auto;
}

.form-select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a1a1aa'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #e4e4e7;
    cursor: pointer;
    font-weight: 400 !important;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 14px;
    height: 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.checkbox-label input[type="checkbox"]:checked {
    background-color: var(--stratus-blue);
    border-color: var(--stratus-blue);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 4px;
    width: 3px;
    height: 7px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.optional {
    color: #71717a;
    font-weight: 400;
}

.submit-button {
    width: 100%;
    background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 0.875rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: opacity 0.2s;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.submit-button:hover {
    opacity: 0.9;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem 1rem 1rem;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    margin-bottom: 1.5rem;
}

.success-icon svg {
    width: 30px;
    height: 30px;
}

.success-message h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.success-body {
    color: #a1a1aa;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.success-body strong {
    color: #fff;
    font-weight: 600;
}

.success-body p {
    margin: 0.25rem 0;
}

.success-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
}

.success-footer {
    color: #a1a1aa;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
}

.success-close-btn {
    margin-top: 0;
}

/* User Type Toggle Buttons */
.user-type-toggle {
    display: flex;
    background-color: #05080f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 4px;
    width: 100%;
    max-width: 260px;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-btn {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.toggle-btn input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.toggle-label {
    display: block;
    text-align: center;
    padding: 0.65rem 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #71717a;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-btn input[type="radio"]:checked + .toggle-label {
    color: #ffffff;
    background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
