﻿/* إعدادات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


img.riyal {
    width: 11px;
}


body {
    font-family: 'Cairo', sans-serif;
    background-color: #0f172a; /* لون الخلفية الكحلي */
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- الهيدر (Navbar) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    position: fixed; /* جعلناه ثابت ليبقى فوق الصورة */
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8); /* خلفية أغمق قليلاً */
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .logo i {
        color: #6366f1;
    }

.nav-links a {
    text-decoration: none;
    color: #e2e8f0;
    margin-left: 30px;
    font-weight: 500;
    transition: 0.3s;
    font-size: 1.05rem;
}

    .nav-links a:hover {
        color: #ffffff;
    }

.btn-login {
    text-decoration: none;
    color: #ffffff;
    padding: 8px 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    transition: 0.3s;
}

    .btn-login:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: #ffffff;
    }

/* --- الهيرو (Hero) مع الصورة --- */
.hero-section {
    position: relative;
    /* إضافة صورة خلفية قوية */
    background-image: url('https://images.unsplash.com/photo-1620712943543-bcc4688e7485?q=80&w=2560&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    padding: 180px 20px 100px 20px; /* زيادة البادينج العلوي بسبب الناف بار الثابت */
    min-height: 90vh; /* ارتفاع جيد للشاشات الكبيرة */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* طبقة تعتيم فوق الصورة لتوضيح النص */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* تدرج لوني داكن فوق الصورة */
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* النص فوق طبقة التعتيم */
    max-width: 900px;
    margin: 0 auto;
}

.badge {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 1rem;
    border: 1px solid rgba(99, 102, 241, 0.4);
    display: inline-block;
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
}

.hero-section h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.text-gradient {
    background: linear-gradient(135deg, #818cf8 0%, #f472b6 100%); /* ألوان أفتح قليلاً للظهور فوق الخلفية الداكنة */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.35rem;
    color: #e2e8f0;
    margin-bottom: 50px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.cta-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #d946ef 100%);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    transition: transform 0.3s ease;
    border: none;
}

.pulse-effect {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(99, 102, 241, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

.btn-primary:hover {
    transform: translateY(-5px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}

    .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.2);
    }

/* --- الأسعار (Pricing) --- */
.pricing-section {
    padding: 100px 8%;
    text-align: center;
    position: relative;
    /* إضافة خلفية خفيفة جداً للقسم لتمييزه */
    background: linear-gradient(to bottom, #0f172a, #1e293b);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-subtitle {
    color: #94a3b8;
    margin-bottom: 70px;
    font-size: 1.2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    max-width: 1250px;
    margin: 0 auto;
    align-items: center;
}

.price-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 45px;
    text-align: right;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .price-card:hover {
        transform: translateY(-10px);
        border-color: rgba(99, 102, 241, 0.5);
    }

.card-header h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #e2e8f0;
}

.price {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

/* تنسيقات خاصة بكرت التجربة */
.trial-card .card-header h3 {
    color: #10b981; /* لون أخضر للتمييز */
}

.trial-text {
    font-size: 2.5rem; /* حجم أصغر قليلاً من الأرقام */
    color: #ffffff;
}

.trial-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2); /* خلفية خضراء شفافة */
    color: #34d399;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.currency {
    font-size: 1.2rem;
    font-weight: 500;
}

.period {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 400;
}

.features {
    list-style: none;
    margin: 35px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 35px;
}

    .features li {
        margin-bottom: 18px;
        color: #cbd5e1;
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 1.05rem;
    }

        .features li i {
            color: #10b981;
        }

/* الكرت المميز (Popular) */
.price-card.popular {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(45, 55, 72, 0.9));
    border: 2px solid #6366f1;
    transform: scale(1.08);
    z-index: 2;
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.25);
}

    .price-card.popular:hover {
        transform: scale(1.08) translateY(-10px);
    }

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, #6366f1, #d946ef);
    color: white;
    padding: 8px 25px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

/* أزرار الكروت */
.btn-card-outline {
    display: block;
    width: 100%;
    padding: 16px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    font-size: 1.1rem;
}

    .btn-card-outline:hover {
        background: #ffffff;
        color: #0f172a;
        border-color: #ffffff;
    }

/* زر التجربة */
.trial-btn:hover {
    background: #10b981; /* أخضر عند التحويم */
    border-color: #10b981;
    color: white;
}

.btn-card-fill {
    display: block;
    width: 100%;
    padding: 16px;
    text-align: center;
    background: linear-gradient(135deg, #6366f1 0%, #d946ef 100%);
    border-radius: 14px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
    font-size: 1.1rem;
    border: none;
}

    .btn-card-fill:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(99, 102, 241, 0.6);
    }

/* --- الفوتر --- */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 0;
    background: #0a0f1d;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    color: #94a3b8;
}

.socials a {
    color: #94a3b8;
    margin-left: 25px;
    font-size: 1.4rem;
    transition: 0.3s;
}

    .socials a:hover {
        color: #6366f1;
        transform: translateY(-3px);
    }







