:root {
  --ink: #0B1F2A;
  --ink-2: #143040;
  --text: #142433;
  --muted: #5B6B78;
  --line: #D7E1E8;
  --surface: #FFFFFF;
  --surface-2: #F4F8FA;
  --teal: #00C2A8;
  --teal-deep: #08988A;
  --amber: #F5B942;
  --google: #4285F4;
  --aws: #FF9900;
  --ok: #0F8A6A;
  --danger: #C0392B;
  --shadow: 0 18px 50px rgba(11, 31, 42, 0.12);
  --radius: 22px;
  --font: "Cairo", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #EAF2F5;
  line-height: 1.65;
  padding-bottom: 92px;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.hidden { display: none !important; }
.container { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }
.ico, .ui-ico { width: 1.2em; height: 1.2em; flex-shrink: 0; }

/* Keep phone numbers / prices from reversing in RTL Arabic */
.ltr-num,
[dir="ltr"].ltr-num,
input[type="tel"],
.plan-card-price-row,
.summary-total strong,
.mobile-bar strong,
.countdown {
  direction: ltr;
  unicode-bidi: isolate;
}
.ltr-num {
  display: inline-block;
  white-space: nowrap;
}
.brand-ico { width: 32px; height: 32px; display: block; }
.plan-icon .ui-ico { width: 20px; height: 20px; }
.provider-logo {
  width: 52px !important;
  height: 52px !important;
  border-radius: 14px !important;
}
.provider-logo .brand-ico { width: 32px; height: 32px; }
.plan-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
}

.sale-banner {
  background: linear-gradient(90deg, #0B1F2A 0%, #134054 50%, #0B1F2A 100%);
  color: #fff;
  border-bottom: 1px solid rgba(0, 194, 168, 0.35);
}
.sale-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 0;
}
.sale-banner-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-weight: 700;
}
.sale-pill {
  background: var(--amber);
  color: #1A1400;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}
.countdown {
  display: flex;
  gap: 8px;
}
.count-unit {
  min-width: 52px;
  text-align: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 6px 8px;
}
.count-unit span {
  display: block;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.count-unit small {
  color: rgba(255,255,255,0.65);
  font-size: 0.7rem;
  font-weight: 700;
}

.price-sale-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: #C0392B;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

.promo-box {
  margin: 14px 0;
  padding: 14px;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1.5px dashed var(--line);
}
.promo-box label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink-2);
}
.promo-row {
  display: flex;
  gap: 8px;
}
.promo-row input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  background: #fff;
  outline: none;
}
.promo-row input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0,194,168,.12);
}
.promo-row .btn { border-radius: 14px; white-space: nowrap; }
.promo-msg { margin: 8px 0 0; font-size: 0.88rem; font-weight: 700; min-height: 1.2em; }
.promo-msg--ok { color: var(--ok); }
.promo-msg--error { color: var(--danger); }

.choice-card.is-selected {
  border-color: var(--teal);
  background: linear-gradient(180deg, rgba(0,194,168,0.08), #fff);
  box-shadow: 0 10px 28px rgba(0, 194, 168, 0.12);
}

.wa-float {
  position: fixed;
  left: 18px;
  bottom: 88px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45);
  transition: transform .18s ease, box-shadow .18s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); }
