/* =========================================================
   MERCURY TRADE — STYLE.CSS
   ========================================================= */

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

:root {
    --bg: #05070f;
    --bg-2: #0a0e1a;
    --card: #0f1524;
    --border: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 60, 60, 0.4);
    --text: #eef2ff;
    --text-dim: #8892b0;
    --primary: #ff3c3c;
    --primary-2: #ff6b1a;
    --primary-glow: rgba(255, 60, 60, 0.4);
    --green: #00ff88;
    --gradient: linear-gradient(135deg, #ff3c3c 0%, #ff6b1a 100%);
    --gradient-text: linear-gradient(135deg, #ffffff 0%, #ff3c3c 55%, #ff6b1a 100%);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; width: 100%; }
.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ПРОГРЕСС */
.scroll-progress {
    position: fixed; top: 0; left: 0;
    height: 3px; width: 0%;
    background: linear-gradient(90deg, #ff3c3c, #ff6b1a, #ff3c3c);
    z-index: 9999;
    box-shadow: 0 0 20px rgba(255, 60, 60, 0.7);
    transition: width 0.1s linear;
}

/* ПРЕЛОАДЕР */
.preloader {
    position: fixed; inset: 0;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity .6s, visibility .6s;
}
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.preloader-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px; font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 3px; text-transform: uppercase;
}
.preloader-bar {
    width: 220px; height: 2px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    overflow: hidden;
    position: relative;
}
.preloader-bar::after {
    content: '';
    position: absolute; inset: 0;
    background: var(--gradient);
    border-radius: 100px;
    animation: load-bar 1.8s ease-in-out infinite;
}
@keyframes load-bar {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ФОН */
.bg-grid {
    position: fixed; inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 60, 60, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 60, 60, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}
.bg-orbs {
    position: fixed; inset: 0;
    z-index: -3;
    pointer-events: none;
    overflow: hidden;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float-orb 20s ease-in-out infinite;
    will-change: transform;
}
.orb-1 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(255, 60, 60, 0.6), transparent 70%); top: -10%; left: -10%; }
.orb-2 { width: 560px; height: 560px; background: radial-gradient(circle, rgba(139, 0, 0, 0.6), transparent 70%); top: 30%; right: -15%; animation-delay: -7s; }
.orb-3 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(255, 107, 26, 0.4), transparent 70%); bottom: -10%; left: 30%; animation-delay: -14s; }
@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -30px) scale(1.08); }
    66% { transform: translate(-30px, 50px) scale(0.95); }
}
#particles-canvas {
    position: fixed; inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.55;
}

/* HEADER */
.header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
}
.header.scrolled {
    background: rgba(5, 7, 15, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo {
    display: flex; align-items: center; gap: 11px;
    text-decoration: none; color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; font-size: 19px;
    flex-shrink: 0;
}
.logo-mark {
    position: relative;
    width: 40px; height: 40px;
    border-radius: 11px;
    background: var(--gradient);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 22px var(--primary-glow);
    flex-shrink: 0;
}
.logo-mark::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.5) 50%, transparent 60%);
    animation: shine 3s infinite;
}
@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}
.logo-mark svg {
    width: 20px; height: 20px;
    stroke: #fff; fill: none;
    stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
    position: relative; z-index: 1;
}
.logo-text span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px; font-weight: 500;
    padding: 9px 13px;
    border-radius: 10px;
    transition: all .3s;
    white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.cta-nav {
    display: inline-flex;
    align-items: center; gap: 8px;
    background: var(--gradient);
    color: #fff !important;
    padding: 10px 18px !important;
    border-radius: 11px;
    font-weight: 700;
    margin-left: 8px;
    box-shadow: 0 8px 22px var(--primary-glow);
}
.cta-nav:hover { transform: translateY(-2px); box-shadow: 0 12px 30px var(--primary-glow); }
.cta-nav svg { width: 15px; height: 15px; stroke-width: 2.5; }
.burger {
    display: none;
    flex-direction: column; gap: 5px;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    z-index: 1001;
}
.burger span { width: 22px; height: 2px; background: var(--text); transition: .3s; border-radius: 2px; }
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* HERO */
.hero {
    position: relative;
    padding: 150px 0 80px;
    min-height: 100vh;
    display: flex; align-items: center;
    overflow: hidden;
}
.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
}
.hero-content { min-width: 0; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 18px 8px 14px;
    background: rgba(255, 60, 60, 0.08);
    border: 1px solid rgba(255, 60, 60, 0.3);
    border-radius: 100px;
    font-size: 13px; color: var(--primary);
    font-weight: 500;
    margin-bottom: 26px;
    backdrop-filter: blur(10px);
}
.hero-badge .icon { width: 15px; height: 15px; flex-shrink: 0; }
.pulse {
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}
.pulse::before {
    content: '';
    position: absolute; inset: 0;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3.5); opacity: 0; }
}
.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 4.4vw, 60px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -1.8px;
    margin-bottom: 22px;
}
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.hero-subtitle {
    font-size: clamp(15px, 1.4vw, 17px);
    color: var(--text-dim);
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.7;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* КНОПКИ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 13px;
    font-size: 15px; font-weight: 700;
    text-decoration: none;
    border: none; cursor: pointer;
    transition: transform .35s, box-shadow .35s, background .35s, border-color .35s, color .35s;
    font-family: inherit;
    position: relative; overflow: hidden;
    white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; stroke-width: 2.2; transition: transform .3s; flex-shrink: 0; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 10px 28px var(--primary-glow); }
