/* ==========================================================================
   FeedCRM — Antigravity Design System (Inspired by antigravity.google)
   ========================================================================== */

/* ─── Ambient Tokens & Variables ─── */
:root {
    --agy-bg: #f8fafc;
    --agy-dark: #0b0f19;
    --agy-card-bg: rgba(255, 255, 255, 0.85);
    --agy-glass-border: rgba(226, 232, 240, 0.8);
    --agy-glass-border-hover: rgba(59, 130, 246, 0.4);
    --agy-blue: #2563eb;
    --agy-indigo: #4f46e5;
    --agy-violet: #7c3aed;
    --agy-cyan: #06b6d4;
    --agy-emerald: #10b981;
    --agy-glow: 0 0 50px -10px rgba(59, 130, 246, 0.18);
    --agy-radius-pill: 9999px;
    --agy-radius-card: 24px;
}

/* ─── Floating Header Navbar ─── */
.lp-header {
    /* Не анимируем backdrop-filter на всю ширину окна! */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: top 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-color 0.25s ease;
}
.lp-header.is-floating {
    top: 12px;
    background: transparent !important;
    border-bottom-color: transparent !important;
    pointer-events: none;
    box-shadow: none !important;
}
.lp-header.is-floating.is-nav-open {
    top: 0 !important;
    background: #fff !important;
    pointer-events: auto !important;
}
.lp-header.is-floating::after {
    display: none;
}
.lp-header.is-floating .lp-header-inner {
    pointer-events: auto;
    max-width: 1600px; /* Ширина по контенту */
    margin: 0 auto;
    padding: 10px 24px;
    border-radius: var(--agy-radius-pill);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(226, 232, 240, 0.9);
    /* Мягкая тень (размытие вокруг плашки на 20px вниз) */
    box-shadow: 0 15px 30px -5px rgba(15, 23, 42, 0.08), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    /* Анимируем только свойства оформления, не фильтр! */
    transition: padding 0.25s ease, border-radius 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.lp-header.is-floating.is-nav-open .lp-header-inner {
    max-width: 100% !important;
    border-radius: 0 !important;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.lp-header.is-floating .lp-btn-primary {
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

/* ─── Hero Canvas (Interactive Operating Frame) ─── */
.lp-hero-canvas {
    position: relative;
    border-radius: 20px;
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35), 0 0 80px -20px rgba(99, 102, 241, 0.25);
    overflow: hidden;
    color: #f1f5f9;
}
.lp-canvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(22, 27, 34, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 12px;
}
.lp-canvas-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.lp-canvas-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.lp-canvas-dot.red { background: #ff5f56; }
.lp-canvas-dot.yellow { background: #ffbd2e; }
.lp-canvas-dot.green { background: #27c93f; }

.lp-canvas-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}
.lp-canvas-tab {
    padding: 6px 12px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.lp-canvas-tab:hover {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.05);
}
.lp-canvas-tab.is-active {
    color: #ffffff;
    background: rgba(37, 99, 235, 0.25);
    border: 1px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.lp-canvas-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--agy-radius-pill);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #34d399;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Canvas Body */
.lp-canvas-body {
    padding: 20px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}
.lp-canvas-panel {
    display: none;
    animation: agyFade 0.25s ease;
    flex: 1;
}
.lp-canvas-panel.is-active {
    display: flex;
    flex-direction: column;
}
@keyframes agyFade {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Panel 1: Live Chats & Messenger Bot Flow */
.lp-canvas-chat-flow {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.lp-canvas-chat-accs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lp-canvas-acc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 11.5px;
    font-weight: 600;
    color: #cbd5e1;
}
.lp-canvas-acc-chip i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}

.lp-canvas-chat-thread {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}
.lp-canvas-msg-in {
    align-self: flex-start;
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 14px 14px 14px 4px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.lp-canvas-msg-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
}
.lp-canvas-msg-in p {
    margin: 0;
    font-size: 13.5px;
    color: #f8fafc;
    line-height: 1.4;
}

.lp-canvas-msg-out {
    align-self: flex-end;
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 14px 14px 4px 14px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.lp-canvas-msg-out .lp-canvas-msg-head {
    color: rgba(255, 255, 255, 0.6);
}
.lp-canvas-msg-out p {
    margin: 0;
    font-size: 13.5px;
    color: #f1f5f9;
    line-height: 1.4;
}
.lp-canvas-channel-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}
.lp-canvas-channel-tag.tg {
    background: rgba(42, 171, 238, 0.15);
    color: #7ec8ff;
}
.lp-canvas-channel-tag.max {
    background: rgba(147, 51, 234, 0.2);
    color: #c084fc;
}

/* ─── Hero Disclaimer ─── */
.lp-hero-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}
.lp-hero-disclaimer svg {
    flex-shrink: 0;
    color: #94a3b8;
}

/* Tab 2: Mass Ads Stack */
.lp-canvas-stack-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 20px;
}
.lp-canvas-stack-wrapper .lp-hero-stack {
    transform: scale(0.9);
}
.lp-canvas-stack-wrapper .lp-avito-card {
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    background: #ffffff;
}

/* Tab 3: Funnel & Analytics */
.lp-canvas-funnel-top {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
}
.lp-funnel-stat {
    flex: 1;
}
.lp-funnel-stat small {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.lp-funnel-stat strong {
    font-size: 20px;
    font-weight: 700;
    color: #f8fafc;
}

.lp-canvas-kanban {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    flex: 1;
}
.lp-kanban-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 10px;
}
.lp-kanban-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 6px;
    padding: 0 4px;
}
.lp-kanban-head span {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 10px;
    color: #cbd5e1;
}
.lp-kanban-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px;
    font-size: 12px;
    color: #f1f5f9;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.lp-kanban-card.success {
    border-left: 3px solid #10b981;
}

/* ─── Hero Metrics Ribbon ─── */
.lp-metrics-ribbon {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 24px;
    width: 100%;
}
.lp-metric-card {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.lp-metric-card:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.35);
}
.lp-metric-num {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}
.lp-metric-num.highlight {
    color: #2563eb;
}
.lp-metric-card p {
    margin: 0;
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.35;
}

/* ─── Bento Grid Section: Feature Explorer ─── */
.lp-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    margin-top: 28px;
}
.lp-bento-card {
    position: relative;
    border-radius: var(--agy-radius-card);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--agy-glass-border);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    backdrop-filter: blur(20px);
    padding: 28px;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.lp-bento-card:hover {
    transform: translateY(-3px);
    border-color: var(--agy-glass-border-hover);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08), 0 0 40px -10px rgba(37, 99, 235, 0.15);
}
.lp-bento-span-8 { grid-column: span 8; }
.lp-bento-span-4 { grid-column: span 4; }
.lp-bento-span-6 { grid-column: span 6; }
.lp-bento-span-12 { grid-column: span 12; }

.lp-bento-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2563eb;
    margin-bottom: 8px;
}
.lp-bento-title {
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -0.03em;
    line-height: 1.25;
    color: #0f172a;
    margin: 0 0 10px;
}
.lp-bento-desc {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 20px;
    font-weight: 500;
}

