/* استدعاء خط تجوال العربي */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Tajawal', sans-serif;
}

body {
    background-color: #F8FAFC;
    color: #1E293B;
}

/* الشريط العلوي */
.header {
    background-color: #FFFFFF;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: #0F172A;
    letter-spacing: -1px;
}

.logo-h { color: #0F172A; font-style: italic;}
.logo-b { color: #10B981; font-style: italic;}

/* القسم الترحيبي */
.hero {
    text-align: center;
    padding: 40px 20px;
    background-color: #0F172A;
    color: white;
}

.hero h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 16px;
    color: #CBD5E1;
}

/* بطاقات الباقات */
.packages-container {
    padding: 30px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.packages-container h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
}

.cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.package-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #E2E8F0;
    transition: transform 0.2s;
}

.package-card:active {
    transform: scale(0.98);
}

.flag {
    font-size: 38px;
    margin-bottom: 10px;
}

.package-card h3 {
    font-size: 22px;
    margin-bottom: 5px;
    color: #0F172A;
}

.details {
    color: #64748B;
    font-size: 15px;
    margin-bottom: 15px;
}

.price {
    font-size: 26px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 15px;
}

.buy-btn {
    background-color: #10B981;
    color: white;
    border: none;
    padding: 14px 0;
    width: 100%;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}
/* تصميم نافذة الدفع */
.modal {
    display: none; 
    position: fixed; z-index: 1000; left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
}
.modal-content {
    background-color: white;
    margin: 30% auto; padding: 25px;
    border-radius: 16px; width: 90%; max-width: 400px;
    position: relative; text-align: right;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.close-btn {
    position: absolute; top: 10px; left: 15px;
    font-size: 32px; cursor: pointer; color: #64748B;
}
.input-group { margin-bottom: 20px; }
.input-group label { display: block; margin-bottom: 8px; font-weight: bold; font-size: 14px;}
.input-group input { 
    width: 100%; padding: 12px; border: 1px solid #E2E8F0; 
    border-radius: 8px; font-size: 16px; outline: none;
}
.input-group input:focus { border-color: #10B981; }
.apply-btn {
    background-color: #0F172A; color: white; border: none;
    padding: 0 20px; border-radius: 8px; cursor: pointer; font-family: 'Tajawal', sans-serif; font-weight: bold;
}
.total-price {
    font-size: 22px; font-weight: bold; text-align: center; margin-bottom: 20px; color: #0F172A;
}
.pay-btn {
    background-color: #10B981; color: white; border: none;
    padding: 15px; width: 100%; border-radius: 8px;
    font-size: 18px; font-weight: bold; cursor: pointer;
}