.btn-primary::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.5) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform .7s;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(255, 60, 60, 0.55); }
.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 60, 60, 0.05);
    transform: translateY(-3px);
}
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* HERO VISUAL */
.hero-visual {
    position: relative;
    display: flex; justify-content: center; align-items: center;
    min-width: 0;
}
.hero-visual-glow {
    position: absolute; inset: -20px;
    background: radial-gradient(circle, rgba(255, 60, 60, 0.35), transparent 60%);
    filter: blur(50px);
    z-index: 0;
    animation: pulse-visual 4s ease-in-out infinite;
}
@keyframes pulse-visual {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}
.hero-visual-ring {
    position: absolute; inset: -12px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 60, 60, 0.35);
    animation: rotate-slow 30s linear infinite;
    z-index: 0;
}
.hero-visual-ring::before,
.hero-visual-ring::after {
    content: '';
    position: absolute;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 15px 3px var(--primary);
}
.hero-visual-ring::before { top: 0; left: 50%; transform: translateX(-50%); }
.hero-visual-ring::after { bottom: 0; left: 50%; transform: translateX(-50%); }
@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.hero-visual-inner {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 60, 60, 0.3),
        0 30px 80px rgba(255, 60, 60, 0.4),
        inset 0 0 80px rgba(255, 60, 60, 0.15);
    z-index: 1;
    animation: hero-float 6s ease-in-out infinite;
}
@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.hero-visual-inner img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* TICKER */
.price-ticker {
    margin-top: 50px;
    padding: 14px 0;
    background: linear-gradient(90deg, transparent, rgba(255, 60, 60, 0.05), transparent);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.ticker-track {
    display: flex; gap: 36px;
    animation: ticker-scroll 40s linear infinite;
    width: max-content;
}
@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.ticker-item {
    display: flex; align-items: center; gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13.5px; font-weight: 500;
    white-space: nowrap;
}
.ticker-item .pair { color: var(--text); font-weight: 700; }
.ticker-item .price { color: var(--text-dim); }
.ticker-item .change {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11.5px; font-weight: 700;
}
.ticker-item .change.up { color: var(--green); background: rgba(0, 255, 136, 0.1); }
.ticker-item .change.down { color: #ff5252; background: rgba(255, 82, 82, 0.1); }

/* HERO STATS */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin: 34px 0 0;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    position: relative;
}
.hero-stats::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(15, 21, 36, 0.75);
    z-index: -1;
}
.stat { padding: 22px 14px; text-align: center; transition: background .3s; }
.stat:hover { background: rgba(255, 60, 60, 0.05); }
.stat-icon {
    width: 30px; height: 30px;
    margin: 0 auto 10px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 9px;
    background: rgba(255, 60, 60, 0.1);
    border: 1px solid rgba(255, 60, 60, 0.2);
    color: var(--primary);
    transition: all .3s;
}
.stat-icon svg { width: 15px; height: 15px; stroke-width: 2; }
.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px; font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1; margin-bottom: 6px;
    letter-spacing: -1px;
}
.stat-label { font-size: 11.5px; color: var(--text-dim); font-weight: 500; }

/* SECTION */
.section { padding: 100px 0; position: relative; }
.section-head {
    text-align: center;
    margin-bottom: 60px;
    max-width: 780px;
    margin-left: auto; margin-right: auto;
}
.section-tag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 16px;
    background: rgba(255, 60, 60, 0.08);
    border: 1px solid rgba(255, 60, 60, 0.25);
    border-radius: 100px;
    font-size: 12px; font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}
.section-tag svg { width: 13px; height: 13px; stroke-width: 2.2; }
.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 700;
    letter-spacing: -1.4px;
    margin-bottom: 16px;
    line-height: 1.15;
}
.section-desc { color: var(--text-dim); font-size: 16px; line-height: 1.7; }

/* ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.about-card {
    position: relative;
    padding: 34px 28px 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, var(--card) 40%);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1),
                border-color .4s ease,
                box-shadow .5s ease;
    overflow: hidden;
    isolation: isolate;
}
.about-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
    z-index: 2;
}
.about-card:hover::before { transform: scaleX(1); }
.about-card::after {
    content: '';
    position: absolute;
    top: -50%; right: -30%;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(255, 60, 60, 0.22), transparent 65%);
    opacity: 0;
    transition: opacity .6s ease;
    pointer-events: none;
    filter: blur(20px);
    z-index: 0;
}
.about-card:hover::after { opacity: 1; }
.about-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 24px 60px rgba(255, 60, 60, 0.18), 0 0 0 1px rgba(255, 60, 60, 0.15) inset;
}
.about-card > * { position: relative; z-index: 1; }
.about-icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 60, 60, 0.18), rgba(255, 107, 26, 0.1));
    border: 1px solid rgba(255, 60, 60, 0.28);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
    transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), box-shadow .4s ease;
}
.about-card:hover .about-icon {
    transform: scale(1.1) rotate(-6deg);
    box-shadow: 0 12px 28px var(--primary-glow);
}
.about-icon svg { width: 26px; height: 26px; stroke-width: 1.8; }
.about-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px; font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
    transition: color .3s ease;
}
.about-card:hover h3 {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.about-card p { color: var(--text-dim); font-size: 14px; line-height: 1.65; }

/* STEPS */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}
.step-card {
    position: relative;
    padding: 36px 26px 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, var(--card) 40%);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1),
                border-color .4s ease,
                box-shadow .5s ease;
    overflow: hidden;
}
.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 24px 60px rgba(255, 60, 60, 0.18);
}
.step-number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--gradient);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px; font-weight: 700;
    margin-bottom: 22px;
    box-shadow: 0 10px 26px var(--primary-glow);
    transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.step-card:hover .step-number { transform: scale(1.1) rotate(-8deg); }
.step-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px; font-weight: 600;
    margin-bottom: 10px;
}
.step-card p { color: var(--text-dim); font-size: 14px; line-height: 1.65; }
.step-arrow {
    position: absolute;
    top: 50%; right: -18px;
    width: 36px; height: 36px;
    transform: translateY(-50%);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    opacity: 0.5;
    z-index: 3;
    transition: opacity .3s ease, transform .3s ease;
}
.step-card:hover .step-arrow { opacity: 1; transform: translateY(-50%) translateX(6px); }
.step-arrow svg { width: 20px; height: 20px; stroke-width: 2.5; stroke: currentColor; fill: none; }

/* TEAM */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.team-card {
    position: relative;
    padding: 32px 22px 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, var(--card) 40%);
    border: 1px solid var(--border);
    border-radius: 20px;
    text-align: center;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1),
                border-color .4s ease,
                box-shadow .5s ease;
    overflow: hidden;
}
.team-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
    z-index: 2;
}
.team-card:hover::before { transform: scaleX(1); }
.team-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 24px 60px rgba(255, 60, 60, 0.2);
}
.team-avatar {
    width: 88px; height: 88px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px; font-weight: 700;
    color: #fff;
    background: var(--gradient);
    box-shadow: 0 14px 34px var(--primary-glow);
    transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.team-card:hover .team-avatar { transform: scale(1.08) translateY(-4px); }
.team-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px; font-weight: 600;
    margin-bottom: 6px;
}
.team-role {
    color: var(--primary);
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
    margin-bottom: 14px;
}
.team-desc { color: var(--text-dim); font-size: 13px; line-height: 1.6; margin-bottom: 18px; }
.team-stats {
    display: flex; justify-content: center; gap: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.team-stat-mini { text-align: center; }
.team-stat-mini b {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px; font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2px;
}
.team-stat-mini span {
    font-size: 10.5px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* PRICING */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px;
    align-items: start;
}
.price-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 36px 28px;
    position: relative;
    transition: all .4s cubic-bezier(.22, 1, .36, 1);
    overflow: hidden;
}
.price-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 28px 60px rgba(255, 60, 60, 0.16);
}
.price-card.featured {
    background: linear-gradient(180deg, rgba(255, 60, 60, 0.06) 0%, var(--card) 40%);
    box-shadow: 0 24px 60px rgba(255, 60, 60, 0.25);
}
.price-card.featured::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: 22px;
    padding: 1.5px;
    background: var(--gradient);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.featured-badge {
    position: absolute;
    top: -1px; right: 22px;
    background: var(--gradient);
    color: #fff;
    padding: 6px 14px;
    border-radius: 0 0 11px 11px;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}
