/* ==========================================================================
   ChatGPTi — клиентский слой 2.0
   Наслаивается поверх style.css и усиливает интерфейс:
   аврора-фон, стекло, неоновое свечение, микроанимации, тактильные отклики.
   Все новые классы имеют префикс .cu- — старые стили не ломаются.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Токены и кривые анимации
   -------------------------------------------------------------------------- */
:root {
    --cu-cyan: #22d3ee;
    --cu-blue: #3b82f6;
    --cu-violet: #a78bfa;
    --cu-fuchsia: #e879f9;
    --cu-amber: #fbbf24;
    --cu-rose: #fb7185;
    --cu-green: #34d399;

    --cu-stroke: rgba(255, 255, 255, 0.09);
    --cu-stroke-strong: rgba(255, 255, 255, 0.2);

    --cu-glow-cyan: rgba(34, 211, 238, 0.35);
    --cu-glow-violet: rgba(167, 139, 250, 0.32);
    --cu-glow-green: rgba(34, 197, 94, 0.35);

    --cu-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --cu-ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --cu-radius: 18px;
    --cu-radius-sm: 12px;
    --cu-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* --------------------------------------------------------------------------
   2. Аврора и звёздная пыль — живой фон страницы
   -------------------------------------------------------------------------- */
.cu-aurora {
    position: fixed;
    inset: -20% -10% auto -10%;
    height: 130vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    opacity: 0.6;
    filter: blur(60px) saturate(140%);
}

.cu-aurora span {
    position: absolute;
    display: block;
    border-radius: 50%;
    mix-blend-mode: screen;
    will-change: transform;
}

.cu-aurora span:nth-child(1) {
    width: 46vw; height: 46vw;
    top: -8%; left: -4%;
    background: radial-gradient(circle at 30% 30%, rgba(34, 211, 238, 0.5), transparent 68%);
    animation: cuAurora1 26s var(--cu-ease) infinite alternate;
}
.cu-aurora span:nth-child(2) {
    width: 40vw; height: 40vw;
    top: 4%; right: -6%;
    background: radial-gradient(circle at 60% 40%, rgba(167, 139, 250, 0.45), transparent 68%);
    animation: cuAurora2 32s var(--cu-ease) infinite alternate;
}
.cu-aurora span:nth-child(3) {
    width: 34vw; height: 34vw;
    bottom: -10%; left: 34%;
    background: radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.32), transparent 70%);
    animation: cuAurora3 38s var(--cu-ease) infinite alternate;
}

@keyframes cuAurora1 {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(6vw, 4vh, 0) scale(1.14); }
    100% { transform: translate3d(-3vw, 9vh, 0) scale(0.94); }
}
@keyframes cuAurora2 {
    0%   { transform: translate3d(0, 0, 0) scale(1.05); }
    50%  { transform: translate3d(-7vw, 6vh, 0) scale(0.9); }
    100% { transform: translate3d(4vw, 11vh, 0) scale(1.18); }
}
@keyframes cuAurora3 {
    0%   { transform: translate3d(0, 0, 0) scale(0.95); }
    50%  { transform: translate3d(5vw, -6vh, 0) scale(1.16); }
    100% { transform: translate3d(-6vw, -3vh, 0) scale(1); }
}

/* Звёздная пыль: три слоя точек разной плотности и скорости */
.cu-stars {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
    background-image:
        radial-gradient(1.5px 1.5px at 20% 30%, rgba(255, 255, 255, 0.85), transparent),
        radial-gradient(1px 1px at 70% 12%, rgba(186, 230, 253, 0.8), transparent),
        radial-gradient(1.2px 1.2px at 42% 78%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 88% 62%, rgba(221, 214, 254, 0.75), transparent);
    background-size: 420px 420px, 560px 560px, 340px 340px, 680px 680px;
    animation: cuStars 90s linear infinite;
}
@keyframes cuStars {
    from { background-position: 0 0, 0 0, 0 0, 0 0; }
    to   { background-position: 420px 840px, -560px 560px, 340px -680px, -680px -340px; }
}

/* Зерно — убирает «пластиковость» градиентов */
.cu-grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.035;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   3. Индикатор прокрутки страницы
   -------------------------------------------------------------------------- */
.cu-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0%;
    z-index: 9998;
    pointer-events: none;
    background: linear-gradient(90deg, var(--cu-cyan), var(--cu-violet), var(--accent));
    box-shadow: 0 0 14px var(--cu-glow-cyan), 0 0 26px var(--cu-glow-violet);
    transition: width 0.1s linear;
}

/* --------------------------------------------------------------------------
   4. Стекло 2.0
   -------------------------------------------------------------------------- */
