body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
}
.title-section p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    font-family: Roboto;
    text-align: center;
    color: #656565;
    margin-bottom: 20px;
}
.key-features-title {
    text-align: left;
    width: 236px;
    height: 24px;
    justify-content: space-between;
    opacity: 1;
    color: var(--black);
}
.key-features-title p {
    font-family: Roboto, serif;
    font-weight: 700;
    font-size: 14px;
    leading-trim: NONE;
    line-height: 20px;
}
.background {
    background-color: #F3F3F3;
}
.banner h1 {
    font-size: 40px;
    line-height: 48px;
    font-weight: 600;
    margin-top: 40px;
}
.banner p {
    margin-bottom: 20px;
}
.title-section {
    /*max-width: 1136px;*/
    /*width: 100%;*/
    text-align: center;
    margin: 40px;
}
.btn, .btn-primary {
    margin: 10px auto;
    padding: 12px 36px !important;
    text-decoration: none;
    border-radius: 7px !important;
    font-weight: bold;
    display: inline-block;
}
.section .btn, section .btn-primary {
    margin-top: 20px;
}
.section {
    padding: 15px 15px 50px;
    text-align: center;
}
.section h2 {
    font-size: 40px;
    line-height: 48px;
    font-weight: 600;
    margin-bottom: 5px;
}
.cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 27px;
    max-width: 1200px;
    margin: 0 auto;
}
.card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: #111;
    border-radius: 16px !important;
    padding: 20px;
    width: 23%;
    /*margin-bottom: 20px;*/
    text-align: left;
    min-width: 250px;
    /*flex: 1;*/
}
.card .img {
    height: 24px;
    width: 24px;
    margin-bottom: 15px;
}
.card svg path {
    color: var(--blue);
}
.card .img svg {
    height: 24px;
}
.empty {
    background-color: #151515;
    height: 80px;
}

.bot h3 {
    margin-top: 10px !important;
}
.discord-bot svg,
.tg-bot svg {
    height: 40px !important;
    width: 40px !important;
    margin-bottom: 15px !important;
}
.card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px;
}
.card p {
    margin: 0;
    font-size: 14px;
    color: #656565;
}
.btn-primary {
    background: #0066FF;
    color: #FFFFFF;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
}
.btn-primary:hover {
    background: #3385FF;
}
.btn-secondary {
    background: #FFFFFF;
    color: #000000;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    border: 1px solid #CCCCCC;
    display: inline-block;
    font-size: 14px;
}
.btn-secondary:hover {
    background: #0066FF;
    color: #FFFFFF;
    border-color: #0066FF;
}
.earning-btn {
    border-radius: 24px !important;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .banner h1 {
        font-size: 36px;
    }
    .banner p {
        font-size: 16px;
    }
    .btn {
        width: 100%;
        max-width: 320px;
        padding: 14px 20px;
        font-size: 16px;
    }
    .card {
        width: 100%;
        margin-bottom: 20px;
    }
    .cards {
        flex-direction: column;
        align-items: center;
    }
    .key-features-title p {
        display: block;
    }
}

/* Dark theme */
body.dark body {
    background-color: #1A1A1A;
    color: #FFFFFF;
}
body.dark .card {
    background: #2A2A2A;
    color: #FFFFFF;
    border: 1px solid #3A3A3A;
    box-shadow: none;
}
body.dark .banner p {
    color: #B0B0B0;
}
body.dark .title-section p,
body.dark .card p {
    color: #B0B0B0;
}
body.dark .title-section h2 {
    color: #FFFFFF;
}
body.dark .background {
    background-color: #1A1A1A;
}
body.dark .card svg path {
    color: var(--white);
}
body.dark .key-features-title p {
    color: var(--white);
}

/* New styles for "How It Works" section */
.sides-container {
    display: flex;
}
.how-it-works,
.influencer,
.faq {
    text-align: left;
    padding-top: 20px;
}

.how-it-works__heading,
.influencer__heading,
.faq__heading {
    margin-bottom: 20px;
}

.how-it-works__heading h2,
.influencer__heading h2,
.faq__heading h2 {
    font-size: 40px;
    line-height: 48px;
    font-weight: 600;
    margin-bottom: 5px;
}
.influencer .steps-container {
    align-items: flex-start;
}
.how-it-works__heading p,
.influencer__heading p,
.faq__heading p {
    color: #656565;
}
.influencer .step-icon {
    width: 24px;
    height: 24px;
    margin-right: 16px;
}
.influencer .step-content {
    padding-top: 0;
}
.how-it-works .btn-primary {
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 40px;
}

