/* ============================================================
   VIO PRO — Design system aligned with main project
   (index / catalog / feed / studio)

   Палитра: light surface + electric blue #0a43ff
            (= --color-primary в проекте, см. style.css)
   Шрифты:  Aderley (display, как заголовки на главной/каталоге)
            + Inter (body)
   Стиль:   светлые карточки с subtle shadows + pill-badges
            + hero-card pattern (как в /feed/, со световыми бликами)
            + stat-card pattern (как в /studio/)
   Эффекты: animated mesh-blicks, sheen-on-hover у CTA, multi-ring
            avatar glow, gradient text для price/multiplier,
            shimmer sweep у featured tier-card, ink-slide period toggle.
   ============================================================ */

:root {
    /* === ACCENT === project use #0a43ff electric blue (см. style.css) === */
    --pro-primary:        #0a43ff;   /* как --color-primary в проекте */
    --pro-primary-hover:  #002fd8;   /* как --color-primary--hover */
    --pro-primary-active: #00279f;   /* как --color-primary--active */
    --pro-primary-bright: #4f7eff;   /* lighter accent для gradient endpoints */
    --pro-primary-soft:   rgba(10, 67, 255, 0.08);
    --pro-primary-soft-2: rgba(10, 67, 255, 0.04);
    --pro-primary-ring:   rgba(10, 67, 255, 0.18);

    /* PRO+ premium gold accent (зарезервирован для будущих PRO+ компонентов) */
    --pro-gold:           #F59E0B;
    --pro-gold-soft:      rgba(245, 158, 11, 0.12);

    /* === SURFACE (light) === */
    --pro-bg:         #F8FAFC;        /* как --surface-subtle */
    --pro-bg-warm:    #F1F5F9;        /* как --surface-muted */
    --pro-surface:    #FFFFFF;        /* карточки */
    --pro-text:       #0F172A;        /* как --text-primary */
    --pro-text-muted: #64748B;        /* как --text-secondary */
    --pro-text-soft:  #94A3B8;        /* как --text-tertiary */
    --pro-border:     #E2E8F0;        /* как --border-subtle */
    --pro-border-soft:#F1F5F9;        /* как --surface-muted */

    /* HERO: dark navy с blue gradient (паттерн как у studio promo-card) */
    --pro-hero-dark:    #0F172A;        /* navy base */
    --pro-hero-dark-2:  #1E293B;        /* slate-800 для глубины */
    --pro-hero-grad:    linear-gradient(135deg, #0a43ff 0%, #4f7eff 100%);
    --pro-hero-grad-deep: linear-gradient(135deg, #0a43ff 0%, #002fd8 50%, #1e1b4b 100%);

    /* Soft surface gradient (как в feed.css) */
    --pro-surface-grad: linear-gradient(135deg, rgba(10,67,255,0.07) 0%, rgba(10,67,255,0.015) 100%);

    /* === SHADOWS === */
    --pro-shadow-sm:    0 1px 2px rgba(15, 23, 42, 0.04);
    --pro-shadow-md:    0 4px 16px rgba(15, 23, 42, 0.08);
    --pro-shadow-lg:    0 16px 40px rgba(15, 23, 42, 0.12);
    --pro-shadow-glow:  0 10px 28px rgba(10, 67, 255, 0.22);
    --pro-shadow-glow-strong: 0 14px 36px rgba(10, 67, 255, 0.32);
    --pro-shadow-hero:  0 24px 64px -16px rgba(10, 67, 255, 0.55);

    /* === RADIUS === */
    --pro-radius-sm:  8px;
    --pro-radius-md:  12px;
    --pro-radius-lg:  20px;
    --pro-radius-xl:  28px;
    --pro-radius-pill: 9999px;

    /* === TIMING === */
    --pro-duration:        220ms;
    --pro-duration-slow:   400ms;
    --pro-ease:            cubic-bezier(0.4, 0, 0.2, 1);
    --pro-ease-out:        cubic-bezier(0.16, 1, 0.3, 1);  /* expo-out для премиум-feel */
    --pro-ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (prefers-reduced-motion: reduce) {
    :root { --pro-duration: 0.01ms; }
}

/* ============================================================
   PRO-БЕЙДЖ рядом с никнеймом — pill с indigo gradient
   ============================================================ */

.pro-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    background: var(--pro-hero-grad);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
    border-radius: var(--pro-radius-sm);
    margin-left: 6px;
    vertical-align: middle;
    text-transform: uppercase;
    user-select: none;
    box-shadow: 0 2px 6px rgba(10, 67, 255, 0.3);
    transition: transform var(--pro-duration) var(--pro-ease);
}

.pro-badge:hover { transform: translateY(-1px); }

/* ============================================================
   PRO-КОММЕНТАРИЙ — badge-only mode
   ============================================================ *
   Принцип: коммент рендерится как обычный — без подложки/тени/линий.
   Единственный premium-сигнал — пилюлька PRO рядом с никнеймом
   (см. .pro-badge). Максимальная элегантность через отсутствие.
   ============================================================ */

.comment--pro,
.comment-item--pro {
    /* no styles — visual signal сосредоточен в .pro-badge */
}

/* ============================================================
   PRO-BADGE как CTA (clickable button для не-PRO viewer'ов)
   ============================================================ */

button.pro-badge,
.pro-badge--cta {
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: transform var(--pro-duration) var(--pro-ease-spring),
                box-shadow var(--pro-duration) var(--pro-ease-out),
                filter var(--pro-duration) var(--pro-ease-out);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Sheen-эффект на hover (стандартный CTA-паттерн из проекта) */
.pro-badge--cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(115deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%);
    transform: skewX(-20deg);
    transition: left 600ms var(--pro-ease-out);
    z-index: -1;
    pointer-events: none;
}

.pro-badge--cta:hover {
    transform: translateY(-1px) scale(1.06);
    box-shadow: 0 4px 12px rgba(10, 67, 255, 0.5);
    filter: brightness(1.08);
}

.pro-badge--cta:hover::after { left: 130%; }

.pro-badge--cta:active {
    transform: translateY(0) scale(0.96);
}

/* Подсказка "↗ Открыть" появляется при hover (только desktop) */
@media (hover: hover) and (pointer: fine) {
    .pro-badge--cta::before {
        content: '↗';
        margin-right: 2px;
        font-size: 10px;
        font-weight: 900;
        opacity: 0;
        max-width: 0;
        overflow: hidden;
        transition: opacity 200ms var(--pro-ease-out),
                    max-width 200ms var(--pro-ease-out),
                    margin-right 200ms var(--pro-ease-out);
        display: inline-block;
    }
    .pro-badge--cta:hover::before {
        opacity: 1;
        max-width: 14px;
        margin-right: 4px;
    }
}

/* ============================================================
   PRO HOME BANNER — promo для не-PRO юзеров на /home
   ============================================================ */

.pro-home-banner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 22px;
    background: var(--pro-hero-grad-deep);
    background-color: var(--pro-hero-dark);
    border-radius: var(--pro-radius-lg);
    color: #FFFFFF !important;
    text-decoration: none !important;
    box-shadow: var(--pro-shadow-glow);
    overflow: hidden;
    isolation: isolate;
}

.pro-home-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(79, 126, 255, 0.45) 0%, transparent 45%),
        radial-gradient(circle at 15% 90%, rgba(99, 102, 241, 0.32) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.pro-home-banner > * { position: relative; z-index: 1; }

.pro-home-banner__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: background 150ms ease, color 150ms ease;
}

