/* ==================================================================================
   NOUR — style.css
   Corporate link-hub. White background, premium blue. RTL. Fully responsive.
   Layout matches reference: logo + tagline (top center), centered glossy blue
   button stack, soft product image (left), faded blueprint (right), contact strip.
   ================================================================================== */

:root {
  --blue-deep: #082f5e;
  --blue-dark: #0b4ea2;
  --blue: #1466c4;
  --blue-bright: #2f8bff;
  --blue-sky: #5aa9ff;
  --blue-50: #f2f7fe;
  --red: #e23b2e;
  --ink: #0f2746;
  --muted: #5b7392;
  --line: #e3ecf7;

  --btn-radius: 14px;
  --container: 1180px;

  --font-en: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ar: "Cairo", "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  display: flex; flex-direction: column;
  font-family: var(--font-ar);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* soft light-blue background (CSS only, no images) */
  background-color: #eef9ff;
  background-image:
    radial-gradient(circle at top left,  rgba(0,170,255,0.16), transparent 35%),
    radial-gradient(circle at top right, rgba(0,110,255,0.10), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #eef9ff 35%, #dff4ff 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.en { direction: ltr; unicode-bidi: isolate; font-family: var(--font-en); }
.ar { direction: rtl; unicode-bidi: isolate; font-family: var(--font-ar); }

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

/* ================================== HUB ================================== */
.hub {
  position: relative;
  flex: 1 0 auto;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px 56px;
  overflow: hidden;
  isolation: isolate;
}

/* ---- soft CSS waves (no images) — sit BEHIND the content ---- */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }

/* soft white wave across the top area */
.hero-bg::before {
  content: ""; position: absolute; top: -50px; left: -10%; width: 120%; height: 230px;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,.55) 52%, rgba(255,255,255,0) 100%);
  border-bottom-left-radius: 50% 80px;
  border-bottom-right-radius: 50% 80px;
  filter: blur(5px);
}
/* very subtle light-blue wave low on the page (kept off-centre, faint) */
.hero-bg::after {
  content: ""; position: absolute; left: 50%; bottom: -160px; transform: translateX(-50%);
  width: 170%; height: 340px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,140,255,.10), transparent 72%);
}

/* ============================== CENTER CONTENT ============================== */
.hub-inner {
  position: relative; z-index: 3;
  width: 100%; max-width: 560px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}

/* logo (real image, centered) — desktop ~170-220px, mobile ~120-150px */
.logo-wrap { margin-bottom: 12px; }
.logo {
  width: clamp(140px, 16vw, 200px); height: auto; margin-inline: auto;
  filter: drop-shadow(0 10px 20px rgba(11,78,162,.16));
  animation: logoIntro 0.9s ease-out both, logoFloat 4s ease-in-out 1s infinite;
}
@keyframes logoIntro {
  from { opacity: 0; transform: translateY(-10px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)     scale(1); }
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* intro paragraph (under logo) */
.intro {
  margin: 0 auto 14px; max-width: 700px;
  direction: rtl; text-align: center;
  font-family: var(--font-ar); font-weight: 700;
  color: var(--blue-deep);
  font-size: clamp(.92rem, 2.4vw, 1.06rem);
  line-height: 1.75;
}

/* professional guide title above the buttons (kept compact) */
.gateway-head { text-align: center; direction: rtl; max-width: 640px; margin: 2px auto 12px; }
.gh-title {
  margin: 0; font-family: var(--font-ar); font-weight: 900;
  color: var(--blue-deep);                     /* dark blue */
  font-size: clamp(18px, 4.6vw, 26px); line-height: 1.25;
}
.gh-sub {
  margin: 5px 0 0; font-family: var(--font-ar); font-weight: 700;
  color: var(--blue-dark);                     /* dark blue */
  font-size: clamp(13px, 3vw, 16px); line-height: 1.5;
}
/* small text hint only — no icon, no shape */
.gh-hint {
  display: block; margin-top: 3px;
  color: var(--blue-dark);
  font-family: var(--font-ar); font-weight: 700;
  font-size: clamp(11.5px, 2.6vw, 13px);
}

/* ============================ GLOSSY BLUE BUTTONS ============================ */
.btn-stack {
  width: 100%;
  display: flex; flex-direction: column; gap: 16px;
}

.btn {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  width: 100%; min-height: 60px;
  padding: 11px 18px;
  border-radius: var(--btn-radius);
  color: #fff; overflow: hidden;
  background: linear-gradient(180deg, #4a9bff 0%, #1f73d6 48%, #0d4fa0 100%);
  box-shadow:
    0 12px 22px rgba(20,102,196,.34),
    0 2px 0 rgba(255,255,255,.25) inset,
    0 -3px 6px rgba(0,0,0,.18) inset,
    0 0 0 1px rgba(13,79,160,.35);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
  isolation: isolate;
}
/* glossy top sheen */
.btn::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 50%;
  z-index: 1; pointer-events: none; border-radius: var(--btn-radius) var(--btn-radius) 50% 50% / var(--btn-radius) var(--btn-radius) 22px 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,.04));
}
.btn > * { position: relative; z-index: 2; }