.cu-glass {
    position: relative;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--cu-stroke);
    border-radius: var(--cu-radius);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    box-shadow: var(--cu-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Верхний световой блик у стеклянных поверхностей */
.cu-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 42%);
    opacity: 0.7;
}

/* Стеклянная панель у финального CTA на главной */
.section-cta > .container.cu-glass {
    padding: 48px 26px;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   5. Анимированный градиентный текст
   -------------------------------------------------------------------------- */
.cu-grad-text {
    background: linear-gradient(100deg, #ffffff 8%, var(--cu-cyan) 34%, var(--cu-violet) 62%, #ffffff 96%);
    background-size: 240% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: cuGradSlide 9s ease-in-out infinite;
}
@keyframes cuGradSlide {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* Плавная смена слов в заголовке */
.cu-rotator {
    display: inline-block;
    position: relative;
    vertical-align: bottom;
}
.cu-rotator span {
    display: inline-block;
    background: linear-gradient(100deg, var(--cu-cyan), var(--cu-violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: cuWordIn 0.6s var(--cu-ease-back) both;
}
@keyframes cuWordIn {
    from { opacity: 0; transform: translateY(0.5em) rotateX(-40deg); filter: blur(6px); }
    to   { opacity: 1; transform: none; filter: none; }
}

/* --------------------------------------------------------------------------
   6. Вращающаяся световая рамка
   -------------------------------------------------------------------------- */
.cu-ring {
    position: relative;
    isolation: isolate;
}
.cu-ring::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.35s ease;
    background: conic-gradient(from var(--cu-angle, 0deg),
        transparent 0deg,
        var(--cu-cyan) 60deg,
        var(--cu-violet) 130deg,
        transparent 200deg,
        var(--accent) 300deg,
        transparent 360deg);
    animation: cuRingSpin 4.5s linear infinite;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}
.cu-ring:hover::after,
.cu-ring.is-active::after { opacity: 1; }
@keyframes cuRingSpin {
    to { --cu-angle: 360deg; }
}
@property --cu-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* --------------------------------------------------------------------------
   7. Появление при прокрутке
   -------------------------------------------------------------------------- */
.cu-reveal {
    opacity: 0;
    transform: translateY(34px) scale(0.985);
    filter: blur(6px);
    transition:
        opacity 0.7s var(--cu-ease),
        transform 0.7s var(--cu-ease),
        filter 0.6s var(--cu-ease);
}
.cu-reveal.is-in {
    opacity: 1;
    transform: none;
    filter: none;
}
.cu-reveal--left  { transform: translateX(-42px); }
.cu-reveal--right { transform: translateX(42px); }
.cu-reveal--zoom  { transform: scale(0.9); }

/* --------------------------------------------------------------------------
   8. Кнопки: свечение, блик, рябь
   -------------------------------------------------------------------------- */
.btn,
.btn-primary,
.pricing-cta,
.lk-chat-bar-send,
.mcp-item {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition:
        transform 0.28s var(--cu-ease),
        box-shadow 0.32s var(--cu-ease),
        filter 0.28s ease;
}

.btn-primary:hover,
.btn:hover,
.pricing-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

/* Бегущий блик по кнопке */
.btn-primary::after,
.btn-lg::after,
.pricing-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -140%;
    width: 60%;
    height: 100%;
    pointer-events: none;
    transform: skewX(-18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
    transition: left 0.65s var(--cu-ease);
}
.btn-primary:hover::after,
.btn-lg:hover::after,
.pricing-cta:hover::after { left: 150%; }

/* Неоновая пульсация главной кнопки */
.btn-glow {
    box-shadow:
        0 0 0 1px rgba(34, 197, 94, 0.4),
        0 12px 34px var(--cu-glow-green),
        0 0 46px rgba(34, 197, 94, 0.22);
    animation: cuPulse 3.4s ease-in-out infinite;
}
@keyframes cuPulse {
    0%, 100% { box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4), 0 12px 34px rgba(34, 197, 94, 0.28), 0 0 34px rgba(34, 197, 94, 0.18); }
    50%      { box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.55), 0 16px 44px rgba(34, 197, 94, 0.42), 0 0 66px rgba(34, 197, 94, 0.3); }
}

/* Магнитный сдвиг — класс вешается на контейнер с data-cu-magnetic */
.cu-magnetic { will-change: transform; transition: transform 0.25s var(--cu-ease); }

/* --------------------------------------------------------------------------
   9. Карточки: подъём, свечение за курсором, tilt
   -------------------------------------------------------------------------- */
.feature-card,
.how-block,
.step,
.pricing-card,
.faq-item,
.mcp-item,
.stat,
.trend-card,
.article-card,
.lk-sidebar,
.glass-surface {
    transition:
        transform 0.42s var(--cu-ease),
        box-shadow 0.42s var(--cu-ease),
        border-color 0.34s ease;
}

/* Контейнеры для свечения за курсором должны быть позиционированы */
.how-block,
.step,
.trend-card,
.article-card { position: relative; }

.feature-card::after,
.how-block::after,
.pricing-card::after,
.stat::after,
.step::after,
.trend-card::after,
.article-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(
        340px circle at var(--cu-card-x, 50%) var(--cu-card-y, 0%),
        rgba(34, 211, 238, 0.16),
        transparent 62%
    );
}
.feature-card:hover::after,
.how-block:hover::after,
.pricing-card:hover::after,
.stat:hover::after,
.step:hover::after,
.trend-card:hover::after,
.article-card:hover::after { opacity: 1; }

.feature-card:hover,
.how-block:hover,
.step:hover,
.trend-card:hover,
.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--cu-stroke-strong);
}