.pro-home-banner__close:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
}

.pro-home-banner__inner {
    flex: 1;
    min-width: 0;
}

.pro-home-banner__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--pro-radius-pill);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.pro-home-banner__title {
    font-family: 'Aderley', 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.pro-home-banner__desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    max-width: 580px;
}

.pro-home-banner__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: #FFFFFF;
    color: var(--pro-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--pro-radius-pill);
    flex-shrink: 0;
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

@media (max-width: 640px) {
    .pro-home-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 18px 16px;
        gap: 14px;
    }
    .pro-home-banner__cta {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
    }
    .pro-home-banner__title { font-size: 18px; }
    .pro-home-banner__desc { font-size: 12px; }
    .pro-home-banner__close { top: 8px; right: 8px; }
}

/* ============================================================
   FOOTER PRO LINK
   ============================================================ */

.link-footer--pro {
    position: relative;
    color: var(--pro-primary) !important;
    font-weight: 700;
}

.link-footer--pro::before {
    content: '★';
    margin-right: 4px;
    background: var(--pro-hero-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--pro-primary);
    font-size: 13px;
}

.link-footer--pro:hover {
    color: var(--pro-primary-hover) !important;
}

/* Mobile: PRO-link остаётся inline (текстовой), не стекается в отдельную строку */
@media (max-width: 768px) {
    .link-footer--pro {
        display: inline !important;
        width: auto !important;
        margin: 0 !important;
    }
}

/* ============================================================
   DROPDOWN-POINTS-PILL В ХЕДЕРЕ
   Тот же класс что в user-dropdown, но в light-контексте.
   ============================================================ */

.dropdown-points-pill--header {
    background: var(--pro-bg-warm) !important;
    color: var(--pro-text) !important;
    border: 1px solid var(--pro-border);
    padding: 6px 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    margin-right: 4px;
    font-feature-settings: "tnum";
    transition: background var(--pro-duration) var(--pro-ease-out),
                border-color var(--pro-duration) var(--pro-ease-out),
                box-shadow var(--pro-duration) var(--pro-ease-out),
                transform 150ms var(--pro-ease-out) !important;
    text-decoration: none !important;
}

.dropdown-points-pill--header i {
    color: var(--pro-primary) !important;
    font-size: 11px !important;
    transition: transform var(--pro-duration) var(--pro-ease-spring);
}

.dropdown-points-pill--header:hover {
    background: #FFFFFF !important;
    border-color: var(--pro-primary);
    color: var(--pro-text) !important;
    box-shadow: 0 4px 14px rgba(10, 67, 255, 0.16);
}

.dropdown-points-pill--header:hover i {
    transform: scale(1.15) rotate(-8deg);
}

.dropdown-points-pill--header:active {
    transform: scale(0.97);
}

/* ============================================================
   DROPDOWN-PRO-CHIP — chip в user-info dropdown'а
   На месте бывшего dropdown-points-pill. Тёмный контекст.
   ============================================================ */

.dropdown-pro-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    background: var(--pro-hero-grad);
    color: #FFFFFF !important;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow:
        0 2px 8px rgba(10, 67, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition: transform 150ms var(--pro-ease-spring),
                box-shadow var(--pro-duration) var(--pro-ease-out);
    user-select: none;
}

.dropdown-pro-chip:hover {
    transform: translateY(-1px) scale(1.04);
    box-shadow:
        0 4px 14px rgba(10, 67, 255, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
    color: #FFFFFF !important;
}

.dropdown-pro-chip:active { transform: translateY(0) scale(0.96); }

.dropdown-pro-chip svg { display: inline-block; }

/* PRO активна: chip-бейдж (без checkmark, обычный PRO).
   Open status modal on click. */
.dropdown-pro-chip--badge {
    /* остаётся gradient как у CTA, без checkmark */
}

/* ============================================================
   DROPDOWN-LINK PRO — пункт "Подписка PRO" для не-PRO юзеров
   ============================================================ */

.dropdown-link--pro {
    background: linear-gradient(90deg,
        rgba(10, 67, 255, 0.10) 0%,
        rgba(10, 67, 255, 0.03) 100%);
    color: #FFFFFF !important;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.dropdown-link--pro i {
    color: #FFD700 !important;
}

.dropdown-link--pro:hover {
    background: linear-gradient(90deg,
        rgba(10, 67, 255, 0.18) 0%,
        rgba(10, 67, 255, 0.08) 100%);
}

.dropdown-link--pro::after {
    content: 'PRO';
    margin-left: auto;
    padding: 2px 7px;
    background: var(--pro-hero-grad);
    color: #FFFFFF;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1;
    border-radius: 9999px;
    box-shadow: 0 2px 6px rgba(10, 67, 255, 0.45);
}

/* ============================================================
   PRO STATUS MODAL — modalka статуса активной подписки
   ============================================================ */

.pro-status-modal__shell {
    max-width: 480px !important;
}

.pro-status-modal__header {
    padding: 32px 28px 28px;
}

.pro-status-modal__body {
    padding: 24px 28px 24px;
}

.pro-status-modal__until {
    text-align: center;
    padding: 20px;
    margin-bottom: 18px;
    background: linear-gradient(135deg,
        var(--pro-primary-soft) 0%,
        var(--pro-primary-soft-2) 100%);
    border-radius: var(--pro-radius-lg);
    border: 1px solid rgba(10, 67, 255, 0.14);
    position: relative;
    overflow: hidden;
}

.pro-status-modal__until::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(79, 126, 255, 0.15) 0%, transparent 65%);
    pointer-events: none;
}

.pro-status-modal__until-label {
    font-size: 11px;
    color: var(--pro-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    margin-bottom: 6px;
    position: relative;
}

.pro-status-modal__until-date {
    font-family: 'Aderley', 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    background: var(--pro-hero-grad);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--pro-primary);
    letter-spacing: -0.02em;
    font-feature-settings: "tnum";
    position: relative;
}

.pro-status-modal__until-days {
    margin-top: 8px;
    font-size: 13px;
    color: var(--pro-text-muted);
    position: relative;
}

.pro-status-modal__features {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.pro-status-modal__features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--pro-text);
}

.pro-status-modal__features li svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--pro-primary);
}

.pro-status-modal__manage {
    display: block !important;
    text-align: center;
    width: 100%;
}

/* ── Auto-renew toggle row ─────────────────────────── */

.pro-status-modal__autorenew {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: var(--pro-bg);
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius-md);
    margin-bottom: 14px;
}

.pro-status-modal__autorenew-info {
    flex: 1;
    min-width: 0;
}

.pro-status-modal__autorenew-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--pro-text);
    margin-bottom: 2px;
}

.pro-status-modal__autorenew-hint {
    font-size: 11px;
    color: var(--pro-text-muted);
    line-height: 1.35;
}

/* Switch (iOS-style pill) */
.pro-status-modal__toggle {
    position: relative;
    width: 44px;
    height: 26px;
    background: var(--pro-border);
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--pro-duration) var(--pro-ease-out);
    padding: 0;
}

