/* Hero Dashboard Mockup */
.hero__mockup {
    margin-top: 4rem;
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-right: 1.5rem;
    padding-bottom: 2rem;
    box-sizing: border-box;
    perspective: 1400px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__mockup.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.mockup-window {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl, 16px);
    box-sizing: border-box;
    overflow: hidden;
    /* isolation fixes Chrome 3D transform + overflow:hidden + border-radius bug */
    isolation: isolate;
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.12) inset,
        0 0 80px rgba(99, 102, 241, 0.45),
        0 2px 0 rgba(255, 255, 255, 0.06);
    /* Default static tilt — JS overrides via CSS vars */
    transform: perspective(1200px) rotateX(var(--rx, 5deg)) rotateY(var(--ry, -3deg)) translateZ(0);
    -webkit-transform: perspective(1200px) rotateX(var(--rx, 5deg)) rotateY(var(--ry, -3deg)) translateZ(0);
    transition: transform 0.08s linear, box-shadow 0.4s ease;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform-origin: center center;
}

/* When user hovers and JS takes over — elevate the shadow */
.mockup-window.tilt-active {
    box-shadow: 0 32px 96px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset,
        0 0 90px rgba(99, 102, 241, 0.5);
    transition: transform 0.06s linear, box-shadow 0.4s ease;
}

/* Return-to-default transition when mouse leaves */
.mockup-window.tilt-return {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.6s ease;
}


/* Header */
.mockup-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--glass-border, rgba(255, 255, 255, 0.05));
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dots .close {
    background: #ff5f56;
}

.mockup-dots .min {
    background: #ffbd2e;
}

.mockup-dots .max {
    background: #27c93f;
}

.mockup-title {
    margin: 0 auto;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Body */
.mockup-body {
    display: flex;
    height: 400px;
    background: var(--bg-layer-1);
    border-bottom-left-radius: var(--radius-xl, 16px);
    border-bottom-right-radius: var(--radius-xl, 16px);
    overflow: hidden;
    /* clip status-dot, progress bars and any animated children */
    position: relative;
}

/* Sidebar */
.mockup-sidebar {
    width: 125px;
    min-width: 125px;
    background: rgba(0, 0, 0, 0.15);
    padding: 14px 8px;
    border-right: 1px solid var(--glass-border, rgba(255, 255, 255, 0.05));
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ms-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 8px;
    border-radius: 5px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
}

.ms-item svg,
.ms-item i {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.ms-item:hover,
.ms-item.is-hover {
    background: rgba(255, 255, 255, 0.05);
}

.ms-item.active {
    background: rgba(253, 151, 31, 0.15);
    color: #fd971f;
}

.ms-divider {
    height: 1px;
    background: var(--border-color, rgba(255, 255, 255, 0.08));
    margin: 4px 12px;
    border-radius: 1px;
}

/* Content */
.mockup-content {
    flex: 1;
    min-width: 0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    /* Hide any overflow scrollbars */
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    /* AI mini-card absolute positioning context */
}

.mockup-content::-webkit-scrollbar,
.mc-view::-webkit-scrollbar,
.mockup-body::-webkit-scrollbar {
    display: none;
    width: 0;
}

.mc-view {
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* CRITICAL: hide all views by default; JS adds .active to show one */
    display: none;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    overflow: hidden;
}

/* The active view is shown and fades in */
.mc-view.active {
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: mc-view-enter 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes mc-view-enter {
    from {
        opacity: 0;
        transform: translateX(14px) translateY(3px);
    }

    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}


.mc-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-layer-2);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.05));
    position: relative;
    overflow: hidden;
}