/* Иконка/картинка карточки — лёгкий зум и свечение */
.feature-card-img,
.how-block-img,
.step-img {
    transition: transform 0.6s var(--cu-ease), filter 0.6s ease;
}
.feature-card:hover .feature-card-img,
.how-block:hover .how-block-img,
.step:hover .step-img {
    transform: scale(1.06);
    filter: saturate(115%) brightness(1.05);
}

.cu-tilt { transform-style: preserve-3d; }

/* --------------------------------------------------------------------------
   10. Заголовки секций — световая линия под текстом
   -------------------------------------------------------------------------- */
.section-title {
    position: relative;
    padding-bottom: 14px;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 2px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--cu-cyan), var(--cu-violet), transparent);
    box-shadow: 0 0 16px var(--cu-glow-cyan);
    animation: cuTitleLine 1.1s var(--cu-ease) 0.15s forwards;
}
@keyframes cuTitleLine {
    from { width: 0; opacity: 0; }
    to   { width: 132px; opacity: 1; }
}

/* --------------------------------------------------------------------------
   11. Счётчики статистики
   -------------------------------------------------------------------------- */
.stat-num {
    display: inline-block;
    background: linear-gradient(120deg, #ffffff, var(--cu-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 34px rgba(34, 211, 238, 0.22);
}
.stat {
    position: relative;
    overflow: hidden;
}
.stat:hover {
    transform: translateY(-5px);
    border-color: var(--cu-stroke-strong);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(34, 211, 238, 0.22);
}

/* --------------------------------------------------------------------------
   12. Бегущая строка (MCP-интеграции)
   -------------------------------------------------------------------------- */
.cu-marquee {
    position: relative;
    overflow: hidden;
    padding: 6px 0;
    margin-top: 18px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.cu-marquee-track {
    display: flex;
    width: max-content;
    animation: cuMarquee 34s linear infinite;
}
.cu-marquee:hover .cu-marquee-track { animation-play-state: paused; }
@keyframes cuMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
/* Отступ делаем внешним у плитки, а не gap — тогда петля стыкуется идеально */
.cu-marquee .mcp-item {
    flex: 0 0 auto;
    white-space: nowrap;
    margin-right: 14px;
    padding: 12px 22px;
}
.cu-marquee .mcp-item:hover {
    color: var(--text);
    border-color: var(--cu-stroke-strong);
}

/* --------------------------------------------------------------------------
   13. Личный кабинет: сайдбар и навигация 2.0
   -------------------------------------------------------------------------- */
.lk-sidebar {
    position: relative;
    box-shadow: 24px 0 60px rgba(0, 0, 0, 0.4);
}
/* Световая кромка справа */
.lk-sidebar::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 1px; height: 100%;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.35), rgba(167, 139, 250, 0.3), transparent);
}

.lk-nav-item {
    position: relative;
    overflow: hidden;
    transition:
        transform 0.28s var(--cu-ease),
        background 0.28s ease,
        color 0.24s ease,
        box-shadow 0.3s ease;
}
/* Скользящая подсветка */
.lk-nav-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 3px; height: 100%;
    border-radius: 0 3px 3px 0;
    transform: scaleY(0);
    transform-origin: center;
    background: linear-gradient(180deg, var(--cu-cyan), var(--cu-violet));
    box-shadow: 0 0 14px var(--cu-glow-cyan);
    transition: transform 0.32s var(--cu-ease);
}
.lk-nav-item:hover::before,
.lk-nav-item--active::before { transform: scaleY(1); }