.price-head h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 21px; font-weight: 600;
    margin-bottom: 12px;
}
.price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 38px; font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
    line-height: 1;
    letter-spacing: -1.4px;
}
.price span { font-size: 14px; font-weight: 500; -webkit-text-fill-color: var(--text-dim); }
.price-head > p { color: var(--text-dim); font-size: 13.5px; margin-bottom: 24px; }
.price-list { list-style: none; margin-bottom: 28px; }
.price-list li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-dim);
    display: flex; align-items: center; gap: 11px;
    border-bottom: 1px solid var(--border);
}
.price-list li:last-child { border-bottom: none; }
.price-list .check,
.price-list .cross {
    width: 19px; height: 19px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px;
}
.price-list .check { background: rgba(255, 60, 60, 0.12); color: var(--primary); }
.price-list .cross { background: rgba(255, 255, 255, 0.04); color: var(--text-dim); }
.price-list .check svg,
.price-list .cross svg { width: 11px; height: 11px; stroke-width: 3; }

/* CALCULATOR */
.calc-wrap {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 44px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(255, 60, 60, 0.12);
}
.calc-wrap::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient);
}
.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.calc-controls label {
    display: block;
    font-size: 13px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
    margin-bottom: 12px;
}
.calc-value-display {
    font-family: 'JetBrains Mono', monospace;
    font-size: 28px; font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}
.calc-value-display .rub { color: var(--text-dim); font-size: 16px; margin-left: 6px; }
.calc-slider {
    width: 100%; height: 6px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.06);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    margin-bottom: 34px;
    cursor: pointer;
}
.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--gradient);
    cursor: pointer;
    box-shadow: 0 4px 15px var(--primary-glow), 0 0 0 4px rgba(255, 60, 60, 0.15);
    transition: transform .2s;
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc-slider::-moz-range-thumb {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--gradient);
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px var(--primary-glow);
}
.calc-result {
    background: linear-gradient(135deg, rgba(255, 60, 60, 0.08), rgba(255, 107, 26, 0.04));
    border: 1px solid rgba(255, 60, 60, 0.25);
    border-radius: 20px;
    padding: 30px 26px;
}
.calc-result-label {
    font-size: 12px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 10px;
}
.calc-result-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 42px; font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}
.calc-result-note {
    font-size: 12.5px;
    color: var(--text-dim);
    line-height: 1.6;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 60, 60, 0.15);
}
.calc-result-note b { color: var(--primary); }
.calc-disclaimer {
    margin-top: 22px;
    font-size: 11.5px;
    color: var(--text-dim);
    text-align: center;
    opacity: 0.7;
}

/* TELEGRAM */
.tg-section { padding: 20px 0 100px; }
.tg-banner {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    padding: 70px 50px;
    background: linear-gradient(135deg, #1a0505 0%, #2d0808 40%, #0a0e1a 100%);
    border: 1px solid rgba(255, 60, 60, 0.25);
    box-shadow: 0 30px 90px rgba(255, 60, 60, 0.22);
}
.tg-banner::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 60, 60, 0.25), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 26, 0.2), transparent 40%);
    animation: tg-glow 14s ease-in-out infinite;
    pointer-events: none;
}
@keyframes tg-glow {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.08); }
}
.tg-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 44px;
    align-items: center;
}
.tg-icon-wrap {
    position: relative;
    width: 130px; height: 130px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.tg-icon-ring {
    position: absolute; inset: 0;
    border-radius: 50%;
    border: 2px dashed rgba(255, 60, 60, 0.4);
    animation: rotate-slow 20s linear infinite;
}
.tg-icon-ring-2 {
    position: absolute; inset: 14px;
    border-radius: 50%;
    border: 1px solid rgba(255, 107, 26, 0.3);
    animation: rotate-slow 15s linear infinite reverse;
}
.tg-icon {
    position: relative;
    width: 84px; height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, #229ED9 0%, #0088cc 100%);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 18px 45px rgba(34, 158, 217, 0.5);
    animation: tg-pulse 3s ease-in-out infinite;
    z-index: 1;
}
@keyframes tg-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.tg-icon svg { width: 44px; height: 44px; fill: #fff; margin-left: -3px; margin-top: 3px; }
.tg-label {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px;
    background: rgba(34, 158, 217, 0.15);
    border: 1px solid rgba(34, 158, 217, 0.4);
    border-radius: 100px;
    font-size: 11.5px; font-weight: 700;
    color: #4db8f0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}
.tg-label::before {
    content: '';
    width: 6px; height: 6px;
    background: #4db8f0;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px #4db8f0;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.tg-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(26px, 3.4vw, 42px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.4px;
    margin-bottom: 14px;
}
.tg-title .tg-gradient {
    background: linear-gradient(135deg, #4db8f0 0%, #229ED9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.tg-desc {
    font-size: 15.5px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 560px;
}
.tg-features { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.tg-feature {
    display: flex; align-items: center; gap: 9px;
    font-size: 13.5px;
    color: var(--text);
    font-weight: 500;
}
.tg-feature svg {
    width: 17px; height: 17px;
    stroke: #4db8f0;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}
.tg-button {
    display: inline-flex; align-items: center; gap: 11px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #229ED9 0%, #0088cc 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 13px;
    font-size: 15.5px; font-weight: 700;
    box-shadow: 0 14px 36px rgba(34, 158, 217, 0.4);
    transition: all .35s;
}
.tg-button:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(34, 158, 217, 0.6); }
.tg-button svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }
.tg-button .arrow {
    width: 17px; height: 17px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .3s;
}
.tg-button:hover .arrow { transform: translateX(4px); }

/* SIGNALS */
.signals-wrap {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(255, 60, 60, 0.08);
}
.signals-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 28px;
    background: rgba(255, 60, 60, 0.04);
    border-bottom: 1px solid var(--border);
    gap: 16px; flex-wrap: wrap;
}
.signals-head-left {
    display: flex; align-items: center; gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600; font-size: 16px;
}
.signals-live-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px var(--green);
    animation: live-pulse 1.5s infinite;
}
@keyframes live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.signals-head-right { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-dim); }
.signals-table { width: 100%; border-collapse: collapse; }
.signals-table th {
    text-align: left;
    padding: 14px 20px;
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.15);
}
.signals-table td {
    padding: 16px 20px;
    font-size: 13.5px;
    border-bottom: 1px solid var(--border);
    font-family: 'JetBrains Mono', monospace;
    color: var(--text);
}
.signals-table tr:last-child td { border-bottom: none; }
.sig-pair { font-weight: 700; color: var(--text); }
.sig-dir {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 11px;
    border-radius: 7px;
    font-size: 11.5px; font-weight: 700;
    text-transform: uppercase;
}
.sig-dir.buy { color: var(--green); background: rgba(0, 255, 136, 0.12); }
.sig-dir.sell { color: #ff5252; background: rgba(255, 82, 82, 0.12); }
.sig-profit { color: var(--green); font-weight: 700; }
.sig-loss { color: #ff5252; font-weight: 700; }
.sig-time { color: var(--text-dim); font-size: 12px; }

/* RESULTS */
.live-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 50px;
}
.live-stat {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px 20px;
    position: relative;
    overflow: hidden;
    transition: all .35s;
}
.live-stat::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: var(--gradient);
}
.live-stat:hover { transform: translateY(-4px); border-color: var(--border-hover); }
.live-stat-label {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex; align-items: center; gap: 8px;
}
.live-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: live-pulse 1.5s infinite;
    flex-shrink: 0;
}
.live-stat-value { font-family: 'JetBrains Mono', monospace; font-size: 24px; font-weight: 700; color: var(--text); }
.live-stat-value .up { color: var(--green); font-size: 13px; margin-left: 8px; }

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.result-card {
    text-align: center;
    padding: 36px 22px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: all .4s cubic-bezier(.22, 1, .36, 1);
}
.result-card:hover { transform: translateY(-5px); border-color: var(--border-hover); box-shadow: 0 20px 50px rgba(255, 60, 60, 0.15); }
.result-icon {
    width: 42px; height: 42px;
    margin: 0 auto 16px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(255, 60, 60, 0.15), rgba(255, 107, 26, 0.1));
    border: 1px solid rgba(255, 60, 60, 0.25);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.result-card:hover .result-icon { transform: scale(1.1) rotate(-5deg); }
