/* Dashboard Mockup Styles */
.dashboard-mockup {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    animation: float 3s ease-in-out infinite;
}

.browser-frame {
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    overflow: hidden;
}

.browser-header {
    background: var(--bg-secondary);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

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

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
}

.browser-dots span:nth-child(1) { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #10b981; }

.browser-url {
    flex: 1;
    text-align: center;
    background: var(--bg-primary);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.dashboard-content {
    display: flex;
    height: 400px;
    background: var(--bg-primary);
}

.dashboard-sidebar {
    width: 60px;
    background: var(--bg-secondary);
    padding: 16px 8px;
    border-right: 1px solid var(--border-color);
}

.sidebar-item {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    margin-bottom: 16px;
}

.sidebar-item.active {
    background: var(--primary-color);
}

.dashboard-main {
    flex: 1;
    padding: 20px;
}

.hero-image .stat-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.hero-image .stat-card {
    background: var(--bg-secondary);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}

.hero-image .stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    animation: countUp 2s ease-out forwards;
}

.hero-image .stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.chart-area {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 20px;
    height: 200px;
    display: flex;
    align-items: flex-end;
}

.chart-bars {
    display: flex;
    gap: 12px;
    width: 100%;
    align-items: flex-end;
}

.bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary-color), var(--secondary-color));
    border-radius: 4px 4px 0 0;
    animation: growBar 1.5s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmerBar 3s infinite;
    animation-delay: 2s;
}

@keyframes growBar {
    from {
        height: 0 !important;
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes shimmerBar {
    to {
        left: 100%;
    }
}

/* Floating Elements */
.floating-element {
    position: absolute;
    animation: float 3s ease-in-out infinite;
    background: white;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.floating-element svg {
    display: block;
}

.floating-element.element-1 {
    top: 10%;
    right: -30px;
    animation-delay: 0s;
}

.floating-element.element-2 {
    bottom: 20%;
    left: -30px;
    animation-delay: 1s;
}

.floating-element.element-3 {
    top: 50%;
    right: -40px;
    animation-delay: 2s;
}

/* Remove old floating card styles */
.floating-card {
    display: none;
}

/* Additional dashboard enhancements */
.dashboard-header-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    padding: 12px;
    background: linear-gradient(135deg, var(--bg-secondary), transparent);
    border-radius: 8px;
}

.header-stat {
    flex: 1;
}

.header-stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.header-stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 2s infinite;
}

/* Live indicator */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
    margin-bottom: 12px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: livePulse 2s infinite;
}

.live-text {
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 600;
}

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

/* Activity feed */
.activity-feed {
    margin-top: 16px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 8px;
    max-height: 120px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.8rem;
    animation: slideInLeft 0.5s ease-out;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
}

.activity-text {
    flex: 1;
    color: var(--text-secondary);
}

.activity-time {
    color: var(--text-secondary);
    opacity: 0.6;
    font-size: 0.7rem;
}

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