.lk-nav-item:hover {
    transform: translateX(4px);
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.1), rgba(167, 139, 250, 0.05) 60%, transparent);
}
.lk-nav-item:hover .lk-nav-icon,
.lk-nav-item--active .lk-nav-icon {
    filter: drop-shadow(0 0 8px var(--cu-glow-cyan));
    transform: scale(1.08);
}
.lk-nav-icon { transition: transform 0.28s var(--cu-ease-back), filter 0.28s ease; }

.lk-nav-item--active {
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.14), rgba(167, 139, 250, 0.06) 65%, transparent);
    box-shadow: inset 0 0 24px rgba(34, 211, 238, 0.06);
}

/* Пульсирующая метка «new» */
.lk-nav-badge--new,
.btn-new {
    position: relative;
    animation: cuPulseSoft 2.6s ease-in-out infinite;
}
@keyframes cuPulseSoft {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5); }
    60%      { box-shadow: 0 0 0 7px rgba(34, 211, 238, 0); }
}

/* --------------------------------------------------------------------------
   14. Топбар 2.0
   -------------------------------------------------------------------------- */
.lk-topbar-btn {
    position: relative;
    transition: transform 0.28s var(--cu-ease), color 0.24s ease, background 0.28s ease, box-shadow 0.3s ease;
}
.lk-topbar-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.36), 0 0 0 1px var(--cu-stroke-strong);
}
.lk-account-trigger { transition: transform 0.3s var(--cu-ease), box-shadow 0.3s ease; }
.lk-account-trigger:hover {
    transform: scale(1.06);
    box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.35), 0 0 24px var(--cu-glow-cyan);
}
.lk-account-avatar--logo img,
.lk-account-dropdown-avatar--logo img { transition: transform 0.5s var(--cu-ease); }
.lk-account-trigger:hover .lk-account-avatar--logo img { transform: rotate(8deg) scale(1.05); }

/* Значение, которое копируется по клику (data-cu-copy) */
.cu-copyable {
    cursor: pointer;
    border-radius: 6px;
    transition: color 0.24s ease, background 0.24s ease;
}
.cu-copyable:hover { color: var(--cu-cyan); }
.cu-copyable:focus-visible {
    outline: 2px solid var(--cu-cyan);
    outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   15. Чат 2.0
   -------------------------------------------------------------------------- */
.lk-msg {
    animation: cuMsgIn 0.45s var(--cu-ease) both;
}
@keyframes cuMsgIn {
    from { opacity: 0; transform: translateY(14px) scale(0.98); filter: blur(4px); }
    to   { opacity: 1; transform: none; filter: none; }
}
.lk-msg--assistant,
.lk-msg--bot {
    backdrop-filter: blur(14px) saturate(125%);
    -webkit-backdrop-filter: blur(14px) saturate(125%);
}

/* Пузырь ввода: мягкое свечение при фокусе */
.lk-chat-bar:focus-within {
    border-color: rgba(34, 211, 238, 0.4) !important;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1), 0 14px 40px rgba(0, 0, 0, 0.42);
    transition: box-shadow 0.35s var(--cu-ease), border-color 0.35s ease;
}
.lk-chat-bar-send:hover {
    transform: scale(1.08) translateY(-1px);
    box-shadow: 0 0 26px var(--cu-glow-green);
}

/* Индикатор «печатает…» */
.cu-typing {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid var(--cu-stroke);
    background: rgba(255, 255, 255, 0.03);
}
.cu-typing i {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--cu-cyan);
    box-shadow: 0 0 10px var(--cu-glow-cyan);
    animation: cuTypingDot 1.15s ease-in-out infinite;
}
.cu-typing i:nth-child(2) { animation-delay: 0.15s; }
.cu-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes cuTypingDot {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
    40%           { transform: translateY(-6px); opacity: 1; }
}

/* Пузырь ожидания ответа: показываем анимированные точки вместо «…».
   Класс cu-is-typing ставит JS, поэтому без него разметка не меняется. */
.lk-msg--loading.cu-is-typing {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: auto !important;
    max-width: none !important;
    align-self: flex-start;
}
.lk-msg--loading.cu-is-typing > .cu-typing { animation: cuTypingIn 0.32s var(--cu-ease) both; }
@keyframes cuTypingIn {
    from { opacity: 0; transform: translateY(8px) scale(0.94); }
    to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   16. Плейсхолдеры-скелетоны
   -------------------------------------------------------------------------- */
.cu-skeleton {
    position: relative;
    overflow: hidden;
    border-radius: var(--cu-radius-sm);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}
.cu-skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-120%);
    background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.16) 50%, transparent 68%);
    animation: cuShimmer 1.7s ease-in-out infinite;
}
@keyframes cuShimmer {
    to { transform: translateX(120%); }
}