.result-icon svg { width: 20px; height: 20px; stroke-width: 2; }
.result-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 38px; font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    line-height: 1;
    letter-spacing: -1.3px;
}
.result-label { color: var(--text-dim); font-size: 13px; line-height: 1.5; }

/* REVIEWS */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 20px;
}
.review-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 24px;
    transition: all .4s cubic-bezier(.22, 1, .36, 1);
    position: relative;
    overflow: hidden;
}
.review-card::before {
    content: '"';
    position: absolute;
    top: -28px; right: 16px;
    font-size: 160px;
    font-family: 'Space Grotesk', serif;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.08;
    line-height: 1;
    font-weight: 700;
}
.review-card:hover { transform: translateY(-5px); border-color: var(--border-hover); box-shadow: 0 20px 50px rgba(255, 60, 60, 0.15); }
.stars { display: flex; gap: 3px; margin-bottom: 16px; }
.stars svg { width: 15px; height: 15px; fill: #ff6b1a; stroke: #ff6b1a; stroke-width: 1.5; }
.review-text { color: var(--text); font-size: 14.5px; margin-bottom: 22px; line-height: 1.7; }
.review-author { display: flex; align-items: center; gap: 12px; }
.avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: 14.5px; }
.author-role { color: var(--text-dim); font-size: 12.5px; }

