/* =====================================================================
   PromptShop AI — dashboard.css
   Layout específico do painel: hero de estatística + grid de cards
   secundários + grid de painéis (últimos prompts/produtos).
   ===================================================================== */

.stat-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 24px;
    background: linear-gradient(160deg, rgba(124, 92, 255, .10) 0%, var(--surface) 55%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
    overflow: hidden;
}

.stat-hero::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -10%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    pointer-events: none;
}

.stat-hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -5%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(184, 85, 247, .16) 0%, transparent 70%);
    pointer-events: none;
}

.stat-hero > * {
    position: relative;
}

.stat-hero__main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    border-right: 1px solid var(--border);
    padding-right: 24px;
}

.stat-hero__label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-hero__value {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--primary-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-hero__hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-hero__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-content: center;
}

.stat-card {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: border-color .2s ease, transform .2s ease;
}

.stat-card:hover {
    border-color: rgba(124, 92, 255, .4);
    transform: translateY(-2px);
}

.stat-card__label {
    font-size: 13px;
    color: var(--text-muted);
}

.stat-card__value {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
}

.panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