/* --------------------------------------------------------------------------
   17. Тосты
   -------------------------------------------------------------------------- */
.cu-toasts {
    position: fixed;
    right: 20px;
    bottom: 82px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(360px, calc(100vw - 32px));
    pointer-events: none;
}
.cu-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 15px;
    border-radius: 14px;
    border: 1px solid var(--cu-stroke-strong);
    background: rgba(14, 16, 24, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.55);
    animation: cuToastIn 0.42s var(--cu-ease-back) both;
    font-size: 0.85rem;
    color: var(--text, #e8e9ec);
}
.cu-toast.is-hiding { animation: cuToastOut 0.24s ease reverse both; }
.cu-toast--ok    { border-color: rgba(52, 211, 153, 0.5); }
.cu-toast--error { border-color: rgba(251, 113, 133, 0.55); }
.cu-toast--info  { border-color: rgba(34, 211, 238, 0.5); }
.cu-toast-ico {
    flex: 0 0 auto;
    width: 22px; height: 22px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--cu-cyan);
}
.cu-toast--ok .cu-toast-ico    { color: var(--cu-green); }
.cu-toast--error .cu-toast-ico { color: var(--cu-rose); }
.cu-toast-body { min-width: 0; }
.cu-toast-title { font-weight: 700; }
.cu-toast-text { color: var(--text-muted, #8b8d99); font-size: 0.78rem; margin-top: 2px; }
@keyframes cuToastIn {
    from { opacity: 0; transform: translateX(34px) scale(0.96); }
    to   { opacity: 1; transform: none; }
}
@keyframes cuToastOut {
    from { opacity: 0; transform: translateX(34px); }
    to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   18. Переход между страницами
   -------------------------------------------------------------------------- */
body.cu-page-enter { animation: cuPageIn 0.5s var(--cu-ease) both; }
@keyframes cuPageIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
body.cu-page-leave { opacity: 0.4; transition: opacity 0.3s ease; }

/* --------------------------------------------------------------------------
   20. Hero 2.0 — бейдж, орбита, волна
   -------------------------------------------------------------------------- */
.cu-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--cu-stroke-strong);
    background: linear-gradient(120deg, rgba(34, 211, 238, 0.12), rgba(167, 139, 250, 0.1));
    font-size: 0.78rem;
    color: var(--text, #e8e9ec);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.cu-badge-pill i {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--cu-green);
    box-shadow: 0 0 12px var(--cu-green);
    animation: cuPulseSoft 2.4s ease-in-out infinite;
}

/* Орбитальное кольцо вокруг визуала */
.cu-orbit {
    position: absolute;
    inset: -6% -4%;
    pointer-events: none;
    border-radius: 50%;
    border: 1px dashed rgba(34, 211, 238, 0.22);
    animation: cuOrbitSpin 42s linear infinite;
}
/* Кольцо декоративное — уводим его под картинку героя */
.hero-visual > .hero-visual-img {
    position: relative;
    z-index: 1;
}
.cu-orbit::after {
    content: '';
    position: absolute;
    top: -4px; left: 50%;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--cu-cyan);
    box-shadow: 0 0 16px var(--cu-cyan);
}
@keyframes cuOrbitSpin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   21. Декоративный разделитель-волна
   -------------------------------------------------------------------------- */
.cu-divider {
    height: 1px;
    border: 0;
    margin: 0;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.4), rgba(167, 139, 250, 0.35), transparent);
}

/* --------------------------------------------------------------------------
   22. Доступность и производительность
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .cu-aurora span,
    .cu-stars,
    .cu-grad-text,
    .cu-marquee-track,
    .cu-orbit,
    .cu-ring::after,
    .cu-toast,
    .cu-msg,
    .btn-glow,
    .lk-nav-badge--new,
    .btn-new,
    .cu-rotator span {
        animation: none !important;
    }
    .cu-typing i {
        animation: none !important;
        opacity: 0.7;
    }
    .cu-reveal {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

/* Уважаем устройства без hover — отключаем липкие эффекты */
@media (hover: none) {
    .feature-card:hover,
    .how-block:hover,
    .step:hover,
    .trend-card:hover,
    .article-card:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   23. Адаптив
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .cu-aurora { filter: blur(42px) saturate(130%); opacity: 0.7; }
    .cu-stars { opacity: 0.32; }
    .cu-toasts { right: 12px; left: 12px; top: 66px; bottom: auto; max-width: none; }
    .section-title::after { width: 96px; }
}