/* PARTNERS */
.ref-block {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1080px;
    margin: 0 auto;
}
.ref-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 700;
    letter-spacing: -1.2px;
    line-height: 1.2;
    margin-bottom: 18px;
}
.ref-content > p { color: var(--text-dim); font-size: 15.5px; line-height: 1.7; margin-bottom: 28px; }
.ref-list { list-style: none; margin-bottom: 30px; }
.ref-list li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; font-size: 14.5px; }
.ref-list .check-mini {
    width: 22px; height: 22px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255, 60, 60, 0.12);
    color: var(--primary);
    margin-top: 2px;
}
.ref-list .check-mini svg { width: 12px; height: 12px; stroke-width: 3; }
.ref-visual {
    padding: 40px 32px;
    background: linear-gradient(135deg, rgba(255, 60, 60, 0.08), rgba(255, 107, 26, 0.03));
    border: 1px solid rgba(255, 60, 60, 0.25);
    border-radius: 24px;
}
.ref-percent {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 76px; font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 8px;
}
.ref-percent-label { font-size: 14px; color: var(--text); font-weight: 600; margin-bottom: 28px; }
.ref-percent-desc {
    color: var(--text-dim);
    font-size: 13.5px;
    line-height: 1.65;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 60, 60, 0.15);
}
.ref-percent-desc b { color: var(--primary); }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 11px;
    overflow: hidden;
    transition: all .35s;
}
.faq-item:hover { border-color: rgba(255, 60, 60, 0.25); }
.faq-item.active { border-color: var(--border-hover); background: #141b2e; }
.faq-question {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600; font-size: 15px;
    user-select: none;
}
.faq-item.active .faq-question { color: var(--primary); }
.faq-icon {
    width: 26px; height: 26px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    background: rgba(255, 60, 60, 0.1);
    color: var(--primary);
    transition: all .35s;
}
.faq-icon svg { width: 13px; height: 13px; stroke-width: 2.5; transition: transform .35s; }
.faq-item.active .faq-icon { background: var(--gradient); color: #fff; }
.faq-item.active .faq-icon svg { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .4s ease;
    padding: 0 24px;
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.7;
}
.faq-item.active .faq-answer { max-height: 400px; padding: 0 24px 20px; }

/* FINAL CTA */
.final-cta { padding: 20px 0 100px; }
.final-cta-inner {
    position: relative;
    border-radius: 30px;
    padding: 70px 40px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a0505 0%, #2d0808 50%, #0a0e1a 100%);
    border: 1px solid rgba(255, 60, 60, 0.3);
    box-shadow: 0 30px 90px rgba(255, 60, 60, 0.22);
}
.final-cta-content { position: relative; z-index: 1; }
.final-cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 18px;
}
.final-cta-desc { color: var(--text-dim); font-size: 16px; max-width: 560px; margin: 0 auto 34px; line-height: 1.7; }
.final-cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 56px 0 0; }
.footer-content {
    display: flex; justify-content: space-between; align-items: flex-start;
    flex-wrap: wrap; gap: 28px;
    padding-bottom: 40px;
}
.footer-brand { max-width: 300px; }
.footer-brand p { color: var(--text-dim); font-size: 13.5px; margin-top: 12px; line-height: 1.6; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    transition: color .3s;
    font-weight: 500;
}
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; }
.footer-bottom .container {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px;
    font-size: 12.5px;
    color: var(--text-dim);
}
.disclaimer { max-width: 540px; font-size: 11.5px; text-align: right; opacity: 0.75; }

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s cubic-bezier(.22, 1, .36, 1),
                transform .8s cubic-bezier(.22, 1, .36, 1);
    will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ==================== МОДАЛЬНОЕ ОКНО (PRO) ==================== */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(5, 7, 15, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
    overflow-y: auto;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
    position: relative;
    background: linear-gradient(180deg, #131a2c 0%, var(--card) 100%);
    border: 1px solid rgba(255, 60, 60, 0.25);
    border-radius: 28px;
    padding: 44px 40px 36px;
    max-width: 560px;
    width: 100%;
    box-shadow: 0 40px 120px rgba(255, 60, 60, 0.35), 0 0 0 1px rgba(255, 60, 60, 0.1) inset;
    transform: scale(0.92) translateY(30px);
    transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    margin: auto;
    overflow-x: hidden;
}
.modal-overlay.active .modal { transform: scale(1) translateY(0); }
.modal::-webkit-scrollbar { width: 6px; }
.modal::-webkit-scrollbar-track { background: transparent; }
.modal::-webkit-scrollbar-thumb { background: rgba(255, 60, 60, 0.3); border-radius: 3px; }

.modal::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient);
    border-radius: 28px 28px 0 0;
    box-shadow: 0 0 20px rgba(255, 60, 60, 0.7);
}
.modal-glow {
    position: absolute;
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255, 60, 60, 0.25), transparent 65%);
    filter: blur(40px);
    pointer-events: none;
    animation: modal-glow 6s ease-in-out infinite;
}
@keyframes modal-glow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}
.modal-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 60, 60, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 60, 60, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at top right, black 10%, transparent 60%);
    -webkit-mask-image: radial-gradient(ellipse at top right, black 10%, transparent 60%);
    pointer-events: none;
    border-radius: 28px;
}
.modal-close {
    position: absolute;
    top: 18px; right: 18px;
    width: 38px; height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-dim);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .3s;
    z-index: 2;
}
.modal-close:hover {
    background: rgba(255, 60, 60, 0.15);
    color: var(--primary);
    border-color: var(--border-hover);
    transform: rotate(90deg);
}
.modal-close svg { width: 16px; height: 16px; }

.modal-head { text-align: center; margin-bottom: 30px; position: relative; z-index: 1; }
.modal-icon {
    position: relative;
    width: 72px; height: 72px;
    margin: 0 auto 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 60, 60, 0.2), rgba(255, 107, 26, 0.1));
    border: 1px solid rgba(255, 60, 60, 0.35);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    box-shadow: 0 12px 32px rgba(255, 60, 60, 0.25);
    animation: modal-icon-pulse 3s ease-in-out infinite;
}
@keyframes modal-icon-pulse {
    0%, 100% { box-shadow: 0 12px 32px rgba(255, 60, 60, 0.25); transform: scale(1); }
    50% { box-shadow: 0 16px 45px rgba(255, 60, 60, 0.45); transform: scale(1.03); }
}
.modal-icon svg { width: 32px; height: 32px; position: relative; z-index: 1; }
.modal-icon-ring {
    position: absolute;
    inset: -8px;
    border-radius: 26px;
    border: 1px dashed rgba(255, 60, 60, 0.3);
    animation: rotate-slow 20s linear infinite;
}

.modal-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px; font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 10px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.modal-subtitle { color: var(--text-dim); font-size: 14px; line-height: 1.6; }
.modal-subtitle b { color: var(--primary); font-weight: 600; }

.modal-form {
    display: flex; flex-direction: column; gap: 16px;
    position: relative; z-index: 1;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
    display: flex; align-items: center; gap: 7px;
    font-size: 12.5px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: color .3s;
}
.form-group:focus-within label { color: var(--primary); }
.label-icon { width: 14px; height: 14px; stroke-width: 2.2; flex-shrink: 0; }
.optional {
    font-size: 10.5px;
    color: var(--text-dim);
    text-transform: none;
    letter-spacing: 0.3px;
    opacity: 0.7;
    font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border);
    border-radius: 13px;
    color: var(--text);
    font-family: inherit;
    font-size: 14.5px;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 60, 60, 0.05);
    box-shadow: 0 0 0 4px rgba(255, 60, 60, 0.1);
    transform: translateY(-1px);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); opacity: 0.7; }
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238892b0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}
.form-group select option { background: var(--card); color: var(--text); padding: 10px; }
.form-group textarea { resize: vertical; min-height: 80px; font-family: inherit; }

.form-group.error input,
.form-group.error textarea {
    border-color: #ff5252;
    box-shadow: 0 0 0 3px rgba(255, 82, 82, 0.15);
    animation: shake .4s cubic-bezier(.36, .07, .19, .97);
}
@keyframes shake {
    10%, 90% { transform: translateX(-1px); }
    20%, 80% { transform: translateX(2px); }
    30%, 50%, 70% { transform: translateX(-3px); }
    40%, 60% { transform: translateX(3px); }
}
.form-error {
    font-size: 12px;
    color: #ff5252;
    min-height: 0;
    transition: min-height .2s;
    display: flex; align-items: center; gap: 5px;
}
.form-error:not(:empty) { min-height: 16px; }
.form-error:not(:empty)::before { content: '⚠'; font-size: 13px; }