/* ─── Interactive ROI Calculator Section ─── */
.lp-roi-section {
    padding: 80px 0;
    position: relative;
}
.lp-roi-card {
    border-radius: 32px;
    background:
        radial-gradient(800px 400px at 100% 0%, rgba(99, 102, 241, 0.12), transparent 50%),
        radial-gradient(700px 350px at 0% 100%, rgba(56, 189, 248, 0.1), transparent 50%),
        #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.06);
    padding: 44px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.lp-roi-controls {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.lp-roi-slider-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lp-roi-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}
.lp-roi-val-badge {
    padding: 4px 12px;
    border-radius: var(--agy-radius-pill);
    background: #eff6ff;
    color: #2563eb;
    font-weight: 800;
    font-size: 13px;
    border: 1px solid #bfdbfe;
}
.lp-roi-range {
    width: 100%;
    height: 8px;
    border-radius: var(--agy-radius-pill);
    background: #e2e8f0;
    accent-color: #2563eb;
    outline: none;
    cursor: pointer;
}

.lp-roi-output {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
    border-radius: 24px;
    background: #0f172a;
    color: #fff;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.15);
}
.lp-roi-output-head {
    font-size: 12px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 6px;
}
.lp-roi-metric-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lp-roi-metric-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.lp-roi-metric-item span {
    font-size: 13.5px;
    color: #cbd5e1;
    font-weight: 500;
}
.lp-roi-metric-item strong {
    font-size: 24px;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: -0.03em;
}
.lp-roi-metric-item strong.glow {
    color: #34d399;
    text-shadow: 0 0 20px rgba(52, 211, 153, 0.4);
}

/* ─── Architecture & Engineering Trust Section ─── */
.lp-trust-section {
    padding: 70px 0 90px;
    position: relative;
}
.lp-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 32px;
}
.lp-trust-card {
    padding: 24px 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.lp-trust-card:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.3);
}
.lp-trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #2563eb;
    display: grid;
    place-items: center;
    font-size: 20px;
}
.lp-trust-card h3 {
    margin: 0;
    font-size: 16.5px;
    font-weight: 750;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.lp-trust-card p {
    margin: 0;
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
}

/* ─── Responsive Breakpoints ─── */
@media (max-width: 1024px) {
    .lp-bento-span-8,
    .lp-bento-span-4,
    .lp-bento-span-6 { grid-column: span 12; }
    .lp-metrics-ribbon { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .lp-roi-card { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
    .lp-trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 899px) {
    /* Hero container & inner spacing on tablet & mobile */
    .lp-hero-stage {
        width: calc(100% - 16px) !important;
        margin: 0 auto !important;
        border-radius: 24px !important;
    }
    .lp-hero-inner {
        padding: 24px 14px 20px !important;
        gap: 22px !important;
    }
    .lp-hero-copy {
        text-align: left;
    }
    .lp-hero-badge {
        font-size: 11.5px;
        padding: 5px 12px 5px 8px;
        margin-bottom: 16px;
        gap: 6px;
    }
    .lp-hero-lead {
        font-size: 15px;
        line-height: 1.5;
        margin-top: 14px;
    }
    .lp-actions {
        margin-top: 20px;
        gap: 8px;
    }
    .lp-actions .lp-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 12px 18px;
        font-size: 14.5px;
    }
    .lp-hero-sub-pills {
        margin-top: 14px;
        font-size: 12px;
        gap: 6px 10px;
    }
}

@media (max-width: 640px) {
    /* Header capsule on small screens */
    .lp-header.is-floating .lp-header-inner {
        border-radius: 18px;
        padding: 8px 14px;
    }

    /* Sub-pills: neat wrap without dangling dots */
    .lp-hero-sub-pills .sep {
        display: none;
    }
    .lp-hero-sub-pills span {
        background: rgba(255, 255, 255, 0.6);
        border: 1px solid rgba(226, 232, 240, 0.7);
        padding: 3px 8px;
        border-radius: 6px;
        font-size: 11.5px;
    }

    /* Hero Canvas: clean and compact */
    .lp-hero-canvas {
        border-radius: 16px;
    }
    .lp-canvas-header {
        padding: 8px 10px;
        gap: 8px;
    }
    .lp-canvas-tabs {
        gap: 4px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex: 1;
        padding: 1px 0;
    }
    .lp-canvas-tabs::-webkit-scrollbar { display: none; }
    .lp-canvas-tab {
        padding: 5px 9px;
        font-size: 11px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .lp-canvas-status {
        padding: 3px 7px;
        font-size: 9.5px;
        gap: 4px;
        flex-shrink: 0;
    }

    /* Canvas Body */
    .lp-canvas-body {
        padding: 12px 10px;
        min-height: auto;
    }

    /* Tab 1: Live Chats */
    .lp-canvas-chat-accs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 6px;
        padding-bottom: 8px;
    }
    .lp-canvas-chat-accs::-webkit-scrollbar { display: none; }
    .lp-canvas-acc-chip {
        flex-shrink: 0;
        padding: 3px 8px;
        font-size: 10.5px;
    }
    .lp-canvas-chat-thread {
        gap: 8px;
    }
    .lp-canvas-msg-in,
    .lp-canvas-msg-out {
        max-width: 95%;
        padding: 8px 11px;
        border-radius: 12px;
    }
    .lp-canvas-msg-head {
        font-size: 10px;
        margin-bottom: 4px;
    }
    .lp-canvas-msg-in p,
    .lp-canvas-msg-out p {
        font-size: 12.5px;
        line-height: 1.35;
    }

    /* Tab 2: Mass Ads Stack */
    .lp-canvas-stack-wrapper {
        padding: 6px 0;
        overflow: hidden;
        justify-content: center;
    }
    .lp-canvas-stack-wrapper .lp-hero-stack {
        transform: scale(0.8);
        transform-origin: center center;
        margin: -10px 0;
    }

    /* Tab 3: Funnel & Analytics */
    .lp-canvas-funnel-top {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    .lp-funnel-stat small {
        font-size: 9px;
        line-height: 1.2;
    }
    .lp-funnel-stat strong {
        font-size: 15px;
    }
    .lp-canvas-kanban {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 8px;
        padding-bottom: 2px;
    }
    .lp-canvas-kanban::-webkit-scrollbar { display: none; }
    .lp-kanban-col {
        flex: 0 0 130px;
        padding: 8px;
    }
    .lp-kanban-head {
        font-size: 9.5px;
        margin-bottom: 4px;
    }
    .lp-kanban-card {
        padding: 6px 8px;
        font-size: 11px;
    }

    /* Metrics Ribbon: compact 2x2 grid instead of 4 giant stacked cards */
    .lp-metrics-ribbon {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        margin-top: 18px !important;
    }
    .lp-metric-card {
        padding: 12px 10px !important;
        border-radius: 14px !important;
        background: rgba(255, 255, 255, 0.75) !important;
    }
    .lp-metric-num {
        font-size: 20px !important;
        margin-bottom: 2px !important;
    }
    .lp-metric-card p {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

    /* Disclaimer on small screens */
    .lp-hero-disclaimer {
        font-size: 11px;
        line-height: 1.4;
        padding: 8px 12px;
        margin-top: 10px;
        text-align: center;
        justify-content: center;
    }

    /* Rest of page mobile helpers */
    .lp-trust-grid { grid-template-columns: 1fr; }
}
/* --- Abstract Feature Shots --- */
.agy-shot {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 16px;
    background: var(--lp-well);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--lp-font);
    color: #fff;
}
.lp-cap.is-wide .agy-shot { height: 240px; }

/* chat */
.agy-list { display: flex; flex-direction: column; gap: 8px; width: 60%; }
.agy-list-item { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.05); padding: 12px; border-radius: 12px; position: relative; opacity: 0.6; }
.agy-list-item.is-active { opacity: 1; background: rgba(255,255,255,0.1); }
.agy-avatar { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.agy-line { height: 6px; width: 60%; background: rgba(255,255,255,0.2); border-radius: 4px; }
.agy-dot { width: 8px; height: 8px; background: var(--agy-blue); border-radius: 50%; position: absolute; right: 12px; }

/* ar */
.agy-chat { display: flex; flex-direction: column; gap: 12px; width: 60%; }
.agy-bub { padding: 12px 16px; border-radius: 16px; max-width: 80%; background: rgba(255,255,255,0.1); height: 40px; }
.agy-bub.is-in { border-bottom-left-radius: 4px; align-self: flex-start; }
.agy-bub.is-out { border-bottom-right-radius: 4px; align-self: flex-end; background: var(--agy-blue); display: flex; align-items: center; justify-content: center; }
.agy-bub.is-auto i { font-style: normal; font-size: 14px; }

/* tg */
.agy-tg { display: flex; flex-direction: column; width: 180px; background: #1e293b; border-radius: 16px; padding: 12px; border: 1px solid rgba(255,255,255,0.1); }
.agy-tg-top { font-size: 10px; color: rgba(255,255,255,0.4); text-transform: uppercase; font-weight: 800; text-align: center; margin-bottom: 12px; }
.agy-tg-bub { background: var(--agy-blue); padding: 12px; border-radius: 16px; border-bottom-right-radius: 4px; font-size: 11px; align-self: flex-end; }

/* board */
.agy-kanban { display: flex; gap: 12px; width: 80%; height: 60%; align-items: flex-end; }
.agy-col { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.agy-col span { font-size: 9px; font-weight: 800; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.agy-card { height: 28px; background: rgba(255,255,255,0.1); border-radius: 6px; }
.agy-card.is-success { background: rgba(22, 138, 91, 0.2); border-left: 2px solid #168a5b; }

/* ads */
.agy-clone { display: flex; align-items: center; justify-content: space-between; width: 70%; }
.agy-master { width: 60px; height: 80px; background: var(--agy-blue); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; }
.agy-lines { display: flex; flex-direction: column; gap: 20px; flex: 1; margin: 0 16px; position: relative; }
.agy-lines div { height: 1px; background: rgba(49, 94, 251, 0.4); width: 100%; transform-origin: left; }
.agy-lines div:nth-child(1) { transform: rotate(-15deg); }
.agy-lines div:nth-child(3) { transform: rotate(15deg); }
.agy-tags { display: flex; flex-direction: column; gap: 12px; }
.agy-tags span { background: rgba(255,255,255,0.1); font-size: 9px; padding: 4px 8px; border-radius: 12px; color: rgba(255,255,255,0.6); }

/* import */
.agy-import { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.agy-doc { background: #168a5b; padding: 12px 16px; border-radius: 8px; font-weight: 800; font-size: 11px; }
.agy-arr { color: rgba(255,255,255,0.4); }
.agy-db { display: flex; flex-direction: column; gap: 4px; width: 120px; background: rgba(255,255,255,0.05); padding: 8px; border-radius: 8px; }
.agy-db div { height: 4px; background: rgba(255,255,255,0.2); border-radius: 2px; }

/* analytics */
.agy-metric { display: flex; flex-direction: column; align-items: center; }
.agy-metric-val { font-size: 42px; font-weight: 800; color: #168a5b; line-height: 1; text-shadow: 0 0 20px rgba(22,138,91,0.4); }
.agy-metric-lbl { font-size: 11px; font-weight: 800; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.agy-bars { display: flex; align-items: flex-end; gap: 8px; height: 40px; }
.agy-bars i { width: 16px; background: rgba(49, 94, 251, 0.4); border-radius: 4px 4px 0 0; }
.agy-bars i:nth-child(1) { height: 100%; }
.agy-bars i:nth-child(2) { height: 80%; }
.agy-bars i:nth-child(3) { height: 90%; }
.agy-bars i:nth-child(4) { height: 50%; }
.agy-bars i.is-green { height: 30%; background: #168a5b; box-shadow: 0 0 10px rgba(22,138,91,0.4); }

/* staff */
.agy-staff { display: flex; flex-direction: column; gap: 12px; }
.agy-staff div { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.05); padding: 8px 16px; border-radius: 20px; }
.agy-av { width: 16px; height: 16px; background: var(--agy-blue); border-radius: 50%; }
.agy-staff div:nth-child(2) .agy-av { background: #168a5b; }
.agy-staff div:nth-child(3) .agy-av { background: #7657d6; }

/* accounts */
.agy-hub { position: relative; width: 200px; height: 120px; display: flex; align-items: center; justify-content: center; }
.agy-hub-dots { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; }
.agy-hub-dots i { width: 12px; height: 12px; background: #ff6163; border-radius: 50%; box-shadow: 0 0 10px rgba(255,97,99,0.4); }
.agy-hub-dots i:nth-child(1) { transform: translateY(-30px); }
.agy-hub-dots i:nth-child(3) { transform: translateY(30px); }
.agy-hub-center { width: 80px; height: 80px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; z-index: 2; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(4px); }

/* overview */
.agy-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.agy-grid i { width: 8px; height: 8px; background: rgba(255,255,255,0.1); border-radius: 50%; }
.agy-grid i.on { background: #168a5b; box-shadow: 0 0 10px rgba(22,138,91,0.6); }


/* ─── Abstract Feature Shots ─── */
.agy-shot {
    position: relative;
    width: 100%;
    height: 180px; /* Made slightly shorter for balance */
    border-radius: 16px;
    background: var(--lp-well);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--lp-font);
    color: #fff;
}
.lp-cap.is-wide .agy-shot { height: 200px; } /* Wide cards get a bit more height */

/* chat */
.agy-list { display: flex; flex-direction: column; gap: 8px; width: 220px; }
.agy-list-item { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.05); padding: 12px; border-radius: 12px; position: relative; opacity: 0.6; }
.agy-list-item.is-active { opacity: 1; background: rgba(255,255,255,0.1); }
.agy-avatar { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.agy-line { height: 6px; width: 60%; background: rgba(255,255,255,0.2); border-radius: 4px; }
.agy-dot { width: 8px; height: 8px; background: var(--agy-blue); border-radius: 50%; position: absolute; right: 12px; }

/* ar */
.agy-chat { display: flex; flex-direction: column; gap: 12px; width: 220px; }
.agy-bub { padding: 12px 16px; border-radius: 16px; max-width: 80%; background: rgba(255,255,255,0.1); height: 40px; }
.agy-bub.is-in { border-bottom-left-radius: 4px; align-self: flex-start; }
.agy-bub.is-out { border-bottom-right-radius: 4px; align-self: flex-end; background: var(--agy-blue); display: flex; align-items: center; justify-content: center; }
.agy-bub.is-auto i { font-style: normal; font-size: 14px; }

/* tg */
.agy-tg { display: flex; flex-direction: column; width: 180px; background: #1e293b; border-radius: 16px; padding: 12px; border: 1px solid rgba(255,255,255,0.1); }
.agy-tg-top { font-size: 10px; color: rgba(255,255,255,0.4); text-transform: uppercase; font-weight: 800; text-align: center; margin-bottom: 12px; }
.agy-tg-bub { background: var(--agy-blue); padding: 12px; border-radius: 16px; border-bottom-right-radius: 4px; font-size: 11px; align-self: flex-end; }

/* board */
.agy-kanban { display: flex; gap: 12px; width: 340px; height: 60%; align-items: flex-end; }
.agy-col { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.agy-col span { font-size: 9px; font-weight: 800; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.agy-card { height: 28px; background: rgba(255,255,255,0.1); border-radius: 6px; }
.agy-card.is-success { background: rgba(22, 138, 91, 0.2); border-left: 2px solid #168a5b; }

/* ads */
.agy-clone { display: flex; align-items: center; justify-content: space-between; width: 300px; }
.agy-master { width: 60px; height: 80px; background: var(--agy-blue); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; }
.agy-lines { display: flex; flex-direction: column; gap: 20px; flex: 1; margin: 0 16px; position: relative; }
.agy-lines div { height: 1px; background: rgba(49, 94, 251, 0.4); width: 100%; transform-origin: left; }
.agy-lines div:nth-child(1) { transform: rotate(-15deg); }
.agy-lines div:nth-child(3) { transform: rotate(15deg); }
.agy-tags { display: flex; flex-direction: column; gap: 12px; }
.agy-tags span { background: rgba(255,255,255,0.1); font-size: 9px; padding: 4px 8px; border-radius: 12px; color: rgba(255,255,255,0.6); }

/* import */
.agy-import { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.agy-doc { background: #168a5b; padding: 12px 16px; border-radius: 8px; font-weight: 800; font-size: 11px; }
.agy-arr { color: rgba(255,255,255,0.4); }
.agy-db { display: flex; flex-direction: column; gap: 4px; width: 120px; background: rgba(255,255,255,0.05); padding: 8px; border-radius: 8px; }
.agy-db div { height: 4px; background: rgba(255,255,255,0.2); border-radius: 2px; }

/* analytics */
.agy-metric { display: flex; flex-direction: column; align-items: center; }
.agy-metric-val { font-size: 42px; font-weight: 800; color: #168a5b; line-height: 1; text-shadow: 0 0 20px rgba(22,138,91,0.4); }
.agy-metric-lbl { font-size: 11px; font-weight: 800; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.agy-bars { display: flex; align-items: flex-end; gap: 8px; height: 40px; }
.agy-bars i { width: 16px; background: rgba(49, 94, 251, 0.4); border-radius: 4px 4px 0 0; }
.agy-bars i:nth-child(1) { height: 100%; }
.agy-bars i:nth-child(2) { height: 80%; }
.agy-bars i:nth-child(3) { height: 90%; }
.agy-bars i:nth-child(4) { height: 50%; }
.agy-bars i.is-green { height: 30%; background: #168a5b; box-shadow: 0 0 10px rgba(22,138,91,0.4); }

/* staff */
.agy-staff { display: flex; flex-direction: column; gap: 12px; }
.agy-staff div { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.05); padding: 8px 16px; border-radius: 20px; }
.agy-av { width: 16px; height: 16px; background: var(--agy-blue); border-radius: 50%; }
.agy-staff div:nth-child(2) .agy-av { background: #168a5b; }
.agy-staff div:nth-child(3) .agy-av { background: #7657d6; }

/* accounts */
.agy-hub { position: relative; width: 200px; height: 120px; display: flex; align-items: center; justify-content: center; }
.agy-hub-dots { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; }
.agy-hub-dots i { width: 12px; height: 12px; background: #ff6163; border-radius: 50%; box-shadow: 0 0 10px rgba(255,97,99,0.4); }
.agy-hub-dots i:nth-child(1) { transform: translateY(-30px); }
.agy-hub-dots i:nth-child(3) { transform: translateY(30px); }
.agy-hub-center { width: 80px; height: 80px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; z-index: 2; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(4px); }

/* overview */
.agy-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.agy-grid i { width: 8px; height: 8px; background: rgba(255,255,255,0.1); border-radius: 50%; }
.agy-grid i.on { background: #168a5b; box-shadow: 0 0 10px rgba(22,138,91,0.6); }

/* ==========================================================================
   FeedCRM — Minimalist Hero Section & Tinted Glassmorphism System
   ========================================================================== */

/* 1. Base Container & Hardware-Accelerated Smooth Scroll Expansion */
.lp-hero {
    position: relative;
    padding: 24px 0 16px;
}

.lp-hero-stage {
    display: block !important;
    max-width: 1540px !important;
    width: calc(100% - 32px) !important;
    margin: 0 auto !important;
    background:
        radial-gradient(900px 520px at 98% -10%, rgba(47, 111, 237, 0.22), transparent 60%),
        radial-gradient(720px 420px at 2% 100%, rgba(118, 87, 214, 0.15), transparent 55%),
        radial-gradient(600px 350px at 50% 10%, rgba(255, 255, 255, 0.95), transparent 70%),
        linear-gradient(165deg, #eef3ff 0%, #f8faff 45%, #e9eef8 100%) !important;
    border-radius: 32px !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 25px 80px rgba(28, 36, 52, 0.06), 0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
    overflow: hidden !important;
    transform: translateZ(0) !important;
    will-change: width, max-width, border-radius !important;
    transition: max-width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                border-radius 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.lp-hero-stage.is-stretched {
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 0 !important;
    border-left-color: transparent !important;
    border-right-color: transparent !important;
    box-shadow: 0 8px 32px rgba(28, 36, 52, 0.03) !important;
}

.lp-hero-inner {
    contain: layout;
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "copy"
        "visual"
        "metrics";
    gap: 32px;
    padding: 56px 32px 48px;
    box-sizing: border-box;
}

@media (min-width: 1040px) {
    .lp-hero-inner {
        grid-template-columns: 0.92fr 1.08fr;
        grid-template-areas:
            "copy visual"
            "metrics metrics";
        gap: 40px 48px;
        align-items: center;
        padding: 64px 36px 52px;
    }
}

/* 2. Hero Copy & Typography */
.lp-hero-copy {
    grid-area: copy;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.lp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 6px 14px 6px 8px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(203, 213, 225, 0.9);
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.lp-hero-badge-tag {
    padding: 2px 8px;
    border-radius: 9999px;
    background: #2f6fed;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lp-hero h1 {
    font-size: clamp(38px, 4.4vw, 58px);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #1c2434;
    margin: 0 0 20px 0;
}

.lp-hero h1 span {
    display: block;
}

.lp-hero-gradient {
    background: linear-gradient(135deg, #1c2434 0%, #2f6fed 50%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lp-hero-lead {
    font-size: 17px;
    line-height: 1.6;
    color: #5a6478;
    max-width: 520px;
    margin: 0 0 28px 0;
}

.lp-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.lp-actions .lp-btn-primary {
    background: #2f6fed;
    color: #ffffff;
    padding: 14px 26px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 8px 24px rgba(47, 111, 237, 0.28);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-actions .lp-btn-primary:hover {
    background: #1f57c8;
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(47, 111, 237, 0.36);
}

.lp-actions .lp-btn-secondary {
    background: rgba(255, 255, 255, 0.85);
    color: #334155;
    border: 1px solid rgba(203, 213, 225, 0.8);
    padding: 14px 22px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lp-actions .lp-btn-secondary:hover {
    background: #ffffff;
    color: #1c2434;
}

.lp-hero-guarantee {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #6b7385;
    font-size: 13px;
    font-weight: 500;
}

.lp-hero-guarantee .dot {
    color: #cbd5e1;
}

/* 3. Tinted High-Contrast Glassmorphic Preview Window */
.lp-hero-visual {
    grid-area: visual;
    position: relative;
    width: 100%;
}

/* Tinted glass shell for strong contrast and eye-catching depth */
.lp-preview-card {
    background: linear-gradient(150deg, rgba(20, 28, 48, 0.86) 0%, rgba(13, 19, 36, 0.93) 100%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 
                0 25px 60px -10px rgba(15, 23, 42, 0.45), 
                0 0 50px -15px rgba(47, 111, 237, 0.25);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Stories Progress Bar (8 Slim Segments) */
.lp-stories-bar {
    display: flex;
    gap: 5px;
    padding: 16px 22px 6px;
    background: transparent;
}

.lp-story-seg {
    flex: 1;
    height: 3.5px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    border: none;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.lp-story-seg:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scaleY(1.3);
}

.story-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: #38bdf8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
    border-radius: 4px;
}

.lp-story-seg.is-passed .story-fill {
    width: 100% !important;
}

/* Viewport & Slides */
.lp-preview-viewport {
    position: relative;
    padding: 18px 24px 24px;
    min-height: 310px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lp-pslide {
    display: none;
    flex-direction: column;
    gap: 15px;
    animation: pslideFade 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.lp-pslide.is-active {
    display: flex;
}

@keyframes pslideFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.lp-pslide-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.06em;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.28);
    padding: 3px 10px;
    border-radius: 8px;
    width: fit-content;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.lp-pslide-tag svg {
    flex-shrink: 0;
}

.lp-pslide-head h4 {
    font-size: 20px;
    font-weight: 750;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin: 0 0 6px 0;
    line-height: 1.25;
}

.lp-pslide-head p {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
    max-width: 520px;
}

/* Slide Mockups (Frosted glass containers with high-contrast elements) */
.lp-pslide-body {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    padding: 15px;
}

/* Mockup: Multi-accounting */
.lp-acc-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 8px;
}
.lp-acc-row:last-child {
    margin-bottom: 0;
}
.lp-acc-avatar {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(47, 111, 237, 0.25);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lp-acc-avatar.is-blue {
    background: rgba(31, 157, 108, 0.25);
    color: #34d399;
}
.lp-acc-avatar.is-purple {
    background: rgba(118, 87, 214, 0.25);
    color: #c084fc;
}
.lp-acc-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.lp-acc-info strong {
    font-size: 13px;
    font-weight: 650;
    color: #f8fafc;
}
.lp-acc-info small {
    font-size: 11px;
    color: #94a3b8;
}
.lp-acc-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Mockup: Auto-upload */
.lp-gen-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.lp-gen-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.lp-gen-box {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #2563eb;
    color: #ffffff;
    font-size: 12px;
    font-weight: 650;
    padding: 7px 12px;
    border-radius: 8px;
}
.lp-gen-arrow {
    color: #64748b;
    display: flex;
    align-items: center;
}
.lp-gen-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.lp-gen-tags span {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 11.5px;
    font-weight: 550;
    padding: 5px 9px;
    border-radius: 6px;
}
.lp-gen-tags .is-more {
    background: rgba(56, 189, 248, 0.18);
    color: #38bdf8;
    font-weight: 650;
}
.lp-gen-feed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
}
.lp-feed-status {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.lp-feed-count { color: #34d399; font-weight: 700; }

/* Mockup: Chat */
.lp-chat-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lp-chat-msg {
    max-width: 88%;
    padding: 9px 13px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.45;
}
.lp-chat-msg.is-in {
    background: rgba(255, 255, 255, 0.07);
    align-self: flex-start;
    color: #f1f5f9;
    border-bottom-left-radius: 3px;
}
.lp-chat-msg.is-out {
    background: #2563eb;
    align-self: flex-end;
    color: #ffffff;
    border-bottom-right-radius: 3px;
}
.lp-chat-author {
    font-size: 10.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 3px;
}
.lp-chat-msg.is-out .lp-chat-author {
    color: rgba(255, 255, 255, 0.85);
}
.lp-chat-msg p {
    margin: 0;
}
.lp-chat-footer {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    color: #94a3b8;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.lp-chat-footer span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Mockup: Telegram */
.lp-tg-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 12px;
    padding: 13px;
}
.lp-tg-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.lp-tg-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #0ea5e9;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lp-tg-head strong { font-size: 13px; color: #f8fafc; display: block; }
.lp-tg-head small { font-size: 11px; color: #94a3b8; }
.lp-tg-text {
    font-size: 12.5px;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 11px;
    border-radius: 8px;
    margin-bottom: 10px;
}
.lp-tg-btns {
    display: flex;
    gap: 8px;
}
.lp-tg-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #0ea5e9;
    color: #fff;
    font-size: 11.5px;
    font-weight: 650;
    padding: 5px 11px;
    border-radius: 6px;
}
.lp-tg-action.is-sub {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

/* Mockup: Funnel */
.lp-pipe-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.lp-pipe-col {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lp-pipe-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.lp-pipe-label.is-win { color: #34d399; }
.lp-pipe-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 7px 8px;
    border-radius: 6px;
    font-size: 11px;
    color: #f1f5f9;
}
.lp-pipe-card.is-active {
    border-left: 2.5px solid #38bdf8;
    background: rgba(56, 189, 248, 0.12);
}
.lp-pipe-card.is-win {
    border-left: 2.5px solid #34d399;
    background: rgba(52, 211, 153, 0.12);
}

/* Mockup: Integrations */
.lp-source-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.lp-source-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.lp-source-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.lp-source-badge {
    font-size: 12px;
    font-weight: 650;
    color: #f8fafc;
}
.lp-source-count {
    font-size: 11px;
    color: #94a3b8;
}
.lp-source-meter {
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.lp-source-meter div {
    height: 100%;
    background: #38bdf8;
    border-radius: 3px;
}
.lp-source-meter.is-site div { background: #a78bfa; }
.lp-source-meter.is-tg div { background: #38bdf8; }

/* Mockup: Analytics (Avito Pro / Метрика Bar Chart) */
.lp-avito-chart-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.lp-achart-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.lp-achart-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.lp-atab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 4px 9px;
    border-radius: 6px;
    cursor: default;
    user-select: none;
    transition: all 0.2s ease;
}
.lp-atab b {
    font-weight: 700;
    color: #e2e8f0;
}
.lp-atab.is-active {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.35);
    color: #38bdf8;
}
.lp-atab.is-active b {
    color: #ffffff;
}
.lp-atab .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 6px rgba(56, 189, 248, 0.6);
    display: inline-block;
}
.lp-achart-period {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 4px 8px;
    border-radius: 6px;
}
.lp-achart-period svg {
    color: #38bdf8;
}

.lp-achart-canvas {
    position: relative;
    width: 100%;
    height: 125px;
    margin-top: 4px;
}
.lp-achart-grid {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
    z-index: 1;
    padding-bottom: 22px;
    box-sizing: border-box;
}
.lp-grid-line {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
}
.lp-grid-line span {
    width: 22px;
    font-size: 9.5px;
    color: #64748b;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    text-align: right;
    line-height: 1;
}
.lp-grid-line i {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    display: block;
}

.lp-achart-bars {
    position: relative;
    z-index: 2;
    height: 100%;
    margin-left: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4px;
    box-sizing: border-box;
}
.lp-bar-col {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    padding-bottom: 2px;
    box-sizing: border-box;
}
.lp-bar-track {
    width: 100%;
    max-width: 16px;
    height: calc(100% - 20px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.lp-bar-fill {
    width: 100%;
    background: rgba(56, 189, 248, 0.32);
    border-radius: 3px 3px 0 0;
    transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, transform 0.2s ease;
}
.lp-bar-col:hover .lp-bar-fill {
    background: rgba(56, 189, 248, 0.65);
    transform: scaleX(1.08);
}
.lp-bar-fill.is-peak {
    background: #38bdf8 !important;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.55);
}
.lp-bar-lbl {
    font-size: 9.5px;
    color: #64748b;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    margin-top: 4px;
    line-height: 1;
    text-align: center;
}
.lp-bar-lbl.is-peak {
    color: #38bdf8;
    font-weight: 750;
}

.lp-achart-tooltip {
    position: absolute;
    bottom: calc(95% + 14px);
    left: 50%;
    transform: translateX(-50%);
    background: #0b1329;
    border: 1px solid rgba(56, 189, 248, 0.45);
    border-radius: 8px;
    padding: 6px 10px;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(56, 189, 248, 0.25);
    z-index: 12;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
    animation: agyTooltipFloat 2.6s ease-in-out infinite alternate;
}
.lp-achart-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px 5px 0 5px;
    border-style: solid;
    border-color: #0b1329 transparent transparent transparent;
}
.lp-achart-tooltip strong {
    font-size: 11.5px;
    font-weight: 750;
    color: #38bdf8;
    line-height: 1.2;
}
.lp-achart-tooltip small {
    font-size: 9.5px;
    color: #cbd5e1;
    line-height: 1.2;
}
@keyframes agyTooltipFloat {
    0% { transform: translate(-50%, 0); }
    100% { transform: translate(-50%, -4px); }
}

.lp-achart-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    font-size: 11px;
    color: #94a3b8;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    flex-wrap: wrap;
}
.lp-ashare-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.lp-ashare-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}
.lp-ashare-dot.is-m { background: #38bdf8; box-shadow: 0 0 5px rgba(56, 189, 248, 0.5); }
.lp-ashare-dot.is-s { background: #34d399; box-shadow: 0 0 5px rgba(52, 211, 153, 0.5); }
.lp-ashare-dot.is-k { background: #a78bfa; box-shadow: 0 0 5px rgba(167, 139, 250, 0.5); }
.lp-ashare-name { color: #94a3b8; }
.lp-ashare-item strong { color: #f1f5f9; font-weight: 600; }

/* Mockup: Promo */
.lp-promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.lp-promo-cell {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.lp-promo-cell strong {
    font-size: 22px;
    font-weight: 800;
    color: #38bdf8;
}
.lp-promo-cell span {
    font-size: 11px;
    color: #94a3b8;
}
.lp-promo-cell.is-full {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.28);
}
.lp-promo-cell.is-full span {
    color: #34d399;
    font-weight: 650;
    font-size: 12px;
}
.lp-live-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 8px #34d399;
}

/* 4. Bottom Metrics Cards with Clean Numbers */
.lp-hero-metrics-cards {
    grid-area: metrics;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 8px;
}

.lp-metric-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 4px 16px rgba(28, 36, 52, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lp-metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(28, 36, 52, 0.07);
    border-color: rgba(47, 111, 237, 0.3);
}

.lp-metric-num {
    font-size: 28px;
    font-weight: 850;
    color: #1c2434;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.lp-metric-desc {
    font-size: 13px;
    color: #5a6478;
    font-weight: 500;
    line-height: 1.45;
}

/* 5. Minimalist Full-Width Marquee Ticker (No Background) */
.lp-marquee {
    width: 100% !important;
    max-width: 100% !important;
    margin: 28px 0 10px 0 !important;
    padding: 8px 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

.lp-marquee-group {
    gap: 36px !important;
    padding-right: 36px !important;
    height: 40px !important;
}

.lp-marquee-group span {
    color: #64748b !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    opacity: 0.8 !important;
    transition: color 0.2s ease, opacity 0.2s ease !important;
}

.lp-marquee-group span:hover {
    color: #1c2434 !important;
    opacity: 1 !important;
}

.lp-marquee-group i {
    color: #cbd5e1 !important;
    font-size: 14px !important;
    opacity: 0.6 !important;
}

/* 6. Mobile & Tablet Responsiveness */
@media (max-width: 899px) {
    .lp-hero-stage {
        width: calc(100% - 16px) !important;
        border-radius: 22px !important;
    }
    .lp-hero-inner {
        padding: 32px 18px 24px;
        gap: 26px;
    }
    .lp-hero h1 {
        font-size: clamp(30px, 8vw, 40px);
    }
    .lp-hero-lead {
        font-size: 15px;
        margin-bottom: 22px;
    }
    .lp-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .lp-actions .lp-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 13px 18px;
    }
    .lp-stories-bar {
        padding: 14px 16px 6px;
    }
    .lp-preview-viewport {
        padding: 16px 14px 18px;
        min-height: auto;
    }
    .lp-achart-top {
        gap: 8px;
    }
    .lp-achart-canvas {
        height: 110px;
    }
    .lp-achart-bars {
        margin-left: 24px;
        gap: 2px;
    }
    .lp-bar-track {
        max-width: 12px;
    }
    .lp-bar-lbl {
        font-size: 8.5px;
    }
    .lp-achart-footer {
        gap: 10px;
        font-size: 10px;
    }
    .lp-hero-metrics-cards {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .lp-metric-card {
        padding: 14px 14px;
    }
    .lp-metric-num {
        font-size: 22px;
    }
    .lp-metric-desc {
        font-size: 12px;
    }
    .lp-marquee-group {
        gap: 24px !important;
        padding-right: 24px !important;
    }
}


/* ==========================================================================
   FeedCRM — Features Section: Light Cards, Dark Glass Windows, Large Typography
   True Bidirectional Scroll-Driven Unfolding (Down = Unfold, Up = Fold Back)
   ========================================================================== */

/* 1. Large, Impactful Typography */
.lp-cap-kicker {
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
    color: #2563eb !important;
    text-transform: uppercase !important;
    margin-bottom: 12px !important;
    display: inline-block !important;
}

.lp-cap-copy h3 {
    font-size: clamp(27px, 3.2vw, 36px) !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
    color: #0f172a !important;
    letter-spacing: -0.03em !important;
    margin: 0 0 16px 0 !important;
}

.lp-cap-copy p {
    font-size: 17px !important;
    line-height: 1.65 !important;
    color: #475569 !important;
    max-width: 52ch !important;
    margin: 0 !important;
}

/* 2. Light Card Containers (Clean White & Modern) */
.lp-cap {
    background: #ffffff !important;
    border: 1px solid rgba(28, 36, 52, 0.08) !important;
    border-radius: 28px !important;
    padding: 32px 30px !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 24px !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease !important;
    position: relative !important;
}

.lp-cap:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(37, 99, 235, 0.25) !important;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08) !important;
}

@media (min-width: 900px) {
    .lp-cap.is-wide {
        display: grid !important;
        grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr) !important;
        align-items: center !important;
        gap: 36px !important;
        padding: 36px 40px !important;
    }
}

/* 3. Dark Apple Macro-UI Windows (.agy-shot) - STRICTLY NO GLOW */
.agy-shot {
    position: relative !important;
    width: 76% !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    background: #24262c !important; /* Sleek Apple matte gray in compact state */
    backdrop-filter: blur(28px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(140%) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 22px !important;
    padding: 16px 20px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    color: #94a3b8 !important; /* Calmer muted tone in compact state */
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35) !important;

    /* Initial state: Compact miniature (130px height, 76% width) */
    height: 130px !important;
    max-height: 130px !important;
    transform: scale(0.98) translateY(6px);
    opacity: 0.88;
    transition: width 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                max-width 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                max-height 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                margin 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.55s ease,
                color 0.45s ease,
                opacity 0.5s ease,
                border-color 0.4s ease,
                box-shadow 0.5s ease !important;

    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Subtle folded bottom mask in compact state */
.agy-shot::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 38px;
    background: linear-gradient(to top, #24262c 25%, transparent 100%);
    pointer-events: none;
    transition: opacity 0.45s ease, background 0.45s ease;
    opacity: 1;
    z-index: 10;
}

/* 4. Active Unfolding (Triggered only near screen center) */
.lp-cap.is-unfolding .agy-shot,
.lp-cap.is-step-1 .agy-shot,
.lp-cap.is-step-2 .agy-shot {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    height: 305px !important;
    max-height: 420px !important;
    transform: scale(1) translateY(0) !important;
    background: #0f1013 !important; /* Deep, contrasty dark Apple when unfolded */
    color: #f1f5f9 !important;
    opacity: 1 !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.65) !important;
}

.lp-cap.is-unfolding .agy-shot::after,
.lp-cap.is-step-1 .agy-shot::after,
.lp-cap.is-step-2 .agy-shot::after {
    opacity: 0;
    background: linear-gradient(to top, #0f1013 25%, transparent 100%);
}

@media (min-width: 900px) {
    .lp-cap.is-wide .agy-shot {
        max-width: 520px !important;
    }
    .lp-cap.is-wide.is-unfolding .agy-shot,
    .lp-cap.is-wide.is-step-1 .agy-shot,
    .lp-cap.is-wide.is-step-2 .agy-shot {
        width: 100% !important;
        max-width: 100% !important;
        height: 320px !important;
    }
}

/* Universal Manrope enforcement inside .agy-shot */
.agy-shot * {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Top-Right Corner Mini-Tag (Clean & Non-repetitive) */
.macro-corner-tag {
    position: absolute;
    top: 13px;
    right: 15px;
    z-index: 6;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 9px;
    border-radius: 6px;
    letter-spacing: 0.02em;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.macro-corner-tag.is-blue {
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: #7dd3fc;
}
.macro-corner-tag.is-amber {
    background: rgba(250, 204, 21, 0.08);
    border: 1px solid rgba(250, 204, 21, 0.2);
    color: #fde047;
}
.macro-corner-tag.is-tg-max {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(192, 132, 252, 0.12) 100%);
    border: 1px solid rgba(168, 85, 247, 0.25);
    color: #e0e7ff;
}
.macro-corner-tag.is-indigo {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
}
.macro-corner-tag.is-purple {
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: #c084fc;
}
.macro-corner-tag.is-green,
.macro-corner-tag.is-emerald {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}
.macro-corner-tag.is-cyan {
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    color: #67e8f9;
}
.macro-corner-tag.is-violet {
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
}
.macro-corner-tag.is-slate {
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #cbd5e1;
}

/* Light Pastel Color Utilities for Icons and Highlights */
.is-pastel-blue { color: #7dd3fc !important; }
.is-pastel-purple { color: #c084fc !important; }
.is-pastel-green { color: #6ee7b7 !important; }
.is-pastel-amber { color: #fde047 !important; }
.is-pastel-teal { color: #5eead4 !important; }
.is-pastel-cyan { color: #67e8f9 !important; }
.is-pastel-violet { color: #c4b5fd !important; }
.is-pastel-indigo { color: #a5b4fc !important; }

/* --- 1. CHAT: 2-COLUMN HORIZONTAL SPLIT --- */
.macro-chat-stage {
    flex: 1;
    display: flex;
    gap: 12px;
    width: 100%;
    height: 100%;
    align-items: stretch;
    box-sizing: border-box;
    overflow: hidden;
    padding-top: 4px;
}
.macro-chat-inbox {
    width: 32%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
}
.macro-inbox-item {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 6px 8px;
    position: relative;
    box-sizing: border-box;
}
.macro-inbox-item.is-active {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
}
.macro-inbox-av {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9.5px;
    font-weight: 500;
    flex-shrink: 0;
}
.macro-inbox-av.is-pastel-blue {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: #7dd3fc;
}
.macro-inbox-av.is-pastel-purple {
    background: rgba(192, 132, 252, 0.15);
    border: 1px solid rgba(192, 132, 252, 0.25);
    color: #c084fc;
}
.macro-inbox-av.is-pastel-teal {
    background: rgba(45, 212, 191, 0.15);
    border: 1px solid rgba(45, 212, 191, 0.25);
    color: #5eead4;
}
.macro-inbox-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.macro-inbox-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.macro-inbox-top strong {
    font-size: 12.5px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.macro-inbox-top span {
    font-size: 10px;
    font-weight: 400;
    color: #94a3b8;
}
.macro-inbox-meta p {
    font-size: 11px;
    font-weight: 400;
    color: #94a3b8;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.macro-inbox-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}
.macro-inbox-dot.is-pastel-blue {
    background: #38bdf8;
}
.macro-chat-panel {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    box-sizing: border-box;
}
.macro-bubble {
    padding: 9px 13px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.macro-bubble p {
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    color: #ffffff;
}
.macro-bubble-sender {
    font-size: 10.5px;
    font-weight: 500;
    margin-bottom: 2px;
}
.macro-bubble.is-in {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px 12px 12px 4px;
    align-self: flex-start;
    max-width: 90%;
}
.macro-bubble.is-out {
    background: rgba(37, 99, 235, 0.35);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px 12px 4px 12px;
    align-self: flex-end;
    max-width: 90%;
}
.macro-chat-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 2px;
}
.macro-flat-pill {
    font-size: 12px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 5px;
}
.macro-flat-pill.is-pastel-green {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.22);
    color: #6ee7b7;
}

/* --- 2. AUTO-REPLIES: CASCADE & TIMELINE --- */
.macro-ar-stage {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding-top: 4px;
}
.macro-ar-in-bubble {
    align-self: flex-start;
    width: 68%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 8px 12px;
    box-sizing: border-box;
}
.macro-ar-lbl {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
    letter-spacing: 0.04em;
}
.macro-ar-in-bubble p {
    font-size: 14.5px;
    font-weight: 400;
    color: #f1f5f9;
    margin: 0;
}
.macro-ar-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 94%;
    margin: 0 auto;
    padding: 2px 6px;
    box-sizing: border-box;
}
.macro-tl-step {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #94a3b8;
    font-weight: 400;
}
.macro-tl-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
}
.macro-tl-dot.is-active.is-pastel-amber {
    background: #facc15;
}
.macro-tl-dot.is-done.is-pastel-green {
    background: #10b981;
}
.macro-tl-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}
.macro-ar-reply-box {
    align-self: flex-end;
    width: 82%;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 10px 12px;
    box-sizing: border-box;
}
.macro-bolt-flat {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.macro-bolt-flat.is-pastel-amber {
    background: rgba(250, 204, 21, 0.12);
    border: 1px solid rgba(250, 204, 21, 0.25);
    color: #fde047;
}
.macro-ar-reply-text {
    flex: 1;
    min-width: 0;
}
.macro-ar-reply-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}
.macro-ar-reply-head strong {
    font-size: 13px;
    font-weight: 500;
    color: #f8fafc;
}
.macro-typing-dots {
    display: flex;
    align-items: center;
    gap: 2.5px;
}
.macro-typing-dots span {
    width: 3.5px;
    height: 3.5px;
    border-radius: 50%;
    background: #94a3b8;
    display: inline-block;
}
.macro-ar-reply-text p {
    font-size: 13.5px;
    font-weight: 400;
    color: #cbd5e1;
    margin: 0;
}
.macro-ar-speed-badge {
    font-size: 11px;
    font-weight: 500;
    padding: 3px 6px;
    border-radius: 5px;
    flex-shrink: 0;
}
.macro-ar-speed-badge.is-pastel-amber {
    color: #fde047;
    background: rgba(250, 204, 21, 0.08);
    border: 1px solid rgba(250, 204, 21, 0.18);
}

/* --- 3. TELEGRAM & MAX: DUAL CHANNEL WITH GRADIENT --- */
.macro-tg-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
    box-sizing: border-box;
    padding-top: 4px;
}
.macro-tg-desktop-hint {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 75px;
    opacity: 0.85;
}
.macro-tg-channel {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10.5px;
    font-weight: 500;
}
.macro-tg-channel.is-tg {
    color: #38bdf8;
}
.macro-tg-channel.is-max {
    color: #c084fc;
}
.macro-tg-channel-line {
    width: 100%;
    height: 2px;
    border-radius: 1px;
    background: linear-gradient(90deg, #38bdf8 0%, #a855f7 100%);
    margin: 3px 0;
}
.macro-tg-desktop-hint.is-right {
    width: 95px;
    opacity: 0.85;
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: right;
}
.macro-tg-hint-badge {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.macro-tg-hint-text {
    font-size: 11px;
    font-weight: 400;
    color: #94a3b8;
    line-height: 1.3;
}
.macro-phone-frame {
    width: 215px;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 7px 11px 11px;
    box-sizing: border-box;
    flex-shrink: 0;
}
.macro-phone-notch {
    width: 38px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 auto 6px;
}
.macro-phone-body {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.macro-phone-head {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    font-size: 11.5px;
    font-weight: 500;
}
.macro-dual-icons {
    display: flex;
    align-items: center;
    gap: 3px;
}
.macro-chan-ico {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.macro-chan-ico.is-tg {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
}
.macro-chan-ico.is-max {
    background: rgba(192, 132, 252, 0.15);
    color: #c084fc;
}
.macro-tg-online {
    font-size: 9.5px;
    margin-left: auto;
    font-weight: 500;
}
.macro-phone-lead {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    padding: 7px 9px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.macro-phone-lead-lbl {
    font-size: 9px;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 0.05em;
}
.macro-phone-lead strong {
    font-size: 13.5px;
    color: #ffffff;
    font-weight: 500;
}
.macro-gradient-phone-btn {
    background: linear-gradient(135deg, #0284c7 0%, #4f46e5 50%, #9333ea 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 9px;
    cursor: pointer;
    text-align: center;
    outline: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* --- 4. DEALS: FULL-WIDTH KANBAN (5 COLS WITH EDGE FADE) --- */
.macro-kanban-stage {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
    padding-top: 4px;
}
.macro-kcols {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    width: 100%;
}
.macro-kcol {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-height: 95px;
    box-sizing: border-box;
}
.macro-kcol.is-target {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}
.macro-kcol.is-edge {
    opacity: 0.45;
}
.macro-kcol-title {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #94a3b8;
}
.macro-kcol-count {
    font-size: 26px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1;
}
.macro-deal-floating {
    position: absolute;
    top: 50%;
    left: 18%;
    transform: translateY(-50%);
    width: 165px;
    background: #181c26;
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    border-radius: 11px;
    padding: 7px 10px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
    z-index: 5;
    transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.macro-deal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}
.macro-deal-head strong {
    font-size: 15px;
    color: #ffffff;
    font-weight: 600;
}
.macro-deal-tag {
    font-size: 9.5px;
    font-weight: 500;
    padding: 1px 5px;
    border-radius: 3px;
}
.macro-deal-tag.is-pastel-green {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #6ee7b7;
}
.macro-deal-sub {
    font-size: 10.5px;
    font-weight: 400;
    color: #94a3b8;
}

.lp-cap.is-step-1 .macro-deal-floating { left: 36%; }
.lp-cap.is-step-2 .macro-deal-floating { left: 44%; }

/* --- 5. ADS: HORIZONTAL BRANCHING --- */
.macro-ads-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
    box-sizing: border-box;
    padding-top: 4px;
}
.macro-master-card {
    flex: 0 0 38%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-sizing: border-box;
}
.macro-master-head {
    display: flex;
    align-items: center;
    gap: 8px;
}
.macro-master-ico.is-pastel-purple {
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.25);
    color: #c084fc;
    border-radius: 8px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.macro-master-info strong {
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
    display: block;
}
.macro-master-info span {
    font-size: 10.5px;
    font-weight: 400;
    color: #94a3b8;
}
.macro-master-tags {
    display: flex;
    gap: 4px;
}
.macro-var-pill {
    font-size: 9.5px;
    font-weight: 400;
    padding: 2px 6px;
    border-radius: 4px;
}
.macro-var-pill.is-pastel-blue {
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: #7dd3fc;
}
.macro-var-pill.is-pastel-purple {
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: #c084fc;
}
.macro-lines-horiz-svg {
    flex: 1;
    height: 105px;
    max-width: 100px;
}
.macro-vector-line {
    stroke-width: 1.5;
    fill: none;
    opacity: 0.6;
}
.macro-vector-line.is-pastel-blue { stroke: #38bdf8; }
.macro-vector-line.is-pastel-purple { stroke: #a855f7; }
.macro-vector-line.is-pastel-green { stroke: #10b981; }

.macro-cities-col {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.macro-city-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    padding: 6px 10px;
    box-sizing: border-box;
}
.macro-city-name {
    font-size: 13px;
    font-weight: 500;
}
.macro-city-val {
    font-size: 10.5px;
    font-weight: 400;
    color: #94a3b8;
}

/* --- 6. IMPORT: HORIZONTAL FLEX (XLSX ON LEFT, ROWS ON RIGHT) --- */
.macro-import-stage {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
    padding-top: 4px;
}
.macro-file-box {
    flex: 0 0 110px;
    height: 110px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px;
    box-sizing: border-box;
    text-align: center;
}
.macro-file-box.is-pastel-green {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.22);
    color: #6ee7b7;
}
.macro-file-box strong {
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    word-break: break-all;
}
.macro-file-box span {
    font-size: 9.5px;
    font-weight: 400;
    color: #94a3b8;
}
.macro-import-rows {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}
.macro-imp-row {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 9px;
    padding: 8px 10px;
    box-sizing: border-box;
}
.macro-check-green {
    flex-shrink: 0;
}
.macro-imp-row span {
    font-size: 13px;
    font-weight: 400;
    color: #f1f5f9;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.macro-imp-badge {
    font-size: 10px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 4px;
}
.macro-imp-badge.is-pastel-blue {
    color: #7dd3fc;
    background: rgba(56, 189, 248, 0.08);
}
.macro-imp-badge.is-pastel-green {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.12);
}

/* --- 7. ANALYTICS: 50/50 HORIZONTAL SPLIT --- */
.macro-ana-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding-top: 4px;
}
.macro-hero-stat {
    flex: 0 0 38%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.macro-huge-num {
    font-size: 52px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.03em;
    text-shadow: none !important;
}
.macro-huge-lbl {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-top: 2px;
}
.macro-stat-diff {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    margin-top: 4px;
}
.macro-diff-old {
    color: #64748b;
    text-decoration: line-through;
}
.macro-diff-arrow {
    color: #94a3b8;
    font-size: 10px;
}
.macro-stat-sub {
    font-size: 10.5px;
    font-weight: 400;
    color: #64748b;
    margin-top: 1px;
}
.macro-bars-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.macro-bars-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 5px;
    height: 75px;
    padding-top: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.macro-bar {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}
.macro-bar::before {
    content: '';
    width: 100%;
    max-width: 14px;
    height: var(--h);
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px 4px 0 0;
    box-shadow: none !important;
}
.macro-bar.is-peak::before {
    background: #67e8f9;
    opacity: 0.85;
}
.macro-bar span {
    font-size: 10px;
    font-weight: 400;
    color: #64748b;
    margin-top: 4px;
}
.macro-bars-meta {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* --- 8. STAFF: FULL-WIDTH ROW CARDS --- */
.macro-staff-stage {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 100%;
    box-sizing: border-box;
    padding-top: 4px;
}
.macro-staff-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-sizing: border-box;
}
.macro-staff-lead {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 34%;
    min-width: 0;
}
.macro-flat-av {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.macro-flat-av.is-pastel-violet {
    background: rgba(167, 139, 250, 0.15);
    border: 1px solid rgba(167, 139, 250, 0.28);
    color: #c4b5fd;
}
.macro-flat-av.is-pastel-teal {
    background: rgba(45, 212, 191, 0.15);
    border: 1px solid rgba(45, 212, 191, 0.28);
    color: #5eead4;
}
.macro-flat-av.is-pastel-blue {
    background: rgba(96, 165, 250, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.28);
    color: #93c5fd;
}
.macro-staff-lead strong {
    font-size: 13.5px;
    color: #ffffff;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.macro-staff-scope {
    flex: 1;
    min-width: 0;
    font-size: 11.5px;
    font-weight: 400;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}
.macro-flat-badge {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 2px 7px;
    border-radius: 5px;
    flex-shrink: 0;
}
.macro-flat-badge.is-pastel-violet {
    background: rgba(167, 139, 250, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.25);
    color: #c4b5fd;
}
.macro-flat-badge.is-pastel-teal {
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.25);
    color: #5eead4;
}
.macro-flat-badge.is-pastel-blue {
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.25);
    color: #93c5fd;
}

/* --- 9. CONNECT: WIDE BALANCED ROW WITH BRIDGE --- */
.macro-connect-stage {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding-top: 4px;
}
.macro-connect-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}
.macro-brand-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 14px;
    color: #ffffff;
    text-align: center;
    box-sizing: border-box;
}
.macro-brand-side strong {
    font-size: 14px;
    font-weight: 500;
}
.macro-brand-side span {
    font-size: 10.5px;
    font-weight: 400;
    color: #94a3b8;
}
.macro-avito-dots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
}
.av-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}
.av-dot.is-r { background: #fca5a5; }
.av-dot.is-g { background: #86efac; }
.av-dot.is-b { background: #93c5fd; }
.av-dot.is-v { background: #d8b4fe; }

.macro-connect-bridge {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.macro-bridge-line {
    width: 18px;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.15);
}
.macro-ios-switch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
}
.macro-switch-track {
    width: 44px;
    height: 26px;
    border-radius: 13px;
    background: #10b981;
    position: relative;
    display: block;
}
.macro-switch-thumb {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}
.macro-switch-label {
    font-size: 10px;
    font-weight: 600;
}
.macro-connect-status {
    text-align: center;
    font-size: 11px;
    font-weight: 400;
    color: #94a3b8;
}

/* --- 10. MISSION CONTROL: FULL-WIDTH 3 WIDGETS + SPARKLINES --- */
.macro-overview-stage {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    flex: 1;
    width: 100%;
    align-items: center;
    box-sizing: border-box;
    padding-top: 4px;
}
.macro-widget-sq {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 110px;
    box-sizing: border-box;
}
.macro-sparkline {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 36px;
    opacity: 0.25;
    pointer-events: none;
}
.macro-sparkline.is-pastel-green { color: #6ee7b7; }
.macro-sparkline.is-pastel-blue { color: #7dd3fc; }
.macro-sparkline.is-pastel-amber { color: #fde047; }

.macro-sq-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}
.macro-sq-head span {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: #94a3b8;
}
.macro-flat-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.macro-flat-dot.is-pastel-green { background: #10b981; }
.macro-flat-dot.is-pastel-blue { background: #38bdf8; }
.macro-flat-dot.is-pastel-amber { background: #facc15; }

.macro-sq-num {
    font-size: 34px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1;
    margin: 2px 0;
    letter-spacing: -0.02em;
    text-shadow: none !important;
    position: relative;
    z-index: 2;
}
.macro-sq-sub {
    font-size: 10.5px;
    color: #94a3b8;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

/* Mobile Responsiveness for Feature Cards */
@media (max-width: 640px) {
    .lp-cap {
        padding: 22px 16px !important;
        gap: 16px !important;
        border-radius: 20px !important;
    }
    .lp-cap-copy h3 {
        font-size: 22px !important;
        margin-bottom: 10px !important;
    }
    .lp-cap-copy p {
        font-size: 15px !important;
        line-height: 1.55 !important;
    }
    .agy-shot {
        width: 90% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        height: 125px !important;
        max-height: 125px !important;
        padding: 12px 14px !important;
    }
    .lp-cap.is-unfolding .agy-shot,
    .lp-cap.is-step-1 .agy-shot,
    .lp-cap.is-step-2 .agy-shot {
        width: 100% !important;
        margin: 0 !important;
        height: 280px !important;
        max-height: 380px !important;
    }

    .macro-corner-tag { top: 10px; right: 10px; font-size: 10px; padding: 2px 7px; }

    /* Mobile Chat: hide inbox to keep active conversation clear */
    .macro-chat-inbox { display: none; }
    .macro-chat-panel { width: 100%; }

    /* Mobile Ar */
    .macro-ar-in-bubble { width: 85%; }
    .macro-ar-reply-box { width: 95%; }
    .macro-ar-timeline { display: none; }

    /* Mobile Telegram & MAX */
    .macro-tg-desktop-hint { display: none; }
    .macro-phone-frame { width: 100%; max-width: 215px; margin: 0 auto; }

    /* Mobile Kanban: 3 cols instead of 5 to fit small screens */
    .macro-kcols { grid-template-columns: repeat(3, 1fr); }
    .macro-kcol.is-edge { display: none; }
    .macro-kcol-count { font-size: 22px; }
    .macro-deal-floating { width: 140px; }

    /* Mobile Ads */
    .macro-master-card { flex: 0 0 45%; padding: 8px 10px; }
    .macro-cities-col { flex: 0 0 45%; }
    .macro-city-item { padding: 4px 6px; }

    /* Mobile Import */
    .macro-file-box { flex: 0 0 85px; height: 95px; padding: 6px; }
    .macro-file-box strong { font-size: 10px; }

    /* Mobile Analytics */
    .macro-huge-num { font-size: 38px; }
    .macro-ana-stage { gap: 10px; }
    .macro-bars-meta { display: none; }

    /* Mobile Staff */
    .macro-staff-scope { display: none; }
    .macro-staff-lead { flex: 1; }

    /* Mobile Connect */
    .macro-bridge-line { width: 8px; }
    .macro-brand-side { padding: 8px 8px; }
    .macro-brand-side strong { font-size: 12px; }

    /* Mobile Overview */
    .macro-overview-stage { gap: 6px; }
    .macro-widget-sq { padding: 8px 6px; height: 95px; }
    .macro-sq-num { font-size: 24px; }
}


@media (prefers-reduced-motion: reduce) {
    .agy-shot, .agy-msg, .agy-ar-node, .branch-line, .ana-bar::before, .agy-kcard {
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
    }
}
