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

:root {
    --gold: #D4AF37;
    --gold-light: #F5D97A;
    --gold-dark: #B38B40;
    --dark: #0A0F15;
    --dark-light: #151E26;
    --white: #FFFFFF;
    --gray: #8A8F99;
    --gray-light: #2A3439;
    --transition: all 0.3s ease;
    --shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 10px 30px -5px rgba(212, 175, 55, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
    background: var(--dark);
}

/* ===== ВИДЕО ФОН ===== */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.25) saturate(1.2);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 15, 21, 0.17) 0%, rgba(21, 30, 38, 0.17) 30%);
}

/* ===== ПЛАВАЮЩИЕ КОНТАКТЫ ===== */
.floating-contacts {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-contact {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: none;
    cursor: pointer;
}

.floating-contact.telegram {
    background: #0088cc;
}

.floating-contact.whatsapp {
    background: #25D366;
}

.floating-contact.phone {
    background: var(--gold);
    color: var(--dark);
}

.floating-contact.callback {
    background: var(--dark-light);
    border: 1px solid var(--gold);
    color: var(--gold);
}

.floating-contact:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: var(--shadow-gold);
}

/* ===== ОСНОВНОЙ КОНТЕЙНЕР ===== */
.fullscreen {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    width: 100%;
}

/* ===== ЛЕВАЯ КОЛОНКА ===== */
.info-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.5px;
    margin-bottom: 30px;
    width: fit-content;
}

.badge i {
    font-size: 14px;
}

.main-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.title-line {
    display: block;
}

.title-line.accent {
    color: var(--gold);
}

.description {
    font-size: clamp(14px, 2vw, 16px);
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 450px;
}

.desktop-only {
    display: block;
}

/* Статистика */
.stats {
    display: flex;
    gap: clamp(20px, 4vw, 40px);
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
}

.stat-value {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: clamp(11px, 1.5vw, 13px);
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Информация о каталоге */
.catalog-info {
    display: flex;
    gap: clamp(15px, 3vw, 30px);
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(12px, 1.8vw, 14px);
    color: var(--gray);
}

.info-item i {
    color: var(--gold);
    font-size: 16px;
}

/* Мобильные контакты */
.mobile-contacts {
    display: none;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.mobile-contact i {
    color: var(--gold);
}

.mobile-social {
    display: flex;
    gap: 20px;
}

.mobile-social a {
    color: var(--white);
    font-size: 24px;
    transition: var(--transition);
}

.mobile-social a:hover {
    color: var(--gold);
    transform: translateY(-3px);
}

/* ===== ПРАВАЯ КОЛОНКА ===== */
.form-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: clamp(25px, 4vw, 40px);
    width: 100%;
    max-width: 480px;
    transition: var(--transition);
}

.form-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow-gold);
}

/* Вкладки */
.form-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--gray);
    font-size: 16px;
    font-weight: 600;
    padding: 8px 0;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    flex: 1;
}

.tab-btn.active {
    color: var(--gold);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-subtitle {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 25px;
}

/* Форма */
.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px 16px 50px;
    border-radius: 16px;
    color: var(--white);
    font-size: 15px;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
    color: var(--gray);
    font-size: 14px;
}

.select-input {
    appearance: none;
    cursor: pointer;
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 16px;
    opacity: 0.7;
    pointer-events: none;
}

/* Чекбокс */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    cursor: pointer;
}

.checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    cursor: pointer;
}

.checkbox-text {
    font-size: 13px;
    color: var(--gray);
}

.checkbox-text a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px dotted;
}

/* Кнопка */
.submit-btn {
    width: 100%;
    background: var(--gold);
    border: none;
    padding: 16px;
    border-radius: 16px;
    color: var(--dark);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    margin-bottom: 20px;
}

.submit-btn:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(212, 175, 55, 0.4);
}

.submit-btn i {
    transition: var(--transition);
}

.submit-btn:hover i {
    transform: translateX(5px) scale(1.1);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Футер формы */
.form-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray);
    font-size: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.form-footer i {
    color: var(--gold);
    font-size: 12px;
}

/* Сообщения об успехе */
.success-message {
    text-align: center;
    padding: 30px 0;
}

.success-icon {
    width: 70px;
    height: 70px;
    background: rgba(76, 175, 80, 0.1);
    border: 2px solid #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 35px;
    color: #4CAF50;
    animation: successPulse 2s infinite;
}

@keyframes successPulse {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

.success-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--white);
}

.success-text {
    color: var(--gray);
    font-size: 14px;
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal {
    background: var(--dark-light);
    max-width: 500px;
    width: 100%;
    border-radius: 30px;
    padding: 40px;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.2);
    animation: modalFadeIn 0.4s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--gold);
}

.modal-text {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 30px;
}

.modal-text p {
    margin-bottom: 15px;
}

.modal-btn {
    width: 100%;
    background: transparent;
    border: 1px solid var(--gold);
    padding: 14px;
    border-radius: 16px;
    color: var(--gold);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.modal-btn:hover {
    background: var(--gold);
    color: var(--dark);
}

/* ===== УВЕДОМЛЕНИЯ ===== */
.notifications {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    background: var(--dark-light);
    border-left: 3px solid;
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
    transform: translateX(100%);
    opacity: 0;
    transition: var(--transition);
    max-width: 350px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-left-color: #4CAF50;
}

.notification.success i {
    color: #4CAF50;
}

.notification.error {
    border-left-color: #F44336;
}

.notification.error i {
    color: #F44336;
}

.notification i {
    font-size: 20px;
}

.notification span {
    font-size: 14px;
    color: var(--white);
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .content-wrapper {
        gap: 30px;
    }
}

@media (max-width: 900px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .info-section {
        text-align: center;
        align-items: center;
        padding-right: 0;
    }
    
    .badge {
        margin-left: auto;
        margin-right: auto;
    }
    
    .description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .stats {
        justify-content: center;
    }
    
    .catalog-info {
        justify-content: center;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-contacts {
        display: block;
    }
    
    .floating-contacts {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .floating-contact {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .fullscreen {
        padding: 20px 15px;
    }
    
    .form-card {
        padding: 20px;
    }
    
    .form-tabs {
        flex-direction: column;
        gap: 10px;
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .tab-btn.active::after {
        display: none;
    }
    
    .tab-btn.active {
        background: rgba(212, 175, 55, 0.1);
        border-radius: 8px;
        padding: 10px;
    }
    
    .stat-item {
        flex: 1;
        min-width: 80px;
    }
    
    .modal {
        padding: 30px 20px;
    }
    
    .notifications {
        right: 15px;
        left: 15px;
    }
    
    .notification {
        max-width: none;
    }
}

@media (max-width: 380px) {
    .stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .stat-item {
        width: 100%;
        text-align: center;
    }
    
    .catalog-info {
        flex-direction: column;
        align-items: center;
    }
}