.pro-status-modal__toggle.is-on {
    background: var(--pro-primary);
    box-shadow: 0 2px 8px rgba(10, 67, 255, 0.32);
}

.pro-status-modal__toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
    transition: transform var(--pro-duration) var(--pro-ease-spring);
}

.pro-status-modal__toggle.is-on .pro-status-modal__toggle-knob {
    transform: translateX(18px);
}

.pro-status-modal__toggle:active .pro-status-modal__toggle-knob {
    transform: scale(0.92);
}
.pro-status-modal__toggle.is-on:active .pro-status-modal__toggle-knob {
    transform: translateX(18px) scale(0.92);
}

.pro-status-modal__toggle:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* ============================================================
   HEADER POINTS PILL — баланс баллов в хедере
   (заменил собой бывшую PRO-кнопку, см. menu.php)
   ============================================================ */

.header-points-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--pro-bg-warm);
    color: var(--pro-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius-pill);
    text-decoration: none !important;
    cursor: pointer;
    transition: background var(--pro-duration) var(--pro-ease-out),
                border-color var(--pro-duration) var(--pro-ease-out),
                color var(--pro-duration) var(--pro-ease-out),
                box-shadow var(--pro-duration) var(--pro-ease-out),
                transform 150ms var(--pro-ease-out);
    white-space: nowrap;
    margin-right: 4px;
    font-feature-settings: "tnum";
}

.header-points-pill i.fa-bolt {
    color: var(--pro-primary);
    font-size: 12px;
    transition: transform var(--pro-duration) var(--pro-ease-spring);
}

.header-points-pill:hover {
    background: #FFFFFF;
    border-color: var(--pro-primary);
    color: var(--pro-text);
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(10, 67, 255, 0.16);
}

.header-points-pill:hover i.fa-bolt {
    transform: scale(1.15) rotate(-8deg);
}

.header-points-pill:active { transform: scale(0.97); }

.header-points-pill__num { color: var(--pro-text); }

/* PRO-вариант: chip "PRO" внутри pill справа от числа */
.header-points-pill--pro {
    background: var(--pro-primary-soft);
    border-color: rgba(10, 67, 255, 0.22);
    color: var(--pro-text);
}

.header-points-pill--pro:hover {
    background: #FFFFFF;
    border-color: var(--pro-primary);
    box-shadow: var(--pro-shadow-glow);
}

.header-points-pill__pro {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 4px;
    padding: 2px 7px;
    background: var(--pro-hero-grad);
    color: #FFFFFF;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--pro-radius-pill);
    box-shadow: 0 2px 6px rgba(10, 67, 255, 0.4);
}

.header-points-pill__pro svg { display: inline-block; }

@media (max-width: 480px) {
    .header-points-pill { padding: 6px 11px; font-size: 12px; }
    .header-points-pill__pro { padding: 2px 5px; font-size: 8px; }
}

/* ============================================================
   HEADER PRO-КНОПКА (legacy — оставлен для backward-compat
   если где-то ещё рендерится; в menu.php заменён pill'ом)
   ============================================================ */

.header-pro-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--pro-hero-grad);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--pro-radius-pill);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(10, 67, 255, 0.35);
    cursor: pointer;
    transition: transform 150ms var(--pro-ease),
                box-shadow 200ms var(--pro-ease);
    white-space: nowrap;
    margin-right: 4px;
}

.header-pro-btn:hover {
    box-shadow: 0 6px 20px rgba(10, 67, 255, 0.5);
    transform: translateY(-1px);
    color: #FFFFFF;
    text-decoration: none;
}

.header-pro-btn:active { transform: translateY(0) scale(0.97); }

.header-pro-btn--active {
    background: transparent;
    color: var(--pro-primary);
    border: 1.5px solid var(--pro-primary);
    box-shadow: none;
}

.header-pro-btn--active:hover {
    background: var(--pro-primary-soft);
    color: var(--pro-primary-hover);
    box-shadow: 0 4px 12px rgba(10, 67, 255, 0.18);
}

@media (max-width: 480px) {
    .header-pro-btn span { display: none; }
    .header-pro-btn::after {
        content: 'PRO';
        font-size: 11px;
        font-weight: 800;
    }
}

/* ============================================================
   LANDING /pro
   ============================================================ */

.pro-landing {
    background: var(--pro-bg);
    color: var(--pro-text);
    min-height: 100vh;
    padding-bottom: 80px;
}

/* === HERO как на главной/feed: тёмная карточка с gradient === */

.pro-hero {
    max-width: 1100px;
    margin: 32px auto 24px;
    padding: 0 16px;
}

.pro-hero__bg { display: none; }
.pro-hero__crown { display: none; }

.pro-hero-card {
    position: relative;
    background: var(--pro-surface);
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius-xl);
    padding: 56px 48px;
    overflow: hidden;
    color: var(--pro-text);
    box-shadow: 0 20px 50px -20px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(15, 23, 42, 0.06);
    isolation: isolate;
}

/* Light hero — переопределяем наследуемые "белые" стили (от старого dark
   варианта) под светлый фон. Цвета — через --pro-* токены дизайн-системы. */
.pro-hero-card::before,
.pro-hero-card::after { display: none; }

.pro-hero-card .pro-hero-card__eyebrow {
    background: var(--pro-primary-soft);
    color: var(--pro-primary);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.pro-hero-card .pro-hero__title {
    color: var(--pro-text);
    -webkit-text-fill-color: var(--pro-text);
}

.pro-hero-card .pro-hero__subtitle {
    color: var(--pro-text-muted);
}

.pro-hero-card .pro-hero__cta-row .pro-cta,
.pro-hero-card .pro-hero__cta-row a {
    background: var(--pro-primary);
    color: var(--color-white);
    box-shadow:
        0 6px 16px var(--pro-primary-ring),
        inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.pro-hero-card .pro-hero__cta-row a:hover {
    background: var(--pro-primary-hover);
    color: var(--color-white);
}

.pro-hero-card .pro-hero__price-note {
    color: var(--pro-text-muted);
}

@media (max-width: 640px) {
    .pro-hero-card { padding: 40px 24px; border-radius: var(--pro-radius-lg); }
}

/* Hero illustration — desktop справа полноразмерная, mobile decor в углу */
.pro-hero__illus {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(220px, 32%, 340px);
    height: auto;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    filter: drop-shadow(0 10px 24px rgba(15, 23, 42, 0.25));
}
/* Mobile: контент по центру, иллюстрация — полу-прозрачный декор в правом-нижнем углу */
@media (max-width: 900px) {
    .pro-hero-card { text-align: center; }
    .pro-hero-card .pro-hero-card__eyebrow {
        display: inline-flex;
        margin-left: auto;
        margin-right: auto;
    }
    .pro-hero-card .pro-hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .pro-hero-card .pro-hero__cta-row {
        justify-content: center;
    }

    .pro-hero__illus {
        top: auto;
        bottom: -20px;
        right: -70px;
        transform: none;
        width: 180px;
        opacity: 0.55;
        filter: none;
    }
}
@media (max-width: 480px) {
    .pro-hero__illus {
        width: 140px;
        bottom: -16px;
        right: -55px;
        opacity: 0.45;
    }
}

/* Световые блики на hero — radial mesh */
.pro-hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(79, 126, 255, 0.45) 0%, transparent 45%),
        radial-gradient(circle at 15% 90%, rgba(99, 102, 241, 0.35) 0%, transparent 50%),
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Шум-текстура для премиум-ощущения (как film grain) */
.pro-hero-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' /%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    opacity: 0.08;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 0;
}

