:root {
  --ink: #f8f1dc;
  --muted: #cdbf95;
  --dim: #8d8267;
  --deep: #071f1a;
  --bg: #0a3028;
  --panel: #103d33;
  --panel-2: #173f39;
  --line: rgba(221, 188, 91, 0.22);
  --gold: #d8ad3f;
  --gold-hi: #f1ce68;
  --cyan: #7edfd0;
  --rose: #e78773;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(126, 223, 208, 0.14), transparent 34rem),
    radial-gradient(circle at 84% 10%, rgba(216, 173, 63, 0.16), transparent 30rem),
    linear-gradient(180deg, #0d3c32 0%, #071f1a 100%);
  color: var(--ink);
  font-family: "Cairo", system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.7;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000, transparent 72%);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 clamp(18px, 5vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 31, 26, 0.74);
  backdrop-filter: blur(18px);
}

.site-header > *,
.hero > *,
.trust-row > *,
.feature-grid > *,
.page-grid > * {
  min-width: 0;
}

.site-header.is-scrolled {
  background: rgba(7, 31, 26, 0.92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-hi);
  font-weight: 900;
  min-width: 0;
}

.brand span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand img,
.footer-brand img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.desktop-nav,
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.desktop-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a:hover,
.footer-links a:hover {
  color: var(--gold-hi);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta,
.primary-action,
.secondary-action,
.mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 900;
}

.nav-cta,
.primary-action,
.mobile-cta {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  color: #06251f;
  box-shadow: 0 10px 26px rgba(216, 173, 63, 0.22);
}

.nav-cta {
  padding: 0 18px;
  font-size: 14px;
}

.nav-cta span,
.primary-action strong {
  border-radius: 6px;
  padding: 1px 7px;
  color: var(--gold-hi);
  background: rgba(6, 37, 31, 0.88);
  font-size: 11px;
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--gold-hi);
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.04);
}

.secondary-action svg,
.primary-action svg {
  width: 22px;
  height: 22px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-hi);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
  min-height: 92vh;
  padding: 120px clamp(18px, 5vw, 64px) 72px;
  overflow: hidden;
}

.hero-copy {
  max-width: 640px;
  min-width: 0;
}

.eyebrow,
.section-heading span,
.privacy-panel > span,
.document-hero span,
.policy-document header span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold-hi);
  box-shadow: 0 0 0 5px rgba(216, 173, 63, 0.12);
}

.app-mark {
  width: clamp(104px, 13vw, 152px);
  height: clamp(104px, 13vw, 152px);
  margin: 30px 0 26px;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero h1 {
  margin: 0;
  color: var(--gold-hi);
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 900;
  line-height: 1.02;
}

.hero p,
.section-heading p,
.privacy-panel p,
.document-hero p,
.policy-document p,
.page-card p,
.site-footer p {
  color: var(--muted);
}

.hero p {
  max-width: 540px;
  margin: 18px 0 0;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-action {
  min-height: 56px;
  padding: 0 24px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin-top: 28px;
}

.trust-row div,
.feature-card,
.page-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 61, 51, 0.68);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
}

.trust-row div {
  padding: 14px 16px;
}

.trust-row strong {
  display: block;
  color: var(--gold-hi);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
}

.trust-row span {
  color: var(--dim);
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.phone-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 560px;
}

.phone-card {
  position: absolute;
  margin: 0;
  text-align: center;
}

.phone-card-1 {
  transform: translate(34%, 28px) rotate(-8deg);
}

.phone-card-2 {
  z-index: 2;
  transform: translateY(-20px);
}

.phone-card-3 {
  transform: translate(-34%, 28px) rotate(8deg);
}

.phone-frame {
  width: clamp(180px, 18vw, 248px);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  background: #0b0d0d;
  box-shadow: var(--shadow);
}

.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.phone-card figcaption,
.showcase-grid figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.section-block,
.showcase-band,
.privacy-band {
  padding: 94px clamp(18px, 5vw, 64px);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.privacy-panel h2,
.document-hero h1,
.policy-document h1 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.22;
}

.feature-grid,
.page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.feature-card,
.page-card {
  padding: 26px;
}

.feature-card {
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.2s ease;
}

.feature-card.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.feature-card:hover,
.page-card:hover {
  border-color: rgba(241, 206, 104, 0.56);
}

