/* 
 * ملف الأنماط الرئيسي الموحد — موقع MobCash Tanzil
 * التصميم: واجهة عصرية فاتحة (Light Theme)
 * الاتجاه: من اليمين إلى اليسار (RTL)
 * الخط الأساسي: Cairo
 */

:root {
  /* لوحة الألوان الرئيسية */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-soft: #f1f5f9;
  --bg-footer: #0f172a;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  
  --primary: #0d9e4f;
  --primary-hover: #0a7c3e;
  --primary-light: rgba(13, 158, 79, 0.1);
  --primary-gradient: linear-gradient(135deg, #0d9e4f 0%, #057a3b 100%);
  
  --secondary: #1e40af;
  --secondary-light: rgba(30, 64, 175, 0.08);
  
  --telegram: #0088cc;
  --telegram-hover: #0077b5;
  --gold: #f59e0b;
  --danger: #ef4444;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --warning-border: #fde68a;
  
  --border: #e2e8f0;
  --border-light: #edf2f7;
  
  /* الظلال */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 20px 35px -10px rgba(13, 158, 79, 0.15);
  
  /* الانحناءات */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  /* الخطوط */
  --font-family: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 1. تصفير وإعدادات أساسية (Reset & Base) */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-main);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

p:last-child {
  margin-bottom: 0;
}

i.bi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

/* 2. الحاوية (Container) */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* 3. الترويسة وشريط التنقل (Header & Navigation) */
.site-header, .main-header, .raas {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  padding: 12px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
}

.logo img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
}

.logo .cash-accent, .logo .highlight {
  color: var(--primary);
}

.nav-toggle, .menu-toggle {
  display: none;
}

.nav-toggle-label, .menu-icon, .hamburger-menu {
  display: none;
  font-size: 1.8rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 4px;
}

.main-nav, .navbar {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links, nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links li a, nav ul li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-links li a:hover, nav ul li a:hover {
  color: var(--primary);
  background-color: var(--primary-light);
}

.nav-links li a.active, nav ul li a.active {
  color: var(--primary);
  background-color: var(--primary-light);
  font-weight: 700;
}

.btn-header-download, .nav-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-gradient);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(13, 158, 79, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-header-download:hover, .nav-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 158, 79, 0.35);
}

/* 4. مسار التنقل (Breadcrumb) */
.breadcrumb-container, .breadcrumb-nav {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  font-size: 0.88rem;
}

.breadcrumb, .breadcrumb-container ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
}

.breadcrumb li, .breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb li:not(:last-child)::after {
  content: '\F284'; /* bi-chevron-left */
  font-family: bootstrap-icons;
  font-size: 0.75rem;
  margin-right: 8px;
  color: var(--text-light);
}

.breadcrumb li.active, .breadcrumb li:last-child {
  color: var(--primary);
  font-weight: 600;
}

/* 5. قسم البطل (Hero Section) */
.hero-section, .batal {
  padding: 48px 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-body) 100%);
}

.hero-container, .hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.hero-content {
  flex: 1.2;
}

.hero-content h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.developer-info, .developer-line {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: inline-block;
  background-color: var(--bg-surface-soft);
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding: 14px 20px;
  background-color: var(--bg-surface-soft);
  border-radius: var(--radius-md);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-main);
}

.stat-item i.bi {
  color: var(--gold);
  font-size: 1.1rem;
}

.hero-download-btn, .btn-download-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--primary-gradient);
  color: #ffffff !important;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  transition: all 0.3s ease;
  margin-bottom: 14px;
}

.hero-download-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(13, 158, 79, 0.3);
}

.file-info {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.trust-badges, .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge, .security-badge, .partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
}