.pro-hero-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: var(--pro-radius-pill);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.pro-hero__title {
    font-family: 'Aderley', 'Inter', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    background: none;
    -webkit-text-fill-color: #FFFFFF;
}

.pro-hero__title::before { display: none; }

.pro-hero__subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 32px;
    line-height: 1.5;
    max-width: 560px;
    position: relative;
    z-index: 1;
}

.pro-hero__cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.pro-hero__cta-row .pro-cta,
.pro-hero__cta-row a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #FFFFFF;
    color: var(--pro-primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--pro-radius-pill);
    text-decoration: none;
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    transition: color var(--pro-duration) var(--pro-ease-out);
}

.pro-hero__cta-row a:hover {
    color: var(--pro-primary-hover);
}

.pro-hero__cta-row a:active {
    transform: scale(0.98);
}

.pro-hero__price-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 640px) {
    .pro-hero__title { font-size: 42px; }
    .pro-hero__subtitle { font-size: 16px; }
}

/* === SECTION === */

.pro-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 16px;
}

.pro-section__title {
    font-family: 'Aderley', 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--pro-text);
    margin: 0 0 32px;
    text-align: center;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    line-height: 1.1;
}

@media (max-width: 640px) {
    .pro-section { padding: 32px 16px; }
    .pro-section__title { font-size: 30px; margin-bottom: 24px; }
}

/* ============================================================
   SHOWCASE ROWS — альтернативные секции (Linear/Stripe-style)
   ============================================================ */

.pro-showcase {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 16px 16px;
}

.pro-showcase .pro-section__title {
    margin-bottom: 48px;
}

.pro-showcase__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
    padding: 56px 0;
    border-bottom: 1px solid var(--pro-border-soft);
}

.pro-showcase__row:last-of-type {
    border-bottom: none;
}

.pro-showcase__row--reverse .pro-showcase__text { order: 2; }
.pro-showcase__row--reverse .pro-showcase__visual { order: 1; }

@media (max-width: 768px) {
    .pro-showcase__row,
    .pro-showcase__row--reverse {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 36px 0;
    }
    .pro-showcase__row--reverse .pro-showcase__text,
    .pro-showcase__row--reverse .pro-showcase__visual {
        order: initial;
    }
}

.pro-showcase__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    background: var(--pro-primary-soft);
    color: var(--pro-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: var(--pro-radius-pill);
    margin-bottom: 18px;
}

.pro-showcase__title {
    font-family: 'Aderley', 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--pro-text);
    margin: 0 0 14px;
    line-height: 1.15;
    letter-spacing: -0.015em;
}

@media (max-width: 640px) {
    .pro-showcase__title { font-size: 26px; }
}

.pro-showcase__desc {
    font-size: 15px;
    color: var(--pro-text-muted);
    line-height: 1.6;
    margin: 0;
    max-width: 460px;
}

.pro-showcase__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    background: linear-gradient(135deg,
        rgba(10, 67, 255, 0.05) 0%,
        rgba(10, 67, 255, 0.01) 100%);
    border-radius: var(--pro-radius-xl);
    padding: 32px;
    overflow: hidden;
    border: 1px solid var(--pro-border-soft);
}

/* ── 1. No-ads — большая AD карточка с маркер-зачёркиванием ── */

.pro-noads-x {
    position: relative;
    width: 240px;
    height: 150px;
    background: #F1F5F9;
    border: 2px dashed #94A3B8;
    border-radius: var(--pro-radius-lg);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 14px 36px -14px rgba(15, 23, 42, 0.18);
    transform: rotate(-3deg);
}

/* "РЕКЛАМА" tag в углу */
.pro-noads-x__tag {
    position: absolute;
    top: 10px;
    left: 12px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: #94A3B8;
    background: #FFFFFF;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 1;
}

/* Большое "AD" — заполняет карточку */
.pro-noads-x__big {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Aderley', 'Inter', sans-serif;
    font-size: 96px;
    font-weight: 900;
    color: #CBD5E1;
    letter-spacing: -0.04em;
    user-select: none;
    line-height: 1;
    padding-top: 12px;
}

/* Запрещающий знак (красный круг + диагональная черта) поверх AD.
   Центрируется по карточке, выходит немного за её пределы. */
.pro-noads-x__slash {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    /* компенсируем tilt родителя (-3deg) и центрируем */
    transform: translate(-50%, -50%) rotate(3deg);
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 6px 18px rgba(220, 38, 38, 0.45));
    animation: pro-noads-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

@keyframes pro-noads-pop {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5) rotate(-9deg);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(3deg);
    }
}

/* Draw-on: круг отрисовывается по периметру, потом черта.
   Circle perimeter ≈ 2πr = 2π × 74 ≈ 465. */
.pro-noads-x__slash circle {
    stroke-dasharray: 465;
    stroke-dashoffset: 465;
    transform-origin: 90px 90px;
    /* start drawing from top, clockwise */
    transform: rotate(-90deg);
    animation: pro-noads-stroke-circle 0.6s cubic-bezier(0.65, 0, 0.35, 1) 0.3s forwards;
}

.pro-noads-x__slash line {
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
    animation: pro-noads-stroke-line 0.35s cubic-bezier(0.65, 0, 0.35, 1) 0.75s forwards;
}

@keyframes pro-noads-stroke-circle {
    to { stroke-dashoffset: 0; }
}

@keyframes pro-noads-stroke-line {
    to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .pro-noads-x__slash {
        animation: none;
        opacity: 1;
        transform: translate(-50%, -50%) rotate(3deg);
    }
    .pro-noads-x__slash circle,
    .pro-noads-x__slash line {
        animation: none;
        stroke-dashoffset: 0;
    }
    .pro-noads-x__slash circle {
        transform: rotate(-90deg);
    }
}

/* ── 2. Emoji cloud ──────────────────────────────── */
.pro-emoji-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: center;
    max-width: 320px;
}

.pro-emoji-cloud img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(10, 67, 255, 0.18));
}

.pro-emoji-cloud img:nth-child(1) { transform: rotate(-8deg) translateY(-4px); }
.pro-emoji-cloud img:nth-child(2) { transform: rotate(3deg) translateY(6px); }
.pro-emoji-cloud img:nth-child(3) { transform: rotate(-2deg) translateY(-8px); }
.pro-emoji-cloud img:nth-child(4) { transform: rotate(6deg) translateY(2px); }
.pro-emoji-cloud img:nth-child(5) { transform: rotate(-5deg) translateY(8px); }
.pro-emoji-cloud img:nth-child(6) { transform: rotate(4deg) translateY(-3px); }
.pro-emoji-cloud img:nth-child(7) { transform: rotate(-3deg) translateY(5px); }

