:root {
  --navy-950: #071527;
  --navy-900: #0b1e36;
  --navy-800: #11345b;
  --cyan: #12aeca;
  --teal: #19b995;
  --green: #13945c;
  --text: #152033;
  --muted: #66758a;
  --soft: #f6f8fb;
  --soft-2: #eef4f8;
  --line: #dce6ee;
  --white: #fff;
  --shadow: 0 18px 46px rgba(8, 25, 48, 0.12);
  --radius: 8px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  direction: rtl;
  color: var(--text);
  background: var(--white);
  font-family: "Cairo", "IBM Plex Sans Arabic", Arial, sans-serif;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

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

.ltr,
.phone,
.email,
[href^="tel:"],
[href^="mailto:"] {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy-900);
  border-radius: var(--radius);
}
.skip-link:focus { top: 14px; }

.topbar {
  color: #d2deea;
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: .88rem;
}
.topbar-links { display: flex; gap: 16px; align-items: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid rgba(220,230,238,.9);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-950);
  font-weight: 900;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-900), var(--cyan));
  border-radius: 10px;
  font-family: Inter, Arial, sans-serif;
  box-shadow: 0 12px 28px rgba(18,174,202,.18);
}
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name small {
  margin-top: 3px;
  color: var(--muted);
  font-family: Inter, Arial, sans-serif;
  font-size: .72rem;
  font-weight: 600;
}
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  padding: 10px 11px;
  color: #314156;
  border-radius: var(--radius);
  font-size: .96rem;
  font-weight: 800;
}
.main-nav a:hover,
.main-nav a.active { color: var(--navy-950); background: #eaf7fa; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--navy-900);
  background: var(--soft-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  content: "";
}
.menu-toggle span::before { transform: translateY(-7px); }
.menu-toggle span::after { transform: translateY(5px); }

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 17px;
  color: #fff;
  background: var(--cyan);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(18,174,202,.18);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(18,174,202,.24); }
.btn.secondary { color: var(--navy-950); background: #fff; border-color: var(--line); box-shadow: none; }
.btn.dark { background: var(--navy-900); }
.btn.whatsapp { background: var(--green); box-shadow: 0 12px 26px rgba(19,148,92,.18); }
.btn.small { min-height: 38px; padding: 7px 12px; font-size: .9rem; }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7,21,39,.38), rgba(7,21,39,.72) 45%, rgba(7,21,39,.96)),
    url("../images/hero-nurhosting.png");
  background-size: cover;
  background-position: center;
}
.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 72px;
  background: linear-gradient(0deg, #fff, rgba(255,255,255,0));
  content: "";
}
.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(300px, .62fr);
  align-items: center;
  gap: 42px;
  padding: 62px 0 100px;
}
.eyebrow,
.kicker {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: .92rem;
  font-weight: 900;
}
.hero .eyebrow {
  width: fit-content;
  margin-bottom: 16px;
  padding: 6px 11px;
  color: #dffbff;
  background: rgba(18,174,202,.14);
  border: 1px solid rgba(18,174,202,.28);
  border-radius: 999px;
}
.hero h1,
.page-hero h1 {
  margin: 0;
  color: inherit;
  font-size: clamp(2rem, 4.2vw, 3.55rem);
  line-height: 1.23;
  letter-spacing: 0;
}
.hero .lead {
  max-width: 640px;
  margin: 18px 0 0;
  color: #e3edf6;
  font-size: 1.08rem;
}
.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 26px;
}
.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 28px;
  color: #d3e2ef;
  font-size: .94rem;
}
.trust-line span::before {
  color: #8af0d2;
  margin-inline-end: 6px;
  content: "✓";
}
.ops-panel {
  padding: 22px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
}
.ops-panel h2 {
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
}
.ops-panel p { color: #c9d8e6; margin: 8px 0 0; }
.ops-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.ops-list li {
  display: flex;
  gap: 9px;
  color: #eaf3fa;
}
.ops-list li::before {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  margin-top: 4px;
  color: #062018;
  background: #9cf7df;
  border-radius: 50%;
  font-size: .72rem;
  font-weight: 900;
  content: "✓";
}

.section { padding: 78px 0; }
.section.soft { background: var(--soft); }
.section.dark { color: #d9e7f3; background: var(--navy-950); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}
.section-title { max-width: 720px; }
.section-title h2,
.page-hero h1 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.35;
}
.section-title p,
.page-hero p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
}
.section.dark h2,
.section.dark h3 { color: #fff; }
.section.dark p { color: #bfd0de; }

.grid { display: grid; gap: 18px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card,
.service-card,
.pricing-card,
.faq-item,
.contact-panel,
.proof-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card,
.service-card,
.proof-card {
  padding: 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover,
.service-card:hover,
.proof-card:hover {
  transform: translateY(-2px);
  border-color: rgba(18,174,202,.36);
  box-shadow: var(--shadow);
}
.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--navy-900);
  background: #e8f8fb;
  border-radius: 10px;
}
.icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2; }
.card h3,
.service-card h3,
.proof-card h3,
.pricing-card h3,
.contact-panel h3 {
  margin: 0 0 8px;
  color: var(--navy-950);
  font-size: 1.12rem;
  line-height: 1.45;
}
.card p,
.service-card p,
.proof-card p,
.pricing-card p { margin: 0; color: var(--muted); }

.check-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-inline-start: 26px;
  color: #3f4e63;
}
.check-list li::before {
  position: absolute;
  inset-inline-start: 0;
  top: .28em;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: #07543a;
  background: #dcf8ef;
  border-radius: 50%;
  font-size: .72rem;
  font-weight: 900;
  content: "✓";
}

