/* =============================================
   Control Alpha - Estilos Principales
   Fuente: Inter | Paleta: Azul y Blanco
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- Variables CSS --- */
:root {
    --blue-900: #0c1a4b;
    --blue-800: #1a3080;
    --blue-700: #1e40af;
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --blue-400: #60a5fa;
    --blue-100: #dbeafe;
    --blue-50:  #eff6ff;

    --white:    #ffffff;
    --gray-50:  #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;

    --success:  #16a34a;
    --warning:  #d97706;
    --danger:   #dc2626;

    --sidebar-w: 260px;
    --header-h:  64px;
    --radius:    12px;
    --radius-sm: 8px;
    --shadow:    0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
    --shadow-md: 0 4px 24px rgba(37,99,235,.12);
    --transition: .2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--gray-50);
    color: var(--gray-900);
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--blue-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-800); }

img { max-width: 100%; display: block; }

/* =============================================
   LOGIN PAGE
   ============================================= */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 50%, var(--blue-500) 100%);
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='30'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.login-box {
    background: var(--white);
    border-radius: 20px;
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 24px 80px rgba(0,0,0,.25);
    position: relative;
    z-index: 1;
}

.login-logo {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo .logo-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: var(--shadow-md);
}

.login-logo .logo-icon svg { width: 32px; height: 32px; fill: white; }

.login-logo h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--blue-900);
    letter-spacing: -0.5px;
}

.login-logo p {
    font-size: .875rem;
    color: var(--gray-500);
    margin-top: 4px;
}

.login-tabs {
    display: flex;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    padding: 4px;
    margin-bottom: 28px;
}

.login-tab {
    flex: 1;
    padding: 8px;
    text-align: center;
    font-size: .875rem;
    font-weight: 600;
    color: var(--gray-500);
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    background: none;
}

.login-tab.active {
    background: var(--white);
    color: var(--blue-700);
    box-shadow: 0 1px 4px rgba(0,0,0,.1);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* --- Formularios --- */
.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
    letter-spacing: .01em;
}

.form-group input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: .9375rem;
    font-family: 'Inter', sans-serif;
    color: var(--gray-900);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}

.form-group input::placeholder { color: var(--gray-400); }

.input-icon-wrap { position: relative; }

.input-icon-wrap input { padding-left: 42px; }

.input-icon-wrap .icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    width: 18px;
    height: 18px;
}

/* --- Botones --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: var(--radius-sm);
    font-size: .9375rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37,99,235,.3);
    width: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
    box-shadow: 0 6px 20px rgba(37,99,235,.4);
    transform: translateY(-1px);
    color: var(--white);
}

.btn-primary:active { transform: translateY(0); }

.btn-outline {
    background: transparent;
    color: var(--blue-600);
    border: 1.5px solid var(--blue-300);
}

.btn-outline:hover {
    background: var(--blue-50);
    border-color: var(--blue-500);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-sm { padding: 7px 14px; font-size: .8125rem; }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* --- Alertas --- */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: .875rem;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-danger  { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-info    { background: var(--blue-50); color: var(--blue-800); border: 1px solid var(--blue-100); }

.alert svg { width: 18px; height: 18px; flex-shrink: 0; }

/* =============================================
   LAYOUT PRINCIPAL (SIDEBAR + CONTENT)
   ============================================= */

.app-layout {
    display: flex;
    min-height: 100vh;
}

/* --- Sidebar --- */
.sidebar {
    width: var(--sidebar-w);
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 100;
    transition: transform var(--transition);
    overflow-y: auto;
}

.sidebar-header {
    padding: 24px 20px 20px;
    border-bottom: 1px solid var(--gray-100);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-logo .logo-icon svg { width: 22px; height: 22px; fill: white; }

.sidebar-logo .logo-text {
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--blue-900);
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.sidebar-logo .logo-sub {
    font-size: .6875rem;
    color: var(--gray-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.sidebar-user {
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: .875rem;
    flex-shrink: 0;
}

.user-info .user-name {
    font-size: .875rem;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.3;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-info .user-email {
    font-size: .75rem;
    color: var(--gray-400);
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-nav { padding: 12px 12px; flex: 1; }

.nav-label {
    font-size: .6875rem;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 8px 8px 4px;
    margin-top: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--gray-500);
    font-size: .9rem;
    font-weight: 500;
    transition: all var(--transition);
    margin-bottom: 2px;
    cursor: pointer;
    text-decoration: none;
}

.nav-item svg { width: 20px; height: 20px; flex-shrink: 0; stroke: currentColor; fill: none; }

.nav-item:hover {
    background: var(--blue-50);
    color: var(--blue-700);
}

.nav-item.active {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37,99,235,.25);
}

.nav-item.active svg { stroke: white; }

.nav-item .badge {
    margin-left: auto;
    background: var(--blue-100);
    color: var(--blue-700);
    font-size: .6875rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
}

.nav-item.active .badge {
    background: rgba(255,255,255,.25);
    color: white;
}

.sidebar-footer {
    padding: 12px 12px 20px;
    border-top: 1px solid var(--gray-100);
}

/* --- Contenido principal --- */
.main-content {
    margin-left: var(--sidebar-w);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Header del contenido --- */
.content-header {
    height: var(--header-h);
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.content-header .page-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
}

.content-header .page-subtitle {
    font-size: .8125rem;
    color: var(--gray-400);
    font-weight: 400;
}

.header-actions { display: flex; align-items: center; gap: 12px; }

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--gray-500);
}

.hamburger svg { width: 22px; height: 22px; }

/* --- Área de página --- */
.page-content { padding: 28px; flex: 1; }

/* =============================================
   CARDS Y ESTADÍSTICAS
   ============================================= */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 22px 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg { width: 26px; height: 26px; stroke: white; fill: none; }
.stat-icon.blue   { background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); }
.stat-icon.green  { background: linear-gradient(135deg, #22c55e, #16a34a); }
.stat-icon.orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
.stat-icon.purple { background: linear-gradient(135deg, #a855f7, #7c3aed); }

.stat-info .stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
    letter-spacing: -0.5px;
}

.stat-info .stat-label {
    font-size: .8125rem;
    color: var(--gray-400);
    font-weight: 500;
    margin-top: 4px;
}

/* --- Cards genéricas --- */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    overflow: hidden;
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
}

.card-body { padding: 24px; }

/* =============================================
   GRID LAYOUTS
   ============================================= */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* =============================================
   PROGRAMA CARDS
   ============================================= */

.program-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1.5px solid var(--gray-200);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-700));
}

.program-card:hover {
    border-color: var(--blue-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.program-card.active-program {
    border-color: var(--blue-500);
    background: var(--blue-50);
}

.program-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.badge-principiante { background: #dcfce7; color: #166534; }
.badge-intermedio   { background: var(--blue-100); color: var(--blue-800); }
.badge-avanzado     { background: #fee2e2; color: #991b1b; }

.program-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.program-card p {
    font-size: .875rem;
    color: var(--gray-500);
    line-height: 1.5;
    margin-bottom: 16px;
}

.program-meta {
    display: flex;
    gap: 16px;
    font-size: .8125rem;
    color: var(--gray-400);
    font-weight: 500;
}

.program-meta span { display: flex; align-items: center; gap: 5px; }
.program-meta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; }

/* =============================================
   EJERCICIO CARDS
   ============================================= */

.exercise-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.exercise-card:hover { box-shadow: var(--shadow-md); }

.exercise-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.exercise-desc {
    font-size: .875rem;
    color: var(--gray-500);
    line-height: 1.5;
    margin-bottom: 16px;
}

.exercise-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.ex-stat {
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    text-align: center;
}

.ex-stat .value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--blue-700);
    line-height: 1;
}

.ex-stat .label {
    font-size: .6875rem;
    color: var(--gray-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-top: 3px;
}

/* =============================================
   PROGRESS BAR
   ============================================= */

.progress-wrap { margin-bottom: 8px; }

.progress-bar {
    height: 8px;
    background: var(--gray-100);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-700));
    border-radius: 10px;
    transition: width .6s ease;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: .8125rem;
    color: var(--gray-500);
    margin-top: 6px;
}

/* =============================================
   TIMER / CRONÓMETRO
   ============================================= */

.timer-display {
    background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    color: white;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(37,99,235,.35);
}

.timer-phase {
    font-size: .875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    opacity: .7;
    margin-bottom: 8px;
}

.timer-count {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 8px;
}

.timer-sets {
    font-size: .875rem;
    opacity: .7;
}

.timer-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}