.btn-icon {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), 0 5px 10px rgba(0,0,0,.16);
}
.btn-icon svg { width: 23px; height: 23px; color: #fff; }

/* body holds the main label + small CTA, stacked & centered (icon stays left) */
.btn-body {
  flex: 1 1 auto; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}

/* label: Arabic | English  (matches reference) */
.btn-label {
  direction: ltr;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  flex-wrap: wrap;
}
.btn-label .ar,
.btn-label .en {
  color: #ffffff; font-weight: 800;
  text-shadow: 0 2px 4px rgba(0,0,0,0.55), 0 0 8px rgba(0,0,0,0.35);
}
.btn-label .ar { font-family: var(--font-ar); font-size: clamp(.95rem, 2.7vw, 1.08rem); }
.btn-label .en { font-family: var(--font-en); font-size: clamp(.9rem, 2.5vw, 1.02rem); }
.btn-label .sep { color: #ffffff; opacity: .75; font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5); }

/* small Arabic call-to-action under the main label */
.btn-cta {
  font-family: var(--font-ar); font-weight: 700;
  font-size: clamp(.68rem, 1.9vw, .78rem);
  color: #eaf3ff; letter-spacing: .2px; line-height: 1;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5), 0 0 6px rgba(0,0,0,0.3);
}

/* Price List placeholder (no link yet): same design, just not clickable */
.btn-soon { cursor: default; }
.btn-soon .btn-cta { font-weight: 800; letter-spacing: .5px; }

.btn:hover { transform: translateY(-3px); filter: brightness(1.06);
  box-shadow: 0 18px 30px rgba(20,102,196,.45), 0 2px 0 rgba(255,255,255,.3) inset,
              0 -3px 6px rgba(0,0,0,.2) inset, 0 0 0 1px rgba(13,79,160,.4); }
.btn:active { transform: translateY(-1px);
  box-shadow: 0 8px 14px rgba(20,102,196,.4), 0 2px 8px rgba(0,0,0,.25) inset; }

/* ripple (added by JS) */
.ripple { position: absolute; border-radius: 50%; transform: scale(0); z-index: 1;
  background: rgba(255,255,255,.45); animation: ripple .6s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

/* ============================== CONTACT STRIP ============================== */
.contact-strip {
  flex: 0 0 auto;
  background: linear-gradient(180deg, #0b4ea2 0%, #082f5e 100%);
  color: #e8f1ff;
  border-top: 3px solid var(--blue-bright);
}
.contact-inner {
  max-width: var(--container); margin-inline: auto;
  padding: 14px 20px;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 10px 18px;
}
.contact-item {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 8px; border-radius: 10px;
  transition: background .2s ease, transform .2s ease;
}
.contact-item:hover { background: rgba(255,255,255,.12); transform: translateY(-1px); }
.ci-ico { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center; background: rgba(90,169,255,.24); }
.ci-ico svg { width: 18px; height: 18px; color: #cfe4ff; }
.ci-value { font-family: var(--font-en); font-weight: 600; font-size: .92rem; color: #fff; }
.ci-social .ci-ico { background: rgba(90,169,255,.3); }
.contact-divider { width: 1px; height: 22px; background: rgba(255,255,255,.22); }

/* =============================== RESPONSIVE =============================== */

/* mobile */
@media (max-width: 620px) {
  .hub { padding: 26px 18px 40px; }
  .hub-inner { max-width: 440px; }
  .intro { margin-bottom: 10px; }
  .gateway-head { margin-bottom: 10px; }
  .hero-bg::before { height: 180px; }
  .btn-stack { gap: 13px; }
  .btn { min-height: 58px; gap: 11px; padding: 10px 14px; }
  .btn-icon { width: 40px; height: 40px; }
  .btn-label { gap: 7px; }
  .contact-inner { gap: 8px 12px; }
  .ci-value { font-size: .82rem; }
  .contact-divider { display: none; }
}

@media (max-width: 380px) {
  .btn-label { flex-direction: column; gap: 1px; }
  .btn-label .sep { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .ripple { display: none; }
  .logo { animation: none; opacity: 1; }
}
