/* متغيرات الألوان */
:root {
    --dark-navy: #1a1a2e;
    --dark-gray: #16213e;
    --electric-blue: #312ED3;
    --energetic-red: #EF5C66;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --glow-blue: rgba(49, 46, 211, 0.5);
    --glow-red: rgba(239, 92, 102, 0.5);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--dark-gray) 100%);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
}

/* الجزيئات المتحركة */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--electric-blue);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 10px var(--glow-blue);
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 80%; left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { top: 40%; left: 90%; animation-delay: 2s; }
.particle:nth-child(4) { top: 60%; left: 70%; animation-delay: 3s; }
.particle:nth-child(5) { top: 10%; left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { top: 90%; left: 80%; animation-delay: 5s; }
.particle:nth-child(7) { top: 30%; left: 30%; animation-delay: 1.5s; }
.particle:nth-child(8) { top: 70%; left: 60%; animation-delay: 2.5s; }
.particle:nth-child(9) { top: 50%; left: 15%; animation-delay: 3.5s; }
.particle:nth-child(10) { top: 25%; left: 85%; animation-delay: 4.5s; }

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

/* الحاوي الرئيسي */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* قسم الشعار */
.logo-section {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out;
}

.logo-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--electric-blue), var(--energetic-red));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 20px 40px rgba(49, 46, 211, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

.logo-icon {
    font-size: 3rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.brand-name {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--electric-blue), var(--energetic-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
}

.brand-tagline {
    font-size: 1.2rem;
    color: var(--light-gray);
    opacity: 0.8;
}

/* المحتوى الرئيسي */
.main-content {
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.coming-soon-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--white), var(--electric-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

.coming-soon-subtitle {
    font-size: 1.5rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.description {
    margin-bottom: 3rem;
}

.description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-gray);
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* العد التنازلي */
.countdown-container {
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.countdown-container h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--electric-blue);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--electric-blue);
    border-radius: 20px;
    padding: 1.5rem;
    min-width: 120px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--glow-blue);
    border-color: var(--energetic-red);
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--light-gray);
    opacity: 0.8;
}

/* نموذج الاشتراك */
.newsletter-section {
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.newsletter-section h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--electric-blue);
}

.newsletter-section p {
    color: var(--light-gray);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.input-group {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 0;
    border-radius: 50px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--electric-blue);
    backdrop-filter: blur(10px);
}

.input-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--white);
    font-size: 1rem;
    outline: none;
    direction: rtl;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.input-group button {
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--electric-blue), var(--energetic-red));
    border: none;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.input-group button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px var(--glow-red);
}

.success-message {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid #2ecc71;
    border-radius: 10px;
    color: #2ecc71;
    display: none;
    animation: slideDown 0.5s ease-out;
}

/* معاينة الخدمات */
.services-preview {
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.services-preview h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--electric-blue);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(49, 46, 211, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    border-color: var(--energetic-red);
    box-shadow: 0 20px 40px var(--glow-red);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--glow-blue));
}

.service-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.service-item p {
    color: var(--light-gray);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* معلومات التواصل */
.contact-info {
    margin-bottom: 3rem;
    text-align: center;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--electric-blue);
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(49, 46, 211, 0.3);
    border-radius: 50px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-item:hover {
    border-color: var(--energetic-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--glow-red);
}

.contact-icon {
    font-size: 1.2rem;
}

/* الشبكات الاجتماعية */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 1.8s both;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(49, 46, 211, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    border-color: var(--energetic-red);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px var(--glow-red);
}

.social-link span {
    font-size: 1.5rem;
}

/* الفوتر */
.footer {
    text-align: center;
    color: var(--light-gray);
    opacity: 0.6;
    font-size: 0.9rem;
    animation: fadeInUp 1s ease-out 2.1s both;
}

/* الرسوم المتحركة */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 20px 40px rgba(49, 46, 211, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 25px 50px rgba(239, 92, 102, 0.4);
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px var(--glow-blue);
    }
    to {
        text-shadow: 0 0 30px var(--glow-red), 0 0 40px var(--glow-red);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* الاستجابة للأجهزة المحمولة */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .brand-name {
        font-size: 2.5rem;
    }
    
    .coming-soon-title {
        font-size: 2.5rem;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 1rem;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .input-group {
        flex-direction: column;
        border-radius: 20px;
    }
    
    .input-group input {
        border-bottom: 1px solid rgba(49, 46, 211, 0.3);
    }
    
    .input-group button {
        border-radius: 0 0 18px 18px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .description p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .logo-circle {
        width: 80px;
        height: 80px;
    }
    
    .logo-icon {
        font-size: 2rem;
    }
    
    .brand-name {
        font-size: 2rem;
    }
    
    .coming-soon-title {
        font-size: 2rem;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 0.8rem;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .service-item {
        padding: 1.5rem;
    }
}

/* تحسينات الأداء */
.particle {
    will-change: transform;
}

.logo-circle {
    will-change: transform;
}

.countdown-item {
    will-change: transform;
}

.service-item {
    will-change: transform;
}

.contact-item {
    will-change: transform;
}

.social-link {
    will-change: transform;
}

