* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, sans-serif;
    font-size: 16px;
    line-height: 1.25;
    color: #333;
    background: #F5F5F5;
    min-height: 100vh;
    padding: 0 2rem;
    overflow-x: hidden;
    position: relative;
}

body:before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(
            circle at 20% 80%,
            rgba(255, 160, 0, 0.15) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(66, 33, 208, 0.15) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 40% 40%,
            rgba(107, 70, 255, 0.1) 0%,
            transparent 50%
        ),
        linear-gradient(
            135deg,
            #f8f6ff 0%,
            #fff9f0 50%,
            #f5f2ff 100%
        );
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    z-index: -1;
}

/* Анимации для фона */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}





.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    min-height: 100vh;
    position: relative;
}

.two-column-layout {
    display: flex;
    gap: 3rem;
}

.left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
}

.logo-wrapper {
    margin-bottom: 1rem;
    width: 240px;
}

.logo-wrapper svg {
    width: 100%;
    height: auto;
}

.form-step {
    display: none;
    min-height: 512px;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

.form-step.active {
    display: flex;
}

h1 {
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
}

h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-step input[type="text"],
.form-step input[type="email"],
.form-step input[type="number"],
.form-step input[type="tel"] {
    height: 50px;
}

.form-step input[type="text"],
.form-step input[type="email"],
.form-step input[type="tel"],
.form-step input[type="number"],
.form-step textarea {
    width: 100%;
    border: 1px solid #FFF;
    background: #FFF;
    font-size: 1.25rem;
    border-radius: 1rem;
    padding: .5em;
    outline: none;
    font-family: Inter, sans-serif;
    box-shadow: 0 0 15px 0 rgba(74, 107, 184, 0.1);
}

.form-step textarea {
    resize: vertical;
    min-height: 100px;
}

a {
    color: #333;
    text-decoration: underline;
}

a:hover {
    color: #333;
    text-decoration: underline;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    display: none;
}

.btn {
    width: 100%;
    background: #4221d0;
    color: white;
    border: 1px solid #4221d0;
    height: 50px;
    font-weight: 500;
    font-size: 1.25rem;
    border-radius: 1rem;
    padding: 0 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn:hover {
    background: #4e2dde;
}

.submit-btn:disabled {
    background: #cccccc;
    border-color: #cccccc;
    cursor: not-allowed;
}

.response-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    text-align: center;
    display: none;
}

.response-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.response-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.success-message {
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.success-message h2 {
    color: #27ae60;
}

.success-message p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.success-message p:last-child {
    margin-bottom: 0;
}

.success-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
    margin-top: 1rem;
}

.btn.secondary {
    background: white;
    color: #4221d0;
}

/* Стили для вертикального слайдера */
#fullpage {
    position: relative;
    transition: transform 0.7s ease-in-out;
}

body.desktop-slider {
    height: 100vh;
    overflow: hidden;
}

body.desktop-slider #fullpage {
    height: 100vh;
}

body.desktop-slider .section {
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Позиционирование секций для слайдера */
body.desktop-slider .hero-section {
    transform: translateY(0);
}

body.desktop-slider .conditions-section {
    transform: translateY(100vh);
}

body.desktop-slider .faq-section {
    transform: translateY(200vh);
}

/* Навигационные точки */
.slider-nav-dots {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.5);
    padding: 1rem;
    border-radius: 1.5rem;
}
.slider-nav-dots:hover {
    background: rgba(255, 255, 255, 1);
}
body.desktop-slider .slider-nav-dots {
    display: flex;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #CCCCCC;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.nav-dot.active {
    background: #ffa000;
    transform: scale(1.3);
}

.nav-dot:hover {
    background: #ffa000;
    transform: scale(1.1);
}

.nav-dot::after {
    content: '';
    position: absolute;
    left: -8px;
    top: -8px;
    right: -8px;
    bottom: -8px;
}

