:root {
    --gmail-color: #EA4335;
    --drive-color: #4285F4;
    --photos-color: #FBBC05;
    --primary-color: #1a73e8;
}

body {
    font-family: 'Inter', 'Cairo', sans-serif;
    color: #202124;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.rtl {
    font-family: 'Cairo', 'Inter', sans-serif;
}

main {
    flex: 1;
}

.navbar-brand {
    font-size: 1.4rem;
}

.hero-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0fe 100%);
    min-height: 500px;
}

.storage-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 12px;
}

.storage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

.storage-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.gmail-icon {
    background-color: #fce8e6;
    color: var(--gmail-color);
}

.drive-icon {
    background-color: #e8f0fe;
    color: var(--drive-color);
}

.photos-icon {
    background-color: #fef7e0;
    color: var(--photos-color);
}

.hero-illustration {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.storage-visual {
    position: relative;
    width: 250px;
    height: 250px;
}

.storage-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.storage-ring {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: conic-gradient(
        var(--gmail-color) 0deg 120deg,
        var(--drive-color) 120deg 240deg,
        var(--photos-color) 240deg 360deg
    );
    position: relative;
    animation: rotate 20s linear infinite;
}

.storage-ring::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    background: linear-gradient(135deg, #f8f9ff, #e8f0fe);
    border-radius: 50%;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.feature-icon {
    font-size: 2rem;
}

.card {
    border-radius: 12px;
}

.btn {
    border-radius: 8px;
}

.progress {
    border-radius: 8px;
}

.progress-bar {
    border-radius: 8px;
}

.badge {
    border-radius: 6px;
}

.table th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.alert {
    border-radius: 8px;
}

footer {
    border-radius: 0;
}

[dir="rtl"] .me-1 { margin-right: 0 !important; margin-left: 0.25rem !important; }
[dir="rtl"] .me-2 { margin-right: 0 !important; margin-left: 0.5rem !important; }
[dir="rtl"] .me-3 { margin-right: 0 !important; margin-left: 1rem !important; }
[dir="rtl"] .ms-2 { margin-left: 0 !important; margin-right: 0.5rem !important; }
[dir="rtl"] .text-start { text-align: right !important; }
[dir="rtl"] .text-end { text-align: left !important; }

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-illustration {
        height: 200px;
    }

    .storage-visual {
        width: 150px;
        height: 150px;
    }

    .storage-ring {
        width: 150px;
        height: 150px;
    }

    .display-4 {
        font-size: 2rem;
    }
}
