* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Cairo', sans-serif;
  background: #faf8ff;
  color: #2d2438;
}
a { color: inherit; }

/* ── الترويسة العلوية (بانر بسيط لكل الصفحات ما عدا الرئيسية) ── */
.page-header {
  background: linear-gradient(135deg, #4c1d7a 0%, #7c3aed 55%, #9333ea 100%);
  color: white;
  padding: 48px 24px;
  text-align: center;
}
.page-header h1 { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.page-header p { font-size: 15px; opacity: 0.85; max-width: 480px; margin: 0 auto; }

/* ── البانر الرئيسي (الصفحة الرئيسية فقط) ── */
.hero {
  position: relative;
  background: linear-gradient(135deg, #4c1d7a 0%, #7c3aed 55%, #9333ea 100%);
  color: white;
  overflow: hidden;
  padding: 56px 24px 72px;
}
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.08;
  background-image:
    repeating-linear-gradient(45deg, white 0, white 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(-45deg, white 0, white 1px, transparent 1px, transparent 40px);
}
.hero-inner {
  position: relative; max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.hero-text { flex: 1 1 420px; text-align: center; }
.hero-quote-label { font-size: 13px; opacity: 0.75; margin-bottom: 10px; letter-spacing: 0.5px; }
.hero-quote {
  font-family: 'Amiri', serif; font-size: 30px; line-height: 1.7; font-weight: 700;
  max-width: 480px; margin: 0 auto 8px;
}
.hero-quote-source { font-size: 13px; opacity: 0.7; margin-bottom: 28px; }
.hero-cta {
  display: inline-block; background: white; color: #6b21a8; font-weight: 700;
  font-size: 15px; padding: 14px 34px; border-radius: 30px; text-decoration: none;
}
.hero-cta.secondary { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.6); margin-inline-start: 12px; }

.phone-wrap { flex: 0 0 240px; display: flex; justify-content: center; }
.phone { width: 220px; height: 440px; background: #1a1024; border-radius: 34px; padding: 10px; box-shadow: 0 30px 60px rgba(0,0,0,0.35); }
.phone-screen {
  width: 100%; height: 100%; background: linear-gradient(160deg, #6b21a8, #9333ea);
  border-radius: 26px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 14px; position: relative;
}
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 70px; height: 16px; background: #1a1024; border-radius: 10px; }
.phone-logo-circle {
  width: 84px; height: 84px; background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Amiri', serif; font-size: 34px; font-weight: 700;
}
.phone-app-name { font-size: 19px; font-weight: 800; }
.phone-app-tagline { font-size: 11px; opacity: 0.85; text-align: center; padding: 0 20px; }

/* ── شريط التنقل ── */
nav {
  display: flex; justify-content: center; gap: 20px; padding: 14px 20px;
  background: white; border-bottom: 1px solid #ece5f7; flex-wrap: wrap;
  position: sticky; top: 0; z-index: 10;
}
nav a { text-decoration: none; font-weight: 600; font-size: 13px; color: #6b21a8; padding: 6px 4px; }
nav a:hover { text-decoration: underline; }
nav a.active { border-bottom: 2px solid #6b21a8; }

/* ── بطاقة عامة (تستخدم بأغلب الصفحات) ── */
.card {
  max-width: 760px; margin: 40px auto 60px; background: white; border-radius: 20px;
  box-shadow: 0 20px 50px rgba(107, 33, 168, 0.10); padding: 40px;
}
.card h2 { color: #6b21a8; font-size: 22px; margin-bottom: 14px; }
.card p { font-size: 15px; line-height: 1.9; color: #3b3145; margin-bottom: 12px; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── أزرار ── */
.links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.links a {
  flex: 1; min-width: 180px; text-align: center; padding: 16px; border-radius: 12px;
  text-decoration: none; font-weight: 700; font-size: 14px; transition: opacity 0.2s;
}
.links a:hover { opacity: 0.85; }
.link-primary { background: #6b21a8; color: white; }
.link-secondary { background: #f3edfb; color: #6b21a8; }

/* ── شبكة المزايا ── */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; max-width: 1080px; margin: 48px auto; padding: 0 24px;
}
.feature-card {
  background: white; border-radius: 16px; padding: 28px 24px;
  border: 1px solid #ece5f7; box-shadow: 0 8px 24px rgba(107,33,168,0.05);
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; background: #f3edfb;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.feature-card h3 { font-size: 16px; color: #2d2438; margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; color: #6b5f7a; line-height: 1.8; }

/* ── خطوات "كيف يعمل" ── */
.steps { max-width: 760px; margin: 48px auto; padding: 0 24px; }
.step {
  display: flex; gap: 20px; margin-bottom: 32px; align-items: flex-start;
}
.step-num {
  flex: 0 0 44px; height: 44px; border-radius: 50%; background: #6b21a8; color: white;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px;
}
.step-content h3 { font-size: 17px; color: #2d2438; margin-bottom: 6px; }
.step-content p { font-size: 14.5px; color: #6b5f7a; line-height: 1.8; }

/* ── بطاقات الأسعار ── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; max-width: 900px; margin: 48px auto; padding: 0 24px;
}
.pricing-card {
  background: white; border-radius: 20px; padding: 32px 28px; border: 1px solid #ece5f7;
  text-align: center;
}
.pricing-card.featured { border: 2px solid #9333ea; position: relative; }
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: #9333ea; color: white; font-size: 12px; font-weight: 700;
  padding: 5px 16px; border-radius: 20px;
}
.pricing-card h3 { font-size: 19px; color: #2d2438; margin-bottom: 10px; }
.pricing-price { font-size: 32px; font-weight: 800; color: #6b21a8; margin-bottom: 4px; }
.pricing-period { font-size: 13px; color: #8b7fa3; margin-bottom: 20px; }
.pricing-features { list-style: none; text-align: right; margin-bottom: 24px; }
.pricing-features li { font-size: 14px; color: #3b3145; padding: 7px 0; border-bottom: 1px solid #f3edfb; }
.pricing-features li:last-child { border-bottom: none; }

/* ── أسئلة شائعة ── */
.faq-list { max-width: 760px; margin: 48px auto; padding: 0 24px; }
.faq-item {
  background: white; border-radius: 14px; padding: 22px 26px; margin-bottom: 14px;
  border: 1px solid #ece5f7;
}
.faq-item h3 { font-size: 15.5px; color: #6b21a8; margin-bottom: 8px; }
.faq-item p { font-size: 14px; color: #3b3145; line-height: 1.85; }

/* ── معلومات التواصل ── */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; max-width: 760px; margin: 48px auto; padding: 0 24px;
}
.contact-card {
  background: white; border-radius: 16px; padding: 26px; text-align: center;
  border: 1px solid #ece5f7;
}
.contact-card .icon { font-size: 26px; margin-bottom: 10px; }
.contact-card h3 { font-size: 15px; color: #2d2438; margin-bottom: 6px; }
.contact-card p { font-size: 13.5px; color: #6b5f7a; }

footer { text-align: center; padding: 30px; color: #8b7fa3; font-size: 13px; }

@media (max-width: 720px) {
  .hero-inner { flex-direction: column-reverse; }
  .hero-quote { font-size: 24px; }
}
