*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #0D0F12;
    color: #E6E8EB;
}

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

img {
    display: block;
    max-width: 100%;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    line-height: 1.3;
}

h1 {
    font-size: 2.6rem;
    margin-bottom: 22px;
    color: #00FFC2;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #00FFC2;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

p {
    font-size: 1.04rem;
    margin-bottom: 15px;
}

.btn-primary {
    background: #00FFC2;
    color: #0D0F12;
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 700;
    transition: transform .2s;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    transform: scale(1.05);
}

.btn-primary:focus-visible {
    outline: 3px solid #00FFC2;
    outline-offset: 2px;
}

.micro-cta {
    text-align: center;
    background: #1A1E23;
    color: #00FFC2;
    padding: 10px 0;
    font-weight: 500;
    font-size: 1.07rem;
    letter-spacing: 0.5px;
}

header {
    position: sticky;
    top: 0;
    background: rgba(13, 15, 18, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00FFC2;
}

/* Desktop menu */
.menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.menu a {
    font-weight: 500;
    transition: color .2s;
}

.menu a:hover {
    color: #00e0ac;
}

/* Burger button */
.burger {
    display: none;
    background: none;
    border: 1px solid #2a2f36;
    color: #E6E8EB;
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
    font-weight: 600;
}

.burger:focus-visible {
    outline: 3px solid #00FFC2;
    outline-offset: 2px;
}

/* Mobile menu */
@media (max-width: 768px) {
    .menu {
        position: absolute;
        top: 64px;
        right: 0;
        left: 0;
        margin: 0 auto;
        width: 90%;
        background: #1A1E23;
        border: 1px solid #242a31;
        border-radius: 12px;
        padding: 14px;
        display: none;
        flex-direction: column;
        gap: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    }

    .menu.open {
        display: flex;
    }

    .burger {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .menu a {
        padding: 10px 8px;
        border-radius: 8px;
    }

    .menu a:active {
        background: #23262c;
    }

    /* Мобильный герой: скрываем картинку для фокуса на оффере и CTA */
    .hero-image {
        display: none;
    }
}

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero-image {
    flex: 1;
    text-align: right;
}

/* Lead CTA (hero) — компактная кнопка */
.lead-cta {
    display: grid;
    grid-template-columns: auto;
    gap: 10px;
    max-width: 560px;
    justify-items: start;
}

.lead-cta .btn-primary {
    width: auto;
    white-space: nowrap;
}

.form-note {
    color: #b0b6c0;
    font-size: .92rem;
}

.cases-list {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
}

.case {
    background: #1A1E23;
    border-radius: 10px;
    padding: 25px 20px;
    min-width: 220px;
    max-width: 300px;
    text-align: left;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature {
    background: #1A1E23;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform .2s;
}

.feature:hover {
    transform: translateY(-5px);
}

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step {
    text-align: center;
}

.step-icon {
    font-size: 2.5rem;
    color: #00FFC2;
    margin-bottom: 15px;
}

.pricing {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .pricing {
        grid-template-columns: repeat(3, 1fr);
    }
}

.plan {
    background: #1A1E23;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform .2s;
}

.plan:hover {
    transform: translateY(-5px);
}

.plan h3 {
    margin-bottom: 10px;
}

.plan div {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 15px 0;
}

.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 500;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    float: right;
}

.faq-item details[open] summary::after {
    content: '–';
}

.faq-item p {
    margin-top: 10px;
}

.integrations {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.integration-item img {
    filter: grayscale(100%);
    opacity: .7;
    transition: filter .2s, opacity .2s;
}

.integration-item img:hover {
    filter: none;
    opacity: 1;
}

.chat-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #00FFC2;
    color: #0D0F12;
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 600;
    box-shadow: 0 4px 24px 0 rgba(0, 255, 194, 0.20);
    cursor: pointer;
    z-index: 1500;
    transition: background .2s;
}

.chat-bubble:hover {
    background: #00e0ac;
}

.chat-bubble:focus-visible {
    outline: 3px solid #0D0F12;
    outline-offset: 2px;
}

.sticky-cta {
    display: none;
}

@media (max-width: 650px) {
    .cases-list {
        flex-direction: column;
        align-items: stretch;
    }

    .sticky-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #00FFC2;
        color: #0D0F12;
        text-align: center;
        font-weight: 700;
        font-size: 1.2rem;
        padding: 18px 0 15px 0;
        border-radius: 0;
        z-index: 2000;
        box-shadow: 0 0 30px 0 rgba(0, 255, 194, 0.16);
        letter-spacing: 1px;
    }

    .chat-bubble {
        bottom: 70px;
        right: 15px;
    }
}

footer {
    border-top: 1px solid #1A1E23;
    padding: 40px 0;
    text-align: center;
    font-size: .9rem;
    color: #646A73;
}

#contact {
    background: none;
    padding-top: 40px;
    padding-bottom: 80px;
}

.contact-card {
    background: #181C21;
    max-width: 430px;
    margin: 0 auto;
    padding: 40px 28px 32px 28px;
    border-radius: 16px;
    box-shadow: 0 4px 32px 0 rgba(0, 255, 194, 0.06);
    text-align: center;
}

.contact-card h2 {
    color: #00FFC2;
    margin-bottom: 10px;
}

.contact-desc {
    color: #b0b6c0;
    margin-bottom: 30px;
    font-size: 1.08rem;
}

.social {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.hero-image img {
    max-width: 75%;
    height: auto;
}