.form-checkbox {
    display: flex; align-items: flex-start; gap: 11px;
    font-size: 12.5px;
    color: var(--text-dim);
    cursor: pointer;
    line-height: 1.5;
    user-select: none;
    padding: 4px 0;
}
.form-checkbox input { display: none; }
.checkbox-box {
    width: 20px; height: 20px;
    flex-shrink: 0;
    border-radius: 6px;
    border: 1.5px solid var(--border);
    background: rgba(0, 0, 0, 0.3);
    display: flex; align-items: center; justify-content: center;
    transition: all .25s;
    margin-top: 1px;
}
.checkbox-box svg {
    width: 12px; height: 12px;
    color: #fff;
    opacity: 0;
    transform: scale(0.5);
    transition: all .25s cubic-bezier(.34, 1.56, .64, 1);
}
.form-checkbox input:checked ~ .checkbox-box {
    background: var(--gradient);
    border-color: transparent;
    box-shadow: 0 4px 12px var(--primary-glow);
}
.form-checkbox input:checked ~ .checkbox-box svg { opacity: 1; transform: scale(1); }
.checkbox-text a { color: var(--primary); text-decoration: none; font-weight: 600; }
.checkbox-text a:hover { text-decoration: underline; }

.modal-form .btn-primary { margin-top: 8px; padding: 17px 30px; font-size: 15.5px; }

.modal-footer-note {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 11.5px;
    color: var(--text-dim);
    opacity: 0.75;
    margin-top: 4px;
    text-align: center;
}
.modal-footer-note svg {
    width: 13px; height: 13px;
    stroke-width: 2;
    color: var(--green);
    flex-shrink: 0;
}

.modal-success {
    text-align: center;
    padding: 20px 0 10px;
    display: none;
    position: relative; z-index: 1;
}
.modal-success.active { display: block; }
.success-animation { margin-bottom: 26px; }
.success-icon-wrap {
    position: relative;
    width: 100px; height: 100px;
    margin: 0 auto;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(0, 255, 136, 0.05));
    border: 2px solid rgba(0, 255, 136, 0.4);
    color: var(--green);
    animation: success-pop .6s cubic-bezier(.34, 1.56, .64, 1);
    box-shadow: 0 20px 50px rgba(0, 255, 136, 0.25);
}
@keyframes success-pop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}
.success-icon-wrap svg {
    width: 46px; height: 46px;
    stroke-width: 3;
    position: relative; z-index: 1;
    animation: check-draw .8s ease .3s both;
}
@keyframes check-draw {
    from { stroke-dasharray: 50; stroke-dashoffset: 50; }
    to { stroke-dasharray: 50; stroke-dashoffset: 0; }
}
.success-ring {
    position: absolute; inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 136, 0.5);
    opacity: 0;
    animation: success-ring-anim 2s ease-out infinite;
}
.success-ring-2 { animation-delay: 1s; }
@keyframes success-ring-anim {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}
.success-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px; font-weight: 700;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #00ff88, #00cc66);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.success-text {
    color: var(--text-dim);
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 28px;
}
.success-text b { color: var(--primary); font-weight: 600; }
.success-actions { display: flex; flex-direction: column; gap: 10px; }

/* ==================== ИИ-АГЕНТ (PRO) ==================== */
.ai-toggle {
    position: fixed;
    bottom: 26px; right: 26px;
    width: 66px; height: 66px;
    border-radius: 50%;
    background: var(--gradient);
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 14px 44px var(--primary-glow), 0 0 0 0 rgba(255, 60, 60, 0.5);
    z-index: 9998;
    transition: all .35s cubic-bezier(.34, 1.56, .64, 1);
    animation: ai-pulse 2.5s ease-in-out infinite;
}
@keyframes ai-pulse {
    0% { box-shadow: 0 14px 44px var(--primary-glow), 0 0 0 0 rgba(255, 60, 60, 0.5); }
    70% { box-shadow: 0 14px 44px var(--primary-glow), 0 0 0 20px rgba(255, 60, 60, 0); }
    100% { box-shadow: 0 14px 44px var(--primary-glow), 0 0 0 0 rgba(255, 60, 60, 0); }
}
.ai-toggle:hover { transform: scale(1.1) rotate(5deg); }
.ai-toggle.active { animation: none; transform: scale(1); }

.ai-toggle-icon {
    position: absolute;
    width: 30px; height: 30px;
    color: #fff;
    transition: all .35s cubic-bezier(.34, 1.56, .64, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}
.ai-icon-close { opacity: 0; transform: rotate(-90deg) scale(0.5); }
.ai-toggle.active .ai-icon-bot { opacity: 0; transform: rotate(90deg) scale(0.5); }
.ai-toggle.active .ai-icon-close { opacity: 1; transform: rotate(0) scale(1); }

.ai-toggle-pulse {
    position: absolute;
    top: 6px; right: 6px;
    width: 14px; height: 14px;
    background: var(--green);
    border-radius: 50%;
    border: 2.5px solid #05070f;
    box-shadow: 0 0 10px var(--green);
    animation: pulse 1.5s infinite;
}
.ai-toggle-badge {
    position: absolute;
    top: -6px; left: -6px;
    padding: 3px 8px;
    background: linear-gradient(135deg, #00ff88, #00cc66);
    color: #05070f;
    font-size: 9px; font-weight: 900;
    border-radius: 100px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.5);
    animation: badge-bounce 2s ease-in-out infinite;
}
@keyframes badge-bounce {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-3px) rotate(-5deg); }
}

.ai-chat {
    position: fixed;
    bottom: 106px; right: 26px;
    width: 400px;
    max-width: calc(100vw - 32px);
    height: 620px;
    max-height: calc(100vh - 140px);
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 60, 60, 0.15);
    z-index: 9997;
    display: flex; flex-direction: column;
    overflow: hidden;
    opacity: 0; visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
    transform-origin: bottom right;
}
.ai-chat.active { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.ai-chat-header {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(255, 60, 60, 0.12), rgba(255, 107, 26, 0.05));
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.ai-chat-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient);
}
.ai-chat-avatar {
    position: relative;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 6px 18px var(--primary-glow);
}
.ai-chat-avatar svg { width: 22px; height: 22px; }
.ai-avatar-online {
    position: absolute;
    bottom: 0; right: 0;
    width: 12px; height: 12px;
    background: var(--green);
    border-radius: 50%;
    border: 2px solid var(--bg-2);
    box-shadow: 0 0 8px var(--green);
    animation: pulse 2s infinite;
}

