/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', 'Inter', sans-serif;
}

:root {
    --bg-primary: #0a0b10;
    --bg-secondary: #12131a;
    --accent-color: #8b5cf6; /* Vibrant violet */
    --accent-gradient: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 50%, #6d28d9 100%);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    direction: rtl; /* Arabic support by default */
}

/* Background Animated Orbs */
.bg-glow-1, .bg-glow-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
    opacity: 0.15;
    pointer-events: none;
}

.bg-glow-1 {
    background: #8b5cf6;
    top: -100px;
    left: -100px;
    animation: float1 15s infinite ease-in-out alternate;
}

.bg-glow-2 {
    background: #ec4899;
    bottom: -100px;
    right: -100px;
    animation: float2 15s infinite ease-in-out alternate;
}

@keyframes float1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 80px) scale(1.2); }
}

@keyframes float2 {
    0% { transform: translate(0, 0) scale(1.2); }
    100% { transform: translate(-100px, -80px) scale(0.9); }
}

/* Container & Glassmorphism Card */
.container {
    width: 100%;
    max-width: 650px;
    padding: 20px;
    z-index: 10;
    position: relative;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

/* Logo Styles */
.logo-container {
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.logo-container::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: var(--accent-gradient);
    z-index: -1;
    opacity: 0.5;
    filter: blur(8px);
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
    transform: scale(1.08) rotate(5deg);
}

/* Construction Badge */
.status-badge {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #a78bfa;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    animation: pulseBadge 2s infinite;
}

.status-badge i {
    font-size: 0.9rem;
}

@keyframes pulseBadge {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(0.97); }
}

/* Typography */
h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

p.tagline {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Progress Section */
.progress-container {
    margin-bottom: 40px;
    text-align: right;
}

.progress-label-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.progress-bar-bg {
    background: rgba(255, 255, 255, 0.05);
    height: 8px;
    border-radius: 4px;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.progress-bar-fill {
    background: var(--accent-gradient);
    height: 100%;
    width: 85%;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
    animation: fillBar 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fillBar {
    from { width: 0%; }
    to { width: 85%; }
}

/* Social Icons */
.social-header {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: #ffffff;
    font-size: 1.4rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-btn:hover {
    color: #ffffff;
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.social-btn:hover::before {
    opacity: 1;
}

.social-btn.facebook:hover {
    background: #1877f2;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer info */
.footer-text {
    margin-top: 35px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive adjustments */
@media (max-width: 500px) {
    .card {
        padding: 35px 20px;
    }
    h1 {
        font-size: 1.8rem;
    }
    .logo {
        width: 100px;
        height: 100px;
    }
}
