/* =====================
   RESET & BASE
   ===================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --accent: #daff01;
    --dark: #111111;
    --bg: #f4f4f2;
    --card: #ffffff;
    --card-dark: #181818;
    --text: #111111;
    --text-muted: #666666;
    --radius: 20px;
    --radius-sm: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Golos Text", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =====================
   BUTTONS
   ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Golos Text", sans-serif;
    font-weight: 600;
    font-size: 15px;
    border-radius: 50px;
    padding: 10px 22px;
    cursor: pointer;
    border: none;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        opacity 0.15s ease;
    white-space: nowrap;
}

.btn--accent {
    background: var(--accent);
    color: var(--dark);
}

.btn--dark {
    background: var(--dark);
    color: var(--accent);
}

.btn--lg {
    font-size: 17px;
    padding: 14px 32px;
}

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

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn--accent:hover {
    box-shadow: 0 6px 24px rgba(218, 255, 1, 0.4);
}

/* =====================
   HEADER
   ===================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(244, 244, 242, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.logo {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.5px;
    flex-shrink: 0;
    color: var(--dark);
}

.nav {
    display: flex;
    gap: 24px;
    margin-right: auto;
}

.nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.15s;
}

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

/* =====================
   HERO
   ===================== */
.hero {
    padding: 80px 0 56px;
}

.hero__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.hero__title {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.accent {
    background: var(--accent);
    padding: 2px 10px;
    border-radius: 8px;
    color: var(--dark);
}

.hero__sub {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 460px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero__cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero__trial {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 6px 14px;
    border: 1.5px solid #ddd;
    border-radius: 50px;
}

.hero__badge {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    flex-shrink: 0;
}

.badge-pill {
    background: var(--dark);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 8px 18px;
    border-radius: 50px;
}

/* =====================
   BENTO GRID
   ===================== */
.features {
    padding: 0 0 80px;
}

.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 16px;
}

/* Card base */
.bento-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
    overflow: hidden;
    position: relative;
}

.bento-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* Variants */
.bento-card--dark {
    background: var(--card-dark);
    color: #fff;
}

.bento-card--accent {
    background: var(--accent);
    color: var(--dark);
}

.bento-card--highlight {
    background: var(--dark);
    color: #fff;
}

/* Spans */
.bento-card--wide {
    grid-column: span 2;
}
.bento-card--wide.bento-card--highlight {
    grid-column: 1 / -1;
}
.bento-card--tall {
    grid-row: span 2;
}

/* Card typography */
.bento-card__label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.5;
}

.bento-card--dark .bento-card__label,
.bento-card--highlight .bento-card__label {
    opacity: 0.5;
}

.bento-card__title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.bento-card__text {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.7;
    max-width: 320px;
}

.bento-card--accent .bento-card__text {
    opacity: 0.75;
}

/* Icon */
.bento-card__icon {
    margin-bottom: 4px;
}

.bento-card__icon .material-symbols-outlined {
    font-size: 44px;
    color: currentColor;
    user-select: none;
}

/* Globe */
.bento-card--wide.bento-card--dark {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.bento-card__globe {
    flex-shrink: 0;
}

.bento-card__big-icon {
    font-size: 120px;
    color: var(--accent);
    user-select: none;
    opacity: 0.9;
}

.bento-card--highlight .bento-card__big-icon {
    color: rgba(255, 255, 255, 0.15);
    font-size: 140px;
}

/* Speed */
.bento-card__speed {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 8px 0;
}

.speed-num {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -3px;
    line-height: 1;
    color: var(--dark);
}

.speed-unit {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-muted);
}

/* Protocol badge */
.protocol-badge {
    margin-top: auto;
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 6px 14px;
    border-radius: 50px;
    width: fit-content;
}

/* Telegram card layout */
.bento-card--wide.bento-card--highlight {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.bento-card__tg-icon {
    flex-shrink: 0;
    opacity: 0.9;
}

.bento-card--highlight .bento-card__text {
    opacity: 0.65;
}

.bento-card--highlight .btn {
    margin-top: 16px;
}

/* =====================
   HOW IT WORKS
   ===================== */
.how {
    padding: 0 0 80px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 48px;
}

.steps {
    display: flex;
    align-items: center;
    gap: 16px;
}

.step {
    flex: 1;
    background: var(--card);
    border-radius: var(--radius);
    padding: 32px 28px;
}

.step__num {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.step__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step__text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.step__text a {
    color: var(--dark);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.step__arrow {
    font-size: 28px;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* =====================
   PRICING
   ===================== */
.pricing {
    padding: 0 0 100px;
}

.pricing__wrap {
    display: flex;
    gap: 16px;
    align-items: stretch;
}

.pricing-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 40px;
    flex: 1;
    max-width: 520px;
}

.pricing-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 32px;
    gap: 16px;
}

.pricing-card__name {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-shrink: 0;
}

.price-num {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1;
}

.price-cur {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-card__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.pricing-card__features li {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--accent);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-card__hint {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

/* Pricing aside */
.pricing-card__aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 0 0 auto;
}

.aside-block {
    background: var(--card);
    border-radius: var(--radius);
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.aside-num {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1;
    color: var(--dark);
}

.aside-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

/* =====================
   FOOTER
   ===================== */
.footer {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 32px 0;
}

.footer__inner {
    display: flex;
    align-items: center;
    gap: 32px;
}

.footer__links {
    display: flex;
    gap: 24px;
    margin-right: auto;
}

.footer__links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.15s;
}

.footer__links a:hover {
    color: var(--dark);
}

.footer__copy {
    font-size: 13px;
    color: var(--text-muted);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
    .bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-card--wide {
        grid-column: span 2;
    }
    .bento-card--wide.bento-card--highlight {
        grid-column: 1 / -1;
    }
    .bento-card--tall {
        grid-row: span 1;
    }

    .hero__badge {
        display: none;
    }

    .steps {
        flex-direction: column;
    }

    .step__arrow {
        transform: rotate(90deg);
    }

    .pricing__wrap {
        flex-direction: column;
    }
    .pricing-card__aside {
        flex-direction: row;
    }
}

@media (max-width: 600px) {
    .bento {
        grid-template-columns: 1fr;
    }
    .bento-card--wide {
        grid-column: span 1;
    }

    .bento-card--wide.bento-card--dark,
    .bento-card--wide.bento-card--highlight {
        flex-direction: column;
    }

    .bento-card__globe,
    .bento-card__tg-icon {
        display: none;
    }

    .hero__title {
        letter-spacing: -1.5px;
    }

    .nav {
        display: none;
    }

    .header__inner {
        gap: 16px;
    }

    .pricing-card__top {
        flex-direction: column;
        gap: 8px;
    }
    .pricing-card__aside {
        flex-direction: column;
    }

    .footer__inner {
        flex-wrap: wrap;
        gap: 16px;
    }
    .footer__links {
        flex-direction: column;
        gap: 12px;
    }
}
