:root {
  --bg: #071423;
  --bg2: #0b2138;
  --card: rgba(255, 255, 255, 0.08);
  --stroke: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.75);
  --muted2: rgba(255, 255, 255, 0.6);
  --primary: #3aa0ff;
  --primary2: #2f7bd6;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Almarai", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  background:
    radial-gradient(1200px 600px at 20% 10%, #143a67 0%, var(--bg) 55%),
    radial-gradient(900px 500px at 80% 20%, #0f2b4e 0%, var(--bg) 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  scroll-behavior: smooth;
}

a { color: inherit; text-decoration: none; }

.container { width: min(1100px, 92%); margin: 0 auto; }

.topbar {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(6, 18, 30, 0.75);
  border-bottom: 1px solid var(--stroke);
}

.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 16px;
}

.brand-logo {
  font-size: 24px; font-weight: 800; color: var(--primary);
  display: flex; align-items: center; gap: 8px;
}

.hero { padding: 60px 0 40px; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero__title {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  margin: 0 0 20px;
  font-weight: 800;
}

.hero__title div { margin-bottom: 8px; }

.hero__sub { margin: 0 0 24px; font-size: 20px; color: var(--muted); }
.hero__sub strong { color: #fff; font-weight: 800; }

.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.badge {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.06);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
}

.hero__visual {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.mock {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.miniSection { margin-top: 20px; text-align: right; }
.miniTitle { font-weight: 700; margin-bottom: 12px; font-size: 15px; color: var(--primary); }
.miniGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.miniCard {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  padding: 12px 8px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}
.miniCard span { display: block; font-size: 11px; color: var(--muted2); margin-top: 4px; }

.section { padding: 50px 0; }
.section--soft { background: rgba(255, 255, 255, 0.02); border-top: 1px solid var(--stroke); }
.section__title { font-size: 28px; margin-bottom: 24px; text-align: center; font-weight: 800; }

.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.list { list-style: none; padding: 0; display: grid; gap: 15px; margin: 0; }
.list li { display: flex; align-items: center; gap: 12px; font-size: 17px; color: var(--muted); }

.statsGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.statCard {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}

.statValue {
  font-size: 30px;
  font-weight: 900;
  color: #fff;
}

.statLabel {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted2);
}

.pricingGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.priceCard {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  padding: 30px 20px;
  border-radius: var(--radius);
  text-align: center;
}
.priceCard--highlight { background: rgba(58, 160, 255, 0.1); border-color: var(--primary); }
.priceCard__title { font-size: 18px; margin-bottom: 15px; color: var(--muted); }
.num { font-size: 42px; font-weight: 900; color: #fff; }
.from { font-size: 14px; color: var(--muted2); margin-left: 5px; }

.priceBadge {
  position: absolute;
  top: -11px;
  left: 20px;
  font-size: 12px;
  font-weight: 800;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
}

.priceFeatures {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
  text-align: right;
}

.priceFeatures li {
  color: var(--muted);
  font-size: 14px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  padding-bottom: 8px;
}

.field { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-size: 14px; color: var(--muted); }

input, select, textarea {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-family: inherit;
  outline: none;
}

input:focus, select:focus, textarea:focus { border-color: var(--primary); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.3s;
  border: none;
  font-family: inherit;
}

.btn--primary {
  background: linear-gradient(180deg, var(--primary), var(--primary2));
  color: #fff;
  box-shadow: 0 10px 20px rgba(58, 160, 255, 0.2);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(58, 160, 255, 0.3); }

.btn--full { width: 100%; }

/* زر واتساب */
.btn--whatsapp {
  background: #25D366;
  color: #fff;
}
.btn--whatsapp:hover { transform: translateY(-3px); filter: brightness(1.05); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke);
  color: #fff;
}
.btn--ghost:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.14); }

.form-sep { text-align: center; margin: 15px 0; color: var(--muted2); }
.privacy-note { text-align: center; color: var(--muted2); font-size: 13px; margin: 12px 0 0; }

/* مسافة بين الأزرار */
.form-actions .btn { margin-top: 12px; }

.stepsGrid,
.testimonialsGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stepCard,
.testimonialCard {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 20px;
}

.stepNo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
  background: linear-gradient(180deg, var(--primary), var(--primary2));
}

.stepCard h3 { margin: 0 0 8px; font-size: 18px; }
.stepCard p,
.testimonialCard p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}
.testimonialCard strong {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-size: 14px;
}

.faqWrap {
  display: grid;
  gap: 12px;
}

.faqItem {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 14px 16px;
}

.faqItem summary {
  cursor: pointer;
  font-weight: 700;
}

.faqItem p {
  color: var(--muted);
  margin: 10px 0 0;
  line-height: 1.8;
}

.footer { padding: 40px 0; border-top: 1px solid var(--stroke); text-align: center; }
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted2);
  font-size: 14px;
  gap: 10px;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .badges { justify-content: center; }
  .pricingGrid { grid-template-columns: 1fr; }
  .miniGrid { grid-template-columns: 1fr; }
  .miniSection { text-align: center; }
  .statsGrid,
  .stepsGrid,
  .testimonialsGrid { grid-template-columns: 1fr; }
  .priceBadge { left: 50%; transform: translateX(-50%); }
}
/* Logo in hero card - fixed and responsive */
.logo-box{
  display:flex;
  justify-content:center;
  margin-bottom:16px;
}

.logo-img{
  width: min(180px, 72%);
  max-width: 180px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.28));
}

.logo-placeholder{
  width: 82px;
  height: 82px;
  border-radius: 20px;
  display:grid;
  place-items:center;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  background: linear-gradient(160deg, rgba(58,160,255,0.45), rgba(47,123,214,0.25));
}
