:root {
  --bg: #0a2f36;
  --bg2: #0e4750;
  --bg-card: #0f4f59;
  --bg-card2: #115864;
  --ink: #f4fbfb;
  --muted: #a8c5c9;
  --accent: #e8b84a;
  --accent2: #f5d078;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  --radius: 16px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  background: radial-gradient(ellipse at top, #115864 0%, var(--bg) 55%, #071f24 100%);
  color: var(--ink);
  line-height: 1.75;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(10, 47, 54, 0.88);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}
.logo {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--accent2);
}
.logo small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}
.logo.logo-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.logo.logo-with-icon .logo-icon {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border: none;
  box-shadow: none;
  flex-shrink: 0;
}
.logo.logo-with-icon .logo-text {
  display: block;
  line-height: 1.25;
  font-size: 1.2rem;
  font-weight: 700;
  color: #f0c14d;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}
.logo.logo-with-icon .logo-text small {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e8b84a;
  opacity: 0.92;
}
.logo.logo-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  min-width: 0;
}
.logo.logo-brand img {
  display: block;
  height: 72px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  background: transparent !important;
  border: none;
  box-shadow: none;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}
.logo.logo-brand .logo-text {
  display: block;
  line-height: 1.25;
  font-size: 1.15rem;
  font-weight: 700;
  color: #f0c14d;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}
.logo.logo-brand .logo-text small {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e8b84a;
  opacity: 0.92;
}
.site-footer .logo.logo-brand {
  gap: 10px;
}
.site-footer .logo.logo-brand img {
  height: 48px;
  max-width: 48px;
}
.site-footer .logo.logo-brand .logo-text {
  font-size: 1rem;
  line-height: 1.3;
}
@media (max-width: 720px) {
  .logo.logo-brand img {
    height: 58px;
    max-width: 96px;
  }
  .logo.logo-brand .logo-text {
    font-size: 0.98rem;
  }
  .logo.logo-brand .logo-text small {
    font-size: 0.7rem;
  }
  .site-footer .logo.logo-brand img {
    height: 44px;
    max-width: 44px;
  }
  .site-footer .logo.logo-brand .logo-text {
    font-size: 0.95rem;
  }
}
.nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.nav a:hover,
.nav a.active {
  color: var(--accent2);
  background: rgba(232, 184, 74, 0.12);
}
.nav a.nav-cta {
  background: var(--accent);
  color: #1a1200;
}
.nav a.nav-cta:hover {
  background: var(--accent2);
  color: #1a1200;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle[aria-expanded="true"] {
  background: rgba(232, 184, 74, 0.18);
  border-color: rgba(232, 184, 74, 0.45);
  color: var(--accent2);
}
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav a:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 2px;
}
.nav-cta {
  background: var(--accent) !important;
  color: #1a1a1a !important;
}
.nav-cta:hover { filter: brightness(1.05); color: #111 !important; }

/* Hero */
.hero {
  padding: 48px 0 28px;
  text-align: center;
}
.hero-copy {
  max-width: 760px;
  margin: 0 auto 28px;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.35;
  animation: heroIn 0.55s ease both;
}
.hero .sub {
  max-width: 640px;
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 600;
  animation: heroIn 0.55s ease 0.08s both;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroIn 0.55s ease 0.14s both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Product preview — معاينة صفحة المدرس */
.hero-preview {
  display: block;
  width: min(920px, calc(100% - 32px));
  margin: 8px auto 0;
  border-radius: 16px 16px 12px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
  background: #0b3a42;
  animation: previewIn 0.7s ease 0.2s both;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hero-preview:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 184, 74, 0.55);
  box-shadow: 0 32px 68px rgba(0, 0, 0, 0.4);
}
.preview-cta {
  display: block;
  text-align: center;
  padding: 11px 14px;
  background: rgba(232, 184, 74, 0.14);
  border-top: 1px solid rgba(232, 184, 74, 0.28);
  color: var(--accent2);
  font-size: 0.88rem;
  font-weight: 800;
}
.preview-shot {
  background: #f7f8fb;
  line-height: 0;
  overflow: hidden;
}
.preview-shot img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 420px;
  object-fit: cover;
  object-position: top center;
}
@keyframes previewIn {
  from { opacity: 0; transform: translateY(22px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.preview-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #082a30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.preview-dots {
  display: flex;
  gap: 6px;
}
.preview-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.preview-dots span:nth-child(1) { background: #ff5f57; }
.preview-dots span:nth-child(2) { background: #febc2e; }
.preview-dots span:nth-child(3) { background: #28c840; }
.preview-url {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 6px 10px;
  direction: ltr;
}
.preview-screen {
  display: grid;
  grid-template-columns: 148px 1fr;
  min-height: 248px;
  background: linear-gradient(160deg, #f7f4ef 0%, #efe8dc 100%);
}
.preview-side {
  background: #123a44;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.preview-brand-line {
  height: 10px;
  width: 72%;
  border-radius: 999px;
  background: linear-gradient(90deg, #e8b84a, #f5d078);
  margin-bottom: 10px;
}
.preview-nav-item {
  height: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}
.preview-nav-item.on {
  background: rgba(232, 184, 74, 0.45);
}
.preview-main {
  padding: 16px 18px 18px;
  text-align: right;
}
.preview-hero-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.preview-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, #0e4750, #1a6b78);
  border: 2px solid #e8b84a;
  flex-shrink: 0;
}
.preview-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.preview-lines span {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: rgba(14, 71, 80, 0.18);
}
.preview-lines .w60 { width: 58%; }
.preview-lines .w40 { width: 36%; }
.preview-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.preview-tabs span {
  font-size: 0.72rem;
  font-weight: 700;
  color: #5a6f74;
  background: rgba(14, 71, 80, 0.08);
  border-radius: 999px;
  padding: 5px 12px;
}
.preview-tabs span.on {
  background: #0e4750;
  color: #fff;
}
.preview-lessons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.preview-lesson {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(14, 71, 80, 0.1);
  box-shadow: 0 6px 16px rgba(14, 71, 80, 0.08);
}
.preview-lesson i {
  display: block;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(232, 184, 74, 0.35), transparent 55%),
    linear-gradient(160deg, #0e4750, #176875);
}
.preview-lesson b {
  display: block;
  height: 8px;
  width: 70%;
  margin: 10px 10px 12px;
  border-radius: 999px;
  background: rgba(14, 71, 80, 0.16);
}
@media (max-width: 720px) {
  .preview-screen { grid-template-columns: 1fr; min-height: 0; }
  .preview-side { display: none; }
  .preview-lessons { grid-template-columns: 1fr 1fr; }
  .preview-lessons .preview-lesson:last-child { display: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: #1a1a1a; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent2); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}
.stats-below {
  margin-top: 28px;
}
.stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 10px;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--accent2);
  font-weight: 800;
}
.stat span { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.section-more {
  text-align: center;
  margin-top: 22px;
}

/* Sections */
.section { padding: 48px 0; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
}
.section-head p {
  margin: 0 auto;
  max-width: 620px;
  color: var(--muted);
  font-weight: 600;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-card2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card .icon,
.feature-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid rgba(232, 184, 74, 0.55);
  background: rgba(232, 184, 74, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.card .icon svg,
.feature-ico svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 800; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; font-weight: 600; }
.card:hover {
  border-color: rgba(232, 184, 74, 0.35);
  transform: translateY(-2px);
  transition: border-color 0.2s, transform 0.2s;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-item {
  background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-card2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}
.feature-item:hover {
  border-color: rgba(232, 184, 74, 0.4);
  transform: translateY(-2px);
}
.feature-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}
.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.65;
}

/* Pricing */
.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.pricing-toggle button {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}
.pricing-toggle button.active {
  background: var(--accent);
  color: #1a1a1a;
  border-color: var(--accent);
}
.pricing-note {
  text-align: center;
  color: var(--accent2);
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
}
.pricing-grid-single {
  grid-template-columns: 1fr;
  max-width: 440px;
}
.pricing-soon-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.65;
  text-align: center;
}
.price-card {
  background: linear-gradient(160deg, var(--bg-card), #0d5560);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  position: relative;
}
.price-card.featured {
  border-color: rgba(232,184,74,0.55);
  box-shadow: 0 0 0 1px rgba(232,184,74,0.2), var(--shadow);
}
.badge-pop {
  position: absolute;
  top: -10px;
  left: 20px;
  background: var(--accent);
  color: #1a1a1a;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}
.price-card h3 { margin: 8px 0 6px; font-size: 1.2rem; font-weight: 800; }
.price-card .desc { color: var(--muted); font-size: 0.92rem; font-weight: 600; margin-bottom: 16px; }
.price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent2);
  line-height: 1;
}
.price small { font-size: 0.95rem; color: var(--muted); font-weight: 700; }
.price-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.price-list li {
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
}
.price-list li:last-child { border-bottom: none; }

/* Demo / steps — رحلة المدرس */
.section-journey {
  padding-bottom: 20px;
}

/* مقارنة مع جروب/واتساب */
.section-compare {
  padding-top: 8px;
}
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 720px;
  margin-inline: auto;
  width: 100%;
}
.compare-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 18px;
  text-align: center;
}
.compare-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
}
.compare-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  font-weight: 600;
}
.compare-card-win {
  background: rgba(232, 184, 74, 0.1);
  border-color: rgba(232, 184, 74, 0.45);
}
.compare-card-win h3 { color: var(--accent2); }
@media (max-width: 800px) {
  .compare-grid { grid-template-columns: 1fr; }
}
.section-head .eyebrow {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(232, 184, 74, 0.14);
  border: 1px solid rgba(232, 184, 74, 0.35);
  color: var(--accent2);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.journey {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.journey::before {
  content: "";
  position: absolute;
  top: 36px;
  right: 12%;
  left: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(232, 184, 74, 0.45), transparent);
  pointer-events: none;
}
.journey-step {
  position: relative;
  text-align: center;
  padding: 8px 14px 4px;
  z-index: 1;
}
.journey-ico {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #14525c, #0e4750);
  border: 1.5px solid rgba(232, 184, 74, 0.55);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}
.journey-ico svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.journey-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1a1a;
  font-size: 0.75rem;
  font-weight: 800;
}
.journey-step h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}
.journey-step p {
  margin: 0 auto;
  max-width: 15rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.65;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.step {
  text-align: center;
  padding: 18px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.step .num {
  width: 36px; height: 36px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--accent);
  color: #1a1a1a;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step p { margin: 0; font-weight: 700; font-size: 0.9rem; }

/* About */
.about-hero { text-align: center; padding: 40px 0 20px; }
.about-hero h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0 0 12px; font-weight: 800; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.value-card {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
}
.value-card h3 { margin: 0 0 8px; color: var(--accent2); font-weight: 800; }
.value-card p { margin: 0; color: var(--muted); font-weight: 600; }

/* FAQ */
.faq-page { padding: 36px 0 48px; }
.faq-page h1 { text-align: center; margin: 0 0 8px; font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; }
.faq-page .intro { text-align: center; color: var(--muted); font-weight: 600; margin-bottom: 24px; }
.faq-search {
  width: 100%;
  max-width: 520px;
  margin: 0 auto 18px;
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
}
.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}
.faq-filters button {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.88rem;
}
.faq-filters button.active {
  background: rgba(232,184,74,0.18);
  color: var(--accent2);
  border-color: rgba(232,184,74,0.4);
}
.faq-group { margin-bottom: 28px; }
.faq-group h2 {
  font-size: 1.1rem;
  color: var(--accent2);
  margin: 0 0 12px;
  font-weight: 800;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
}
.faq-q {
  width: 100%;
  text-align: right;
  padding: 14px 16px;
  background: transparent;
  border: none;
  color: var(--ink);
  font-family: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q .chev { color: var(--accent2); transition: transform 0.2s; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 16px 14px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}
.faq-item.open .faq-a { display: block; }

.section-cta {
  padding: 18px 0 8px;
}
.cta-band {
  text-align: center;
  padding: 36px 28px;
  margin: 0 auto;
  border-radius: 20px;
  background: linear-gradient(135deg, #0d5560, #0e4750);
  border: 1px solid rgba(232, 184, 74, 0.25);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}
.cta-teacher {
  background:
    radial-gradient(ellipse at top, rgba(232, 184, 74, 0.12), transparent 55%),
    linear-gradient(145deg, #12606a 0%, #0c4550 55%, #0a3840 100%);
  border-color: rgba(232, 184, 74, 0.4);
}
.cta-kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 14px;
  background: rgba(232, 184, 74, 0.16);
  border-radius: 999px;
  color: var(--accent2);
  font-size: 0.84rem;
  font-weight: 800;
}
.cta-band h2 {
  margin: 0 0 10px;
  font-weight: 800;
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
  line-height: 1.45;
}
.cta-band p:not(.cta-kicker) {
  margin: 0 auto 22px;
  max-width: 36rem;
  color: var(--muted);
  font-weight: 600;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

/* Footer — صف واحد متوازن: براند | روابط | حقوق */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px 0 24px;
  margin-top: 12px;
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px 20px;
}
.footer-brand {
  justify-self: start;
  min-width: 0;
}
.footer-nav {
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
  justify-content: center;
  justify-self: center;
}
.footer-nav a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}
.footer-nav a:hover { color: var(--accent2); }
.footer-copy {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  justify-self: end;
  text-align: end;
  white-space: nowrap;
  direction: rtl;
  unicode-bidi: isolate;
}
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 12px;
  }
  .footer-brand,
  .footer-nav,
  .footer-copy {
    justify-self: center;
    text-align: center;
  }
  .footer-copy { white-space: normal; }
}

.page-hero {
  padding: 40px 0 16px;
  text-align: center;
}
.page-hero h1 { margin: 0 0 10px; font-weight: 800; font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.page-hero p { margin: 0 auto; max-width: 640px; color: var(--muted); font-weight: 600; }

@media (max-width: 900px) {
  .cards, .features-grid { grid-template-columns: 1fr 1fr; }
  .stats, .steps, .journey { grid-template-columns: repeat(2, 1fr); }
  .journey::before { display: none; }
  .stats .stat:last-child { grid-column: 1 / -1; max-width: 280px; margin: 0 auto; width: 100%; }
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cards, .features-grid, .values { grid-template-columns: 1fr; }
  .stats, .journey { grid-template-columns: 1fr; }
  .stats .stat:last-child { max-width: none; }
  .journey-step { padding: 12px 8px; border-bottom: 1px solid var(--border); }
  .journey-step:last-child { border-bottom: none; }
  .nav-toggle { display: inline-flex; }
  .header-inner .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: rgba(10, 47, 54, 0.98);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    z-index: 120;
  }
  .header-inner .nav.is-open { display: flex; }
  .header-inner .nav a {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    border-radius: 12px;
  }
  .header-inner {
    position: relative;
    flex-wrap: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1,
  .hero .sub,
  .hero-actions,
  .hero-preview {
    animation: none;
  }
}