/* Адаптивность */
@media (max-width: 968px) {
    .two-column-layout {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
    }
    
    .left-column {
        padding: 2rem 1rem 1rem;
    }

    .right-column {
        margin-bottom: 2rem;
    }

    .form-step {
        min-height: auto;
    }

    /* Скрываем точки навигации на мобильных */
    .slider-nav-dots {
        display: none !important;
    }
    
    /* Отключаем слайдер на мобильных */
    body.desktop-slider {
        height: auto;
        overflow: visible;
    }
    
    body.desktop-slider #fullpage {
        height: auto;
        transform: none !important;
    }
    
    body.desktop-slider .section {
        position: relative;
        height: auto;
        min-height: 100vh;
        transform: none !important;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 1.25rem;
    }

    h2 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .left-column {
        padding: 1.5rem 1.5rem 2rem 1.5rem;
    }

    .right-column {
        padding: 1.5rem;
        margin-bottom: 6.5rem;
    }

    .success-buttons {
        max-width: 100%;
    }
    
    .success-btn {
        width: 100%;
    }
}

/* Стили для полей ввода */
input:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.suggestions-wrapper {
    z-index: 1000;
}

.suggestions-suggestions {
    border: 2px solid #333;
    border-radius: 8px;
}

.suggestions-suggestion {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    border-radius: 8px;
}

.suggestions-suggestion:hover {
    background-color: #F5F5F5;
}

.suggestions-wrapper .suggestions-suggestions a {
    display: none;
}

/* Модальные окна */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    transition: background .3s ease;
    opacity: 0;
    visibility: hidden;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: relative;
    background: #fff;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    border-radius: 1rem;
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, .2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.modal-content {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    padding-right: 0.5rem;
    font-size: 0.9rem;
}

/* Стили для скроллбара в модальном окне */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.modal h3 {
    margin: 0;
    font-size: 1.25rem;
    font-family: Inter, sans-serif;
    font-weight: 500;
}

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    flex-shrink: 0;
}

.modal-content h4 {
    font-weight: 500;
    margin-bottom: 1rem;
}

.modal-content strong {
    font-weight: 500; 
}

.modal-content p {
    margin-bottom: 1rem;
}

.modal-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.modal-content p:last-child, .modal-content ul:last-child {
    margin-bottom: 0;
}

.modal-content table {
    margin-bottom: 1rem;
}

.modal-content table td, .modal-content table th {
    padding: 0.5rem;
}

/* Чекбоксы */
.checkbox-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    cursor: pointer;
    padding: 5px;
    margin: -5px;
}

.checkbox-group input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 25px;
    width: 25px;
    margin: 0;
    z-index: 2;
}

.checkmark {
    position: relative;
    height: 1.25rem;
    width: 1.25rem;
    min-width: 1.25rem;
    background-color: #fff;
    border: 1px solid #FFF;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    cursor: pointer;
    margin-top: 3px;
    box-shadow: 0 0 10px 0 rgba(74, 107, 184, 0.2);
}

.checkbox-group input[type="checkbox"]:checked + .checkmark {
    background-color: #333;
    border-color: #333;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
}

.checkbox-group input[type="checkbox"]:checked + .checkmark:after {
    display: block;
}

.checkbox-label {
    font-weight: normal;
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    cursor: pointer;
    color: #333;
    flex: 1;
    padding-top: 2px;
}

/* Шапка */
.header {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translate(-50%);
    padding: 0.75rem 2rem;
    border-radius: 1rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 4rem);
    max-width: 1200px;
    height: 4rem;
}



.header-logo {
    width: 110px;
    height: 28px;
}

.header-logo svg {
    width: 100%;
    height: auto;
}

.header-menu {
    display: flex;
    gap: 1.5rem;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
}

.header-menu a, .mobile-menu a {
    text-decoration: none;
    color: #333;
    position: relative;
}

.header-menu a:hover {
    color: #0c3585;
}

.header-menu a:hover:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #0c3585;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-phone a {
    text-decoration: none;
    color: #333;
    position: relative;
}

.header-phone a:hover {
    color: #0c3585;
}

.header-btn {
    background: #ffa000;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    display: none;
}