.mc-search {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.mc-progress {
    width: 120px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.mc-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #f92672);
    animation: mcProgress 4s ease-out forwards;
}

@keyframes mcProgress {
    0% {
        width: 0%;
    }

    50% {
        width: 70%;
    }

    100% {
        width: 100%;
    }
}

/* KPI Strip */
.mc-kpi-strip {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 4px;
}

.mc-kpi {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.mc-kpi strong {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 2px;
    line-height: 1.2;
}

.mc-kpi--quality strong { color: #22c55e; }
.mc-kpi--revenue strong { color: #fd971f; }

/* Table */
.mc-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mc-row {
    display: grid;
    grid-template-columns: 2fr 1.4fr 1fr 0.7fr;
    padding: 8px 10px;
    align-items: center;
    border-radius: 6px;
    background: var(--bg-layer-2);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.03));
}

.mc-header {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding-bottom: 4px;
}

.mc-col {
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
    color: var(--text-primary);
}

.mc-col span:not(.mc-badge):not(.mc-score) {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 1px;
}

.mc-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    width: max-content;
}

.mc-badge-valid {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.mc-badge-invalid {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.mc-badge-pending {
    background: rgba(253, 151, 31, 0.1);
    color: #fd971f;
    border: 1px solid rgba(253, 151, 31, 0.2);
}

.mc-score {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
}

.score-high {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.2);
}

.score-low {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.score-med {
    background: rgba(253, 151, 31, 0.15);
    color: #fd971f;
}

/* Row Animations */
.mc-data {
    opacity: 0;
    transform: translateX(-10px);
}

.is-visible .mc-animate-1 {
    animation: mcFadeIn 0.5s 0.5s forwards;
}

.is-visible .mc-animate-2 {
    animation: mcFadeIn 0.5s 1.0s forwards;
}

.is-visible .mc-animate-3 {
    animation: mcFadeIn 0.5s 1.5s forwards;
}

.is-visible .mc-animate-4 {
    animation: mcFadeIn 0.5s 2.0s forwards;
}

@keyframes mcFadeIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ── Interactive Demo UI ── */
.demo-cursor {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    z-index: 100;
    pointer-events: none;
    transition: transform 0.1s ease-out;
    /* Smooth transition for location */
    opacity: 0;
}

.demo-cursor.active {
    opacity: 1;
}

.demo-cursor svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transform-origin: top left;
    transition: transform 0.15s ease;
}

.demo-cursor.clicking svg {
    transform: scale(0.8);
}

/* Toast */
.mc-toast {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 50;
    pointer-events: none;
}

.mc-toast.show {
    bottom: 24px;
    opacity: 1;
}

/* Slide-over Panel */
.mc-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    background: var(--bg-layer-2);
    border-left: 1px solid var(--glass-border, rgba(255, 255, 255, 0.05));
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 40;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
}

.mc-panel.open {
    transform: translateX(0);
}

.mc-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
}

.mc-panel-title {
    font-weight: 600;
    font-size: 1rem;
}

.mc-panel-close {
    opacity: 0.5;
}

.mc-panel-block {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 12px;
}

.mc-panel-block h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 8px 0;
}

.mc-stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.mc-stat-row:last-child {
    margin-bottom: 0;
}

.mc-click-target {
    cursor: pointer;
}

.mc-click-target:hover {
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero__mockup {
        perspective: none;
        transform: none;
    }

    .mockup-window {
        transform: none;
    }

    .mockup-window:hover {
        transform: none;
    }

    .mockup-sidebar {
        display: none;
    }

    .mc-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .mc-header {
        display: none;
    }

    .mc-row.mc-data {
        grid-template-columns: 1fr;
        position: relative;
    }

    .mc-col:nth-child(2) {
        display: none;
    }

    .mc-col:nth-child(4) {
        position: absolute;
        right: 16px;
        top: 16px;
    }

    .mc-kpi-strip {
        flex-wrap: wrap;
    }

    .mc-kpi {
        flex: 1 1 45%;
    }

    #demoCursor {
        display: none !important;
    }

    .mc-ai-mini {
        transform: scale(0.85);
        transform-origin: top right;
        right: 8px !important;
        top: 8px !important;
    }
}

/* ── HERO SPLIT LAYOUT ─────────────────────────────── */
.hero__split {
    display: grid;
    grid-template-columns: 36% 64%;
    gap: 36px;
    align-items: start;
    text-align: left;
}

.hero__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

/* Override centered alignment from landing-aplus for split layout */
.hero__split .hero__badge,
.hero__split .hero__title,
.hero__split .hero__sub,
.hero__split .hero__cta,
.hero__split .hero__micro,
.hero__split .hero__stats {
    text-align: left;
}

.hero__split .hero__micro {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-top: 0.75rem;
}

.hero__split .hero__stats {
    justify-content: flex-start;
    padding: 20px 24px;
    gap: 0;
    margin-top: 2rem;
    margin-bottom: 0;
}

