body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
}
p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    font-family: 'robobo', serif;
    color: #656565;
    margin-bottom: 20px;
}
.background {
    background-color: #F3F3F3;
}
.banner h1 {
    font-size: 40px;
    line-height: 48px;
    font-weight: 600;
    margin-top: 40px;
}
.banner p {
    margin-bottom: 20px;
}
.benefits {
    max-width: 1136px;
    width: 100%;
    text-align: left;
    margin-bottom: 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-top: 80px;
    padding-bottom: 64px;
    /*padding: 50px 20px;*/
    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: 16px;
    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: 30%;
    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;
}
.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;
    }
}

/* 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 .benefits p,
body.dark .card p {
    color: #B0B0B0;
}
body.dark .benefits h2 {
    color: #FFFFFF;
}
body.dark .background {
    background-color: #1A1A1A;
}
body.dark .card svg path {
    color: var(--white);
}

/* New styles for "How It Works" section */
.sides-container {
    display: flex;
}
.left-side, .right-side {
    flex: 1;
}

.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;
}