/* ── 3. Stickers cloud ───────────────────────────── */
.pro-stickers-cloud {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.pro-stickers-cloud img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    background: var(--pro-surface);
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius-md);
    padding: 8px;
    box-shadow: var(--pro-shadow-md);
}

.pro-stickers-cloud img:nth-child(1) { transform: rotate(-6deg); }
.pro-stickers-cloud img:nth-child(2) { transform: translateY(-12px); }
.pro-stickers-cloud img:nth-child(3) { transform: rotate(6deg); }

/* ── 4. Identity preview (badge + comment-pro) ────── */
.pro-identity-preview {
    display: grid !important;
    grid-template-columns: 44px 1fr;
    gap: 14px !important;
    padding: 16px 18px !important;
    max-width: 340px;
    width: 100%;
    background: var(--pro-surface) !important;
    border: 1px solid var(--pro-border-soft) !important;
    border-radius: var(--pro-radius-md) !important;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 24px -10px rgba(10, 67, 255, 0.22),
        inset 0 0 0 1px rgba(10, 67, 255, 0.04) !important;
}

.pro-identity-preview__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--pro-primary-soft);
    color: var(--pro-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.pro-identity-preview__head {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 3px;
}

.pro-identity-preview__head strong {
    color: var(--pro-text);
    font-weight: 700;
    font-size: 14px;
}

.pro-identity-preview__head small {
    margin-left: auto;
    color: var(--pro-text-soft);
    font-size: 11px;
}

.pro-identity-preview__text {
    color: var(--pro-text);
    font-size: 13px;
    line-height: 1.45;
}

/* ── 5. Avatar preview (halos + circle) ──────────── */
.pro-avatar-preview {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pro-avatar-preview__halo {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed rgba(10, 67, 255, 0.18);
}

.pro-avatar-preview__halo--2 {
    inset: 12px;
    border-style: solid;
    border-color: rgba(10, 67, 255, 0.08);
}

.pro-avatar-preview__circle {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: var(--pro-primary-soft);
    border: 2px solid var(--pro-primary);
    box-shadow:
        var(--pro-shadow-glow),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.pro-avatar-preview__circle img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* ── 6. Cashback stack ───────────────────────────── */
.pro-cashback-stack {
    position: relative;
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pro-cashback-stack__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: var(--pro-surface);
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius-md);
    font-size: 13px;
}

.pro-cashback-stack__label {
    color: var(--pro-text-soft);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.pro-cashback-stack__val {
    color: var(--pro-text-muted);
    font-feature-settings: "tnum";
}

.pro-cashback-stack__row--pro {
    background: linear-gradient(135deg, var(--pro-primary-soft) 0%, var(--pro-primary-soft-2) 100%);
    border-color: rgba(10, 67, 255, 0.22);
    box-shadow: 0 4px 16px rgba(10, 67, 255, 0.15);
}

.pro-cashback-stack__row--pro .pro-cashback-stack__label { color: var(--pro-primary); }
.pro-cashback-stack__row--pro .pro-cashback-stack__val { color: var(--pro-text); }
.pro-cashback-stack__row--pro .pro-cashback-stack__val strong { color: var(--pro-primary); font-weight: 700; }

.pro-cashback-stack__mult {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 64px;
    height: 64px;
    background: var(--pro-hero-grad);
    color: #FFFFFF;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Aderley', 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    box-shadow: 0 8px 20px rgba(10, 67, 255, 0.5);
    border: 3px solid var(--pro-surface);
}

/* ============================================================
   BENTO GRID — legacy (для backward-compat)
   ============================================================ */

.pro-bento {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
    max-width: 1100px;
    margin: 0 auto;
}

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

.pro-bento__card {
    position: relative;
    padding: 24px;
    background: var(--pro-surface);
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius-lg);
    transition: border-color var(--pro-duration) var(--pro-ease-out);
    display: flex;
    flex-direction: column;
    min-height: 180px;
    overflow: hidden;
    isolation: isolate;
}

.pro-bento__card > * {
    position: relative;
    z-index: 1;
}

.pro-bento__card:hover {
    border-color: rgba(10, 67, 255, 0.3);
}

.pro-bento__card--wide { grid-column: span 1; }

@media (min-width: 768px) {
    .pro-bento__card--wide { grid-column: span 2; }
}

.pro-bento__icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--pro-surface-grad), var(--pro-primary-soft);
    border-radius: var(--pro-radius-md);
    color: var(--pro-primary);
    margin-bottom: 16px;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(10, 67, 255, 0.08);
}

.pro-bento__title {
    font-family: 'Aderley', 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--pro-text);
    margin: 0 0 6px;
    line-height: 1.2;
    letter-spacing: -0.005em;
}

.pro-bento__desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--pro-text-muted);
    margin: 0 0 16px;
}

/* === Эмодзи strip === */
.pro-bento__emoji-strip {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: auto;
    flex-wrap: nowrap;
}

.pro-bento__emoji-strip img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

/* === Sticker strip === */
.pro-bento__sticker-strip {
    display: flex;
    gap: 6px;
    margin-top: auto;
}

.pro-bento__sticker-strip img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: contain;
    background: var(--pro-primary-soft-2);
    padding: 4px;
    border: 1px solid var(--pro-border);
    transition: border-color 200ms var(--pro-ease);
}

.pro-bento__card--sticker:hover .pro-bento__sticker-strip img { border-color: rgba(10, 67, 255, 0.3); }

/* === Badge preview === */
.pro-bento__badge-preview {
    margin-top: auto;
    padding: 10px 14px;
    background: var(--pro-bg);
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius-md);
    font-size: 14px;
    color: var(--pro-text);
    font-weight: 600;
    display: flex;
    align-items: center;
}

/* === Comment preview (bento card на /pro) ===
   Под новый approach: card-elevation. Превью показывает «приподнятый»
   PRO-коммент на фоне soft-grey зоны (имитация ленты). */
.pro-bento__card--comment {
    /* фон карточки делаем чуть «грязнее», чтобы preview elevation
       был визуально различим. */
}

.pro-bento__comment-preview {
    margin-top: auto;
    /* Эмулируем фон ленты под карточкой комментария */
    padding: 12px 10px;
    background: var(--pro-bg, #F8FAFC);
    border-radius: var(--pro-radius-md);
    display: grid;
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 4px;
    align-items: center;

    /* Сама карточка PRO-коммента — белая с blue-glow */
    background-clip: padding-box;
}

.pro-bento__comment-preview.comment-item--pro {
    /* override generic .comment-item--pro paddings внутри bento — компактнее */
    padding: 12px 14px !important;
}

.pro-bento__comment-avatar {
    grid-row: 1 / 3;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--pro-primary-soft);
    color: var(--pro-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.pro-bento__comment-head {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pro-bento__comment-body {
    grid-column: 2 / 3;
    font-size: 13px;
    color: var(--pro-text);
    line-height: 1.4;
}

.pro-bento__comment-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 13px;
}

.pro-bento__comment-head strong {
    color: var(--pro-text);
    font-weight: 700;
}

.pro-bento__comment-head small {
    margin-left: auto;
    color: var(--pro-text-soft);
    font-size: 11px;
}

.pro-bento__comment-body {
    color: var(--pro-text-muted);
    font-size: 13px;
    line-height: 1.4;
}

/* === Анимированный аватар preview === */
.pro-bento__avatar-preview {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    position: relative;
}

.pro-bento__avatar-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--pro-primary-soft);
    border: 2px solid var(--pro-primary);
    box-shadow:
        var(--pro-shadow-glow),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.pro-bento__avatar-circle img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.pro-bento__avatar-pulse {
    position: absolute;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    pointer-events: none;
    background:
        radial-gradient(circle, transparent 38%, rgba(10, 67, 255, 0.10) 39%, rgba(10, 67, 255, 0.10) 41%, transparent 42%),
        radial-gradient(circle, transparent 47%, rgba(10, 67, 255, 0.07) 48%, rgba(10, 67, 255, 0.07) 50%, transparent 51%);
}

/* === Cashback full-wide карточка === */
.pro-bento__card--cashback {
    grid-column: 1 / -1;
    background: linear-gradient(135deg,
        rgba(10, 67, 255, 0.10) 0%,
        rgba(10, 67, 255, 0.03) 50%,
        var(--pro-surface) 100%);
    border-color: rgba(10, 67, 255, 0.25);
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: auto;
    position: relative;
    overflow: hidden;
}

/* Световой шар сверху-слева */
.pro-bento__card--cashback::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -10%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(79, 126, 255, 0.18) 0%, transparent 65%);
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