.feature-icon,
.privacy-icon,
.document-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: var(--gold-hi);
  background: rgba(216, 173, 63, 0.12);
  border: 1px solid rgba(216, 173, 63, 0.24);
}

.feature-icon svg,
.privacy-icon svg,
.document-icon svg,
.footer-social svg,
.scroll-top svg {
  width: 22px;
  height: 22px;
}

.feature-card h3,
.page-card h3 {
  margin: 18px 0 8px;
  font-size: 20px;
  font-weight: 900;
}

.feature-card p,
.page-card p {
  margin: 0;
  font-size: 14px;
}

.showcase-band {
  background: rgba(0, 0, 0, 0.16);
}

.showcase-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 22px;
}

.showcase-grid figure {
  margin: 0;
  text-align: center;
}

.privacy-band {
  display: grid;
  place-items: center;
}

.privacy-panel {
  width: min(820px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(28px, 5vw, 52px);
  background:
    linear-gradient(135deg, rgba(216, 173, 63, 0.12), transparent 36%),
    rgba(16, 61, 51, 0.76);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.privacy-panel.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.privacy-panel ul,
.policy-document ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
}

.privacy-panel li,
.policy-document li {
  position: relative;
  padding: 8px 28px 8px 0;
  color: var(--muted);
}

.privacy-panel li::before,
.policy-document li::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--cyan);
}

.site-footer {
  padding: 54px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  text-align: center;
}

.footer-inner {
  max-width: 760px;
  margin: 0 auto;
}

.footer-brand {
  justify-content: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 24px 0;
}

.footer-social a,
.scroll-top {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--gold-hi);
  background: rgba(255, 255, 255, 0.05);
}

.site-footer small {
  display: block;
  margin-top: 24px;
  color: var(--dim);
}

.scroll-top {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top svg {
  transform: rotate(-90deg);
}

.document-layout {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 128px 0 70px;
}

.document-hero {
  text-align: center;
  padding-bottom: 34px;
}

.document-icon {
  margin: 0 auto 18px;
}

.policy-document {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 46px);
  background: rgba(16, 61, 51, 0.72);
  box-shadow: var(--shadow);
}

.policy-document + .policy-document {
  margin-top: 28px;
}

.policy-document section + section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-document h2 {
  margin: 0 0 10px;
  color: var(--gold-hi);
  font-size: 21px;
  font-weight: 900;
}

.policy-document h3 {
  color: var(--cyan);
  font-size: 18px;
}

.policy-document p {
  margin: 0 0 12px;
}

