/* AI Octopus Hero Product Showcase */

.hero-showcase {
    --ao-primary: #0f2744;
    --ao-accent: #5dc4bb;
    --ao-whatsapp: #25d366;
    --ao-instagram: #e4405f;
    --ao-messenger: #0084ff;
    --ao-webchat: #5dc4bb;
    --ao-sms: #64748b;
    --ao-api: #8b5cf6;
    --ao-ai: #6366f1;
    --ao-ticket: #f59e0b;
    --ao-lead: #3b82f6;
    --ao-cart: #7c3aed;
    --ao-delivery: #22c55e;
    --ao-booking: #4f46e5;
    --ao-payment: #10b981;
    --ao-chart: #0ea5e9;
    --ao-card: #ffffff;
    --ao-muted: #64748b;
    --ao-bg: #f8fafc;
}

.ai-octopus-hero-showcase {
    position: relative;
    width: 100%;
}

.hero-showcase {
    outline: none;
}

.showcase-frame {
    position: relative;
    border-radius: 28px;
    background: linear-gradient(145deg, #0f2744 0%, #1a3a5c 45%, #152d4a 100%);
    box-shadow: 0 24px 60px rgba(15, 39, 68, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.06);
    overflow: hidden;
    min-height: 520px;
}

.showcase-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    gap: 12px;
}