.security-badge, .badge-safe {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.partner-badge, .badge-partner {
  background-color: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.hero-image {
  flex: 0.8;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 280px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* 6. بطاقات المحتوى والعناوين (Cards & Sections) */
.page-title {
  font-size: 2.1rem;
  text-align: center;
  margin: 32px 0 24px;
  color: var(--text-main);
}

.section-title, .page-content h2, .content-section h2, .article-section h2, .login-steps h2, .get-credentials h2, .why-app h2, .login-issues h2, .new-agent-steps h2 {
  font-size: 1.55rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
}

.section-title i, h2 i {
  color: var(--primary);
}

.card, .content-card, .article-card, .detail-card, .feature-card, .issue-card, .step-card, .login-steps, .get-credentials, .why-app, .login-issues, .new-agent-steps, .content-section, .article-section {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  margin-bottom: 28px;
}

.card:hover, .content-card:hover, .feature-card:hover, .issue-card:hover {
  border-color: rgba(13, 158, 79, 0.4);
  box-shadow: var(--shadow-md);
}

/* 7. التنبيهات وصناديق الملاحظات (Alerts & Callouts) */
.alert, .alert-box, .tanbih {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-md);
  margin: 28px 0;
  border-right: 6px solid;
  box-shadow: var(--shadow-sm);
}

.alert i, .alert-box i, .tanbih i {
  font-size: 2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.alert-content {
  flex: 1;
}

.alert h2, .alert h3, .alert-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.alert p {
  line-height: 1.7;
}

.alert-warning, .tanbih-tahthir {
  background-color: var(--warning-bg);
  border-color: var(--warning);
  color: #92400e;
}

.alert-warning h2, .alert-warning h3, .alert-warning i {
  color: #b45309;
}

.alert-warning p {
  color: #78350f;
}

.alert-info, .tanbih-malooma {
  background-color: #eff6ff;
  border-color: var(--secondary);
  color: #1e3a8a;
}

.alert-info h2, .alert-info h3, .alert-info i {
  color: var(--secondary);
}

.alert-success, .tanbih-najah {
  background-color: #f0fdf4;
  border-color: var(--primary);
  color: #14532d;
}

.alert-success h2, .alert-success h3, .alert-success i {
  color: var(--primary);
}

/* 8. شبكات العرض والمميزات (Grids & Layouts) */
.details-grid, .app-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.detail-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.detail-card i {
  font-size: 1.4rem;
  color: var(--primary);
  background-color: var(--primary-light);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.feature-card {
  text-align: right;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}

.feature-icon {
  width: 58px;
  height: 58px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

/* 9. شبكة المشاكل والحلول (Issues Grid) */
.issues-grid, .problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.issue-card, .problem-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--secondary);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 0;
  box-shadow: var(--shadow-xs);
}

.issue-card h3, .problem-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.issue-card h3 i, .problem-card h3 i {
  color: var(--secondary);
}

/* 10. الخطوات المترابطة (Step by Step Lists) */
.steps-container, .steps-wrapper {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
}

.steps-list, ol.steps-list, .login-steps ol {
  position: relative;
  padding-right: 50px;
  margin: 20px 0;
}

.steps-list::before, ol.steps-list::before, .login-steps ol::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 15px;
  right: 18px;
  width: 3px;
  background-color: var(--primary-light);
}

.step-item, li.step-item, .login-steps ol li {
  position: relative;
  margin-bottom: 28px;
}

.step-item:last-child, .login-steps ol li:last-child {
  margin-bottom: 0;
}

.step-number, span.step-number {
  position: absolute;
  right: -50px;
  top: 0;
  width: 38px;
  height: 38px;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--bg-surface);
}

.login-steps ol {
  counter-reset: step-counter;
}

.login-steps ol li {
  counter-increment: step-counter;
}

.login-steps ol li::before {
  content: counter(step-counter);
  position: absolute;
  right: -50px;
  top: 0;
  width: 38px;
  height: 38px;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--bg-surface);
}

.step-content {
  padding-right: 8px;
}

.step-content h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: var(--text-main);
}

/* شبكة الخطوات الأفقية السريعة */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.step-box, .steps-grid .step {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-xs);
}

