/* Reset وتنسيقات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #0a001a 0%, #1a0033 50%, #2d0047 100%);
    color: #f1f1f1;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* الرأس */
header {
    padding: 15px 0;
    background: rgba(10, 0, 26, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), 
                transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    justify-content: flex-end; /* المحاذاة لليمين */
}

.logo {
    color: #BB86FC;
    font-size: 1.8rem;
    font-weight: 800;
    text-shadow: 0 0 15px rgba(187, 134, 252, 0.7);
    letter-spacing: 1px;
    margin-right: 20px; /* مسافة من اليمين */
}

.logo span {
    color: #03DAC6;
    text-shadow: 0 0 15px rgba(3, 218, 198, 0.7);
}

/* القسم الرئيسي */
.hero {
    padding: 30px 0 60px;
    text-align: center;
}

.main-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1), 
                transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
    max-width: 800px;
    margin: 0 auto;
}

.highlight {
    color: #BB86FC;
    text-shadow: 0 0 15px rgba(187, 134, 252, 0.8);
}

.free {
    color: #03DAC6;
    text-shadow: 0 0 15px rgba(3, 218, 198, 0.8);
    font-weight: 800;
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #d4d4d4;
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1), 
                transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
    line-height: 1.4;
    max-width: 600px;
    margin: 0 auto;
}

/* حاوية الصورة */
.image-container {
    position: relative;
    margin: 40px 0;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    aspect-ratio: 16/9; /* نسبة أفقية */
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    transform: translateX(-80px) scale(0.95);
    opacity: 0;
    border: 3px solid rgba(187, 134, 252, 0.3);
    transition: opacity 1.1s cubic-bezier(0.23, 1, 0.32, 1), 
                transform 1.1s cubic-bezier(0.23, 1, 0.32, 1);
    object-fit: cover;
    object-position: center;
}

/* زر التحميل */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #7B68EE, #9370DB, #6A5ACD);
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
    padding: 16px 30px;
    border-radius: 50px;
    text-decoration: none;
    margin: 30px 0;
    box-shadow: 0 8px 20px rgba(106, 90, 205, 0.5);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    min-width: 300px;
    max-width: 90%;
    opacity: 0;
    transform: translateX(-80px) scale(0.95);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    flex-wrap: nowrap;
}

.cta-button:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.cta-button:hover {
    transform: translateX(0) translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(106, 90, 205, 0.7);
}

.cta-button:active {
    transform: translateX(0) scale(0.98);
    box-shadow: 0 5px 15px rgba(106, 90, 205, 0.4);
}

.btn-text {
    margin-right: 10px;
    white-space: nowrap; /* منع الانتقال لسطر جديد */
}

.btn-icon {
    font-size: 1.1rem;
}

/* قسم المميزات */
.features {
    background: linear-gradient(135deg, rgba(58, 12, 163, 0.2) 0%, rgba(94, 53, 177, 0.2) 100%);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1), 
                transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.features h2 {
    color: #BB86FC;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(187, 134, 252, 0.5);
}

.features ul {
    list-style: none;
}

.features li {
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1), 
                transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.features li:last-child {
    border-bottom: none;
}

.features li i {
    margin-right: 12px;
    color: #03DAC6;
    font-size: 1.1rem;
    width: 20px;
}

/* التجاوب مع أحجام الشاشات المختلفة */
@media (max-width: 968px) {
    .main-title {
        font-size: 2.2rem;
    }
    
    .main-image {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .main-image {
        max-width: 95%;
        aspect-ratio: 16/9;
    }
    
    .cta-button {
        font-size: 1.1rem;
        padding: 14px 25px;
        min-width: 280px;
        flex-direction: row;
    }
    
    .btn-text {
        margin-right: 8px;
        margin-bottom: 0;
        font-size: 1rem;
    }
    
    .features {
        padding: 20px 15px;
    }
    
    .features li {
        font-size: 0.95rem;
    }
    
    .logo {
        font-size: 1.6rem;
        margin-right: 15px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .logo {
        font-size: 1.4rem;
        margin-right: 10px;
    }
    
    .subtitle {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 12px 20px;
        min-width: 250px;
        max-width: 95%;
    }
    
    .btn-text {
        font-size: 0.9rem;
    }
    
    .features h2 {
        font-size: 1.4rem;
    }
    
    .main-image {
        max-width: 100%;
        aspect-ratio: 16/9;
        border-radius: 10px;
    }
    
    .features li {
        font-size: 0.9rem;
        padding: 10px 0;
    }
}

@media (max-width: 360px) {
    .main-title {
        font-size: 1.4rem;
    }
    
    .cta-button {
        flex-direction: column;
        padding: 10px 15px;
    }
    
    .btn-text {
        margin-right: 0;
        margin-bottom: 5px;
        text-align: center;
    }
}