:root {
    --bg-color: #F5F5DC;
    --primary-color: #3080ED;
    --primary-hover: #0058D1;
    --text-main: #171717;
    --text-secondary: #5C5C5C;
    --white: #ffffff;
    --gray-light: #F5F5F7;
    --container-width: 97.75rem;
    --radius-lg: 2rem;
    --radius-md: 1.25rem;
    --radius-sm: 0.75rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Onest", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    color: var(--text-main);
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 3.125rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.625rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--text-main);
}

.btn-white:hover {
    background-color: #f0f0f0;
}

/* Header */
.header {
    background: var(--white);
    height: 7.125rem;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 3.5625rem;
    width: auto;
}

.nav-desktop {
    display: flex;
    gap: 2.375rem;
    margin-left: 5rem;
}

.nav-link {
    font-size: 1.25rem;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.auth-buttons {
    display: flex;
    gap: 1.25rem;
    margin-left: auto;
}

/* Burger Button Styles */
.burger-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 102;
}

.burger-btn svg {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.icon-close {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: rotate(-90deg);
}

.icon-burger {
    opacity: 1;
    visibility: visible;
    transform: rotate(0);
}

.burger-btn.active .icon-burger {
    opacity: 0;
    visibility: hidden;
    transform: rotate(90deg);
}

.burger-btn.active .icon-close {
    opacity: 1;
    visibility: visible;
    transform: rotate(0);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 101;
    padding: 6rem 2rem 2rem;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-link {
    font-size: 1.25rem;
    font-weight: 500;
    color: #171717;
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-link:hover {
    color: #3080ED;
}

.mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0 !important;
    margin-bottom: 0px !important;
}



.full-width {
    width: 100%;
    justify-content: center;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero-section {
    background: var(--white);
    padding: 2.75rem 0 6rem;
}

.hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: anchor-center;
}

.hero-content {
    padding-top: 0 !important;
    max-width: 58.375rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 4.5rem;
    margin-bottom: 3rem;
}

.hero-desc {
    font-size: 1.5rem;
    line-height: 2rem;
    color: var(--text-main);
    margin-bottom: 4.5rem;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.25rem;
}

.dropdown-wrapper {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 16.6875rem;
    height: 3.5rem;
    border: 1px solid var(--primary-color);
    border-radius: var(--radius-sm);
    background: var(--white);
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.2s;
    border-radius: var(--radius-md);
    width: 100% !important;
}

.dropdown-trigger:hover {
    border-color: var(--primary-hover);
}

.dropdown-arrow {
    transition: transform 0.3s;
}

.dropdown-arrow.open {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 50;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(-205px);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: var(--gray-light);
}

.dropdown-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    object-fit: cover;
}

.bonus-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.bonus-info p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.hero-visual {
    position: relative;
    margin-right: 6.75rem;
    height: auto;
    width: fit-content;
}

.phone-mockup {
    height: 100%;
    width: auto;
    position: relative;
    margin-top: -60px;
    z-index: 3;
    max-width: 600px;
    height: inherit;
    object-fit: contain;
}

.floating-icon {
    position: absolute;
    width: 14.375rem;
    height: 12.5rem;
    z-index: 4;
}

.floating-max {
    left: -7.375rem;
    bottom: 6.6875rem;
    z-index: 1;
}

.floating-tg {
    right: -5.062rem;
    top: 9rem;
}

.screen-video {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    height: 94%;
    border-radius: 6rem;
    z-index: 1;
    object-fit: cover;
}

/* Advantages */
.advantages-section {
    background: var(--white);
    padding: 0rem 0 0rem;
}

.block-header {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 3.75rem;
    text-align: left;
}

.advantages-block {
    margin-top: 5rem;
}

.block-header span {
    color: var(--primary-color);
}

.cards-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.card-row.wide {
    grid-template-columns: 1.4125fr 1fr;
}

.feature-card {
    background: var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
    height: 25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-card.tall {
    height: 51.25rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    z-index: 2;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.625rem;
    z-index: 2;
}

.feature-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Niches Slider */
.niches-section {
    background: var(--gray-light);
    border-radius: 5rem 5rem 0 0;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
}

.niches-track {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding-left: max(1.25rem, calc((100vw - var(--container-width)) / 2));
    padding-right: max(1.25rem, calc((100vw - var(--container-width)) / 2));
    cursor: grab;
}

.niches-track:active {
    cursor: grabbing;
}

.niche-card {
    width: 23.5rem;
    height: 33.75rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.first-card {
    background: var(--primary-color) !important;
}

.first-card h3,
.first-card p {
    color: var(--white);
}

.niche-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    z-index: 2;
}

.niche-card p {
    font-size: 1.125rem;
    line-height: 1.625rem;
    z-index: 2;
}

.niche-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20.75rem;
    object-fit: cover;
}

.niches-section .slider-container {
    display: block;
}

.niches-swiper {
    padding-bottom: 60px;
    overflow: visible;
}

.swiper-wrapper {
    padding-left: max(0px, calc((100vw - var(--container-width)) / 2));
    padding-right: max(0px, calc((100vw - var(--container-width)) / 2));
}

.swiper-slide {
    width: auto;
    height: auto;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    position: relative;
    z-index: 10;
}

.slider-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    cursor: pointer;
}