.ai-chat-info { flex: 1; min-width: 0; }
.ai-chat-name {
    display: flex; align-items: center; gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px; font-weight: 600;
    color: var(--text);
}
.ai-chat-badge {
    padding: 2px 8px;
    background: rgba(0, 255, 136, 0.15);
    color: var(--green);
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 100px;
    border: 1px solid rgba(0, 255, 136, 0.3);
}
.ai-chat-status {
    display: flex; align-items: center; gap: 6px;
    font-size: 11.5px;
    color: var(--text-dim);
    margin-top: 3px;
}
.ai-status-dot {
    width: 6px; height: 6px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--green);
    animation: pulse 2s infinite;
}
.ai-chat-minimize {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-dim);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.ai-chat-minimize:hover { background: rgba(255, 60, 60, 0.15); color: var(--primary); }
.ai-chat-minimize svg { width: 14px; height: 14px; }

.ai-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    display: flex; flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}
.ai-chat-body::-webkit-scrollbar { width: 5px; }
.ai-chat-body::-webkit-scrollbar-track { background: transparent; }
.ai-chat-body::-webkit-scrollbar-thumb { background: rgba(255, 60, 60, 0.3); border-radius: 3px; }
.ai-chat-body::-webkit-scrollbar-thumb:hover { background: rgba(255, 60, 60, 0.5); }

.ai-message {
    display: flex; gap: 9px;
    max-width: 88%;
    animation: ai-msg-in .4s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes ai-msg-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.ai-message.bot { align-self: flex-start; }
.ai-message.user { align-self: flex-end; flex-direction: row-reverse; }
.ai-msg-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700;
}
.ai-message.bot .ai-msg-avatar { background: var(--gradient); color: #fff; }
.ai-message.bot .ai-msg-avatar svg { width: 17px; height: 17px; }
.ai-message.user .ai-msg-avatar {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-dim);
    font-size: 10.5px;
    border: 1px solid var(--border);
}
.ai-msg-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 13.8px;
    line-height: 1.55;
    word-wrap: break-word;
}
.ai-message.bot .ai-msg-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
    color: var(--text);
}
.ai-message.user .ai-msg-bubble {
    background: var(--gradient);
    color: #fff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 15px rgba(255, 60, 60, 0.3);
}
.ai-msg-bubble a { color: #4db8f0; text-decoration: none; font-weight: 600; }
.ai-msg-bubble a:hover { text-decoration: underline; }
.ai-msg-bubble b { color: var(--primary); }
.ai-message.user .ai-msg-bubble b { color: #fff; }

.ai-typing {
    display: flex; gap: 4px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    width: fit-content;
}
.ai-typing span {
    width: 7px; height: 7px;
    background: var(--text-dim);
    border-radius: 50%;
    animation: typing-dot 1.4s infinite;
}
.ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-dot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-6px); opacity: 1; }
}

.ai-quick-actions {
    display: flex; flex-wrap: wrap;
    gap: 7px;
    padding: 0 18px 12px;
}
.ai-quick-btn {
    padding: 8px 14px;
    background: rgba(255, 60, 60, 0.08);
    border: 1px solid rgba(255, 60, 60, 0.25);
    border-radius: 100px;
    color: var(--primary);
    font-size: 12px; font-weight: 500;
    cursor: pointer;
    transition: all .25s;
    font-family: inherit;
}
.ai-quick-btn:hover {
    background: rgba(255, 60, 60, 0.18);
    transform: translateY(-1px);
    border-color: rgba(255, 60, 60, 0.5);
}

.ai-chat-input-wrap {
    display: flex; gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
}
.ai-input-wrap {
    position: relative;
    flex: 1;
    display: flex; align-items: center;
}
.ai-input-icon {
    position: absolute;
    left: 14px;
    width: 15px; height: 15px;
    color: var(--text-dim);
    pointer-events: none;
    stroke-width: 2;
}
.ai-chat-input {
    width: 100%;
    padding: 11px 16px 11px 38px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text);
    font-family: inherit;
    font-size: 13.5px;
    outline: none;
    transition: all .25s;
}
.ai-chat-input:focus {
    border-color: var(--primary);
    background: rgba(255, 60, 60, 0.04);
    box-shadow: 0 0 0 3px rgba(255, 60, 60, 0.1);
}
.ai-chat-input::placeholder { color: var(--text-dim); }

.ai-chat-send {
    width: 42px; height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--gradient);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .25s;
    box-shadow: 0 4px 15px var(--primary-glow);
}
.ai-chat-send:hover { transform: scale(1.08) rotate(15deg); box-shadow: 0 8px 25px var(--primary-glow); }
.ai-chat-send:active { transform: scale(0.95); }
.ai-chat-send svg { width: 17px; height: 17px; }
/* =========================================================
   ИИ-АГЕНТ: БОГАТЫЕ ОТВЕТЫ (CARDS, BADGES, STATS, STEPS)
   ========================================================= */

/* Карточка-заголовок */
.ai-card {
    display: flex;
    gap: 12px;
    padding: 14px 14px;
    background: linear-gradient(135deg, rgba(255, 60, 60, 0.12), rgba(255, 107, 26, 0.06));
    border: 1px solid rgba(255, 60, 60, 0.3);
    border-radius: 14px;
    margin-bottom: 12px;
}
.ai-card-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 11px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 6px 16px var(--primary-glow);
}
.ai-card-icon svg { width: 20px; height: 20px; }
.ai-card-body { flex: 1; min-width: 0; }
.ai-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}
.ai-card-text {
    font-size: 12.5px;
    color: var(--text-dim);
    line-height: 1.5;
}

/* Бейджи */
.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    margin: 3px 4px 3px 0;
    letter-spacing: 0.2px;
    border: 1px solid transparent;
}
.ai-badge-green {
    background: rgba(0, 255, 136, 0.12);
    color: var(--green);
    border-color: rgba(0, 255, 136, 0.3);
}
.ai-badge-blue {
    background: rgba(34, 158, 217, 0.12);
    color: #4db8f0;
    border-color: rgba(34, 158, 217, 0.3);
}
.ai-badge-orange {
    background: rgba(255, 107, 26, 0.12);
    color: var(--primary-2);
    border-color: rgba(255, 107, 26, 0.3);
}

/* Список с иконками */
.ai-bullets {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
}
.ai-bullet {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text);
}
.ai-bullet-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255, 60, 60, 0.12);
    color: var(--primary);
    margin-top: 1px;
}
.ai-bullet-icon svg { width: 11px; height: 11px; }
.ai-bullet b { color: var(--primary); }

