:root {
  --bg-main: #020617;       /* أسود مائل للأزرق */
  --bg-section: #0b1120;    /* أغمق للقسم */
  --bg-highlight: #111827;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --accent: #ecac10;        /* أصفر قريب من لون اللوجو */
  --accent-soft: rgba(250, 204, 21, 0.12);
  --border-subtle: #1f2937;
}

/* reset بسيط */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 55%);
  color: var(--text-main);
  direction: rtl;
}

/* الحاوية العامة */
.page {
  min-height: 100vh;
}

/* أعلى الصفحة */
.top-bar {
  width: 100%;
  text-align: center;
  padding: 0.5rem 1rem;
  background: var(--bg-highlight);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* الحاوية */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* الهيرو */
.hero {
  padding: 3.5rem 0 3rem;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 2.5rem;
  align-items: start;
}

.hero-text h1 {
  font-size: 2.2rem;
  line-height: 1.35;
  margin-bottom: 1rem;
}

.hero-tag {
  display: inline-block;
  font-size: 0.85rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--accent-soft);
  background: rgba(15, 23, 42, 0.85);
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.highlight {
  color: var(--accent);
  font-weight: 600;
}

/* قائمة النقاط في الهيرو */
.hero-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.hero-list li {
  position: relative;
  padding-right: 1.25rem;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.hero-list li::before {
  content: "•";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent);
}

/* الأزرار */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s ease-in-out;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #fbbf24);
  color: #000;
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(250, 204, 21, 0.35);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-subtle);
  color: var(--text-main);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: var(--accent-soft);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* بطاقة الهيرو الجانبية */
.hero-card {
  background: radial-gradient(circle at top, #111827, #020617 55%);
  border-radius: 1.25rem;
  border: 1px solid var(--border-subtle);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.75);
}

.hero-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.hero-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.hero-card-list {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-main);
}

.hero-card-list li {
  position: relative;
  padding-right: 1.1rem;
  margin-bottom: 0.4rem;
}

.hero-card-list li::before {
  content: "✓";
  position: absolute;
  right: 0;
  top: -1px;
  font-size: 0.7rem;
  color: var(--accent);
}

.badge {
  display: inline-block;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

/* الأقسام العامة */
.section {
  padding: 3rem 0;
  background: transparent;
}

.section:nth-of-type(odd) {
  background: rgba(15, 23, 42, 0.35);
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 1.75rem;
  text-align: center;
}

/* شبكات */
.grid {
  display: grid;
  gap: 1.5rem;
}

.three-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* الكروت */
.card {
  background: var(--bg-highlight);
  border-radius: 1rem;
  padding: 1.25rem 1.1rem;
  border: 1px solid var(--border-subtle);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* الوحدات */
.modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.module {
  background: var(--bg-highlight);
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border-subtle);
}

.module-bonus {
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.14);
}

.module-label {
  display: inline-block;
  font-size: 0.8rem;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.module h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.module ul {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.module ul li {
  position: relative;
  padding-right: 0.9rem;
  margin-bottom: 0.3rem;
}

.module ul li::before {
  content: "–";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent);
}

/* عن صانع الدورة */
.about-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* قسم السعر */
.section-highlight {
  background: radial-gradient(circle at top, #111827, #020617 65%);
}

.pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-card {
  margin-top: 1.5rem;
  max-width: 520px;
  width: 100%;
  background: var(--bg-highlight);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--accent-soft);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.9);
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.price {
  margin-bottom: 0.85rem;
}

.price-main {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.price-note {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-list {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.75rem 0 1.25rem;
}

.pricing-list li {
  position: relative;
  padding-right: 1rem;
  margin-bottom: 0.35rem;
}

.pricing-list li::before {
  content: "•";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent);
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-highlight);
  border-radius: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--border-subtle);
}

.faq-item h3 {
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}

.faq-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CTA الأخيرة */
.section-cta {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.08), transparent);
}

.cta-inner {
  text-align: center;
  max-width: 640px;
}

.cta-inner h2 {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.cta-inner p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* الفوتر */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.2rem 0 1.5rem;
  background: #020617;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer a {
  color: var(--accent);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-links {
  font-size: 0.85rem;
}

/* استجابة للموبايل */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

  .modules {
    grid-template-columns: minmax(0, 1fr);
  }

  .three-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

/* شريط اللوجو في الأعلى */
.brand-bar {
  width: 100%;
  background: #ecac10; /* نفس لون اللوجو تقريبًا */
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.brand-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  height: 40px;
  width: auto;
  border-radius: 12px;           /* لتخفيف شكل المستطيل */
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.brand-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
}