.hero__split .stat {
    padding: 0 20px;
}

.hero__split .stat:first-child {
    padding-left: 0;
}

.hero__right {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
}

.hero__right .hero__mockup {
    margin-top: 0;
    width: 100%;
    max-width: 100%;
}

/* ── FILTER PILL ───────────────────────────────────── */
.mc-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.18);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.mc-filter-pill:hover {
    background: rgba(99, 102, 241, 0.14);
    color: #a5b4fc;
}

/* ── PHONE BADGE ───────────────────────────────────── */
.mc-badge-phone {
    background: rgba(99, 102, 241, 0.12);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.25);
}

/* ── CREDIT CHIP ───────────────────────────────────── */
.mc-credit-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(253, 151, 31, 0.12);
    color: #fd971f;
    border: 1px solid rgba(253, 151, 31, 0.25);
    white-space: nowrap;
}

/* ── RESPONSIVE: collapse split to single column ─────── */
@media (max-width: 1024px) {
    .hero__split {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero__split .hero__badge,
    .hero__split .hero__title,
    .hero__split .hero__sub,
    .hero__split .hero__cta,
    .hero__split .hero__micro {
        text-align: center;
    }

    .hero__left {
        align-items: center;
    }

    .hero__split .hero__stats {
        justify-content: center;
    }

    .hero__split .stat:first-child {
        padding-left: 20px;
    }
}

/* ── AI Scoring Analysis Panel ───────────────────────────────── */
.mc-ai-panel {
    position: absolute;
    top: 12px;
    right: -8px;
    width: 220px;
    background: rgba(18, 19, 26, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    opacity: 0;
    transform: translateX(20px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.2, 0, 0, 1);
    z-index: 50;
}

.mc-ai-panel.is-visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.mc-ai-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.mc-ai-panel__title {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.2px;
}

.mc-ai-panel__close {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
}

.mc-ai-panel__score {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 6px;
    padding: 6px 8px;
    margin-bottom: 10px;
}

.mc-ai-panel__score strong {
    color: #fd971f;
    font-size: 13px;
    display: block;
    letter-spacing: 0;
    margin-top: 2px;
}

.mc-ai-panel__rows {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}

.mc-ai-panel__row {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.mc-ai-val {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.mc-ai-val--high {
    color: #22c55e;
}

.mc-ai-panel__signals-label {
    font-size: 8.5px;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.mc-ai-panel__signals {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mc-ai-signal {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 5px;
    padding: 4px 7px;
}

/* ── cursor visibility helpers ───────────────────────────────── */
.cursor-visible {
    opacity: 1 !important;
}

.cursor-click {
    transform: scale(0.85) !important;
}

/* ═══════════════════════════════════════════════════════════════
   SLIDE-IN ANIMATION (used by JS staggerRows)
═══════════════════════════════════════════════════════════════ */
@keyframes mcSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════════════════════
   VIEW: MY BATCHES
═══════════════════════════════════════════════════════════════ */
.mc-batch-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mc-batch-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 10px 12px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.mc-batch-item:hover {
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.2);
}

.mc-batch-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.mc-batch-meta strong {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.mc-batch-tag {
    font-size: 9.5px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 10px;
    letter-spacing: 0.3px;
}

.mc-batch-tag--running {
    background: rgba(253, 151, 31, 0.12);
    color: #fd971f;
    border: 1px solid rgba(253, 151, 31, 0.25);
}

.mc-batch-tag--done {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.mc-batch-tag--queue {
    background: rgba(129, 140, 248, 0.1);
    color: #818cf8;
    border: 1px solid rgba(129, 140, 248, 0.2);
}

/* ═══════════════════════════════════════════════════════════════
   VIEW: OPPORTUNITIES
═══════════════════════════════════════════════════════════════ */
.mc-opp-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mc-opp-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    cursor: default;
}

.mc-opp-item:hover {
    background: rgba(99, 102, 241, 0.07);
    border-color: rgba(99, 102, 241, 0.18);
    transform: translateX(2px);
}

.mc-opp-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #f92672);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9.5px;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

.mc-opp-info {
    flex: 1;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
}

.mc-opp-info strong {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-right: 4px;
}

.mc-opp-signals {
    display: flex;
    gap: 5px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.mc-signal {
    font-size: 9px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
}

.mc-signal--hot {
    background: rgba(249, 38, 114, 0.12);
    color: #f92672;
    border: 1px solid rgba(249, 38, 114, 0.2);
}

/* ═══════════════════════════════════════════════════════════════
   VIEW: INTEGRATIONS
═══════════════════════════════════════════════════════════════ */
.mc-int-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mc-int-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: background 0.2s ease;
}

.mc-int-item.mc-int-connected {
    border-color: rgba(34, 197, 94, 0.15);
    background: rgba(34, 197, 94, 0.03);
}

.mc-int-item:hover {
    background: rgba(99, 102, 241, 0.06);
}

.mc-int-logo {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    flex-shrink: 0;
}

.mc-int-info {
    flex: 1;
}

.mc-int-info strong {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1px;
}

.mc-int-info span {
    font-size: 9.5px;
    color: rgba(255, 255, 255, 0.4);
}

.mc-int-status {
    font-size: 9.5px;
    font-weight: 600;
    flex-shrink: 0;
}

.mc-int-status--on {
    color: #22c55e;
}

.mc-int-status--off {
    color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.04);
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.mc-int-status--off:hover {
    color: #818cf8;
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.25);
}

/* ═══════════════════════════════════════════════════════════════
   VIEW: SETTINGS
═══════════════════════════════════════════════════════════════ */
.mc-setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 7px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    transition: background 0.2s ease;
}

.mc-setting-row:hover {
    background: rgba(99, 102, 241, 0.05);
}

.mc-setting-row span:first-child {
    color: rgba(255, 255, 255, 0.5);
}

/* ═══════════════════════════════════════════════════════════════
   CREDIT CHIP (marketplace buy button)
═══════════════════════════════════════════════════════════════ */
.mc-credit-chip {
    font-size: 9px;
    font-weight: 700;
    color: #fd971f;
    background: rgba(253, 151, 31, 0.1);
    border: 1px solid rgba(253, 151, 31, 0.25);
    border-radius: 8px;
    padding: 2px 7px;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM REDESIGN — Hero Mockup V4
═══════════════════════════════════════════════════════════════ */

/* ── Window: gradient accent line on top edge ──────────────── */
.mockup-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(99, 102, 241, 0.6) 20%,
            rgba(249, 38, 114, 0.5) 60%,
            transparent 100%);
    z-index: 10;
    pointer-events: none;
}

/* Ensure window is relative for the pseudo-element */
.mockup-window {
    position: relative;
}

/* ── Ambient glow behind the mockup window ─────────────────── */
.hero__mockup::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse at center,
            rgba(99, 102, 241, 0.15) 0%,
            transparent 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

/* ── Progress bar shimmer animation ───────────────────────────*/
@keyframes progressShimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes progressFill {
    from {
        width: 0%;
    }

    to {
        width: 74%;
    }
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }

    50% {
        opacity: 0.85;
        transform: scale(1.15);
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0);
    }
}

@keyframes rowFadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animated progress bar fill */
.hero__mockup.is-visible .mc-progress-bar-fill {
    animation: progressFill 1.8s 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    background: linear-gradient(90deg,
            #fd971f 0%,
            #f92672 40%,
            rgba(255, 255, 255, 0.3) 50%,
            #f92672 60%,
            #fd971f 100%);
    background-size: 200% auto;
    animation: progressFill 1.8s 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards,
        progressShimmer 2.5s 2.2s linear infinite;
}

/* Processing / status dot pulse */
.mc-status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
    animation: statusPulse 2s ease-in-out infinite;
    margin: 0 5px;
}

/* ── Row stagger animation ──────────────────────────────────── */
.hero__mockup.is-visible .mc-row.mc-data {
    animation: rowFadeUp 0.45s ease forwards;
    opacity: 0;
}

.hero__mockup.is-visible .mc-animate-1 {
    animation-delay: 0.5s;
}

.hero__mockup.is-visible .mc-animate-2 {
    animation-delay: 0.7s;
}

.hero__mockup.is-visible .mc-animate-3 {
    animation-delay: 0.9s;
}

.hero__mockup.is-visible .mc-animate-4 {
    animation-delay: 1.1s;
}

/* ── Row hover micro-interaction ───────────────────────────── */
.mc-row.mc-data {
    transition: background 0.18s ease, transform 0.18s ease;
    cursor: default;
}

.mc-row.mc-data:hover {
    background: rgba(99, 102, 241, 0.07);
    transform: translateX(2px);
}

/* ── Score badge: circular + glow ──────────────────────────── */
.mc-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-weight: 800;
    font-size: 10px;
    letter-spacing: -0.3px;
}

