/* Hero Section */
.hero-section {
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #0f273c 0%, #1a2f3a 50%, #0f273c 100%);
    position: relative;
    overflow: hidden;
    z-index: 20;
} 

.hero-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lead-form {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    border-radius: 12px;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
}

/* Мобильная версия формы */
@media (max-width: 768px) {
    .lead-form {
        background: transparent;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
        gap: 15px;
    }
    
    .lead-form input[type="text"],
    .lead-form input[type="tel"],
    .lead-form select {
        background: transparent;
        color: #f3f2ea;
        border: none;
        border-bottom: 1px solid rgba(255,255,255,0.3);
        border-radius: 0;
        padding: 12px 0;
        font-size: 16px;
    }
    
    .lead-form input[type="text"]:focus,
    .lead-form input[type="tel"]:focus,
    .lead-form select:focus {
        border-bottom-color: rgba(255,255,255,0.8);
        outline: none;
    }
    
    .lead-form ::placeholder { 
        color: rgba(243,242,234,0.6); 
    }
    
    .checkbox .label-text {
        color: #d9dde0;
    }
    
    .submit-btn {
        background: #0f273c;
        color: white;
        border: none;
        border-radius: 8px;
        padding: 12px 24px;
        margin-top: 10px;
    }
}

.form-group {
    position: relative;
}

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form select {
    width: 100%;
    height: 50px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.9);
    color: #000000;
    padding: 0 20px;
    outline: none;
    font-size: 16px;
}

.lead-form ::placeholder { color: rgba(243,242,234,0.6); }

/* Phone */
.phone-group { display: flex; align-items: center; gap: 10px; }
.dial-code { color: #89a6b8; font-size: 15px; }
.phone-group input { flex: 1; }

.username-group input { width: 100%; }

/* Мобильная версия phone group */
@media (max-width: 768px) {
    .phone-group {
        border-bottom: 1px solid rgba(255,255,255,0.3);
        padding-bottom: 12px;
    }
    
    .dial-code {
        color: rgba(243,242,234,0.8);
        font-weight: 500;
    }
    
    .phone-group input {
        border: none;
        border-radius: 0;
        padding: 12px 0;
    }
}

/* Select */
.select-group { position: relative; }
.select-group select { appearance: none; -webkit-appearance: none; }
.select-caret {
    position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
    color: rgba(243,242,234,0.8);
    pointer-events: none;
}

/* Мобильная версия select */
@media (max-width: 768px) {
    .select-caret {
        display: none;
    }
    
    .select-group select {
        padding-right: 0;
    }
}

/* Checkboxes */
.checkbox { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: #d9dde0; font-size: 13px; cursor: pointer; }
.checkbox input { position: absolute; opacity: 0; }
.checkbox .box {
    width: 22px; height: 22px; border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(20,20,20,0.45);
    display: inline-block; position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox .box:hover {
    border-color: rgba(255,255,255,0.4);
    background: rgba(20,20,20,0.6);
}
.checkbox input:checked + .box::after {
    content: '✓'; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-58%);
    color: #f3f2ea; font-size: 16px;
}
.checkbox .label-text a { color: #b5a97a; text-decoration: underline; }
.checkbox.optional { opacity: .85; }
.checkbox .hint { color: #99a7b1; font-size: 12px; }

/* Мобильная версия чекбоксов */
@media (max-width: 768px) {
    .checkbox .box {
        border: 1px solid rgba(255,255,255,0.5);
        background: transparent;
    }
    
    .checkbox input:checked + .box::after {
        color: #f3f2ea;
    }
}

/* Submit button in Eden color */
.submit-btn {
    height: 54px; border-radius: 12px; border: none; cursor: pointer;
    background: var(--text-dark); color: #f3f2ea; font-weight: 700; font-size: 18px;
    box-shadow: 0 12px 30px rgba(15,39,60,.35);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.submit-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 40px rgba(15,39,60,.45); }
.submit-btn:active { transform: translateY(0); }

.hidden { display: none; }

@media (max-width: 480px) {
    .lead-form { max-width: 360px; gap: 12px; padding: 18px; }
}