.timer-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.timer-btn svg { width: 22px; height: 22px; }

.timer-btn-play {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
    color: white;
    width: 68px;
    height: 68px;
    box-shadow: 0 4px 16px rgba(37,99,235,.4);
}

.timer-btn-play:hover { transform: scale(1.08); }

.timer-btn-secondary {
    background: var(--gray-100);
    color: var(--gray-600);
}

.timer-btn-secondary:hover { background: var(--gray-200); }

/* =============================================
   TABLA
   ============================================= */

.table-wrap { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; }

thead th {
    text-align: left;
    font-size: .75rem;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 12px 16px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

tbody td {
    padding: 14px 16px;
    font-size: .9rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--gray-50); }

/* =============================================
   STREAK / RACHA
   ============================================= */

.streak-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: .9375rem;
    box-shadow: 0 4px 12px rgba(245,158,11,.3);
}

/* =============================================
   FORMULARIO GENÉRICO
   ============================================= */

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: .9375rem;
    font-family: 'Inter', sans-serif;
    color: var(--gray-900);
    resize: vertical;
    min-height: 100px;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group textarea:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}

.form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: .9375rem;
    font-family: 'Inter', sans-serif;
    color: var(--gray-900);
    background: var(--white);
    outline: none;
    cursor: pointer;
    transition: border-color var(--transition);
}

.form-group select:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}

/* =============================================
   EMPTY STATE
   ============================================= */

.empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--gray-400);
}

.empty-state svg {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    stroke: var(--gray-300);
    fill: none;
}

.empty-state h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 6px;
}

.empty-state p { font-size: .875rem; max-width: 320px; margin: 0 auto 20px; }

/* =============================================
   OVERLAY / MODAL
   ============================================= */

.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 200;
    backdrop-filter: blur(2px);
}

.overlay.open { display: flex; align-items: center; justify-content: center; padding: 24px; }

.modal {
    background: var(--white);
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 24px 60px rgba(0,0,0,.2);
    overflow: hidden;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title { font-size: 1.0625rem; font-weight: 700; color: var(--gray-900); }

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-400);
    padding: 4px;
    transition: color var(--transition);
}

.modal-close:hover { color: var(--gray-700); }
.modal-close svg { width: 20px; height: 20px; }

.modal-body { padding: 24px; }

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --sidebar-w: 0px; }

    .sidebar {
        transform: translateX(-260px);
        width: 260px;
    }

    .sidebar.open {
        transform: translateX(0);
        box-shadow: 4px 0 24px rgba(0,0,0,.15);
    }

    .main-content { margin-left: 0; }

    .hamburger { display: flex; }

    .content-header { padding: 0 16px; }

    .page-content { padding: 16px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    .grid-2, .grid-3 { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; }

    .timer-count { font-size: 4rem; }

    .login-box { padding: 32px 24px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-card { padding: 16px; }
    .stat-icon { width: 44px; height: 44px; }
    .stat-info .stat-value { font-size: 1.5rem; }
}