.step-box:hover, .steps-grid .step:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.step-box i, .steps-grid .step i {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 12px;
  display: inline-block;
}

.step-box p, .steps-grid .step p {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  margin: 0;
}

/* 11. الأسئلة الشائعة (FAQ Accordion) */
.faq-section {
  margin: 36px 0;
}

details.faq-item, .faq-section details {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s ease;
}

details.faq-item:hover, .faq-section details:hover {
  border-color: var(--primary);
}

details.faq-item summary, .faq-section details summary {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

details.faq-item summary::-webkit-details-marker,
.faq-section details summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after,
.faq-section details summary::after {
  content: '\F282'; /* bi-chevron-down */
  font-family: bootstrap-icons;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s ease;
}

details.faq-item[open] summary::after,
.faq-section details[open] summary::after {
  transform: rotate(180deg);
  color: var(--primary);
}

details.faq-item[open] summary,
.faq-section details[open] summary {
  border-bottom: 1px solid var(--border-light);
  color: var(--primary);
}

.faq-answer, .faq-content, details.faq-item p, .faq-section details p {
  padding: 18px 24px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.8;
  background-color: #fafcfb;
}

/* 12. الجداول (Data Tables) */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 28px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.data-table, .commission-table, .req-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-surface);
  text-align: right;
}

.data-table th, .commission-table th, .req-table th {
  background-color: var(--primary);
  color: #ffffff;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.data-table td, .commission-table td, .req-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.data-table tr:last-child td, .commission-table tr:last-child td, .req-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover, .commission-table tr:hover, .req-table tr:hover {
  background-color: var(--primary-light);
}

/* 13. معرض لقطات الشاشة (Screenshots Gallery) */
.screenshots-section {
  padding: 36px 0;
}

.screenshots-gallery, .screenshots-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 16px 4px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--border);
}

.screenshots-gallery img, .screenshot-item img {
  width: 220px;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.screenshots-gallery img:hover, .screenshot-item img:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
}

/* 14. بانر الدعوة لاتخاذ إجراء (CTA Banners & Buttons) */
.cta-section, .earnings-cta, .cta-banner {
  background: linear-gradient(135deg, #0d9e4f 0%, #065f38 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  text-align: center;
  margin: 48px 0;
  box-shadow: var(--shadow-xl);
}

.cta-section h2, .earnings-cta h2, .cta-banner h2 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 14px;
  justify-content: center;
}

.cta-section p, .earnings-cta p, .cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 28px;
}

.cta-buttons, .cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}

.btn-primary, .btn-green, .btn-download {
  background: #ffffff;
  color: var(--primary) !important;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover, .btn-green:hover, .btn-download:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-telegram {
  background-color: var(--telegram);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 136, 204, 0.3);
}

.btn-telegram:hover {
  background-color: var(--telegram-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.btn-large, .btn-lg {
  padding: 16px 36px;
  font-size: 1.15rem;
}

.manager-contact {
  background-color: var(--bg-surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  margin-top: 20px;
}

.manager-contact p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 20px;
}

/* 15. بطاقات الأرباح (Earnings Cards) */
.earnings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.earning-card {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 20px;
  backdrop-filter: blur(5px);
}

.earning-card h3 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.earning-card p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  margin: 0;
}

/* 16. الصور وتنسيقها (Images & Mockups) */
.image-center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 28px 0;
}