@media (min-width: 768px) {
    .pro-bento__card--cashback {
        flex-direction: row;
        align-items: center;
        gap: 32px;
    }
}

.pro-bento__card--cashback:hover {
    border-color: rgba(10, 67, 255, 0.5);
}

.pro-bento__cashback-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.pro-bento__cashback-multiplier {
    font-family: 'Aderley', 'Inter', sans-serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    background: var(--pro-hero-grad);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--pro-primary);
    flex-shrink: 0;
    font-feature-settings: "tnum";
    text-shadow: 0 4px 24px rgba(10, 67, 255, 0.25);
}

@media (max-width: 480px) {
    .pro-bento__cashback-multiplier { font-size: 48px; }
}

.pro-bento__title--lg {
    font-size: 22px;
    margin-bottom: 4px;
}

.pro-bento__cashback-demo {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 18px;
    background: var(--pro-surface);
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius-md);
    min-width: 240px;
}

.pro-bento__cashback-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
}

.pro-bento__cashback-label {
    color: var(--pro-text-soft);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.pro-bento__cashback-arrow {
    color: var(--pro-text-muted);
    font-feature-settings: "tnum";
}

.pro-bento__cashback-row--pro .pro-bento__cashback-arrow { color: var(--pro-text); }
.pro-bento__cashback-row--pro .pro-bento__cashback-label { color: var(--pro-primary); }
.pro-bento__cashback-arrow strong { color: var(--pro-primary); font-weight: 700; }

/* ============================================================
   PRICING — две light tier-карточки
   ============================================================ */

.pro-pricing-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto;
}

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

.pro-tier-card {
    padding: 32px 28px;
    background: var(--pro-surface);
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius-lg);
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.pro-tier-card--featured {
    background: var(--pro-surface);
    border-color: var(--pro-primary);
    border-width: 2px;
    box-shadow: var(--pro-shadow-glow);
    padding-top: 48px;  /* место под inset-бейдж */
}

.pro-tier-card__badge {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 14px;
    background: var(--pro-hero-grad);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
    border-radius: var(--pro-radius-pill);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 6px 14px rgba(10, 67, 255, 0.4);
    white-space: nowrap;
    z-index: 2;
}

.pro-tier-card__label {
    font-size: 11px;
    color: var(--pro-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    margin: 0 0 12px;
}

.pro-tier-card__price {
    font-family: 'Aderley', 'Inter', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: var(--pro-text);
    line-height: 1;
    margin: 0 0 6px;
    letter-spacing: -0.03em;
    font-feature-settings: "tnum";
}

.pro-tier-card__price small {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--pro-text-muted);
    letter-spacing: 0;
    margin-left: 4px;
}

.pro-tier-card__price i.fa-bolt {
    /* Иконка-бейдж баллов: вписана в нумерик, не доминирует. */
    color: var(--pro-primary);
    font-size: 22px;
    margin-left: 8px;
    vertical-align: 6px;  /* baseline-align к крупной цифре */
    filter: drop-shadow(0 1px 4px rgba(10, 67, 255, 0.35));
}

/* Featured carousel: иконка ярче — соответствует усиленному primary-цвету цены */
.pro-tier-card--featured .pro-tier-card__price i.fa-bolt {
    font-size: 24px;
    filter: drop-shadow(0 2px 6px rgba(10, 67, 255, 0.45));
}

.pro-tier-card__alt-price {
    font-size: 13px;
    color: var(--pro-text-muted);
    margin: 0 0 4px;
}

.pro-tier-card__eq {
    font-size: 13px;
    color: var(--pro-primary);
    margin: 0 0 24px;
    font-weight: 600;
    min-height: 19px;
}

.pro-tier-card .pro-cta,
.pro-tier-card button {
    position: relative;
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 14px 20px;
    background: var(--pro-hero-grad);
    background-color: var(--pro-primary);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--pro-radius-pill);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-shadow:
        var(--pro-shadow-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.pro-tier-card .pro-cta:hover,
.pro-tier-card button:hover {
    color: #FFFFFF;
}

.pro-tier-card .pro-cta:active,
.pro-tier-card button:active { transform: scale(0.98); }

.pro-tier-card .pro-cta--secondary {
    background: transparent;
    color: var(--pro-text);
    border: 1.5px solid var(--pro-border);
    box-shadow: none;
}

.pro-tier-card .pro-cta--secondary:hover {
    background: var(--pro-bg);
    border-color: var(--pro-primary);
    color: var(--pro-primary);
    box-shadow: none;
}

.pro-tier-card .pro-cta:disabled,
.pro-tier-card button:disabled {
    background: var(--pro-border);
    color: var(--pro-text-soft);
    box-shadow: none;
    cursor: not-allowed;
}

/* ============================================================
   FAQ — clean light accordion
   ============================================================ */

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

.pro-faq__item {
    background: var(--pro-surface);
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius-md);
    padding: 18px 24px;
    margin-bottom: 10px;
    transition: border-color var(--pro-duration) var(--pro-ease),
                box-shadow var(--pro-duration) var(--pro-ease);
}

.pro-faq__item:hover {
    border-color: rgba(10, 67, 255, 0.3);
}

.pro-faq__item[open] {
    border-color: var(--pro-primary);
    box-shadow: var(--pro-shadow-sm);
}

.pro-faq__question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    font-weight: 600;
    color: var(--pro-text);
    list-style: none;
    transition: color var(--pro-duration) var(--pro-ease);
}

.pro-faq__question::-webkit-details-marker { display: none; }

.pro-faq__question:hover { color: var(--pro-primary); }

.pro-faq__question::after {
    content: '+';
    color: var(--pro-primary);
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--pro-primary-soft);
    border-radius: 50%;
    transition: transform var(--pro-duration) var(--pro-ease-spring),
                background var(--pro-duration) var(--pro-ease);
}

.pro-faq__question:hover::after {
    background: rgba(10, 67, 255, 0.14);
}