/* --- حاوية الصفحة الكاملة (بديلة للـ body) --- */
.login-page-wrapper {
    font-family: 'Cairo', sans-serif;
    background-color: #0f172a; /* لون الخلفية الكحلي */
    color: #ffffff;
    /* لضمان ملء الشاشة بالكامل حتى داخل الـ Layout */
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* عزل النطاق */
    isolation: isolate;
}

    /* إعدادات عامة للعناصر داخل هذه الصفحة فقط */
    .login-page-wrapper * {
        box-sizing: border-box;
    }

/* --- الخلفية (Orbs - الأشكال المضيئة) --- */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.4;
    z-index: -1; /* خلف المحتوى */
}

.orb-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: #4f46e5; /* نيلي */
}

.orb-2 {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: #ec4899; /* وردي */
}

/* --- حاوية الدخول --- */
.login-container {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
    margin-top:80px;
}

.login-card {
    background: rgba(30, 41, 59, 0.7); /* خلفية زجاجية */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px 40px;
    width: 100%;
    max-width: 480px; /* العرض المثالي */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- الهيدر والشعار --- */
.brand-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

    .logo i {
        color: #6366f1;
    }

.brand-header p {
    color: #94a3b8;
    font-size: 1.1rem;
}

/* --- زر جوجل --- */
.btn-google {
    width: 100%;
    background: #ffffff;
    color: #0f172a;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
    margin-bottom: 25px;
}

    .btn-google img {
        width: 20px;
        height: 20px;
    }

    .btn-google:hover {
        background: #f1f5f9;
        transform: translateY(-2px);
    }

/* --- الفاصل --- */
.divider {
    text-align: center;
    position: relative;
    margin-bottom: 25px;
}

    .divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
        z-index: 1;
    }

    .divider span {
        background: rgba(30, 41, 59, 1); /* نفس لون الخلفية لإخفاء الخط */
        color: #64748b;
        padding: 0 15px;
        position: relative;
        z-index: 2;
        font-size: 0.9rem;
    }

/* --- حقول الإدخال --- */
.input-group {
    margin-bottom: 20px;
}

    .input-group label {
        display: block;
        margin-bottom: 8px;
        color: #cbd5e1;
        font-size: 0.95rem;
    }

.input-wrapper {
    position: relative;
}

    .input-wrapper input {
        width: 100%;
        background: rgba(15, 23, 42, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 14px 45px 14px 15px; /* مسافة للأيقونة يسار ويمين */
        border-radius: 12px;
        color: white;
        font-family: 'Cairo', sans-serif;
        font-size: 1rem;
        outline: none;
        transition: 0.3s;
    }

        .input-wrapper input:focus {
            border-color: #6366f1;
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
        }

    /* أيقونة الحقل (ظرف، قفل) */
    .input-wrapper .icon {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #64748b;
    }

    /* زر إظهار كلمة المرور */
    .input-wrapper .show-pass {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #64748b;
        cursor: pointer;
        font-size: 0.9rem;
        z-index: 5;
    }

        .input-wrapper .show-pass:hover {
            color: #ffffff;
        }

/* --- خيارات إضافية --- */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    cursor: pointer;
}

    .remember-me input {
        accent-color: #6366f1;
        width: 16px;
        height: 16px;
        cursor: pointer;
    }

.forgot-pass {
    color: #818cf8;
    text-decoration: none;
    transition: 0.3s;
}

    .forgot-pass:hover {
        color: #ffffff;
        text-decoration: underline;
    }

/* --- زر الدخول الرئيسي --- */
.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #6366f1 0%, #d946ef 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

    .btn-submit:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
    }

/* --- الفوتر --- */
.card-footer {
    text-align: center;
    margin-top: 25px;
    color: #94a3b8;
    font-size: 0.95rem;
}

    .card-footer a {
        color: #ffffff;
        font-weight: 700;
        text-decoration: none;
        margin-right: 5px;
    }

        .card-footer a:hover {
            text-decoration: underline;
            color: #818cf8;
        }










/*===========================responsive================================*/



/* --- استجابة الجوال --- */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 140px;
        min-height: auto; /* إلغاء الارتفاع الكامل في الجوال */
    }

        .hero-section h1 {
            font-size: 2.8rem;
        }

    .navbar {
        padding: 15px 20px;
        flex-wrap: wrap; /* السماح بالعناصر بالنزول لسطر جديد */
        justify-content: center;
        gap: 15px;
    }

    .nav-links {
        order: 3; /* جعل الروابط في الأسفل */
        width: 100%;
        justify-content: center;
        display: flex;
        gap: 20px;
    }

    .logo {
        margin-left: auto; /* دفع الشعار لليمين */
    }

    .btn-login {
        margin-right: auto; /* دفع الزر لليسار */
    }

    .nav-links a {
        margin: 0;
        font-size: 1rem;
    }

    .cta-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 16px 20px;
    }

    .pricing-grid {
        grid-template-columns: 1fr; /* عمود واحد */
        gap: 40px;
    }

    .price-card.popular {
        transform: scale(1); /* إلغاء التكبير في الجوال */
        order: -1; /* جعل الكرت المميز يظهر أولاً */
    }

        .price-card.popular:hover {
            transform: translateY(-5px);
        }
}




@media (max-width: 480px) {
    .login-card {
        padding: 40px 25px;
    }

    .logo {
        font-size: 1.8rem;
    }

    .bg-orb {
        opacity: 0.3; /* تخفيف الإضاءة في الجوال */
    }
}