.showcase-topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.showcase-window-dots {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.showcase-window-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.showcase-window-dots span:nth-child(1) { background: #ef4444; }
.showcase-window-dots span:nth-child(2) { background: #f59e0b; }
.showcase-window-dots span:nth-child(3) { background: #22c55e; }

.showcase-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(93, 196, 187, 0.15);
    border: 1px solid rgba(93, 196, 187, 0.35);
    color: #a8ebe6;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.showcase-live-badge .status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #5dc4bb;
    animation: showcasePulse 2s ease infinite;
}

.showcase-topbar-title {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.showcase-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.showcase-scene-num {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    font-variant-numeric: tabular-nums;
}

.showcase-paused-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #5dc4bb;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.hero-showcase.is-paused .showcase-paused-label {
    opacity: 1;
}

.showcase-slides {
    position: relative;
    min-height: 380px;
}

.showcase-slide {
    position: absolute;
    inset: 0;
    padding: 20px 22px 12px;
    opacity: 0;
    transform: translateX(18px) scale(0.98);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.showcase-slide.is-active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    z-index: 2;
}

.showcase-slide-header {
    margin-bottom: 14px;
}

.showcase-slide-header h3 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.3;
}

.showcase-slide-header p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.45;
    max-width: 420px;
}

/* Shared dashboard panels */
.showcase-panel {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 14px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    overflow: hidden;
}

.showcase-dash {
    display: grid;
    gap: 10px;
    height: 100%;
}

.showcase-dash-inbox {
    grid-template-columns: 44px minmax(0, 110px) minmax(0, 1fr) minmax(0, 100px);
    min-height: 260px;
}

.showcase-sidebar {
    background: #0f2744;
    border-radius: 10px;
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.showcase-sidebar-logo {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(93, 196, 187, 0.2);
    color: #5dc4bb;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.showcase-sidebar-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
}

.showcase-sidebar-icon.active {
    background: rgba(93, 196, 187, 0.22);
    color: #5dc4bb;
}

.showcase-conv-list {
    background: #f8fafc;
    border-radius: 10px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.showcase-conv-item {
    padding: 8px;
    border-radius: 8px;
    font-size: 10px;
    border: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.showcase-conv-item.active {
    background: #fff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 39, 68, 0.06);
}

.showcase-conv-item .conv-title {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.showcase-conv-item .conv-preview {
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.showcase-channel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.showcase-channel-dot.wa { background: #25d366; }
.showcase-channel-dot.ig { background: #e4405f; }
.showcase-channel-dot.fb { background: #0084ff; }
.showcase-channel-dot.web { background: #5dc4bb; }

.showcase-chat {
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
}

.showcase-bubble {
    max-width: 88%;
    padding: 8px 11px;
    border-radius: 12px;
    font-size: 10px;
    line-height: 1.45;
    color: #1e293b;
}

.showcase-bubble.in {
    align-self: flex-start;
    background: #f1f5f9;
    border-bottom-left-radius: 4px;
}

.showcase-bubble.out {
    align-self: flex-end;
    background: #dcf8c6;
    border-bottom-right-radius: 4px;
}

.showcase-profile {
    background: #f8fafc;
    border-radius: 10px;
    padding: 10px 8px;
    font-size: 10px;
}

.showcase-profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #5dc4bb;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.showcase-profile-name {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.showcase-tag {
    display: inline-block;
    background: rgba(93, 196, 187, 0.15);
    color: #1a3a5c;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 600;
    margin: 2px 2px 0 0;
}

.showcase-status {
    margin-top: 6px;
    font-size: 9px;
    color: #64748b;
}

/* Slide 2: AI */
.showcase-dash-ai {
    grid-template-columns: 1fr minmax(0, 140px);
    min-height: 260px;
}

.showcase-ai-panel {
    background: linear-gradient(160deg, #eef9f8, #f0f4ff);
    border: 1px solid rgba(93, 196, 187, 0.35);
    border-radius: 10px;
    padding: 10px;
    font-size: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.showcase-ai-panel h4 {
    font-size: 10px;
    font-weight: 700;
    color: #1a3a5c;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.showcase-ai-panel h4 i {
    color: #5dc4bb;
}

.showcase-ai-suggest {
    background: #fff;
    border-radius: 8px;
    padding: 8px;
    color: #334155;
    line-height: 1.45;
    border: 1px solid #e2e8f0;
}

.showcase-confidence {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(93, 196, 187, 0.15);
    color: #1a3a5c;
    padding: 3px 8px;
    border-radius: 50px;
    font-size: 9px;
    font-weight: 600;
}

.showcase-ai-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.showcase-btn-sm {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 600;
    border: none;
    cursor: default;
}

.showcase-btn-sm.primary {
    background: #5dc4bb;
    color: #fff;
}

.showcase-btn-sm.secondary {
    background: #fff;
    color: #1a3a5c;
    border: 1px solid #e2e8f0;
}

.showcase-typing {
    display: inline-flex;
    gap: 3px;
    padding: 8px 12px;
    background: #f1f5f9;
    border-radius: 12px;
    align-self: flex-start;
}

.showcase-typing span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #94a3b8;
    animation: showcaseTyping 1.2s ease infinite;
}

.showcase-typing span:nth-child(2) { animation-delay: 0.15s; }
.showcase-typing span:nth-child(3) { animation-delay: 0.3s; }

/* Slide 3: Kanban */
.showcase-kanban {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    min-height: 260px;
}

.showcase-kanban-col {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-kanban-col h4 {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.showcase-kanban-card {
    background: #fff;
    border-radius: 8px;
    padding: 8px;
    font-size: 10px;
    margin-bottom: 6px;
    border: 1px solid #e2e8f0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.showcase-kanban-card .card-title {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.showcase-kanban-card .card-meta {
    color: #64748b;
    font-size: 9px;
}

.showcase-kanban-card.highlight {
    border-color: #5dc4bb;
    box-shadow: 0 4px 12px rgba(93, 196, 187, 0.25);
}

.showcase-assign-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 10px;
    margin-top: 8px;
    font-size: 10px;
}

.showcase-assign-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    color: #475569;
}

.showcase-assign-row strong {
    color: #1e293b;
}

/* Slide 4: WhatsApp */
.showcase-dash-wa {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    min-height: 260px;
}

.showcase-wa-template {
    padding: 12px;
}

.showcase-wa-template h4 {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}

.showcase-template-row {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    margin-bottom: 6px;
    color: #475569;
}

.showcase-badge-approved {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #dcfce7;
    color: #166534;
    padding: 3px 8px;
    border-radius: 50px;
    font-size: 9px;
    font-weight: 600;
}

.showcase-pipeline {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.showcase-pipeline-step {
    flex: 1;
    min-width: 52px;
    text-align: center;
    padding: 6px 4px;
    background: #f1f5f9;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 600;
    color: #94a3b8;
    transition: background 0.3s ease, color 0.3s ease;
}

.showcase-pipeline-step.active {
    background: #dcfce7;
    color: #166534;
}

.showcase-pipeline-arrow {
    color: #cbd5e1;
    font-size: 10px;
}

.showcase-wa-buttons {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.showcase-wa-btn {
    flex: 1;
    padding: 6px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 600;
    color: #166534;
    text-align: center;
}

.showcase-webhook {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 9px;
    color: #64748b;
}

.showcase-webhook .live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
}

/* Slide 5: Campaigns */
.showcase-campaign {
    min-height: 260px;
}

.showcase-campaign-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 8px;
}

.showcase-campaign-header h4 {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.showcase-demo-note {
    font-size: 9px;
    color: #94a3b8;
    font-style: italic;
}

.showcase-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.showcase-stat-card {
    background: #f8fafc;
    border-radius: 8px;
    padding: 8px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.showcase-stat-card .stat-val {
    font-size: 14px;
    font-weight: 700;
    color: #0f2744;
    display: block;
}

.showcase-stat-card .stat-label {
    font-size: 9px;
    color: #64748b;
}

.showcase-segments {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.showcase-segment {
    padding: 4px 8px;
    background: rgba(93, 196, 187, 0.12);
    border-radius: 50px;
    font-size: 9px;
    font-weight: 600;
    color: #1a3a5c;
}

.showcase-progress-row {
    margin-bottom: 8px;
}

.showcase-progress-row label {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: #64748b;
    margin-bottom: 4px;
}

.showcase-progress-track {
    height: 6px;
    background: #e2e8f0;
    border-radius: 50px;
    overflow: hidden;
}

.showcase-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #5dc4bb, #4aada4);
    border-radius: 50px;
    width: 0;
    transition: width 1s ease;
}

.showcase-slide.is-active .showcase-progress-fill.anim-fill {
    width: var(--fill, 80%);
}

.showcase-inbox-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #eef9f8;
    border: 1px solid rgba(93, 196, 187, 0.3);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 10px;
    color: #1a3a5c;
}

/* Slide 6: Reports */
.showcase-reports {
    min-height: 260px;
}

.showcase-metrics-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.showcase-metric {
    background: #f8fafc;
    border-radius: 8px;
    padding: 10px 8px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.showcase-metric .metric-val {
    font-size: 16px;
    font-weight: 700;
    color: #0f2744;
}

.showcase-metric .metric-label {
    font-size: 9px;
    color: #64748b;
    margin-top: 2px;
}

.showcase-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.showcase-chart {
    background: #f8fafc;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #e2e8f0;
}

.showcase-chart h5 {
    font-size: 10px;
    font-weight: 600;
    color: #475569;
    margin: 0 0 8px;
}

.showcase-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 70px;
}

.showcase-bar {
    flex: 1;
    background: #cbd5e1;
    border-radius: 4px 4px 0 0;
    min-height: 8px;
    transition: height 0.8s ease, background 0.3s ease;
}

.showcase-bar.active {
    background: #5dc4bb;
}

.showcase-bar-labels {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.showcase-bar-labels span {
    flex: 1;
    text-align: center;
    font-size: 8px;
    color: #94a3b8;
}

/* Slide 7: Mobile */
.showcase-mobile-layout {
    display: grid;
    grid-template-columns: minmax(0, 140px) minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 260px;
}

.showcase-phone {
    background: #1e293b;
    border-radius: 22px;
    padding: 10px 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    border: 2px solid #334155;
    max-width: 140px;
    margin: 0 auto;
}

.showcase-phone-notch {
    width: 40%;
    height: 4px;
    background: #475569;
    border-radius: 4px;
    margin: 0 auto 8px;
}

.showcase-phone-screen {
    background: #fff;
    border-radius: 14px;
    padding: 10px 8px;
    min-height: 200px;
    font-size: 9px;
}

.showcase-phone-notif {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 8px;
    display: flex;
    gap: 6px;
    align-items: flex-start;
}

.showcase-phone-notif i {
    color: #25d366;
    margin-top: 2px;
}

.showcase-phone-notif strong {
    display: block;
    color: #1e293b;
    font-size: 9px;
}

.showcase-phone-notif span {
    color: #64748b;
    font-size: 8px;
}

.showcase-desktop-mini {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 12px;
    font-size: 10px;
}

.showcase-sync-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid #e2e8f0;
}

.showcase-sync-status {
    margin-left: auto;
    font-size: 9px;
    font-weight: 600;
    color: #166534;
    background: #dcfce7;
    padding: 3px 8px;
    border-radius: 50px;
}

.showcase-sync-status.pending {
    color: #b45309;
    background: #fef3c7;
}

/* Controls */
.showcase-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px 8px;
    background: rgba(0, 0, 0, 0.15);
}

.showcase-dot {
    appearance: none;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 10px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
    line-height: 1.2;
}

.showcase-dot:hover,
.showcase-dot:focus-visible {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    outline: 2px solid rgba(93, 196, 187, 0.6);
    outline-offset: 2px;
}

.showcase-dot.is-active {
    background: #5dc4bb;
    color: #0f2744;
}

.showcase-progress {
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
}

.showcase-progress-bar {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #5dc4bb, #7dd3fc);
    transform-origin: left;
}

.showcase-progress-bar.is-animating {
    animation: showcaseProgress var(--showcase-duration, 4500ms) linear forwards;
}

/* Floating badges */
.showcase-floats {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

.showcase-float-badge {
    position: absolute;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 20px rgba(15, 39, 68, 0.12);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    color: #1a3a5c;
    white-space: nowrap;
    animation: showcaseFloat 4s ease-in-out infinite;
}

.showcase-float-badge:nth-child(1) { top: 8%; right: -4%; animation-delay: 0s; }
.showcase-float-badge:nth-child(2) { bottom: 28%; right: -6%; animation-delay: 0.8s; }
.showcase-float-badge:nth-child(3) { top: 42%; left: -5%; animation-delay: 1.6s; }
.showcase-float-badge:nth-child(4) { bottom: 12%; left: -3%; animation-delay: 2.4s; }

.showcase-float-badge i {
    color: #5dc4bb;
    margin-right: 4px;
}

/* SEO text */
.showcase-seo-text {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.6;
    color: #64748b;
    max-width: 100%;
}

.showcase-seo-text strong {
    color: #1a3a5c;
    font-weight: 600;
}

/* Slide micro-animations */
@keyframes showcasePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

@keyframes showcaseTyping {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-3px); opacity: 1; }
}

@keyframes showcaseProgress {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes showcaseFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

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

@keyframes showcaseSlideIn {
    from { opacity: 0; transform: translateX(-12px); }
    to { opacity: 1; transform: translateX(0); }
}

.showcase-slide.is-active .anim-fade-up {
    animation: showcaseFadeUp 0.5s ease forwards;
}

.showcase-slide.is-active .anim-delay-1 { animation-delay: 0.15s; opacity: 0; }
.showcase-slide.is-active .anim-delay-2 { animation-delay: 0.3s; opacity: 0; }
.showcase-slide.is-active .anim-delay-3 { animation-delay: 0.45s; opacity: 0; }
.showcase-slide.is-active .anim-delay-4 { animation-delay: 0.6s; opacity: 0; }

.showcase-slide.is-active .anim-slide-in {
    animation: showcaseSlideIn 0.45s ease forwards;
}

.showcase-slide.is-active .showcase-pipeline-step.anim-step:nth-child(1) { transition-delay: 0.2s; }
.showcase-slide.is-active .showcase-pipeline-step.anim-step:nth-child(3) { transition-delay: 0.5s; }
.showcase-slide.is-active .showcase-pipeline-step.anim-step:nth-child(5) { transition-delay: 0.8s; }
.showcase-slide.is-active .showcase-pipeline-step.anim-step:nth-child(7) { transition-delay: 1.1s; }

.showcase-slide.is-active .showcase-pipeline-step.anim-step.active {
    background: #dcfce7;
    color: #166534;
}

.showcase-slide.is-active .showcase-bar.anim-bar {
    height: var(--h, 40%);
}

.showcase-slide.is-active .showcase-bar.anim-bar:nth-child(1) { transition-delay: 0.1s; }
.showcase-slide.is-active .showcase-bar.anim-bar:nth-child(2) { transition-delay: 0.2s; }
.showcase-slide.is-active .showcase-bar.anim-bar:nth-child(3) { transition-delay: 0.3s; }
.showcase-slide.is-active .showcase-bar.anim-bar:nth-child(4) { transition-delay: 0.4s; }

.showcase-slide.is-active .showcase-kanban-card.anim-move {
    animation: showcaseKanbanMove 1.2s ease 0.4s forwards;
}

@keyframes showcaseKanbanMove {
    0% { transform: translateX(0); opacity: 1; }
    40% { transform: translateX(60px); opacity: 0.6; }
    100% { transform: translateX(0); opacity: 1; }
}

.showcase-notification-toast {
    position: absolute;
    top: 58px;
    right: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 39, 68, 0.15);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 10px;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.showcase-notification-toast.visible {
    opacity: 1;
    transform: translateY(0);
}

.showcase-notification-toast i {
    color: #25d366;
}

/* Responsive */
@media (max-width: 991px) {
    .showcase-frame {
        min-height: 460px;
    }

    .showcase-slides {
        min-height: 340px;
    }

    .showcase-float-badge {
        display: none;
    }

    .showcase-dash-inbox {
        grid-template-columns: 36px minmax(0, 90px) minmax(0, 1fr);
    }

    .showcase-profile.mobile-hide {
        display: none;
    }

    .showcase-dash-ai {
        grid-template-columns: 1fr;
    }

    .showcase-ai-panel.mobile-hide {
        display: none;
    }

    .showcase-kanban {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .showcase-kanban-col:nth-child(3),
    .showcase-kanban-col:nth-child(4) {
        display: none;
    }

    .showcase-dash-wa {
        grid-template-columns: 1fr;
    }

    .showcase-stats-grid,
    .showcase-metrics-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .showcase-charts {
        grid-template-columns: 1fr;
    }

    .showcase-mobile-layout {
        grid-template-columns: 120px 1fr;
    }

    .showcase-controls {
        gap: 4px;
        padding: 10px 12px 6px;
    }

    .showcase-dot {
        padding: 5px 8px;
        font-size: 9px;
    }
}

@media (max-width: 575px) {
    .showcase-frame {
        border-radius: 20px;
        min-height: 400px;
    }

    .showcase-slide {
        padding: 14px 14px 8px;
    }

    .showcase-slide-header h3 {
        font-size: 13px;
    }

    .showcase-slide-header p {
        font-size: 11px;
    }

    .showcase-slides {
        min-height: 300px;
    }

    .showcase-dash-inbox {
        grid-template-columns: 32px 1fr;
    }

    .showcase-conv-list.mobile-hide {
        display: none;
    }

    .showcase-topbar-title {
        display: none;
    }

    .showcase-dot-label-short {
        display: inline;
    }

    .showcase-dot-label-full {
        display: none;
    }

    .showcase-kanban {
        grid-template-columns: 1fr 1fr;
    }

    .showcase-mobile-layout {
        grid-template-columns: 1fr;
    }

    .showcase-phone {
        max-width: 120px;
    }

    .showcase-notification-toast {
        right: 10px;
        left: 10px;
        font-size: 9px;
    }
}

@media (min-width: 576px) {
    .showcase-dot-label-short {
        display: none;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-showcase .showcase-slide {
        transition: opacity 0.2s ease;
        transform: none;
    }

    .hero-showcase .showcase-slide.is-active .anim-fade-up,
    .hero-showcase .showcase-slide.is-active .anim-slide-in,
    .hero-showcase .showcase-kanban-card.anim-move,
    .hero-showcase .showcase-live-badge .status-dot,
    .hero-showcase .showcase-float-badge,
    .hero-showcase .showcase-typing span {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-showcase .showcase-progress-bar.is-animating {
        animation: none !important;
        width: 100%;
    }

    .hero-showcase .showcase-bar.anim-bar {
        height: var(--h, 40%) !important;
        transition: none !important;
    }
}

/* Platform slider v2 — 9 scenes */
.showcase-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background 0.2s ease;
}

.showcase-arrow:hover,
.showcase-arrow:focus-visible {
    background: rgba(93, 196, 187, 0.35);
    outline: 2px solid rgba(93, 196, 187, 0.5);
    outline-offset: 2px;
}

.showcase-arrow-prev { left: 10px; }
.showcase-arrow-next { right: 10px; }

.showcase-footer {
    background: rgba(0, 0, 0, 0.15);
}

.showcase-footer .showcase-progress {
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
}

.showcase-sidebar-tall {
    gap: 6px;
}

.showcase-sidebar-tall .showcase-sidebar-icon {
    width: 26px;
    height: 26px;
    font-size: 11px;
}

.showcase-knowledge-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.showcase-knowledge-chip {
    font-size: 9px;
    padding: 4px 8px;
    border-radius: 50px;
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.showcase-knowledge-chip.active {
    background: rgba(93, 196, 187, 0.15);
    color: #1a3a5c;
    border-color: rgba(93, 196, 187, 0.35);
}

.showcase-dash-calls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    min-height: 240px;
}

.showcase-chat-mini {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.showcase-call-card {
    padding: 12px;
    font-size: 10px;
}

.showcase-call-card h4 {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}

.showcase-call-card h4 i {
    color: #25d366;
    margin-right: 4px;
}

.showcase-call-ring {
    animation: showcaseCallPulse 2s ease infinite;
}

@keyframes showcaseCallPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(93, 196, 187, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(93, 196, 187, 0); }
}

.showcase-rule-card {
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 10px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.85);
}

.showcase-kanban-tickets {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.showcase-dash-leads {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.showcase-lead-pipeline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.showcase-pipeline-pill {
    font-size: 9px;
    padding: 4px 10px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.showcase-pipeline-pill.active {
    background: rgba(93, 196, 187, 0.2);
    color: #a8ebe6;
    border-color: rgba(93, 196, 187, 0.4);
}

.showcase-pipeline-arrow-sm {
    color: rgba(255, 255, 255, 0.35);
    font-size: 10px;
}

.showcase-lead-profile {
    padding: 12px;
}

.showcase-lead-profile h4 {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}

.showcase-lead-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.showcase-dash-ecom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 10px;
}

.showcase-product-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.showcase-product-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    font-size: 10px;
    font-weight: 600;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.showcase-product-card.active {
    border-color: #5dc4bb;
    background: rgba(93, 196, 187, 0.08);
    color: #1a3a5c;
}

.showcase-product-card i {
    color: #5dc4bb;
}

.showcase-order-card {
    padding: 12px;
}

.showcase-order-card h4 {
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1e293b;
}

.showcase-dash-delivery {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
}

.showcase-map-mock {
    position: relative;
    background: linear-gradient(180deg, #e8f4f8 0%, #d1e7dd 100%);
    border-radius: 10px;
    min-height: 160px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
}

.showcase-map-route {
    position: absolute;
    top: 30%;
    left: 15%;
    width: 55%;
    height: 3px;
    background: #5dc4bb;
    transform: rotate(25deg);
    border-radius: 2px;
}

.showcase-map-route::after {
    content: "";
    position: absolute;
    right: -4px;
    top: -3px;
    border: 5px solid transparent;
    border-left-color: #5dc4bb;
}

.showcase-map-pin {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 12px;
}

.showcase-map-pin.start {
    top: 20%;
    left: 12%;
    color: #1a3a5c;
}

.showcase-map-pin.end {
    bottom: 25%;
    right: 18%;
    color: #ef4444;
}

.showcase-delivery-card {
    padding: 12px;
    font-size: 10px;
}

.showcase-booking {
    padding: 14px;
}

.showcase-booking-slots {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.showcase-slot {
    padding: 6px 12px;
    border-radius: 6px;
    background: #f1f5f9;
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.showcase-slot.active {
    background: #5dc4bb;
    color: #fff;
    border-color: #5dc4bb;
}

.showcase-subscription-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.text-teal { color: #5dc4bb !important; }
.text-success { color: #166534 !important; }
.text-warning { color: #b45309 !important; }

@media (max-width: 991px) {
    .showcase-dash-calls {
        grid-template-columns: 1fr;
    }
    .showcase-dash-ecom,
    .showcase-dash-delivery {
        grid-template-columns: 1fr;
    }
    .showcase-kanban-tickets {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .showcase-arrow {
        display: none;
    }
}

@media (max-width: 575px) {
    .showcase-controls {
        gap: 3px;
    }
    .showcase-dot {
        padding: 4px 6px;
        font-size: 8px;
    }
}