.wa-float svg { width: 30px; height: 30px; }
@media (min-width: 981px) {
  .wa-float { bottom: 28px; }
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(0, 194, 168, 0.22), transparent 60%),
    radial-gradient(700px 420px at -10% 20%, rgba(66, 133, 244, 0.16), transparent 55%),
    radial-gradient(800px 500px at 80% 100%, rgba(245, 185, 66, 0.14), transparent 50%),
    linear-gradient(180deg, #EDF5F7 0%, #E6EEF2 45%, #EAF2F5 100%);
}
.grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(11, 31, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 42, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 78%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  animation: drift 14s ease-in-out infinite alternate;
}
.orb-a { width: 280px; height: 280px; background: #00C2A8; top: 12%; right: 8%; }
.orb-b { width: 220px; height: 220px; background: #4285F4; bottom: 18%; left: 6%; animation-delay: -4s; }
@keyframes drift {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(28px) scale(1.08); }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(234, 242, 245, 0.82);
  border-bottom: 1px solid rgba(215, 225, 232, 0.8);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.brand-text small { color: var(--muted); font-size: 0.78rem; font-weight: 600; }
.nav-links { display: flex; gap: 18px; color: var(--muted); font-weight: 600; }
.nav-links a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--ink) 0%, #134054 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(11, 31, 42, 0.22);
}
.btn-primary:hover { background: linear-gradient(135deg, #102A38 0%, #0B1F2A 100%); }
.btn-ghost {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-wa {
  background: #12A150;
  color: #fff;
  box-shadow: 0 10px 24px rgba(18, 161, 80, 0.25);
}
.btn-block { width: 100%; margin-top: 14px; }
.btn:disabled { opacity: 0.65; cursor: wait; transform: none; }

.hero { padding: 42px 0 18px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  min-height: min(72vh, 620px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 194, 168, 0.12);
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 0.92rem;
}
.brand-hero {
  display: block;
  font-size: clamp(3.4rem, 8vw, 5.6rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: 8px;
}
.hero h1 { margin: 0; }
.hero-line { display: block; font-size: clamp(1.55rem, 3.4vw, 2.25rem); font-weight: 800; color: var(--ink-2); }
.accent-line {
  background: linear-gradient(90deg, var(--teal-deep), var(--google) 55%, var(--aws));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.08rem;
  margin: 16px 0 22px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 0;
  margin: 0;
  color: var(--ink-2);
  font-weight: 700;
  font-size: 0.95rem;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust-ico {
  width: 28px; height: 28px; border-radius: 9px;
  display: grid; place-items: center;
  background: #fff; color: var(--teal-deep);
  box-shadow: 0 6px 16px rgba(11, 31, 42, 0.08);
}
.trust-ico svg { width: 16px; height: 16px; }

.hero-visual { display: flex; justify-content: center; }
.server-stack {
  position: relative;
  width: min(100%, 360px);
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(160deg, #0B1F2A 0%, #16394A 55%, #0F2A38 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.server-stack::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -20%;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(0,194,168,.35), transparent 70%);
}
.rack {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.rack.active {
  border-color: rgba(0,194,168,0.45);
  box-shadow: inset 0 0 0 1px rgba(0,194,168,0.15);
  animation: pulseSoft 2.4s ease-in-out infinite;
}
@keyframes pulseSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.led {
  width: 10px; height: 10px; border-radius: 50%;
  background: #3A5160;
}
.led.on { background: var(--teal); box-shadow: 0 0 12px rgba(0,194,168,.8); }
.bar {
  flex: 1; height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,.05));
}
.cloud-badges {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px;
}
.chip {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
}
.chip.google { background: rgba(66,133,244,.92); }
.chip.aws { background: rgba(255,153,0,.92); color: #1a1200; }

.workflow { padding: 18px 0 40px; }
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}
.panel {
  background: var(--surface);
  border: 1px solid rgba(215,225,232,.9);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 18px;
  box-shadow: 0 10px 30px rgba(11, 31, 42, 0.04);
}
.panel-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.panel-head h2 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
}
.panel-head p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.step {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
}

.provider-grid, .duration-grid, .plans-grid, .vps-grid {
  display: grid;
  gap: 12px;
}
.provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.duration-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plans-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.provider-card, .duration-pill, .plan-card, .vps-card, .choice-card {
  position: relative;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: var(--surface-2);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.provider-card:hover, .duration-pill:hover, .plan-card:hover, .vps-card:hover, .choice-card:hover {
  transform: translateY(-2px);
  border-color: #B8CBD6;
}
.provider-card.is-selected,
.duration-pill.is-selected,
.plan-card.is-selected,
.vps-card.is-selected {
  border-color: var(--teal);
  background: linear-gradient(180deg, rgba(0,194,168,0.08), #fff);
  box-shadow: 0 10px 28px rgba(0, 194, 168, 0.12);
}
.provider-card, .duration-pill, .plan-card, .vps-card { padding: 16px; display: block; }
.provider-card input, .duration-pill input, .plan-card input, .vps-card input, .choice-card > input {
  position: absolute; opacity: 0; pointer-events: none;
}
.provider-top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.provider-logo {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: #fff;
  box-shadow: 0 6px 16px rgba(11,31,42,.08);
}
.provider-logo svg { width: 26px; height: 26px; }
.provider-name { font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.provider-tag { color: var(--muted); font-size: 0.88rem; margin: 0; }

.duration-title { display: block; font-weight: 800; color: var(--ink); }
.duration-sub { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 4px; }
.duration-tag-best {
  position: absolute; top: -10px; left: 12px;
  background: var(--amber); color: #1A1400;
  font-size: 0.72rem; font-weight: 800;
  padding: 0.2rem 0.55rem; border-radius: 999px;
}

.category-row {
  display: flex; align-items: center; justify-content: space-between;
  margin: 8px 0 12px;
}
.category-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; color: var(--ink);
}
.linkish {
  background: none; border: 0; color: var(--teal-deep);
  font-weight: 700; cursor: pointer; padding: 0;
}
.plan-card-header, .vps-card-name {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: 8px;
}
.plan-card-name, .vps-card-name { font-weight: 800; color: var(--ink); }
.plan-icon {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(0,194,168,.12); color: var(--teal-deep);
}
.plan-icon svg { width: 18px; height: 18px; }
.plan-badge-popular {
  position: absolute; top: -10px; right: 14px;
  background: var(--ink); color: #fff;
  font-size: 0.72rem; font-weight: 800;
  padding: 0.25rem 0.6rem; border-radius: 999px;
}
.plan-discount-badge {
  font-size: 0.72rem; font-weight: 800;
  color: var(--teal-deep); background: rgba(0,194,168,.12);
  padding: 0.2rem 0.5rem; border-radius: 999px;
}
.plan-card-price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan-card-price { font-size: 1.55rem; font-weight: 900; color: var(--ink); }
.plan-card-price-old { color: var(--muted); font-size: 0.95rem; }
.plan-card-unit { color: var(--muted); font-weight: 700; font-size: 0.85rem; }
.vps-card-specs { display: block; color: var(--muted); font-size: 0.85rem; margin-bottom: 8px; direction: ltr; text-align: right; }
.plan-features {
  margin: 12px 0 0; padding: 0 18px 0 0; color: var(--ink-2); font-size: 0.9rem;
}
.plan-features li { margin-bottom: 6px; }
.is-unavailable { opacity: 0.45; pointer-events: none; }

.domain-options { display: grid; gap: 10px; }
.choice-card { padding: 14px 16px; }
.choice-body { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.custom-domain { margin-top: 12px; }
.custom-domain label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; }
.custom-domain input, .field input, .field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.custom-domain input:focus, .field input:focus, .field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0,194,168,.12);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.field { margin-bottom: 12px; }
.field label {
  display: block; font-weight: 700; margin-bottom: 6px; color: var(--ink-2);
}
.field label em { color: var(--danger); font-style: normal; }
.privacy-box {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 14px;
  border-radius: 14px;
  background: rgba(0,194,168,.08);
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.92rem;
}
.note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(245,185,66,.15);
  color: #6A4E00;
  font-weight: 700;
}
.form-message {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
}
.form-message--success { background: rgba(15,138,106,.12); color: var(--ok); }
.form-message--error { background: rgba(192,57,43,.1); color: var(--danger); }

.summary-rail { position: sticky; top: 92px; }
.summary-card {
  background: linear-gradient(165deg, #0B1F2A, #16394A);
  color: #fff;
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.summary-title {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 1.1rem; margin-bottom: 16px;
}
.summary-rows { display: grid; gap: 10px; }
.summary-row {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 0.92rem; color: rgba(255,255,255,.72);
}
.summary-row strong { color: #fff; font-weight: 800; text-align: left; }
.summary-row strong.ok { color: #6EF0D4; }
.summary-total {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; align-items: baseline;
  font-weight: 800;
}
.summary-total strong { font-size: 1.8rem; color: var(--amber); }
.summary-try { margin-top: 8px; color: rgba(255,255,255,.65); font-size: 0.88rem; }

.footer {
  margin-top: 20px;
  background: var(--ink);
  color: rgba(255,255,255,.78);
  padding: 42px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.footer-brand {
  font-size: 1.6rem; font-weight: 900; color: #fff; letter-spacing: .04em; margin-bottom: 8px;
}
.footer h3 { color: #fff; margin: 0 0 10px; font-size: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li, .footer a { margin-bottom: 6px; display: block; }
.footer a:hover { color: var(--teal); }
.footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 0.88rem;
}

.mobile-bar {
  position: fixed;
  inset-inline: 12px;
  bottom: 12px;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(11, 31, 42, 0.94);
  color: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
}
.mobile-bar.is-hidden { display: none !important; }
.mobile-bar span { display: block; color: rgba(255,255,255,.7); font-size: 0.8rem; }
.mobile-bar strong { font-size: 1.15rem; color: var(--amber); }
.mobile-bar .btn { padding: 0.7rem 1rem; }

@media (max-width: 980px) {
  .hero-grid, .layout, .footer-grid { grid-template-columns: 1fr; }
  .summary-rail { position: static; order: -1; }
  .nav-links { display: none; }
  .plans-grid, .duration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vps-grid { grid-template-columns: 1fr 1fr; }
  .mobile-bar { display: flex; }
  .hero-grid { min-height: auto; }
}
@media (max-width: 640px) {
  .provider-grid, .plans-grid, .vps-grid, .duration-grid, .form-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .brand-text small { display: none; }
}