.steps-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step {
    /*display: flex;*/
    align-items: flex-start;
    margin-bottom: 16px;
    width: 100%;
    max-width: 700px;
    text-align: left;
    position: relative;
    border: 2px solid #EBEBEB;
    border-radius: 16px;
    padding: 24px 16px;
    /*z-index: 1;*/
}

.step-icon {
    flex-shrink: 0;
    height: 160.4px;
    width: 220px;
    background-color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 30px;
}

.step-icon img {
    width: 60px;
    height: 60px;
}

.step-icon img svg path {
    stroke: var(--black);
}

.step-content {
    flex-grow: 1;
    padding-top: 10px;
    display: flex;
}

.step-number {
    line-height: 48px;
    font-size: 40px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: var(--blue);
    display: block;
    margin-bottom: 5px;
    margin-right: 16px;
}

.step-icon svg path {
    color: var(--black);
}

.step-content h3 {
    line-height: 24px;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--black);
}

.step-content p {
    line-height: 20px;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    color: #656565;
}

/* Dark theme for new section */
body.dark .how-it-works__heading p {
    color: #B0B0B0;
}
body.dark .step-icon {
    background-color: transparent;
}
body.dark .step-icon img svg path {
    stroke: var(--white);
}
body.dark .step-content h3 {
    color: #FFFFFF;
}
body.dark .step-content p {
    color: #B0B0B0;
}
body.dark .step {
    border: 2px solid #504f4f;
}
body.dark .step-icon svg path {
    color: var(--white);
}
body.dark svg .gray {
    stroke: #9E9E9E;
}

@media (max-width: 768px) {
    .sides-container {
        flex-direction: column;
    }

    .left-side, .right-side {
        width: 100%;
    }
}

/* FAQ Section */
.faq-container {
    width: 100%;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: #111;
}

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #0066FF;
    transition: transform 0.3s ease-out;
}

.faq-icon::before {
    width: 12px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 2px;
    height: 12px;
    transform: translate(-50%, -50%);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition-property: max-height;
    transition-timing-function: ease-in-out;
}

.faq-answer p {
    margin: 20px 0 0 0;
    font-size: 16px;
    line-height: 24px;
    color: #656565;
}

/* Стили для активного (раскрытого) состояния */
.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* Dark theme */
body.dark .faq-container {
    box-shadow: none;
}
body.dark .faq-question h3 {
    color: #fff;
}
body.dark .faq-icon::before,
body.dark .faq-icon::after {
    background-color: #fff;
}
body.dark .faq-answer p {
    color: #b0b0b0;
}

button .short {
  display: none;
}

/* Prices Switcher */
.pricing-switcher {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F3F3F3;
    border-radius: 12px;
    padding: 4px;
    gap: 8px;
    width: fit-content;
    margin: 20px auto 40px;
    font-family: 'Poppins', sans-serif;
}

