:root {
    --bg: #07111f;
    --bg-soft: #0c1728;
    --bg-card: rgba(255, 255, 255, 0.06);
    --line: rgba(255, 255, 255, 0.08);
    --text: #f4f7fb;
    --muted: #96a4ba;
    --primary: #5eead4;
    --primary-strong: #2dd4bf;
    --accent: #60a5fa;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    --radius: 24px;
    --radius-sm: 16px;
    --container: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(45, 212, 191, 0.14), transparent 28%),
        linear-gradient(180deg, #06101d 0%, #08111d 100%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

.page-bg::before,
.page-bg::after {
    content: "";
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
    opacity: 0.45;
}

.page-bg::before {
    top: -120px;
    left: -140px;
    background: rgba(96, 165, 250, 0.35);
}

.page-bg::after {
    right: -120px;
    bottom: 10%;
    background: rgba(45, 212, 191, 0.22);
}

.container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(7, 17, 31, 0.7);
    border-bottom: 1px solid var(--line);
}

.header__inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #ffffff;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    color: var(--muted);
    transition: 0.25s ease;
}

.nav a:hover {
    color: var(--text);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 600;
    transition: 0.25s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn--primary {
    color: #04111d;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    box-shadow: 0 10px 30px rgba(94, 234, 212, 0.18);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(94, 234, 212, 0.25);
}

.btn--ghost {
    color: var(--text);
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
}

.hero {
    padding: 90px 0 70px;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
}

.hero__label,
.section-label {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(94, 234, 212, 0.08);
    border: 1px solid rgba(94, 234, 212, 0.16);
}

.hero__content h1 {
    margin: 18px 0 18px;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    max-width: 720px;
}

.hero__content p {
    margin: 0;
    max-width: 620px;
    font-size: 1.08rem;
    color: var(--muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 42px;
}

.hero-stat {
    min-width: 160px;
    padding: 18px 20px;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
}

.hero-stat strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}

.hero-stat span {
    font-size: 0.92rem;
    color: var(--muted);
}

.hero__visual {
    position: relative;
    min-height: 560px;
}

.hero-card {
    position: absolute;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: #0f1b2e;
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card--main {
    top: 0;
    right: 0;
    width: 88%;
    height: 480px;
}

.hero-card--small {
    left: 0;
    bottom: 0;
    width: 48%;
    height: 220px;
    backdrop-filter: blur(10px);
}

.features,
.tariffs,
.how,
.faq {
    padding: 70px 0;
}

.features__grid,
.tariffs__grid,
.faq__list {
    display: grid;
    gap: 22px;
}

.features__grid {
    grid-template-columns: repeat(4, 1fr);
}

.feature,
.tariff,
.step,
.faq__item {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.feature {
    padding: 28px;
}

.feature__icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.06);
}

.feature h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
}

.feature p {
    margin: 0;
    color: var(--muted);
}

.section-head {
    max-width: 700px;
    margin: 0 auto 36px;
    text-align: center;
}

.section-title {
    margin: 16px 0 10px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.section-text {
    margin: 0;
    color: var(--muted);
}

.tariffs__grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
}

.tariff {
    position: relative;
    padding: 30px;
}

.tariff h3 {
    margin: 0 0 12px;
    font-size: 1.35rem;
}

.price {
    margin: 0 0 20px;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.tariff ul {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.tariff li {
    position: relative;
    padding-left: 22px;
    color: var(--muted);
    margin-bottom: 12px;
}

.tariff li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

.tariff--popular {
    transform: translateY(-8px);
    border-color: rgba(94, 234, 212, 0.28);
    background:
        linear-gradient(180deg, rgba(94, 234, 212, 0.08), rgba(255, 255, 255, 0.05));
}

.tariff__badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #04111d;
    background: var(--primary);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.step {
    padding: 30px;
}

.step span {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.12em;
}

.step h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.step p {
    margin: 0;
    color: var(--muted);
}

.telegram-help {
    padding: 70px 0;
}

.telegram-help__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    padding: 34px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(10, 25, 44, 0.92), rgba(12, 23, 40, 0.92));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.telegram-help__content h2 {
    margin: 16px 0 14px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.telegram-help__content p {
    margin: 0 0 24px;
    color: var(--muted);
    max-width: 520px;
}

.telegram-help__image {
    overflow: hidden;
    border-radius: 24px;
    min-height: 340px;
    border: 1px solid var(--line);
}

.telegram-help__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.faq__item {
    padding: 28px;
}

.faq__item h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
}

.faq__item p {
    margin: 0;
    color: var(--muted);
}

.footer {
    padding: 32px 0 48px;
    border-top: 1px solid var(--line);
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer__left p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.footer__right {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer__right a {
    color: var(--muted);
    transition: 0.25s ease;
}

.footer__right a:hover {
    color: var(--text);
}

@media (max-width: 1100px) {
    .hero__inner,
    .telegram-help__inner,
    .features__grid,
    .tariffs__grid,
    .steps,
    .faq__list {
        grid-template-columns: 1fr 1fr;
    }

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

    .hero__visual {
        min-height: 500px;
    }

    .nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .header__inner {
        min-height: 74px;
    }

    .header__actions .btn--ghost {
        display: none;
    }

    .hero {
        padding: 64px 0 40px;
    }

    .hero__visual {
        min-height: 390px;
    }

    .hero-card--main {
        width: 100%;
        height: 320px;
    }

    .hero-card--small {
        width: 58%;
        height: 150px;
    }

    .features__grid,
    .tariffs__grid,
    .steps,
    .telegram-help__inner,
    .faq__list {
        grid-template-columns: 1fr;
    }

    .tariff--popular {
        transform: none;
    }

    .footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-title,
    .telegram-help__content h2 {
        line-height: 1.15;
    }
}

@media (max-width: 540px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .btn {
        width: 100%;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__stats {
        flex-direction: column;
    }

    .hero-stat {
        width: 100%;
    }

    .hero__content h1 {
        font-size: 2.25rem;
    }

    .feature,
    .tariff,
    .step,
    .faq__item,
    .telegram-help__inner {
        border-radius: 20px;
    }
}