/* Сетка мини-статистики */
.ai-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 12px 0;
}
.ai-mini-stat {
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-align: center;
}
.ai-mini-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.4px;
}
.ai-mini-label {
    font-size: 9.5px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.3;
    font-weight: 500;
}

/* Тарифные карточки */
.ai-price {
    position: relative;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin: 8px 0;
    transition: all .3s;
}
.ai-price.featured {
    background: linear-gradient(135deg, rgba(255, 60, 60, 0.1), rgba(255, 107, 26, 0.04));
    border-color: rgba(255, 60, 60, 0.4);
    box-shadow: 0 8px 22px rgba(255, 60, 60, 0.15);
}
.ai-price-fire {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 16px;
    filter: drop-shadow(0 2px 6px rgba(255, 107, 26, 0.6));
    animation: fire-bounce 1.5s ease-in-out infinite;
}
@keyframes fire-bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-3px) scale(1.1); }
}
.ai-price-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}
.ai-price-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}
.ai-price-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}
.ai-price-features {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.ai-price-features .ai-bullet {
    font-size: 12px;
    gap: 7px;
}
.ai-price-features .ai-bullet-icon {
    width: 15px;
    height: 15px;
}
.ai-price-features .ai-bullet-icon svg { width: 9px; height: 9px; }

/* Большая надпись 30% */
.ai-percent-big {
    padding: 18px;
    background: linear-gradient(135deg, rgba(255, 60, 60, 0.15), rgba(255, 107, 26, 0.08));
    border: 1px solid rgba(255, 60, 60, 0.35);
    border-radius: 14px;
    text-align: center;
    margin: 12px 0;
}
.ai-percent-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 42px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 4px;
    filter: drop-shadow(0 4px 20px rgba(255, 60, 60, 0.5));
}
.ai-percent-label {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}

/* Сравнение (минимум vs рекомендуем) */
.ai-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 12px 0;
}
.ai-compare-item {
    padding: 12px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
}
.ai-compare-item.featured {
    background: linear-gradient(135deg, rgba(255, 60, 60, 0.15), rgba(255, 107, 26, 0.06));
    border-color: rgba(255, 60, 60, 0.4);
    box-shadow: 0 6px 20px rgba(255, 60, 60, 0.2);
}
.ai-compare-label {
    font-size: 9.5px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 6px;
}
.ai-compare-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.8px;
    margin-bottom: 4px;
}
.ai-compare-item.featured .ai-compare-value {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ai-compare-desc {
    font-size: 10.5px;
    color: var(--text-dim);
    line-height: 1.3;
}

/* Warning блок */
.ai-warning {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--text);
    margin: 12px 0;
}
.ai-warning svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #ffc107;
    margin-top: 2px;
}
.ai-warning b { color: #ffc107; }

/* Цитата */
.ai-quote {
    padding: 12px 16px;
    border-left: 3px solid var(--primary);
    background: rgba(255, 60, 60, 0.05);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text);
    margin: 12px 0;
}

/* Приветствие */
.ai-hello {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
    margin-bottom: 10px;
}
.ai-hello-emoji {
    font-size: 34px;
    animation: hello-wave 2s ease-in-out infinite;
    display: inline-block;
    transform-origin: 70% 70%;
}
@keyframes hello-wave {
    0%, 60%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
}
.ai-hello-text {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text);
}
.ai-hello-text b { color: var(--primary); }

/* Спасибо */
.ai-thanks {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    margin-bottom: 8px;
}
.ai-thanks-emoji {
    font-size: 32px;
    animation: thanks-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes thanks-pop {
    0% { transform: scale(0); }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
.ai-thanks-text {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text);
}

/* Big Telegram кнопка */
.ai-tg-big {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(34, 158, 217, 0.15), rgba(34, 158, 217, 0.05));
    border: 1px solid rgba(34, 158, 217, 0.4);
    border-radius: 14px;
    margin: 12px 0;
    text-decoration: none;
    color: inherit;
    transition: all .3s;
    cursor: pointer;
}
.ai-tg-big:hover {
    background: linear-gradient(135deg, rgba(34, 158, 217, 0.25), rgba(34, 158, 217, 0.1));
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(34, 158, 217, 0.3);
}
.ai-tg-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #229ED9 0%, #0088cc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 6px 16px rgba(34, 158, 217, 0.4);
}
.ai-tg-icon svg { width: 20px; height: 20px; }
.ai-tg-info { flex: 1; min-width: 0; }
.ai-tg-name {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}
.ai-tg-sub {
    display: block;
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 2px;
}
.ai-tg-arrow {
    width: 18px;
    height: 18px;
    color: #4db8f0;
    transition: transform .3s;
}
.ai-tg-big:hover .ai-tg-arrow { transform: translateX(4px); }
.ai-tg-arrow svg { width: 18px; height: 18px; }

/* Шаги */
.ai-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 12px 0;
}
.ai-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all .3s;
}
.ai-step:hover {
    background: rgba(255, 60, 60, 0.05);
    border-color: rgba(255, 60, 60, 0.3);
    transform: translateX(3px);
}
.ai-step-num {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 9px;
    background: var(--gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 4px 12px var(--primary-glow);
}
.ai-step-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}
.ai-step-text {
    font-size: 11.5px;
    color: var(--text-dim);
    line-height: 1.4;
}

/* Команда */
.ai-team {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
}
.ai-team-member {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 11px;
    transition: all .3s;
}
.ai-team-member:hover {
    background: rgba(255, 60, 60, 0.05);
    border-color: rgba(255, 60, 60, 0.25);
}
.ai-team-avatar {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 4px 12px var(--primary-glow);
}
.ai-team-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}
.ai-team-role {
    font-size: 11px;
    color: var(--text-dim);
}

/* Action кнопки */
.ai-actions {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 12px;
}
.ai-action-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(255, 60, 60, 0.15), rgba(255, 107, 26, 0.08));
    border: 1px solid rgba(255, 60, 60, 0.35);
    border-radius: 10px;
    color: var(--primary);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s;
    text-align: left;
}
.ai-action-btn:hover {
    background: linear-gradient(135deg, rgba(255, 60, 60, 0.25), rgba(255, 107, 26, 0.15));
    border-color: rgba(255, 60, 60, 0.6);
    transform: translateX(3px);
}
.ai-action-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: transform .25s;
}
.ai-action-btn:hover svg { transform: translateX(3px); }

/* Общие стили для html внутри bubble */
.ai-msg-bubble p {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text);
}
.ai-msg-bubble p + p { margin-top: 8px; }