.pricing-switcher .switcher-btn {
    background: transparent;
    border: none;
    padding: 8px 24px;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: #656565;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

/*.pricing-switcher .switcher-btn:hover {*/
/*    color: #111;*/
/*}*/

.pricing-switcher .switcher-btn.active {
    background-color: #fff;
    /*color: #111;*/
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pricing-switcher .badge {
    font-family: Roboto;
    leading-trim: NONE;
    text-align: center;
    background-color: #1AA04B1A;
    color: #1AA04B;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    padding-right: 12px;
    padding-left: 12px;

    border-radius: 24px;
    gap: 8px;
}

.plan-group {
    display: none;
    width: 100%;
}

.plan-group.active {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 27px;
}
.price-header {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 236px;
    height: 92px;
    opacity: 1;
    gap: 8px;
}
.price-header h3 {
    font-family: Poppins, serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 32px;
    letter-spacing: 0;
    color: var(--blue);
}
.price-header .monthly-price,
.price-header .per-month {
    font-family: Poppins, serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0;
    color: var(--black);
}
.price-header .total-price,
.limited-features p {
    font-family: Roboto, serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
    color: #656565;
}
.price-content .border-line {
    width: 236px;
    height: 1px;
    text-align: left;
    border-radius: 16px;
    opacity: 1;
    /*background: var(--white);*/
    border: 1px solid #EBEBEB;
    margin-top: 16px;
    margin-bottom: 16px;
}
.price-plan {
    width: 300px;
    height: fit-content;
    border-radius: 24px;
    opacity: 1;
    gap: 16px;
    padding: 32px;
    background: var(--white);
    border: 1px solid #EBEBEB
}
.feature-item.unavailable {
    font-family: Roboto, serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
    color: #9E9E9E !important;
}
.feature-item.available span {
    font-family: Roboto, serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
    color: var(--black) !important;
}
.price-plan.pro-plan {
    border: 2px solid #000000
}
.price-features {
    width: 236px;
    height: fit-content;
    gap: 16px;
    opacity: 1;
    text-align: left;
    margin-bottom: 16px;
}
.basic-features {
    width: 236px;
    height: 88px;
    opacity: 1;
    margin-bottom: 16px;
}
.enterprise-plan .basic-features {
    height: fit-content;
}
.enterprise-plan .price-features {
    height: 252px;
}
.limited-features {
    width: 236px;
    height: 164px;
    opacity: 1;
}
.price-footer button,
.price-footer a {
    width: 236px;
    height: 40px;
    padding: 6px 16px;
    gap: 8px;
    opacity: 1;
    border-radius: 24px;
}
.price-footer a {
    display: inline-block;
}
.price-footer button.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
    background: #F3F3F3;
    color: #484848;
    font-family: Roboto, serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
    border: none;
}
.feature-item {
    font-family: Roboto, serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
    height: 20px;
    margin-top: 4px;
    margin-bottom: 4px;
    gap: 8px;
    display: flex;
    align-items: center;
}

/* Dark theme styles for the switcher */
body.dark .pricing-switcher {
    background-color: var(--dark-black2);
}
body.dark .price-content .border-line {
    background: var(--grey-800);
    border: 1px thin var(--grey-800);
}

body.dark .pricing-switcher .switcher-btn {
    color: #B0B0B0;
}

body.dark .pricing-switcher .switcher-btn:hover {
    color: #fff;
}

body.dark .pricing-switcher .switcher-btn.active {
    background-color: #1a1a1a;
    color: #fff;
    /*box-shadow: 0 1px 2px rgba(255, 255, 255, 0.05);*/
}
body.dark .price-plan {
    background-color: #1A1A1A;
}
body.dark .price-header h3,
body.dark .price-header .monthly-price,
body.dark .price-header .per-month {
    color: var(--white);
}
body.dark .total-price {
    color: #656565;
}
body.dark .feature-item.available span {
    color: var(--white) !important;
}
body.dark .feature-item.available span svg path {
    color: var(--white) !important;
    fill: var(--white);
}
body.dark .feature-item.unavailable span {
    color: #9E9E9E !important;
}
body.dark .price-footer button.disabled {
    background: #484848;
    color: var(--white);
}
body.dark .price-plans .pro-plan {
    border: 2px solid var(--white)
}
body.dark .price-plans .free-plan,
body.dark .price-plans .enterprise-plan {
    border: 1px solid #3A3A3A;
}
body.dark .switcher-btn {
    font-family: Poppins, serif;
    font-weight: 500;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 22px;
    letter-spacing: 0;
    text-align: center;
    color: var(--white) !important;
}


@media (max-width: 768px) {
    button .full {
        display: none;
    }
    button .short {
        display: inline;
    }
    .switcher-btn .badge {
        display: none;
    }
}


/* Общие стили для выпадающего списка */
.feature-toggle {
    width: 100%;
}

.key-features-title {
    display: none;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 0;
}

/* Скрываем стрелку по умолчанию */
.toggle-icon {
    display: none;
    transition: transform 0.3s ease;
}

/* Стили для свернутого/развернутого состояния */
.feature-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

.mobile-collapsible {
    max-height: 1000px; /* Установите достаточно большое значение */
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

/* Медиазапрос для мобильной версии */
@media screen and (max-width: 768px) {
    .price-plan {
        max-width: 100%;
    }

    .mobile-toggle {
        display: flex; /* Показываем заголовок */
    }

    .toggle-icon {
        display: block; /* Показываем иконку-стрелку */
    }

    .mobile-collapsible {
        max-height: 0;
    }

    .feature-toggle.active .mobile-collapsible {
        max-height: 1000px; /* Разворачиваем список */
    }
}