.image-center img, .section-img {
  max-width: 100%;
  max-height: 440px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.intro-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 17. بطاقات الصفحات والتنقل الداخلي (Page Cards & Links) */
.pages-grid, .internal-links-grid, .bitaqat-safahat {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.page-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  box-shadow: var(--shadow-xs);
  transition: all 0.25s ease;
}

.page-card i {
  font-size: 1.4rem;
  color: var(--primary);
  background-color: var(--primary-light);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.page-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.features-list li {
  background-color: var(--bg-surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.features-list li i {
  font-size: 1.4rem;
  color: var(--primary);
  flex-shrink: 0;
}

.internal-links, .internal-links-section {
  margin-top: 28px;
}

.internal-links ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.internal-links ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-weight: 600;
  transition: all 0.2s ease;
}

.internal-links ul li a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
  transform: translateX(-4px);
}

/* 18. التذييل (Footer) */
.site-footer, .main-footer, footer {
  background-color: var(--bg-footer);
  color: #94a3b8;
  padding-top: 56px;
  margin-top: auto;
  border-top: 1px solid #1e293b;
}

.footer-grid, .footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-col h4, .footer-col h3, .footer-info h4, .footer-info h3, .footer-links h4, .footer-contact h4, .footer-about h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after, .footer-col h3::after, .footer-links h4::after, .footer-contact h4::after, .footer-about h4::after, .footer-info h4::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
}

.footer-col p, .footer-about p, .footer-info p {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.8;
}

.footer-col ul, .footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a, .footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col a:hover, .footer-links a:hover {
  color: var(--primary);
  transform: translateX(-4px);
}

.footer-bottom {
  background-color: #0b1120;
  padding: 22px 0;
  text-align: center;
  border-top: 1px solid #1e293b;
  font-size: 0.88rem;
  color: #64748b;
}

.footer-bottom p {
  margin: 0;
  color: #64748b;
}

.disclaimer {
  font-size: 0.8rem;
  color: #475569;
  margin-top: 8px !important;
}

/* 19. زر الصعود للأعلى (Scroll to top) */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: 99;
  border: none;
  transition: all 0.3s ease;
}

.scroll-top:hover {
  transform: translateY(-4px);
  background-color: var(--primary-hover);
}

/* 20. شريط التحميل السفلي للهاتف (Sticky Mobile Bar) */
.sticky-download-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  border-top: 1px solid var(--border);
  z-index: 999;
}

.sticky-download-bar .btn {
  width: 100%;
  padding: 12px;
}

/* 21. فئات مساعدة (Utilities) */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-primary { color: var(--primary) !important; }
.text-muted { color: var(--text-muted) !important; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2.5rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2.5rem; }

.p-4 { padding: 1.5rem; }
.p-5 { padding: 2.5rem; }

.rounded { border-radius: var(--radius-md); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.bg-light { background-color: var(--bg-surface-soft); }

/* 22. التوافق والاستجابة للهواتف والأجهزة اللوحية (Responsive Design) */
@media (max-width: 992px) {
  .footer-grid, .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .hero-container, .hero-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
  
  .hero-content {
    order: 1;
  }
  
  .hero-image {
    order: 2;
    margin-top: 20px;
  }
  
  .stats-row, .trust-badges, .badges {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.45rem; }
  
  .nav-toggle-label, .menu-icon, .hamburger-menu {
    display: block;
  }
  
  .main-nav, .navbar {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-surface);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }
  
  .nav-toggle:checked ~ .main-nav,
  .nav-toggle:checked ~ .navbar,
  .menu-toggle:checked ~ .main-nav {
    display: flex;
  }
  
  .nav-links, nav ul {
    flex-direction: column;
    width: 100%;
    gap: 6px;
  }
  
  .nav-links li, nav ul li {
    width: 100%;
  }
  
  .nav-links li a, nav ul li a {
    width: 100%;
    padding: 10px 14px;
  }
  
  .btn-header-download, .nav-download-btn {
    width: 100%;
    justify-content: center;
  }
  
  .footer-grid, .footer-container {
    grid-template-columns: 1fr;
  }
  
  .sticky-download-bar {
    display: block;
  }
  
  body {
    padding-bottom: 65px;
  }
  
  .steps-list, .login-steps ol {
    padding-right: 40px;
  }
  
  .step-number, .login-steps ol li::before {
    right: -40px;
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }
}