.english-document {
  direction: ltr;
  text-align: left;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.english-document li {
  padding: 8px 0 8px 28px;
}

.english-document li::before {
  right: auto;
  left: 0;
}

.page-layout .policy-document {
  font-size: 17px;
}

.page-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 920px) {
  .site-header {
    min-height: 64px;
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav {
    position: absolute;
    top: 64px;
    left: 14px;
    right: 14px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 31, 26, 0.98);
    box-shadow: var(--shadow);
  }

  .mobile-nav.is-open {
    display: grid;
    gap: 6px;
  }

  .mobile-nav a {
    padding: 12px;
    border-radius: 8px;
    color: var(--muted);
    font-weight: 800;
  }

  .mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold-hi);
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 96px;
    min-height: auto;
    text-align: center;
    justify-items: center;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
  }

  .app-mark {
    margin-inline: auto;
  }

  .phone-stage {
    min-height: 380px;
  }

  .phone-card-1,
  .phone-card-3 {
    display: none;
  }

  .phone-card-2 {
    position: static;
    transform: none;
  }

  .feature-grid,
  .page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  html,
  body {
    min-width: 0;
    overflow-x: hidden;
  }

  html {
    direction: ltr;
  }

  body {
    direction: rtl;
  }

  body,
  .site-header,
  .hero,
  .section-block,
  .showcase-band,
  .privacy-band,
  .site-footer {
    max-width: 100vw;
  }

  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 18px;
    padding-right: 30px;
    gap: 12px;
  }

  main {
    width: 100%;
    overflow: hidden;
  }

  .brand span {
    font-size: 15px;
  }

  .header-actions {
    flex: 0 0 auto;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-inline: 0;
    padding-bottom: 44px;
  }

  .hero-copy,
  .section-heading {
    width: 86%;
    max-width: 340px;
    transform: translateX(-18px);
  }

  .app-mark {
    width: 88px;
    height: 88px;
    margin-top: 22px;
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 46px);
    overflow-wrap: anywhere;
  }

  .section-heading h2 {
    overflow-wrap: anywhere;
  }

  .hero p {
    max-width: 100%;
    font-size: 16px;
  }

  .hero-actions,
  .primary-action,
  .secondary-action {
    width: 100%;
    max-width: 340px;
    min-width: 0;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .primary-action span,
  .secondary-action span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .feature-grid,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .trust-row {
    display: flex;
    gap: 8px;
    width: 86%;
    max-width: 340px;
    margin-inline: auto;
    transform: translateX(-18px);
  }

  .trust-row div {
    flex: 1 1 0;
    padding: 10px 6px;
    overflow: hidden;
  }

  .trust-row strong {
    font-size: 21px;
  }

  .trust-row span {
    font-size: 11px;
  }

  .phone-stage {
    display: none;
  }

  .section-block,
  .showcase-band,
  .privacy-band {
    padding: 70px 18px;
  }

  .showcase-grid figure:not(:nth-child(2)) {
    display: none;
  }

  .phone-frame {
    width: 230px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .document-layout {
    width: min(100% - 24px, 920px);
    padding-top: 96px;
  }
}

.hamad-header{direction:rtl;height:92px;display:flex;align-items:center;justify-content:space-between;padding:0 7%;background:#fff;border-bottom:1px solid #eee;position:sticky;top:0;z-index:50}
.hamad-brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:#970b3f;font-size:28px;font-weight:900}
.hamad-brand img{width:54px;height:54px;border-radius:16px}
.hamad-header nav{display:flex;gap:42px;align-items:center}
.hamad-header nav a{text-decoration:none;color:#111;font-weight:900;font-size:19px;padding:31px 0 24px}
.hamad-header nav a.active{color:#970b3f;border-bottom:5px solid #970b3f}
.hamad-hero{direction:rtl;min-height:calc(100vh - 92px);display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:30px 7% 0;background:linear-gradient(90deg,#fff,#fff)}
.hamad-person{order:2;position:relative;align-self:end;text-align:left}
.hamad-person:before{content:"";position:absolute;left:-80px;bottom:40px;width:520px;height:520px;background:#970b3f;border-radius:50%;z-index:0}
.hamad-person img{position:relative;z-index:1;max-height:780px;max-width:100%;object-fit:contain;display:block}
.hamad-content{order:1;text-align:center}
.hamad-content h1{font-size:84px;line-height:1.1;margin:0;color:#970b3f;font-weight:1000}
.hamad-line{height:45px;display:flex;align-items:center;justify-content:center}
.hamad-line span{width:320px;height:2px;background:linear-gradient(90deg,transparent,#970b3f,transparent);position:relative}
.hamad-line span:after{content:"";position:absolute;left:50%;top:50%;width:22px;height:22px;background:#970b3f;transform:translate(-50%,-50%) rotate(45deg)}
.hamad-content p{font-size:27px;line-height:1.9;color:#555;font-weight:800;max-width:650px;margin:0 auto 38px}
.hamad-actions{display:flex;justify-content:center;gap:22px;flex-wrap:wrap}
.hamad-actions .btn{min-width:230px;padding:20px 28px;border-radius:15px;text-decoration:none;font-size:21px;font-weight:900}
.hamad-actions .primary{background:#970b3f;color:white}
.hamad-actions .outline{border:2px solid #970b3f;color:#970b3f;background:white}
@media(max-width:900px){
.hamad-header{height:auto;padding:18px 5%;gap:18px;flex-direction:column}
.hamad-header nav{gap:18px;flex-wrap:wrap;justify-content:center}
.hamad-header nav a{font-size:15px;padding:8px 0}
.hamad-hero{grid-template-columns:1fr;min-height:auto;padding:35px 5% 0}
.hamad-person{order:1;text-align:center}
.hamad-content{order:2;margin-top:-20px}
.hamad-person:before{width:330px;height:330px;left:50%;bottom:30px;transform:translateX(-50%)}
.hamad-person img{max-height:520px;margin:auto}
.hamad-content h1{font-size:54px}
.hamad-content p{font-size:20px}
.hamad-actions .btn{width:100%;max-width:330px}
}