.mc-score-high {
    background: rgba(34, 197, 94, 0.18);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.35);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.25);
}

.mc-score-med {
    background: rgba(253, 151, 31, 0.18);
    color: #fd971f;
    border: 1px solid rgba(253, 151, 31, 0.35);
    box-shadow: 0 0 8px rgba(253, 151, 31, 0.2);
}

.mc-score-low {
    background: rgba(239, 68, 68, 0.18);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.35);
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.2);
}

/* ── Status badges: refined with glow ──────────────────────── */
.mc-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    width: max-content;
}

.mc-badge-valid {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.12);
}

.mc-badge-invalid,
.mc-badge-bounce {
    background: rgba(251, 113, 133, 0.1);
    color: #fb7185;
    border: 1px solid rgba(251, 113, 133, 0.3);
}

.mc-badge-pending {
    background: rgba(251, 191, 36, 0.08);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.25);
}

/* ── Sidebar: premium active state ─────────────────────────── */
.mockup-sidebar {
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.25) 0%,
            rgba(0, 0, 0, 0.12) 100%);
}

.ms-item.active {
    background: rgba(99, 102, 241, 0.14) !important;
    color: #a5b4fc !important;
    border-left: 2px solid #6366f1;
    padding-left: 6px;
    box-shadow: inset 0 0 12px rgba(99, 102, 241, 0.08);
}

