.analytics-body {
    background: #050508;
    padding: 20px;
    min-height: 100vh;
}

.analytics-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.header-text {
    flex: 1;
    text-align: left;
}

.header-text h1 {
    font-size: 2.8rem;
    margin-bottom: 12px;
    background: linear-gradient(to right, #fff, var(--mclaren-orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-text p {
    color: var(--text-dim);
    font-size: 1.2rem;
}

.hero-image {
    flex: 1;
    max-width: 450px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 0 35px rgba(255, 135, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 900px) {
    .analytics-hero {
        flex-direction: column;
        text-align: center;
    }
    .header-text { text-align: center; }
}


.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.stat-card.large {
    grid-column: span 2;
}

.stat-card h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.chart-container {
    flex-grow: 1;
    min-height: 250px;
    position: relative;
}

.stat-card.summary {
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 135, 0, 0.1), rgba(0, 229, 255, 0.05));
    border: 1px solid rgba(255, 135, 0, 0.2);
}

.big-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--mclaren-orange);
    line-height: 1;
}

.label {
    font-size: 0.9rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
    font-weight: 700;
}

.divider {
    height: 1px;
    width: 60%;
    background: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

@media (max-width: 900px) {
    .stat-card.large {
        grid-column: span 1;
    }
}