.pro-faq__item[open] .pro-faq__question::after {
    transform: rotate(135deg);
    background: var(--pro-primary);
    color: #FFFFFF;
}

.pro-faq__answer {
    margin-top: 12px;
    color: var(--pro-text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.pro-faq__answer a {
    color: var(--pro-primary);
    text-decoration: none;
    font-weight: 600;
}

.pro-faq__answer a:hover { text-decoration: underline; }

/* ============================================================
   МОДАЛКА — light, чистая, indigo accent
   ============================================================ */

.adfree-modal {
    z-index: 1000020 !important;
    /* Mobile: убираем большой padding (20px), сжимаем — модалка должна занять
       почти весь экран. На desktop остаётся центрированной с padding'ом из
       globals (style.css). */
}

@media (max-width: 640px) {
    .adfree-modal.pro-nexus {
        padding: 0 !important;
        align-items: flex-end !important;  /* bottom-sheet pattern */
    }
}

.pro-nexus__backdrop {
    background: rgba(15, 23, 42, 0.5) !important;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.pro-nexus__shell {
    max-width: 760px !important;
    width: 100%;
    background: var(--pro-surface) !important;
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius-xl) !important;
    box-shadow: var(--pro-shadow-lg);
    overflow: hidden;
    position: relative;
    padding: 0 !important;
    color: var(--pro-text);
    /* Ограничиваем высоту чтобы модалка не вылезала за viewport */
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
}

@media (max-width: 640px) {
    .pro-nexus__shell {
        max-height: 92dvh;  /* dynamic viewport (учитывает мобильную нижнюю панель) */
        max-height: 92vh;   /* fallback */
        border-radius: var(--pro-radius-xl) var(--pro-radius-xl) 0 0 !important;
        border-bottom: none;
        animation: pro-nexus-slide-up 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    }
    @keyframes pro-nexus-slide-up {
        from { transform: translateY(100%); }
        to   { transform: translateY(0); }
    }
}

.pro-nexus__glow { display: none; }

.pro-nexus__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background var(--pro-duration) var(--pro-ease),
                color var(--pro-duration) var(--pro-ease);
    z-index: 5;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

@media (max-width: 640px) {
    .pro-nexus__close {
        /* iOS recommended touch-target 44×44 */
        width: 40px;
        height: 40px;
        top: 12px;
        right: 12px;
    }
}

.pro-nexus__close:hover {
    background: var(--pro-border-soft);
    color: var(--pro-text);
}

/* HEADER — hero card pattern (как на /pro и /feed/) */
.pro-nexus__header {
    background: var(--pro-hero-grad-deep);
    background-color: var(--pro-hero-dark);
    color: #FFFFFF;
    padding: 36px 32px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    flex-shrink: 0;  /* фиксированная высота, не сжимается */
}

@media (max-width: 640px) {
    .pro-nexus__header {
        padding: 28px 20px 22px;
    }
}

.pro-nexus__header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(79, 126, 255, 0.45) 0%, transparent 45%),
        radial-gradient(circle at 15% 90%, rgba(99, 102, 241, 0.32) 0%, transparent 50%),
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.pro-nexus__header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' /%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    opacity: 0.06;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 0;
}

.pro-nexus__header > * { position: relative; z-index: 1; }

.pro-nexus__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    border-radius: var(--pro-radius-pill);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.pro-nexus__title {
    font-family: 'Aderley', 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    color: #FFFFFF;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    background: none;
    -webkit-text-fill-color: #FFFFFF;
}

@media (max-width: 640px) {
    .pro-nexus__title { font-size: 28px; margin-bottom: 8px; }
}

.pro-nexus__subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto;
    line-height: 1.5;
    max-width: 440px;
}

@media (max-width: 640px) {
    .pro-nexus__subtitle { font-size: 13px; }
}

/* ACTIVE banner */
.pro-nexus__active-banner {
    margin: 16px 32px 0;
    padding: 12px 16px;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    border-radius: var(--pro-radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #047857;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .pro-nexus__active-banner {
        margin: 12px 18px 0;
        padding: 10px 14px;
        font-size: 12px;
    }
}

.pro-nexus__active-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    flex-shrink: 0;
}

/* ============================================================
   MODAL BODY: единый список фич + period toggle + price + CTA
   ============================================================ */

.pro-nexus__body {
    padding: 24px 32px 24px;
    /* В flex-shell даём body занимать оставшуюся высоту и скроллиться внутри. */
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

@media (max-width: 640px) {
    .pro-nexus__body {
        padding: 18px 18px 18px;
    }
}

/* SINGLE feature list (без tier-card wrapper'а) */
.pro-nexus__features--single {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
}

@media (max-width: 640px) {
    .pro-nexus__features--single {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-bottom: 18px;
    }
}

.pro-nexus__features--single li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--pro-text);
    padding: 0;
    border: none;
}

.pro-nexus__features--single li svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--pro-primary);
}

/* PERIOD TOGGLE — segmented control */
.pro-nexus__period-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 4px;
    background: var(--pro-bg);
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius-lg);
    margin-bottom: 18px;
}

.pro-nexus__period-btn {
    position: relative;
    padding: 12px 14px;
    background: transparent;
    border: 1.5px solid transparent;
    border-radius: var(--pro-radius-md);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: background var(--pro-duration) var(--pro-ease),
                border-color var(--pro-duration) var(--pro-ease),
                color var(--pro-duration) var(--pro-ease);
    color: var(--pro-text-muted);
    font-family: inherit;
    min-height: 56px;  /* touch-target friendly */
}

@media (max-width: 640px) {
    .pro-nexus__period-btn { padding: 10px 8px; }
}

.pro-nexus__period-btn:hover {
    color: var(--pro-text);
}

.pro-nexus__period-btn.is-active {
    background: var(--pro-surface);
    border-color: var(--pro-primary);
    color: var(--pro-text);
    box-shadow:
        0 4px 14px rgba(10, 67, 255, 0.18),
        0 0 0 4px rgba(10, 67, 255, 0.05);
    transform: translateY(-1px);
}

.pro-nexus__period-btn:active { transform: scale(0.98); }
.pro-nexus__period-btn.is-active:active { transform: translateY(-1px) scale(0.98); }

.pro-nexus__period-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.pro-nexus__period-hint {
    font-size: 11px;
    color: var(--pro-text-soft);
    letter-spacing: 0.02em;
}

.pro-nexus__period-btn.is-active .pro-nexus__period-hint {
    color: var(--pro-primary);
    font-weight: 600;
}

.pro-nexus__period-badge {
    position: absolute;
    top: -8px;
    right: 10px;
    padding: 2px 8px;
    background: var(--pro-hero-grad);
    color: #FFFFFF;
    font-size: 9px;
    font-weight: 800;
    border-radius: var(--pro-radius-pill);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 3px 8px rgba(10, 67, 255, 0.4);
    white-space: nowrap;
    pointer-events: none;
}

/* DYNAMIC PRICE block */
.pro-nexus__price-block {
    position: relative;
    text-align: center;
    margin-bottom: 18px;
    padding: 18px 16px;
    background:
        linear-gradient(135deg, var(--pro-primary-soft) 0%, var(--pro-primary-soft-2) 100%),
        radial-gradient(circle at 50% 0%, rgba(79, 126, 255, 0.12) 0%, transparent 70%);
    border-radius: var(--pro-radius-md);
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(10, 67, 255, 0.08);
}

