/* ================================================================== */
/* SCIPIO - STYLESHEET                                                */
/* ================================================================== */

/* --- Base & Reset --- */
:root {
    --transition-speed: 0.3s;
}

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    transition: background-color var(--transition-speed), color var(--transition-speed);
    padding-bottom: 70px;
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

/* --- Components --- */
.glass {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-speed);
}

.dark .glass {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
}

/* --- Utilities --- */
.view-hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

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

/* --- Form Elements --- */
input[type="range"] {
    -webkit-appearance: none;
    background: #cbd5e1;
    height: 6px;
    border-radius: 4px;
    accent-color: #25963a;
}

.dark input[type="range"] {
    background: #334155;
}

/* --- Typography --- */
.big-number {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.label-xs {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

/* --- Tables --- */
.matrix-table th, .matrix-table td {
    padding: 8px 10px;
    text-align: right;
    font-size: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dark .matrix-table th, .dark .matrix-table td {
    border-color: rgba(255, 255, 255, 0.05);
}

.matrix-table th:first-child, .matrix-table td:first-child {
    text-align: left;
    position: sticky;
    left: 0;
    z-index: 10;
    background: inherit;
}

/* --- Mobile Nav --- */
.btn-toggle-active {
    background-color: #25963a;
    color: white;
}

.nav-mobile-item.active {
    color: #25963a;
}

.nav-mobile-item.active i {
    transform: translateY(-4px);
}