/* ==================== CARDS ==================== */
.edutech-card {
    border-radius: 14px;
    border: 1px solid var(--paper-border);
    background-color: var(--paper-card);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    will-change: transform;
}

.edutech-card:active {
    transform: scale(0.985);
}

.dark .edutech-card {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

/* ==================== RANGE INPUT ==================== */
input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 8px;
    background: linear-gradient(90deg, #6b3ba7 0%, #9e3b2e 50%, #2a7b58 100%);
    outline: none;
    cursor: pointer;
}
.dark input[type=range] {
    background: linear-gradient(90deg, #b088e0 0%, #e8836f 50%, #5fc99a 100%);
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--accent);
    box-shadow: 0 2px 8px rgba(158, 59, 46, 0.4);
    cursor: pointer;
}

/* ==================== BOTTOM NAV ==================== */
.nav-btn {
    position: relative;
    transition: color 0.2s ease, transform 0.15s ease;
    min-height: 52px;
}
.nav-btn.active .nav-icon-wrapper {
    background-color: rgba(158, 59, 46, 0.12);
    color: var(--accent);
    transform: scale(1.08);
}
.dark .nav-btn.active .nav-icon-wrapper {
    background-color: rgba(232, 131, 111, 0.18);
    color: var(--accent);
}
.nav-icon-wrapper { transition: all 0.2s ease; }
.nav-indicator {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 24px;
    height: 3px;
    background: var(--accent);
    border-radius: 0 0 4px 4px;
    transition: transform 0.25s ease;
}
.nav-btn.active .nav-indicator { transform: translateX(-50%) scaleX(1); }

/* ==================== GRADIENT TEXT ==================== */
.gradient-text {
    background: linear-gradient(135deg, #9e3b2e 0%, #6b3ba7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.dark .gradient-text {
    background: linear-gradient(135deg, #e8836f 0%, #b088e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== INSTALL MODAL ==================== */
.install-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.install-modal-sheet {
    background: var(--paper-card);
    color: var(--ink);
    width: 100%;
    max-width: 28rem;
    border-radius: 20px 20px 0 0;
    padding: 1.5rem 1.25rem calc(1.5rem + var(--safe-bottom));
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--paper-border);
    animation: sheetUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}