.pro-nexus__price-block::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(79, 126, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.pro-nexus__price-row {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

.pro-nexus__price-num {
    font-family: 'Aderley', 'Inter', sans-serif;
    font-size: 44px;
    font-weight: 700;
    background: var(--pro-hero-grad);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--pro-primary);
    line-height: 1;
    letter-spacing: -0.02em;
    font-feature-settings: "tnum";
    animation: pro-price-in 320ms var(--pro-ease-spring);
}

@keyframes pro-price-in {
    0%   { opacity: 0; transform: translateY(6px); }
    100% { opacity: 1; transform: translateY(0); }
}

.pro-nexus__price-unit {
    font-size: 14px;
    font-weight: 500;
    color: var(--pro-text-muted);
}

.pro-nexus__price-period {
    margin-top: 4px;
    font-size: 12px;
    color: var(--pro-text-soft);
    letter-spacing: 0.02em;
}

/* CTA — full-width inside body */
.pro-nexus__cta {
    margin-top: 0 !important;
}

/* TIER GRID — light (legacy для backward-compat, скрыт когда есть .pro-nexus__body) */
.pro-nexus__grid {
    padding: 24px 32px 16px;
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

@media (max-width: 640px) {
    .pro-nexus__grid {
        grid-template-columns: 1fr;
        padding: 20px 20px 12px;
    }
}

.pro-nexus__tier {
    position: relative;
    background: var(--pro-surface);
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius-lg);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    transition: border-color var(--pro-duration) var(--pro-ease);
}

.pro-nexus__tier:hover {
    border-color: rgba(10, 67, 255, 0.3);
}

.pro-nexus__tier--featured {
    background: linear-gradient(180deg, var(--pro-primary-soft) 0%, var(--pro-surface) 80%);
    border-color: var(--pro-primary);
    border-width: 2px;
    box-shadow: var(--pro-shadow-glow);
}

.pro-nexus__badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    background: var(--pro-hero-grad);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
    border-radius: var(--pro-radius-pill);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(10, 67, 255, 0.4);
    white-space: nowrap;
}

.pro-nexus__tier-label {
    font-size: 11px;
    color: var(--pro-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    margin-bottom: 4px;
}

.pro-nexus__tier-tagline {
    font-size: 13px;
    color: var(--pro-text-muted);
    margin-bottom: 16px;
}

.pro-nexus__tier-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}

.pro-nexus__tier-price-num {
    font-family: 'Aderley', 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--pro-text);
    line-height: 1;
    letter-spacing: -0.02em;
    font-feature-settings: "tnum";
}

.pro-nexus__tier--featured .pro-nexus__tier-price-num {
    font-size: 42px;
    color: var(--pro-primary);
    -webkit-text-fill-color: var(--pro-primary);
    background: none;
}

.pro-nexus__tier-price-unit {
    font-size: 14px;
    font-weight: 500;
    color: var(--pro-text-muted);
}

.pro-nexus__tier-period {
    font-size: 12px;
    color: var(--pro-text-soft);
    margin-bottom: 16px;
}

.pro-nexus__savings {
    display: inline-block;
    padding: 4px 10px;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    border-radius: var(--pro-radius-sm);
    color: #047857;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 16px;
    align-self: flex-start;
}

.pro-nexus__features {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.pro-nexus__features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--pro-text);
}

.pro-nexus__features li svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--pro-primary);
}

.pro-nexus__features li.pro-nexus__feature-head {
    color: var(--pro-text);
    font-weight: 700;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--pro-border);
    margin-bottom: 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pro-nexus__features li.pro-nexus__feature-head svg {
    color: var(--pro-primary);
}

/* BUTTONS */
.pro-nexus__btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: var(--pro-radius-pill);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--pro-duration) var(--pro-ease),
                border-color var(--pro-duration) var(--pro-ease),
                box-shadow var(--pro-duration) var(--pro-ease),
                transform 100ms var(--pro-ease);
    text-decoration: none;
    text-align: center;
    margin-top: auto;
}

.pro-nexus__btn--outline {
    background: transparent;
    color: var(--pro-text);
    border: 1.5px solid var(--pro-border);
}

.pro-nexus__btn--outline:hover {
    background: var(--pro-bg);
    border-color: var(--pro-primary);
    color: var(--pro-primary);
}

.pro-nexus__btn--featured {
    position: relative;
    background: var(--pro-hero-grad);
    background-color: var(--pro-primary);
    color: #FFFFFF;
    box-shadow:
        var(--pro-shadow-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.pro-nexus__btn--featured:hover {
    background: var(--pro-hero-grad);
    background-color: var(--pro-primary-hover);
    color: #FFFFFF;
}

.pro-nexus__btn:active { transform: scale(0.98); }

.pro-nexus__btn:disabled,
.pro-nexus__btn[disabled] {
    background: var(--pro-border);
    color: var(--pro-text-soft);
    border-color: var(--pro-border);
    cursor: not-allowed;
    box-shadow: none;
}

.pro-nexus__login {
    text-align: center;
    padding: 24px 32px 28px;
}

.pro-nexus__login p {
    color: var(--pro-text-muted);
    font-size: 14px;
    margin: 0 0 16px;
}

/* FOOTER */
.pro-nexus__footer {
    text-align: center;
    padding: 16px 32px 24px;
    border-top: 1px solid var(--pro-border);
    flex-shrink: 0;  /* sticky-bottom внутри flex-shell */
    background: var(--pro-surface);
}

@media (max-width: 640px) {
    .pro-nexus__footer {
        padding: 14px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    }
}

.pro-nexus__balance {
    font-size: 13px;
    color: var(--pro-text-muted);
    margin: 0 0 4px;
}

.pro-nexus__balance strong {
    color: var(--pro-text);
    font-weight: 700;
}

.pro-nexus__balance a,
.pro-nexus__balance a:link,
.pro-nexus__balance a:visited {
    color: var(--pro-primary) !important;
    font-weight: 600;
    text-decoration: none !important;
    margin-left: 4px;
}

.pro-nexus__balance a:hover {
    color: var(--pro-primary-hover) !important;
    text-decoration: underline !important;
}

.pro-nexus__footer-note {
    font-size: 11px;
    color: var(--pro-text-soft);
    margin: 0;
}

.pro-nexus__error {
    margin: 0 32px 16px;
    padding: 10px 14px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--pro-radius-md);
    color: #B91C1C;
    font-size: 13px;
    flex-shrink: 0;
    text-align: center;
}

@media (max-width: 640px) {
    .pro-nexus__error { margin: 0 18px 12px; font-size: 12px; }
}

/* ============================================================
   ESCAPED: убираю старые .pro-features-grid и legacy селекторы
   ============================================================ */

.pro-features-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px)  { .pro-features-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pro-features-grid { grid-template-columns: 1fr 1fr 1fr; } }

/* Focus states */
.pro-nexus__btn:focus-visible,
.pro-faq__question:focus-visible,
.pro-tier-card .pro-cta:focus-visible {
    outline: 2px solid var(--pro-primary);
    outline-offset: 3px;
}
