:root {
    --primary: #1a237e;
    --bg-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    margin: 0; padding: 0; text-align: center; color: #333; transition: 0.3s;
}

/* Navbar */
.navbar {
    background-color: white; padding: 15px 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex; justify-content: space-between; align-items: center;
}
.brand { color: var(--primary); font-size: 1.5rem; font-weight: bold; }
.btn-lang {
    border: 1px solid var(--primary); background: transparent; color: var(--primary);
    padding: 5px 15px; border-radius: 20px; font-weight: bold; cursor: pointer; transition: 0.3s;
}
.btn-lang:hover { background: var(--primary); color: white; }

/* Containers */
.container { max-width: 900px; margin: 30px auto; padding: 0 15px; }
.card {
    background: white; padding: 30px; border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); margin-bottom: 20px;
}
.border-primary { border: 2px solid var(--primary); }
.transparent-card { border: none; box-shadow: none; background: transparent; }

/* Text Styles */
.text-primary { color: var(--primary); }
.text-muted { color: #777; }
.subtitle { color: #555; font-size: 1.2rem; }
#heroTitle { color: var(--primary); font-size: 2.5rem; }
.icon-huge { font-size: 70px; }
.divider-dark { border-top: 1px solid #eee; margin-bottom: 20px; }

/* Forms */
.row { display: flex; flex-wrap: wrap; gap: 20px; }
.col { flex: 1; min-width: 250px; }
.input-group { margin-bottom: 15px; text-align: left; }
label { display: block; font-weight: bold; margin-bottom: 5px; color: var(--primary); }
input, select {
    width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 8px; font-size: 1rem; box-sizing: border-box;
}

/* Buttons */
.btn-main {
    background-color: var(--primary); color: white; border: none; padding: 15px 40px;
    border-radius: 30px; font-size: 1.1rem; font-weight: bold; cursor: pointer; width: 100%; margin-top: 10px;
}
.btn-dark {
    background-color: #333; color: white; border: none; padding: 15px 40px;
    border-radius: 30px; font-size: 1.1rem; font-weight: bold; cursor: pointer; width: 100%; margin-top: 20px;
}
.btn-link {
    background: none; border: none; color: var(--primary); font-weight: bold; cursor: pointer; text-decoration: underline; font-size: 1rem;
}

/* Plan Cards */
.plan-card {
    padding: 25px; border-radius: 10px; margin-bottom: 15px; text-align: left; color: white;
    display: flex; flex-direction: column; justify-content: space-between; line-height: 1.6;
}
.plan-card h3 { text-align: center; margin-top: 0; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 10px; }
.plan-a { background-color: #d81b60; }
.plan-b { background-color: #1e88e5; }
.plan-c { background-color: #8e24aa; }

.months-box {
    background: rgba(0, 0, 0, 0.25); padding: 10px; border-radius: 8px; margin-top: 15px;
    font-weight: bold; font-size: 1.1rem; text-align: center;
}

.summary-box {
    background: #e8eaf6; padding: 20px; border-radius: 8px; margin-bottom: 20px; font-size: 1.1rem;
    color: var(--primary); text-align: left; line-height: 1.8;
}

/* Pages */
.page { display: none; animation: fadeIn 0.4s; }
.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* RTL (Arabic Support) */
body[dir="rtl"] .input-group, 
body[dir="rtl"] .plan-card, 
body[dir="rtl"] .summary-box { text-align: right; }