.header-btn:hover {
    background: #ffaa1a;
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.burger-menu svg {
    width: 24px;
    height: 24px;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu.active {
    display: flex;
}

/* Стрелка скролла */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
}
.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.scroll-down svg {
    width: 2rem;
    height: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Второй экран с FAQ */
.faq-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
}

.faq-container {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}



.faq-item {
    border-bottom: 1px solid #ccc;
}
.faq-items .faq-item:first-child {
    border-top: 1px solid #ccc;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    cursor: pointer;
    font-size: 1.1rem;
}

.faq-question span {
    flex: 1 1;
}
.faq-question .tabler-icon-minus, .faq-item.active .faq-question .tabler-icon-plus {
    display: none;
}

.faq-item.active .faq-question .tabler-icon-minus {
    display: block;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1rem;
}

.b24-widget-button-position-bottom-right {
    right: 25px!important;
    bottom: 25px!important;
}

@media (max-width: 1150px) {
    .header-right .header-btn {
        display: none!important;
    }
}

/* Адаптивность */
@media (max-width: 968px) {
    .header-right .header-phone {
        display: none;
    }
    .header-menu {
        right: 2rem;
        left: unset;
        transform: none;
    }
    .header-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .logo-wrapper {
        width: 175px;
    }
    .header {
        top: 1rem;
        width: calc(100% - 2rem);
        display: none;
    }
    .header.showed {
        display: flex;
    }
    .header-menu {
        display: none;
    }
    .hero-section {
        padding-bottom: 0;
    }
    .burger-menu {
        display: flex;
    }
    .faq-container {
        padding: 1.5rem;
    }
    .faq-answer p {
        font-size: 0.9rem;
    }
    .b24-widget-button-position-bottom-right {
        right: 15px!important;
        bottom: 15px!important;
    }
}

/* Секция с условиями */
.conditions-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
}

.conditions-container {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    max-width: 880px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

/* Табы для десктопной версии */
.conditions-tabs {
    display: flex;
    gap: 2rem;
}

.desktop-tabs {
    flex: 0 0 255px;
    display: flex;
    flex-direction: column;
}

.tab-item {
    padding: 1rem 2.5rem;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    border-radius: 1rem;
}

.tab-item:hover {
    background-color: #FFF;
    box-shadow: 0 0 15px 0 rgba(74, 107, 184, 0.1);
    position: relative;
}

.tab-item.active {
    position: relative;
}

.tab-item.active:before {
    content: '';
    width: 12px;
    height: 12px;
    background: #4221d0;
    display: block;
    position: absolute;
    top: 50%;
    left: 0.9rem;
    transform: translateY(-50%);
    border-radius: 50%;
    transition: all 0.3s ease;
}
.tab-item.active:hover:before {
    
    transform: scale(1.3) translateY(-33%);
}

.tab-content {
    flex: 1;
}

.tab-pane {
    display: none;
    padding: 1rem;
}

.tab-pane.active {
    display: block;
}

.tab-pane p {
    margin-bottom: 1rem;
}
.tab-pane p:last-child {
    margin-bottom: 0;
}
.tab-pane ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}
.tab-pane ul:last-child {
    margin-bottom: 0;
}
.tab-pane li {
    margin-bottom: 0.5rem;
}
.tab-pane ul li:last-child {
    margin-bottom: 0;
}
/* Мобильные табы (выпадающий список) */
.mobile-tabs {
    display: none;
}

.mobile-tab-select {
    width: 100%;
    padding: .5em;
    border: 1px solid #FFF;
    border-radius: 1rem;
    background: #FFF;
    font-size: 1.25rem;
    font-family: Inter, sans-serif;
    color: #333;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    height: 50px;
    box-shadow: 0 0 15px 0 rgba(74, 107, 184, 0.1);
}

/* Адаптивность для условий */
@media (max-width: 768px) {
    .conditions-container {
        padding: 1.5rem;
    }

    .conditions-section {
        padding: 0;
        min-height: fit-content;
    }
    
    .conditions-tabs {
        flex-direction: column;
        gap: 1rem;
    }
    
    .desktop-tabs {
        display: none;
    }
    
    .mobile-tabs {
        display: block;
    }
    
    .tab-content {
        width: 100%;
    }
    
    .tab-pane {
        padding: 0;

    }
    .tab-pane p {
        font-size: 0.9rem;
    }
}

.header,
.slider-nav-dots,
.right-column,
.faq-container,
.conditions-container {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(74, 107, 184, 0.1),
        0 2px 12px rgba(255, 185, 80, 0.08)
}