/* Variables CSS pour الألوان والتنسيقات */
:root {
    --primary-blue: #0d47a1;
    --secondary-blue: #1976d2;
    --accent-yellow: #ffc107;
    --accent-yellow-dark: #ffb300;
    --white: #ffffff;
    --light-gray: #e0e0e0;
    --text-dark: #333333;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* إعدادات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* خلفية متحركة */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 15s infinite linear;
}

.bg-circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bg-circle-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.bg-circle-3 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 20%;
    animation-delay: 10s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0) rotate(360deg);
        opacity: 1;
    }
}

/* صندوق الترحيب */
.welcome-box {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 50px 40px;
    border-radius: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    max-width: 500px;
    width: 90%;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.welcome-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* الشعار */
.logo-container {
    position: relative;
    display: inline-block;
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    z-index: -1;
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* النصوص */
.company-name {
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    font-size: 2.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.company-tagline {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 5px;
    opacity: 0.9;
}

.company-description {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 0;
    line-height: 1.5;
}

/* زر الدخول */
.btn-login {
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    border: none;
    padding: 14px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-login:hover {
    background-color: var(--accent-yellow-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.btn-login:hover::before {
    left: 100%;
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-login:hover .btn-icon {
    transform: translateX(5px);
}

/* معلومات الشركة */
.company-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    min-width: 120px;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.info-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.info-item span:last-child {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* التذييل */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.copyright {
    font-size: 0.9rem;
    color: var(--light-gray);
    margin: 0;
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    .welcome-box {
        padding: 40px 25px;
        margin: 20px;
    }
    
    .company-name {
        font-size: 1.8rem;
    }
    
    .company-tagline {
        font-size: 1.1rem;
    }
    
    .company-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .info-item {
        flex-direction: row;
        justify-content: flex-start;
        min-width: auto;
        text-align: left;
        padding: 12px 15px;
    }
    
    .info-icon {
        margin-bottom: 0;
        margin-right: 10px;
    }
}

@media (max-width: 480px) {
    .welcome-box {
        padding: 30px 20px;
    }
    
    .company-name {
        font-size: 1.5rem;
    }
    
    .logo {
        width: 100px;
        height: 100px;
    }
    
    .logo-glow {
        width: 120px;
        height: 120px;
    }
}