body.modal-open{
    overflow:hidden;
}

.auth-modal{
    position:fixed;
    inset:0;
    display:none;
    align-items:center;
    justify-content:center;
    z-index:2000;
}

.auth-modal--open{
    display:flex;
}

.auth-modal__overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.35);
    backdrop-filter:blur(4px);
}

.auth-modal__window{
    position:relative;
    z-index:2;

    height:80vh;
    width:calc(80vh * 3 / 4);

    min-width:720px;
    max-width:960px;

    background:#ffffff;
    border-radius:28px;
    overflow:hidden;
    display:flex;
    box-shadow:0 20px 60px rgba(0,0,0,0.22);
}

.auth-modal__close{
    position:absolute;
    top:14px;
    right:14px;
    width:36px;
    height:36px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,0.95);
    cursor:pointer;
    font-size:22px;
    line-height:1;
}

.auth-modal__left{
    width:40%;
    height:100%;
    background:linear-gradient(180deg, var(--color-gradient-violet) 0%, var(--color-gradient-red) 50%, var(--color-gradient-orange) 100%);
}

.auth-modal__right{
    width:60%;
    height:100%;
    background:#ffffff;
    padding:34px 30px 30px 30px;
    display:flex;
    flex-direction:column;
}

.auth-switcher{
    display:flex;
    gap:10px;
    margin-bottom:28px;
}

.auth-switcher__btn{
    height:42px;
    padding:0 18px;
    border:none;
    border-radius:12px;
    background:#f3f4f8;
    cursor:pointer;
    font-size:15px;
    font-weight:600;
}

.auth-switcher__btn--active{ /* Переключатель вход регистрация на плашке */
    background:linear-gradient(135deg, var(--color-gradient-red) 0%, var(--color-gradient-orange) 100%);
    color:#ffffff;
}

.auth-panel{
    height:100%;
    display:flex;
    flex-direction:column;
}

.auth-bottom{
    margin-top:auto;
    padding-top:20px;
}

.auth-panel--hidden{
    display:none;
}

.auth-input{
    width:100%;
    height:48px;
    border:1px solid #d9deea;
    border-radius:14px;
    padding:0 16px;
    font-size:15px;
    outline:none;
    box-sizing:border-box;
}

.auth-input:focus{
    border-color:#7b61ff;
}

.auth-submit-btn{ /* Кнопка зарегистрироваться или кнопка войти на главной странице */
    width:100%;
    height:48px;
    border:none;
    border-radius:14px;
    background:linear-gradient(90deg, var(--color-gradient-red) 0%, var(--color-gradient-orange) 100%);
    color:#ffffff;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
}

/* Мобильная версия открытия регистрации и логина */
/* МОБИЛЬНАЯ ВЕРСИЯ */
@media (max-width: 768px){

    .auth-modal__window{
        width:90vw;
        height:80vh;

        min-width:unset;
        max-width:unset;

        border-radius:20px;
    }

    /* убираем левую градиентную часть */
    .auth-modal__left{
        display:none;
    }

    /* правая часть занимает всю ширину */
    .auth-modal__right{
        width:100%;
        padding:26px 20px;
    }

    /* кнопки переключения растягиваем */
    .auth-switcher{
        width:100%;
        gap:8px;
    }

    .auth-switcher__btn{
        flex:1;
        height:44px;
        font-size:14px;
    }

    .auth-modal__close{
        top:10px;
        right:10px;

        width:34px;
        height:34px;

        z-index:10;
    }

    /* немного опускаем переключатель */
    .auth-switcher{
        margin-top:18px;
    }

}
/* Мобильная версия открытия регистрации и логина */


.auth-head{
    margin-bottom:24px;
}

.auth-title{
    font-size:22px;
    font-weight:800;
    color:#1b1b1b;
    line-height:1.1;
}

.auth-subtitle{
    margin-top:6px;
    font-size:13px;
    color:#7b7f8e;
}