.slider-btn:hover {
    transform: scale(1.1);
    background: var(--primary-color);
    color: white;
}

.swiper-pagination {
    position: static !important;
    display: flex;
    gap: 0.5rem;
    width: auto !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #d0d9e3;
    opacity: 1;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 10px;
}

/* Steps */
.steps-section {
    background: var(--gray-light);
    padding: 5rem 0;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 3.75rem;
}

.step-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    height: 31.25rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.5rem;
    text-align: left;
}

.step-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 22.5625rem;
    object-fit: cover;
}

/* White Banner Block */
.white-banner-section {
    background: var(--white);
    padding: 5rem 0;
    width: 100%;
}

.white-banner-section-main {
    padding: 5rem 0;
    width: 100%;
}

.banner-content {
    background: linear-gradient(45.29deg, #0F6EE0 0.016%, #6AAEFF 100.589%);
    border-radius: 4rem;
    padding: 4rem;
    height: 26.25rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.banner-text {
    max-width: 41.25rem;
    z-index: 2;
}

.banner-text h2 {
    color: var(--white);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 2.75rem;
    margin-bottom: 2rem;
    text-align: left;
}

.banner-text p {
    color: var(--white);
    font-size: 1.125rem;
    line-height: 1.625rem;
    margin-bottom: 3rem;
    text-align: left;
}

.banner-img {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Cases */
.cases-section {
    background: var(--gray-light);
    padding: 6.25rem 0 5rem;
    position: relative;
}

.cases-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 5rem 5rem 0 0;
    z-index: 1;
}

.cases-container {
    position: relative;
    z-index: 2;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 3.75rem;
}

.case-card {
    background: var(--white);
    border: 1px solid #C7C7C7;
    border-radius: var(--radius-lg);
    height: 17.375rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 4.375rem;
    transition: box-shadow 0.3s;
}

.case-card:hover {
    box-shadow: 0 0 1.5rem rgba(23, 23, 23, 0.15);
}

.case-avatar {
    width: 6.25rem;
    height: 6.25rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.25rem;
}

.case-name {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.case-handle {
    color: #808080;
    font-size: 1.125rem;
}

/* Pricing */
.pricing-section {
    padding: 5rem 0 10rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.toggle-wrapper {
    position: relative;
    width: 20.75rem;
    height: 4rem;
    background: #EDEEF2;
    border-radius: 1rem;
    margin: 1.75rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0.25rem;
}

.toggle-slider {
    position: absolute;
    top: 50%;
    left: 0.25rem;
    transform: translateY(-50%);
    width: calc(50% - 0.25rem);
    height: calc(100% - 0.5rem);
    background: var(--white);
    border-radius: 0.75rem;
    transition: left 0.35s;
    z-index: 1;
}

.toggle-option {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.toggle-option.active {
    color: var(--text-main);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.price-card {
    background: var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 0.75rem;
}

.price-card.popular {
    background: #E4EFFF;
}

.price-inner {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.price-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.icon-box {
    width: 4rem;
    height: 4rem;
    background: #E4EFFF;
    border-radius: 0.88875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem;
    border-radius: 2.5625rem;
    font-size: 1.125rem;
    font-weight: 600;
    margin-left: auto;
}

.divider {
    height: 1px;
    background: #DBDBDB;
    margin: 1.25rem 0;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-item svg {
    width: 2rem;
    height: 2rem;
    fill: #808080;
}

.bonus-tag p {
    background: linear-gradient(90deg, #197AFF 17.562%, #2528EB 81.198%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.price-values {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    margin: 1rem 0;
}

.daily-price {
    font-size: 1.5rem;
    font-weight: 600;
}

.monthly-price {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* FAQ */
.faq-section {
    background: var(--gray-light);
    border-radius: 5rem 5rem 0 0;
    padding: 6.25rem 0 5.75rem;
}

.faq-list {
    max-width: 64.625rem;
    margin: 3.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    border-bottom: 1px solid #C7C7C7;
    padding-bottom: 1rem;
    cursor: pointer;
}

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

.faq-question h2 {
    font-size: 1.25rem;
    font-weight: 600;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease, opacity 0.35s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
    opacity: 1;
}

.faq-answer-content {
    overflow: hidden;
}

.faq-answer-content p {
    padding-top: 0.5rem;
    color: var(--text-main);
    line-height: 1.625rem;
}

.faq-arrow {
    width: 2rem;
    height: 2rem;
    transition: transform 0.35s;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

/* Footer */
.footer {
    background: var(--gray-light);
    padding: 3.75rem 0 2.625rem;
    position: relative;
}

.footer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #353535;
    border-radius: 5rem 5rem 0 0;
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    gap: 2.375rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.legal-row {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    color: #8B8B8B;
    font-size: 1rem;
}

/* Responsive for Laptops (1280px - 1440px) */
@media (max-width: 1440px) {
    :root {
        --container-width: 92%;
        font-size: 14px;
    }

    .hero-title {
        font-size: 3rem;
        line-height: 3.5rem;
    }

    .hero-desc {
        font-size: 1.25rem;
        margin-bottom: 3rem;
    }

    .hero-content {
        padding-top: 4rem;
    }

    .hero-visual {
        margin-right: 0;
        transform: scale(0.95);
        transform-origin: right center;
    }

    .nav-desktop {
        margin-left: 2rem;
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .feature-card {
        height: 20rem;
        padding: 1.5rem;
    }

    .feature-card.tall {
        height: 41.5rem;
    }

    .niche-card {
        width: 22rem;
        height: 28rem;
    }

    .price-card {}

    .step-card {
        height: 26rem;
    }

    .banner-content {
        padding: 2.5rem;
        height: auto;
    }

    .banner-text h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 1024px) {
    :root {
        --container-width: 100%;
    }

    .nav-desktop,
    .auth-buttons {
        display: none;
    }

    .burger-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 3rem;
    }

    .hero-visual {
        transform: scale(0.6);
        transform-origin: right center;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .price-card {
        height: auto;
        min-height: 22.3125rem;
    }

    .cases-grid {
        grid-template-columns: 1fr 1fr;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .floating-icon {}

    .hero-section {
        padding-bottom: 0;
    }

    .dropdown-menu.active {
        transform: translateY(0);
    }

    .phone-mockup {
        width: 100%;
        height: auto;
    }

    .hero-visual {
        height: 100%;
    }

    #advantages {
        margin-top: -55px;
    }

    .floating-max {
        left: 0;
        bottom: 6.6875rem;
    }

    .floating-icon {
        position: absolute;
        width: 90px;
        height: 90px;
        z-index: 4;
    }

    .floating-tg {
        right: 0;
        top: 9rem;
    }

    .nav-desktop,
    .auth-buttons {
        display: none;
    }

    .burger-btn {
        display: block;
    }

    .hero-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-content {
        padding-top: 0;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .dropdown-trigger {
        width: 100%;
    }

    .hero-visual {
        margin-top: 2.5rem;
        transform: scale(0.7);
        transform-origin: center top;
    }

    .card-row,
    .card-row.wide {
        grid-template-columns: 1fr;
    }

    .feature-card {
        height: 21.25rem;
    }

    .feature-card.tall {
        height: 32.5rem;
    }

    .steps-grid {
        display: flex;
        flex-direction: column;
        overflow-x: auto;
        padding: 0 20px;
        scroll-snap-type: x mandatory;
    }

    .advantages-block {
        margin-top: 50px;
    }

    .step-card {
        width: 100%;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .banner-content {
        flex-direction: column;
        height: auto;
        padding: 2rem;
        text-align: center;
    }

    .banner-img {
        display: none;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .case-card {
        flex-direction: row;
        height: 6rem;
        padding: 1.25rem;
        justify-content: flex-start;
    }

    .case-avatar {
        margin-bottom: 0;
        margin-right: 0.75rem;
        width: 4rem;
        height: 4rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 2rem;
    }

    .white-banner-section .container div {
        padding: 40px 20px !important;
    }

    .footer-block {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .legal-row {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }

    .pricing-cards {
        display: flex;
        flex-direction: column;
    }
}

body.menu-open {
    overflow: hidden;
}