.ms-item:not(.active) {
    border-left: 2px solid transparent;
}

/* ── AI Analysis mini-card ─────────────────────────────────── */
.mc-ai-mini {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 172px;
    background: rgba(10, 10, 20, 0.94);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 10px;
    padding: 10px 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 20;
}

.mc-ai-mini__label {
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(165, 180, 252, 0.7);
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.mc-ai-mini__label::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #6366f1;
    box-shadow: 0 0 6px rgba(99, 102, 241, 0.8);
}

.mc-ai-mini__score {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.mc-ai-mini__score span {
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    margin-left: 2px;
}

.mc-ai-mini__rows {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 7px;
    padding-top: 7px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mc-ai-mini__row {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
}

.mc-ai-mini__val {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.mc-ai-mini__val--green {
    color: #4ade80;
}

.mc-ai-mini__val--blue {
    color: #818cf8;
}

/* ── Bottom status strip ───────────────────────────────────── */
.mockup-status-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 26px;
    background: rgba(0, 0, 0, 0.30);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 10px;
    font-size: 9.5px;
    color: rgba(255, 255, 255, 0.35);
    z-index: 15;
}

.mockup-status-strip strong {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
}

.mockup-status-strip__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 4px rgba(34, 197, 94, 0.6);
    flex-shrink: 0;
}

/* ── Progress bar wrap ─────────────────────────────────────── */
.mc-progress-bar-wrap {
    margin-bottom: 6px;
}

/* ── View header ───────────────────────────────────────────── */
.mc-view-header {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}

.mc-view-title {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   V5 PREMIUM REDESIGN — Dashboard Fidelity + Animations
═══════════════════════════════════════════════════════════════ */

/* ── Window: strong visible border ("бортик") ─────────────── */
.mockup-window {
    border: 1.5px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow:
        /* outer indigo glow ring */
        0 0 0 1px rgba(99, 102, 241, 0.35),
        /* deep depth */
        0 40px 120px rgba(0, 0, 0, 0.75),
        /* soft indigo bloom */
        0 0 100px rgba(99, 102, 241, 0.18),
        /* top edge shine */
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        /* bottom inner shadow */
        inset 0 -1px 0 rgba(0, 0, 0, 0.35) !important;
}

/* Title bar: match real dashboard dark top bar */
.mockup-header {
    background: linear-gradient(180deg, rgba(12, 12, 28, 0.9), rgba(18, 18, 38, 0.7)) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 10px 16px !important;
}

/* ── Sidebar: ORANGE active state (matches real dashboard) ─── */
.ms-item.active {
    background: rgba(253, 151, 31, 0.14) !important;
    color: #fd971f !important;
    border-left: 2px solid #fd971f !important;
    padding-left: 6px;
    box-shadow: none !important;
}

.ms-item.active svg {
    stroke: #fd971f !important;
}

.ms-item {
    border-left: 2px solid transparent;
}

/* Data Assets item (new) */
.ms-item--data-assets {
    color: rgba(255, 255, 255, 0.5);
    font-size: 10.5px;
}

/* Sidebar divider */
.ms-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 4px 8px;
}

/* ── KPI Strip ──────────────────────────────────────────────── */
.mc-kpi-strip {
    display: flex;
    gap: 0;
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.mc-kpi {
    flex: 1;
    padding: 7px 10px;
    background: rgba(0, 0, 0, 0.2);
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mc-kpi:last-child {
    border-right: none;
}

.mc-kpi strong {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1;
}

.mc-kpi--quality strong {
    color: #22c55e;
}

.mc-kpi--revenue strong {
    color: #6366f1;
}

/* ── Scan animation ──────────────────────────────────────────*/
@keyframes scanDown {
    0% {
        top: 0;
        opacity: 0.7;
    }

    90% {
        top: calc(100% - 4px);
        opacity: 0.4;
    }

    100% {
        top: calc(100% - 4px);
        opacity: 0;
    }
}

@keyframes scanLoop {

    0%,
    15% {
        transform: translateY(-100%);
        opacity: 0;
    }

    20% {
        transform: translateY(0);
        opacity: 0.6;
    }

    80% {
        transform: translateY(280px);
        opacity: 0.3;
    }

    85%,
    100% {
        transform: translateY(300px);
        opacity: 0;
    }
}

.mc-table {
    position: relative;
}

.mc-table::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(99, 102, 241, 0.6) 30%,
            rgba(249, 38, 114, 0.6) 70%,
            transparent 100%);
    animation: scanLoop 4s 1.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 10;
    transform: translateY(-100%);
    opacity: 0;
}

/* ── AI card: forced text colors ──────────────────────────── */
.mc-ai-mini .mc-ai-mini__label {
    font-size: 8.5px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    color: rgba(165, 180, 252, 0.8) !important;
    margin-bottom: 5px !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.mc-ai-mini .mc-ai-mini__score {
    font-size: 22px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    line-height: 1 !important;
    margin-bottom: 4px !important;
    letter-spacing: -0.5px !important;
}

.mc-ai-mini .mc-ai-mini__score span {
    font-size: 10px !important;
    color: rgba(255, 255, 255, 0.45) !important;
    font-weight: 500 !important;
}

.mc-ai-mini .mc-ai-mini__row {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 9px !important;
    color: rgba(255, 255, 255, 0.4) !important;
}

.mc-ai-mini .mc-ai-mini__val {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600 !important;
}

.mc-ai-mini .mc-ai-mini__val--green {
    color: #4ade80 !important;
}

.mc-ai-mini .mc-ai-mini__val--blue {
    color: #818cf8 !important;
}

.mc-ai-mini .mc-ai-mini__rows {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    margin-top: 7px !important;
    padding-top: 7px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* ── Mockup body height bump for KPI strip ───────────────── */
.mockup-body {
    height: 430px !important;
}

/* ── RESPONSIVE: small phones ── */
@media (max-width: 480px) {
    .hero__mockup {
        margin-top: 20px;
    }

    .mockup-window {
        border-radius: 10px;
        border-width: 1px;
    }

    .mockup-titlebar {
        padding: 6px 10px;
        font-size: 10px;
    }

    .mockup-body {
        height: auto !important;
        min-height: 200px;
        padding: 10px !important;
    }

    .mc-kpi-strip {
        flex-wrap: wrap;
        gap: 6px;
    }

    .mc-kpi {
        flex: 1 1 45%;
        padding: 8px !important;
    }

    .mc-kpi__val {
        font-size: 16px !important;
    }

    .mc-kpi__label {
        font-size: 9px !important;
    }

    .mc-ai-panel,
    .mc-ai-mini {
        display: none !important;
    }

    .mc-row {
        gap: 8px;
    }

    .mc-row.mc-data {
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .mockup-window {
        border-radius: 8px;
    }

    .mc-kpi {
        flex: 1 1 100%;
    }
}