/* =========================================
   ARTIWING - PREMIUM DEVICE MOCKUP STYLES
   Professional Product Showcase Animation
   ========================================= */

/* ===== DEVICE SHOWCASE CONTAINER ===== */
.device-showcase {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    perspective: 1800px;
    perspective-origin: center center;
    display: flex;
    justify-content: center;
}

/* ===== PROFESSIONAL LAPTOP DEVICE ===== */
.laptop-device {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin-right: 80px;
    animation: deviceEntrance 1.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
               deviceFloat 10s ease-in-out 1.8s infinite;
    opacity: 0;
    transform-style: preserve-3d;
}

@keyframes deviceEntrance {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.92) rotateX(12deg);
    }
    60% {
        transform: translateY(-5px) scale(1.01) rotateX(-1deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

@keyframes deviceFloat {
    0%, 100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
    }
    25% {
        transform: translateY(-8px) rotateX(1deg) rotateY(1deg);
    }
    50% {
        transform: translateY(-15px) rotateX(2deg) rotateY(0deg);
    }
    75% {
        transform: translateY(-8px) rotateX(1deg) rotateY(-1deg);
    }
}

.laptop-device:hover {
    animation-play-state: paused;
}

.laptop-frame {
    position: relative;
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    border-radius: 12px 12px 0 0;
    padding: 8px 8px 0 8px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.laptop-device:hover .laptop-frame {
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.5),
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.laptop-camera {
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #374151 30%, #1F2937 70%);
    border-radius: 50%;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 2px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.laptop-display {
    background: #FFFFFF;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Screen reflection overlay */
.laptop-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        110deg,
        transparent 30%,
        rgba(255, 255, 255, 0.08) 45%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.08) 55%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 1000;
    animation: reflectionSweep 10s ease-in-out infinite;
}

@keyframes reflectionSweep {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    20% {
        opacity: 0.3;
    }
    40% {
        opacity: 1;
    }
    50% {
        transform: translateX(50%);
        opacity: 1;
    }
    60% {
        opacity: 1;
    }
    80% {
        opacity: 0.3;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.laptop-bottom {
    height: 12px;
    background: linear-gradient(180deg, #D1D5DB 0%, #9CA3AF 50%, #6B7280 100%);
    border-radius: 0 0 16px 16px;
    position: relative;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.laptop-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.laptop-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #4B5563, transparent);
    border-radius: 0 0 4px 4px;
}

.laptop-stand {
    height: 3px;
    background: linear-gradient(180deg, #9CA3AF, #6B7280);
    margin: 0 auto;
    width: 45%;
    border-radius: 0 0 4px 4px;
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.2),
        0 1px 3px rgba(0, 0, 0, 0.15);
}

/* ===== APP INTERFACE ===== */
.app-interface {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #F8F9FA;
    position: relative;
}

/* Top Navigation Bar */
.app-topbar {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    box-shadow:
        0 3px 16px rgba(0, 0, 0, 0.2),
        0 1px 4px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 100;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.app-logo-pro {
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-icon-pro {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #FF5757, #FF7676);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 11px;
    box-shadow:
        0 3px 12px rgba(255, 87, 87, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 3px 12px rgba(255, 87, 87, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(255, 87, 87, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    }
}

.logo-text-pro {
    color: white;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.app-modules {
    display: flex;
    gap: 6px;
}

.module-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.module-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.module-icon.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-notifications {
    position: relative;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
}

.topbar-notifications:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
    font-size: 8px;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 8px;
    min-width: 14px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px 4px 4px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
}

.topbar-user:hover {
    background: rgba(255, 255, 255, 0.12);
}

.user-name-pro {
    color: white;
    font-size: 10px;
    font-weight: 500;
}

.user-avatar-pro {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 10px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.dropdown-arrow {
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.2s ease;
}

.topbar-user:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Main Content Area */
.app-main {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* Left Navigation Sidebar */
.app-nav-sidebar {
    width: 180px;
    background: linear-gradient(180deg, #2C3E50 0%, #263849 100%);
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
    box-shadow:
        3px 0 16px rgba(0, 0, 0, 0.15),
        1px 0 4px rgba(0, 0, 0, 0.1),
        inset -1px 0 0 rgba(0, 0, 0, 0.1);
    animation: sidebarSlideIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
    opacity: 0;
}

@keyframes sidebarSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    60% {
        transform: translateX(3px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, #FF5757, #FF7676);
    transform: scaleY(0);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    transform: translateX(4px);
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.12);
    color: white;
}

.nav-item.active::before {
    transform: scaleY(1);
}

.nav-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.9;
}

/* Dashboard Content Area */
.dashboard-content {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background: linear-gradient(180deg, #F8F9FA 0%, #F3F4F6 100%);
    animation: contentFadeIn 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards;
    opacity: 0;
}

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

/* Content Header */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.page-title-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-icon {
    color: #3B82F6;
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.3));
    animation: titleIconFloat 3s ease-in-out infinite;
}

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

.dashboard-title {
    font-size: 16px;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
    letter-spacing: -0.3px;
}

.help-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 2px 8px rgba(59, 130, 246, 0.15),
        0 1px 2px rgba(0, 0, 0, 0.05);
}

.help-button:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.35);
    transform: translateY(-2px);
    box-shadow:
        0 4px 16px rgba(59, 130, 246, 0.25),
        0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Primary Revenue Metric Card */
.primary-metric-card {
    background: linear-gradient(135deg, #4F8FF7 0%, #3B7FE8 50%, #2968D9 100%);
    border-radius: 12px;
    padding: 16px;
    color: white;
    margin-bottom: 14px;
    box-shadow:
        0 8px 32px rgba(59, 130, 246, 0.35),
        0 2px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: primaryCardEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s forwards;
    opacity: 0;
    transform: translateY(-20px);
}

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

/* Animated gradient overlay */
.primary-metric-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        120deg,
        transparent 35%,
        rgba(255, 255, 255, 0.12) 48%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.12) 52%,
        transparent 65%
    );
    animation: shimmerMove 6s ease-in-out infinite;
}

@keyframes shimmerMove {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0.8;
    }
    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 1;
    }
    100% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0.8;
    }
}

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.metric-label {
    font-size: 11px;
    font-weight: 600;
    opacity: 1;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.time-tabs {
    display: flex;
    gap: 4px;
}

.time-tab {
    font-size: 9px;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.time-tab:hover {
    background: rgba(255, 255, 255, 0.22);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.time-tab.active {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
}

.metric-value-large {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    animation: valueCountUp 2s cubic-bezier(0.34, 1.56, 0.64, 1) 1s forwards;
}

@keyframes valueCountUp {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    60% {
        transform: scale(1.05);
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.metric-chart {
    display: flex;
    gap: 6px;
    align-items: flex-end;
    height: 28px;
    position: relative;
    z-index: 1;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.35) 100%);
    border-radius: 4px 4px 0 0;
    height: 0;
    position: relative;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 2px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: none;
    animation: barRise 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes barRise {
    0% {
        height: 0;
        opacity: 0;
        transform: scaleY(0);
    }
    60% {
        height: calc(var(--height) * 1.1);
        transform: scaleY(1.05);
    }
    100% {
        height: var(--height);
        opacity: 1;
        transform: scaleY(1);
    }
}

.chart-bar:nth-child(1) { animation-delay: 1.2s; }
.chart-bar:nth-child(2) { animation-delay: 1.35s; }
.chart-bar:nth-child(3) { animation-delay: 1.5s; }
.chart-bar:nth-child(4) { animation-delay: 1.65s; }

.chart-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    border-radius: 4px 4px 0 0;
}

.chart-bar:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.45) 100%);
    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 2px rgba(0, 0, 0, 0.1);
}

/* Overview Grid - Financial Cards */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.info-card {
    background: white;
    border-radius: 8px;
    padding: 10px 12px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(228, 231, 236, 0.8);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    animation: cardPopIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    position: relative;
}

@keyframes cardPopIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    60% {
        transform: translateY(-2px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.info-card:nth-child(1) { animation-delay: 1.8s; }
.info-card:nth-child(2) { animation-delay: 2s; }
.info-card:nth-child(3) { animation-delay: 2.2s; }

.info-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.14),
        0 8px 20px rgba(0, 0, 0, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(228, 231, 236, 1);
}

.info-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.card-title-small {
    font-size: 11px;
    font-weight: 700;
    color: #6B7280;
    letter-spacing: 0.3px;
}

.card-badge-value {
    font-size: 12px;
    font-weight: 700;
    color: #3B82F6;
}

.card-title-medium {
    font-size: 10px;
    color: #6B7280;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-title-small-compact {
    font-size: 9px;
    color: #6B7280;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.metric-compact {
    font-size: 16px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 4px;
    line-height: 1.2;
    white-space: nowrap;
}

.metric-compact.primary {
    color: #3B82F6;
}

.metric-sub-compact {
    font-size: 9px;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.metric-sub-compact svg {
    color: #10B981;
}

.info-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    padding: 8px 0;
    border-top: 1px solid #F3F4F6;
}

.info-row:first-child {
    border-top: none;
    padding-top: 0;
}

.info-row.highlight {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.05), transparent);
    margin: 4px -14px 0;
    padding: 10px 14px;
    border-radius: 6px;
}

.row-label {
    color: #6B7280;
    font-weight: 500;
}

.row-value {
    font-weight: 700;
    color: #1F2937;
}

.row-value.success {
    color: #10B981;
}

.row-value.muted {
    color: #9CA3AF;
}

.row-value.bold {
    font-size: 11px;
}

.card-metrics {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.metric-large-text {
    font-size: 16px;
    font-weight: 700;
    color: #1F2937;
}

.metric-large-text.primary {
    color: #3B82F6;
}

.metric-sub-text {
    font-size: 10px;
    color: #9CA3AF;
}

.metric-number,
.metric-percent {
    font-weight: 700;
    color: #6B7280;
}

/* Activity Panel */
.activity-panel {
    margin-top: 14px;
}

.panel-title {
    font-size: 13px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 12px;
    padding-left: 2px;
    position: relative;
}

.panel-title::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: linear-gradient(180deg, #3B82F6, #2563EB);
    border-radius: 2px;
}

.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.activity-row {
    background: white;
    padding: 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.07),
        0 1px 4px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(243, 244, 246, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: activitySlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
    transform: translateX(-20px);
    position: relative;
}

@keyframes activitySlideIn {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    60% {
        transform: translateX(3px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.activity-row:nth-child(1) { animation-delay: 2.4s; }
.activity-row:nth-child(2) { animation-delay: 2.6s; }
.activity-row:nth-child(3) { animation-delay: 2.8s; }

.activity-row:hover {
    transform: translateX(8px) scale(1.02);
    box-shadow:
        0 10px 32px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.08),
        -5px 0 0 rgba(59, 130, 246, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(243, 244, 246, 1);
}

.activity-icon-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.activity-icon-wrapper.blue-icon {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

.activity-icon-wrapper.green-icon {
    background: linear-gradient(135deg, #10B981, #059669);
}

.activity-icon-wrapper.orange-icon {
    background: linear-gradient(135deg, #F59E0B, #F97316);
}

.activity-info {
    flex: 1;
    min-width: 0;
}

.activity-name {
    font-size: 11px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 3px;
}

.activity-details {
    font-size: 9px;
    color: #9CA3AF;
}

.activity-amount {
    font-size: 11px;
    font-weight: 700;
    color: #10B981;
}

.activity-badge {
    font-size: 10px;
    font-weight: 700;
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
}

/* Toast Notifications */
.toast-notification {
    position: absolute;
    top: 340px;
    right: 380px;
    background: white;
    padding: 10px 12px;
    border-radius: 10px;
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.18),
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    pointer-events: none;
    z-index: 200;
    animation: toastAppear 5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes toastAppear {
    0%, 100% {
        opacity: 0;
        transform: translateX(120px) scale(0.9) rotateY(20deg);
    }
    10%, 90% {
        opacity: 1;
        transform: translateX(0) scale(1) rotateY(0deg);
    }
}

.toast-notification:nth-child(7) {
    animation-delay: 3s;
    top: 290px;
}

.toast-notification:nth-child(8) {
    animation-delay: 6s;
    top: 340px;
}

.toast-icon-wrapper {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.toast-icon-wrapper.orange-toast {
    background: linear-gradient(135deg, #F59E0B, #F97316);
}

.toast-icon-wrapper.green-toast {
    background: linear-gradient(135deg, #10B981, #059669);
}

.toast-text {
    flex: 1;
}

.toast-title-text {
    font-size: 11px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 3px;
}

.toast-subtitle {
    font-size: 10px;
    color: #6B7280;
}

.toast-dismiss {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s ease;
    border-radius: 50%;
}

.toast-dismiss:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #6B7280;
}

/* ===== PREMIUM MOBILE DEVICE ===== */
.mobile-device {
    position: absolute;
    bottom: -32px;
    right: -120px;
    width: 32%;
    animation: mobileEntrance 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards,
               mobileFloat 9s ease-in-out 2s infinite;
    opacity: 0;
    transform-style: preserve-3d;
}

@keyframes mobileEntrance {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.88) rotateY(15deg);
    }
    60% {
        transform: translateY(-5px) scale(1.02) rotateY(-2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateY(0deg);
    }
}

@keyframes mobileFloat {
    0%, 100% {
        transform: translateY(0) rotateY(0deg) rotateX(0deg);
    }
    25% {
        transform: translateY(-10px) rotateY(-1.5deg) rotateX(1deg);
    }
    50% {
        transform: translateY(-20px) rotateY(-3deg) rotateX(0deg);
    }
    75% {
        transform: translateY(-10px) rotateY(-1.5deg) rotateX(-1deg);
    }
}

.mobile-device:hover {
    animation-play-state: paused;
}

.mobile-device:hover .mobile-frame {
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.4),
        0 12px 32px rgba(0, 0, 0, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.mobile-frame {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    border-radius: 26px;
    padding: 10px;
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.35),
        0 8px 24px rgba(0, 0, 0, 0.25),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-notch-bar {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 38%;
    height: 20px;
    background: #000000;
    border-radius: 0 0 14px 14px;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.mobile-notch-bar::before {
    content: '';
    position: absolute;
    top: 6px;
    right: 10px;
    width: 6px;
    height: 6px;
    background: #1F2937;
    border-radius: 50%;
}

.mobile-display {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 9 / 19;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Mobile App Interface */
.mobile-app {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-top-bar {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    padding: 24px 12px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mobile-logo-icon {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #FF5757, #FF7676);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 10px;
    box-shadow: 0 2px 8px rgba(255, 87, 87, 0.4);
}

.mobile-brand-text {
    color: white;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.4px;
}

.mobile-top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-notif-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    border-radius: 50%;
    animation: mobilePulse 2s ease-in-out infinite;
}

@keyframes mobilePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.mobile-action-icon {
    color: rgba(255, 255, 255, 0.9);
}

.mobile-user-circle {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 9px;
}

.mobile-screen-content {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: linear-gradient(180deg, #F8F9FA 0%, #F3F4F6 100%);
}

.mobile-page-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 6px;
}

.mobile-card {
    background: white;
    padding: 12px;
    border-radius: 12px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(228, 231, 236, 0.8);
    animation: mobileCardPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
    transform: scale(0.9) translateY(10px);
}

@keyframes mobileCardPop {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.mobile-card:nth-child(2) { animation-delay: 1.6s; }
.mobile-card:nth-child(3) { animation-delay: 1.8s; }

.mobile-card.primary-mobile-card {
    background: linear-gradient(135deg, #4F8FF7 0%, #3B7FE8 50%, #2968D9 100%);
    color: white;
    box-shadow:
        0 8px 32px rgba(59, 130, 246, 0.35),
        0 4px 16px rgba(59, 130, 246, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.mobile-card-label {
    font-size: 9px;
    font-weight: 600;
    margin-bottom: 6px;
    opacity: 0.9;
}

.mobile-card-value,
.mobile-card-value-large {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.mobile-card-value-large {
    font-size: 22px;
}

.mobile-card-change {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    font-weight: 600;
}

.mobile-card.primary-mobile-card .mobile-card-change {
    color: rgba(255, 255, 255, 0.95);
}

.mobile-alert-banner {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 600;
    color: #92400E;
    margin-top: auto;
    animation: alertBannerPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 2.8s forwards;
    opacity: 0;
    box-shadow:
        0 4px 16px rgba(245, 158, 11, 0.25),
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

@keyframes alertBannerPop {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.alert-indicator {
    width: 8px;
    height: 8px;
    background: #F59E0B;
    border-radius: 50%;
    animation: alertPulse 2s ease-in-out infinite;
}

@keyframes alertPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1024px) {
    .device-showcase {
        max-width: 750px;
    }

    .laptop-device {
        max-width: 480px;
        margin-right: 60px;
    }

    .mobile-device {
        width: 35%;
        bottom: -24px;
        right: -100px;
    }

    .app-nav-sidebar {
        width: 160px;
    }

    .dashboard-content {
        padding: 12px;
    }

    .overview-grid {
        grid-template-columns: 1fr;
    }

    .toast-notification {
        right: 300px;
    }
}

@media (max-width: 768px) {
    .device-showcase {
        max-width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .laptop-device {
        animation: none;
        margin-right: 0;
        max-width: 100%;
    }

    .mobile-device {
        position: relative;
        width: 50%;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        animation: none;
    }

    .app-nav-sidebar {
        width: 140px;
        padding: 8px 4px;
    }

    .nav-item {
        padding: 8px;
        font-size: 10px;
    }

    .dashboard-content {
        padding: 10px;
    }

    .primary-metric-card {
        padding: 12px;
    }

    .metric-value-large {
        font-size: 20px;
    }

    .toast-notification {
        right: 20px;
        min-width: 180px;
        top: 250px;
    }

    .toast-notification:nth-child(7) {
        top: 210px;
    }

    .toast-notification:nth-child(8) {
        top: 250px;
    }
}