.auth-fields{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.auth-input{
    width:100%;
    height:48px;

    border:1px solid #dcdfe7;
    border-radius:14px;

    padding:0 16px;
    font-size:15px;

    outline:none;
    box-sizing:border-box;
}

.auth-input:focus{
    border-color:#7b61ff;
}


.auth-password{
    position:relative;
}

.auth-password input{
    padding-right:45px;
}

.auth-eye{
    position:absolute;

    right:10px;
    top:50%;
    transform:translateY(-50%);

    border:none;
    background:transparent;

    cursor:pointer;
    font-size:16px;
}


.auth-terms{
    margin-top:14px;
    font-size:13px;
    line-height:1.45;
    color:#7b7f8e;
}

.auth-terms a{
    color:#7b61ff;
    text-decoration:none;
    font-weight:600;
}

.auth-terms a:hover{
    text-decoration:underline;
}


/* Ниже для содержания страницы */
body {
    margin: 0;
    background: linear-gradient(180deg, var(--color-gradient-main-bg-1) 0%, var(--color-gradient-main-bg-2) 50%, var(--color-gradient-main-bg-3) 100%);
}

.hero {
    padding: 56px 24px 80px;
    /* background: linear-gradient(180deg, #fcf5ff 0%, #fff8fc 100%); */
}

.hero__container {
    width: min(1240px, 100%);
    margin: 0 auto;
}

.hero__title {
    margin: 0;
    text-align: center;
    font-size: clamp(50px, 5vw, 70px);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.04em;
    color: #111111;
}

.hero__title-gradient {
    display: block;
    background: linear-gradient(90deg, var(--color-gradient-red) 0%, var(--color-gradient-red) 50%, var(--color-gradient-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    max-width: 760px;
    margin: 26px auto 0;
    text-align: center;
    font-size: 18px;
    line-height: 1.65;
    color: #7a7a89;
}

.hero-search {
    margin: 42px auto 0;
    width: 70%;;
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
}

.hero-search__input-wrap {
    flex: 1;
    min-width: 0;
    height: 50px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 26px;

    background: rgba(255,255,255,0.8);
    border: 1px solid #ece8f3;
    border-radius: 999px;

    backdrop-filter: blur(8px);

    box-shadow:
        0 0 20px #fdceff,   /* мягкая подсветка */
        0 10px 30px #fce6ff;  /* обычная тень */
}

.hero-search__icon {
    width: 24px;
    height: 24px;
    color: #9b9ba8;
    flex: 0 0 auto;
}

.hero-search__icon svg {
    width: 100%;
    height: 100%;
}

.hero-search__input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 18px;
    color: #1d1d1f;
}

.hero-search__input::placeholder {
    color: #a0a0ad;
}

.hero-search__btn {
    height: 50px;
    padding: 0 34px;
    border: none;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    background: linear-gradient(90deg, var(--color-gradient-red) 0%, var(--color-gradient-orange) 100%);
    box-shadow: 0 16px 30px rgba(255, 122, 0, 0.20);
}

.hero-search__btn-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
}

.hero-search__btn-icon svg {
    width: 100%;
    height: 100%;
}

.hero-features {
    margin: 64px auto 0;
    width: 80%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.hero-card {
    position: relative;
    overflow: visible;

    min-height: 220px;
    padding: 124px 24px 8px;

    background: #ffffff;
    border: 1px solid #ece8f3;
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-card:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 40px rgba(255, 122, 0, 0.15),
        0 20px 50px rgba(0, 0, 0, 0.12);
}

.hero-card__title-hover {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%) translateY(8px);

    padding: 10px 18px;
    border-radius: 999px;

    background: rgba(22, 22, 28, 0.20);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    white-space: nowrap;
    opacity: 0;
    pointer-events: none;

    box-shadow:
        0 0 28px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.10);

    transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-card:hover .hero-card__title-hover {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.hero-card__icon {
    position: absolute;
    top: 24px;
    left: 24px;

    width: 84px;
    height: 84px;

    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;

    background: linear-gradient(180deg, var(--color-gradient-blue) 0%, var(--color-gradient-violet) 100%);

    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-card__icon svg {
    width: 36px;
    height: 36px;
}

.hero-card:hover .hero-card__icon {
    left: 50%;
    transform: translateX(-50%);
}

.hero-card__text {
    margin: 8px 0 0;
    font-size: 18px;
    line-height: 1.55;
    color: #858594;

    width: 100%;
    text-align: left;

    transform: translateX(0);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-card:hover .hero-card__text {
    transform: translateX(22px);
}

.hero-features-mobile {
    display: none;
}


/* */

@media (max-width: 768px) {
    .main-container {
        width: 100%;
        padding: 0 16px;
        margin: 0 auto;
    }

    .hero {
        padding: 24px 0 40px;
    }

    .hero__container {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero__title {
        width: 100%;
        margin: 0;
        text-align: center;
        font-size: 34px;
        line-height: 1.08;
        letter-spacing: -0.03em;
    }

    .hero__subtitle {
        width: 100%;
        max-width: 320px;
        margin: 18px auto 0;
        text-align: center;
        font-size: 13px;
        line-height: 1.5;
    }

    .hero-search {
        width: 100%;
        max-width: 360px;
        margin: 26px auto 0;
        display: grid;
        grid-template-columns: 1fr 50px;
        gap: 8px;
        align-items: center;
    }

    .hero-search__input-wrap {
        width: 100%;
        height: 48px;
        padding: 0 14px;
        gap: 10px;
        border-radius: 999px;
    }

    .hero-search__icon {
        width: 18px;
        height: 18px;
    }

    .hero-search__input {
        font-size: 14px;
    }

    .hero-search__btn {
        width: 50px;
        height: 50px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        gap: 0;
        box-shadow: 0 12px 24px rgba(255, 122, 0, 0.18);
    }

    .hero-search__btn span:last-child {
        display: none;
    }

    .hero-search__btn-icon {
        width: 20px;
        height: 20px;
    }

    .hero-card__icon {
        width: 72px;
        height: 72px;
        margin-bottom: 12px;
        border-radius: 20px;
    }

    .hero-card__icon svg {
        width: 32px;
        height: 32px;
    }

    .hero-card__text {
        display: none;
    }


    .hero-features {
        width: 100%;
        max-width: 360px;
        margin: 28px auto 0;
        padding: 22px 16px 20px;
        background: #ffffff;
        border: 1px solid #ece8f3;
        border-radius: 24px;
        box-shadow: 0 12px 28px rgba(166, 146, 184, 0.10);
    }

    .hero-features__icons {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        justify-items: center;
        align-items: center;
    }

    .hero-features__labels {
        margin-top: 18px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .hero-features__label {
        text-align: center;
        font-size: 15px;
        line-height: 1.35;
        font-weight: 800;
        color: #17171b;
    }

    .hero-card__icon {
        width: 72px;
        height: 72px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        background: linear-gradient(180deg, var(--color-gradient-blue) 0%, var(--color-gradient-violet) 100%);
    }

    .hero-card__icon svg {
        width: 32px;
        height: 32px;
    }
    .hero-features__labels {
        margin-top: 18px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .hero-features__label {
        text-align: center;
        font-size: 15px;
        line-height: 1.35;
        font-weight: 800;
        color: #17171b;
    }

    .hero-features--desktop {
        display: none;
    }

    .hero-features-mobile {
        display: block;
        width: 100%;
        max-width: 360px;
        margin: 28px auto 0;
        padding: 24px 16px 22px;
        background: #ffffff;
        border: 1px solid #ece8f3;
        border-radius: 24px;
        box-shadow: 0 12px 28px rgba(166, 146, 184, 0.10);
    }

    .hero-features-mobile__icons {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        justify-items: center;
        align-items: center;
    }

    .hero-features-mobile__labels {
        margin-top: 18px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .hero-features-mobile__label {
        text-align: center;
        font-size: 15px;
        line-height: 1.35;
        font-weight: 800;
        color: #17171b;
    }
}



/* Блок на всю ширину экрана об эвенте*/
.join-section {
    width: 100%;
    padding: 0 24px 90px;
    margin-top: 28px;
}

.join-section__inner {
    width: 100%;
    margin: 0 auto;
    padding: 58px 24px 60px;
    border-radius: 32px;
    text-align: center;
    background: linear-gradient(90deg, var(--color-gradient-red) 0%, var(--color-gradient-orange) 100%);
    box-shadow: 0 20px 50px rgba(234, 47, 122, 0.18);
}

.join-section__title {
    margin: 0;
    font-size: 45px;
    line-height: 1.08;
    font-weight: 800;
    color: #ffffff;
}

.join-section__subtitle {
    max-width: 900px;
    margin: 18px auto 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
}

.join-section__actions {
    margin-top: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.join-section__btn {
    min-width: 210px;
    height: 55px;
    padding: 0 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.join-section__btn:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

.join-section__btn--filled {
    background: rgba(255, 255, 255, 0.24);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.join-section__btn--ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.32);
}

.join-section__btn-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.join-section__btn-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 768px) {
    .join-section {
        padding: 0 16px 56px;
        margin-top: 22px;
    }

    .join-section__inner {
        padding: 34px 18px 36px;
        border-radius: 26px;
    }

    .join-section__title {
        font-size: 24px;
        line-height: 1.12;
    }

    .join-section__subtitle {
        margin-top: 14px;
        font-size: 12px;
        line-height: 1.5;
    }

    .join-section__actions {
        margin-top: 20px;
        flex-direction: column;
        gap: 12px;
    }

    .join-section__btn {
        width: 90%;
        min-width: 0;
        height: 50px;
        font-size: 15px;
    }
}


/* Секкция с вопросами */
.faq-section {
    width: 100%;
    padding: 0 24px 90px;
    margin-top: 8px;
}

.faq-section__container {
    width: 80%;
    max-width: 1240px;
    margin: 0 auto;
    text-align: center;
}

.faq-section__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-gradient-red) 0%, var(--color-gradient-orange) 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.faq-section__title {
    margin: 22px 0 0;
    font-size: 40px;
    line-height: 1.05;
    font-weight: 800;
    color: #111111;
}

.faq-section__title-gradient {
    display: block;
    background: linear-gradient(90deg, var(--color-gradient-red) 0%, var(--color-gradient-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-section__subtitle {
    max-width: 760px;
    margin: 20px auto 0;
    font-size: 14px;
    line-height: 1.55;
    color: #7a7a89;
}

.faq-list {
    margin: 42px auto 0;
    width: 100%;
    max-width: 1100px;
    padding: 18px 30px;
    background: #ffffff;
    border: 1px solid #ece8f3;
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(166, 146, 184, 0.10);
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid #ece8f3;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item__question {
    width: 100%;
    min-height: 84px;
    padding: 0;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 18px;
    cursor: pointer;
    text-align: left;
}

.faq-item__icon {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.faq-item__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.faq-item__text {
    flex: 1;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    color: #20202a;
}

.faq-item__arrow {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    color: #6f7280;
    transition: transform 0.2s ease;
}

.faq-item__arrow svg {
    width: 100%;
    height: 100%;
    display: block;
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 52px 0 52px;
    font-size: 16px;
    line-height: 1.65;
    color: #6d7080;
    transition: max-height 0.28s ease, padding-bottom 0.28s ease;
}

.faq-item--open .faq-item__answer {
    max-height: 260px;
    padding-bottom: 22px;
}

.faq-item--open .faq-item__arrow {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .faq-section__container {
        width: 90%;
    }

    .faq-section {
        padding: 0 16px 56px;
        margin-top: 0;
    }

    .faq-section__title {
        margin-top: 18px;
        font-size: 34px;
        line-height: 1.08;
    }

    .faq-section__subtitle {
        margin-top: 14px;
        font-size: 15px;
        line-height: 1.5;
    }

    .faq-list {
        margin-top: 26px;
        padding: 10px 16px;
        border-radius: 24px;
    }

    .faq-item__question {
        min-height: 70px;
        gap: 12px;
    }

    .faq-item__icon {
        width: 28px;
        height: 28px;
    }

    .faq-item__text {
        font-size: 16px;
        line-height: 1.4;
    }

    .faq-item__arrow {
        width: 20px;
        height: 20px;
    }

    .faq-item__answer {
        padding: 0 0 0 40px;
        font-size: 14px;
        line-height: 1.55;
    }

    .faq-item--open .faq-item__answer {
        padding-bottom: 18px;
    }
}

/* Нижний блок с кнопкой и подписью*/
.bottom-cta {
    width: 100%;
    padding: 12px 24px 26px;
}

.bottom-cta__container {
    width: 80%;
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.bottom-cta__btn {
    min-width: 250px;
    height: 46px;
    padding: 0 34px;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--color-gradient-red) 0%, var(--color-gradient-orange) 100%);
    box-shadow: 0 18px 34px rgba(234, 47, 122, 0.18);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.bottom-cta__btn:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

.bottom-cta__icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bottom-cta__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.site-footer {
    width: 100%;
    padding: 0 24px 34px;
}

.site-footer__container {
    width: 80%;
    max-width: 1240px;
    margin: 0 auto;
    text-align: center;
    font-size: 10px;
    line-height: 1.5;
    color: #8d8d98;
}

@media (max-width: 768px) {
    .bottom-cta {
        padding: 8px 16px 20px;
    }

    .bottom-cta__container {
        width: 90%;
    }

    .bottom-cta__btn {
        width: 100%;
        min-width: 0;
        height: 56px;
        padding: 0 20px;
        border-radius: 18px;
        font-size: 17px;
    }

    .bottom-cta__icon {
        width: 20px;
        height: 20px;
    }

    .site-footer {
        padding: 0 16px 26px;
    }

    .site-footer__container {
        width: 90%;
        font-size: 14px;
        line-height: 1.45;
    }
}