.proof-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 24px;
  align-items: stretch;
}
.proof-main {
  padding: 30px;
  color: #fff;
  background: var(--navy-900);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.proof-main h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1.38; }
.proof-main p { color: #d3e2ef; }
.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.audience-tags span {
  padding: 7px 10px;
  color: #e7fbff;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 800;
}

.infra {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.infra-item {
  min-height: 116px;
  padding: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
}
.infra-item strong { display: block; color: #fff; margin-bottom: 6px; }
.infra-item span { color: #bfd0de; font-size: .92rem; }

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.comparison-box {
  padding: 26px;
  border-radius: 12px;
}
.comparison-box.light { background: #fff; border: 1px solid var(--line); }
.comparison-box.dark { color: #fff; background: var(--navy-900); }
.comparison-box h3 { margin-top: 0; }

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
}
.pricing-card.featured { border-color: rgba(18,174,202,.5); box-shadow: var(--shadow); }
.badge {
  width: fit-content;
  margin-bottom: 14px;
  padding: 5px 11px;
  color: #075e69;
  background: #dff8fb;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 900;
}
.price {
  margin: 18px 0;
  color: var(--navy-950);
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1.25;
}
.price small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 800;
}
.pricing-card .btn { margin-top: auto; }
.note { margin: 18px 0 0; color: var(--muted); font-size: .92rem; }

.steps { counter-reset: step; }
.step {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  color: #fff;
  background: var(--navy-900);
  border-radius: 50%;
  font-family: Inter, Arial, sans-serif;
  font-weight: 900;
  content: counter(step);
}

.cta-band {
  padding: 32px;
  color: #fff;
  background: var(--navy-900);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.cta-band h2 { margin: 0; color: #fff; font-size: clamp(1.5rem, 3vw, 2.15rem); }
.cta-band p { max-width: 760px; color: #d4e2ef; }

.faq-list { display: grid; gap: 12px; }
.faq-item { overflow: hidden; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--navy-950);
  background: #fff;
  border: 0;
  text-align: right;
  font-weight: 900;
  cursor: pointer;
}
.faq-question::after {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "+";
}
.faq-item.open .faq-question::after { content: "-"; }
.faq-answer { display: none; padding: 0 20px 20px; color: var(--muted); }
.faq-item.open .faq-answer { display: block; }

.page-hero {
  padding: 72px 0;
  background: radial-gradient(circle at top left, rgba(18,174,202,.12), transparent 34%), linear-gradient(180deg, #f6f9fc, #fff);
  border-bottom: 1px solid var(--line);
}
.breadcrumb { margin: 0 0 10px; color: var(--cyan); font-weight: 900; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.contact-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 22px; align-items: start; }
.contact-panel { padding: 24px; }
.contact-item {
  display: flex;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: #3e4d63;
}
.contact-item:last-child { border-bottom: 0; }
.form-grid { display: grid; gap: 14px; }
.form-row { display: grid; gap: 7px; }
label { color: var(--navy-950); font-weight: 900; }
input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(18,174,202,.12);
}
textarea { min-height: 132px; resize: vertical; }
.form-hint { margin: 0; color: var(--muted); font-size: .9rem; }

.site-footer {
  color: #d6e4f0;
  background: var(--navy-950);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.25fr .9fr .9fr 1fr;
  gap: 28px;
  padding: 52px 0;
}
.footer-main h3 {
  margin: 0 0 13px;
  color: #fff;
  font-size: 1rem;
}
.footer-main p,
.footer-main a { color: #b8c8d8; }
.footer-links { display: grid; gap: 8px; }
.footer-links a:hover { color: #fff; }
.footer-contact {
  padding: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  color: #95a8bb;
  border-top: 1px solid rgba(255,255,255,.09);
}

.whatsapp-float {
  position: fixed;
  inset-inline-start: 18px;
  bottom: 18px;
  z-index: 90;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(19,148,92,.30);
}
.whatsapp-float svg { width: 28px; height: 28px; }
.mobile-cta {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 82px;
  z-index: 89;
  display: none;
}
.mobile-cta .btn { width: 100%; }

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.error-code {
  margin: 0;
  color: var(--cyan);
  font-size: clamp(4rem, 15vw, 9rem);
  line-height: 1;
  font-weight: 900;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .proof-grid,
  .comparison,
  .split,
  .contact-grid { grid-template-columns: 1fr; }
  .ops-panel { max-width: 620px; }
  .infra { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .topbar-inner { justify-content: center; text-align: center; }
  .topbar-links { display: none; }
  .menu-toggle { display: grid; }
  .main-nav {
    position: absolute;
    inset: 74px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; }
  .nav-actions .btn { display: none; }
  .cols-4, .cols-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 24px, var(--container)); }
  .hero-grid { min-height: auto; padding: 48px 0 92px; }
  .hero .lead { font-size: 1rem; }
  .hero-actions .btn, .cta-row .btn { width: 100%; }
  .trust-line { display: grid; }
  .cols-4, .cols-3, .cols-2, .infra, .footer-main { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .section-head, .footer-bottom { flex-direction: column; align-items: stretch; }
  .page-hero { padding: 50px 0; }
  .brand-name small { display: none; }
  .mobile-cta { display: block; }
  .whatsapp-float { width: 54px; height: 54px; }
}
