:root {
  --navy: #16122b; --navy2: #221b40; --iris: #5b3cf5; --iris2: #7a5cff; --lime: #c6f432;
  --bg: #f6f5fb; --card: #ffffff; --line: #e6e3f0; --ink: #16122b; --muted: #6b6880;
  --r: 22px; --shadow: 0 18px 40px -24px rgba(22, 18, 43, .45);
}
* { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth }
body { background: var(--bg); color: var(--ink); font-family: "IBM Plex Sans Arabic", system-ui, sans-serif; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden }
a { color: inherit; text-decoration: none }
img, svg { display: block }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto }
.kufi { font-family: "Noto Kufi Arabic", sans-serif }
.latin { font-family: "Sora", sans-serif; direction: ltr; unicode-bidi: isolate }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(246, 245, 251, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line) }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 72px }
.brand { display: flex; align-items: center; gap: 10px; direction: ltr }
.brand img { width: 40px; height: 40px }
.wm { font: 800 24px/1 "Sora", sans-serif; letter-spacing: -.8px; color: var(--navy) }
.wm b { color: var(--iris); font-weight: 800 }
.dark .wm, .wm.on-dark { color: #fff }
.dark .wm b, .wm.on-dark b { color: var(--lime) }
.nav { display: flex; gap: 22px; margin-inline-start: auto; font-weight: 600; font-size: 15px; color: var(--muted) }
.nav a:hover, .nav a.on { color: var(--ink) }
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 12px 22px; font-weight: 700; font-size: 15px; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap }
.btn:hover { transform: translateY(-2px) }
.btn.pri { background: var(--iris); color: #fff; box-shadow: 0 12px 26px -12px rgba(91, 60, 245, .8) }
.btn.lime { background: var(--lime); color: var(--navy) }
.btn.ghost { border: 1.5px solid var(--line); background: #fff }
.dark .btn.ghost { background: transparent; border-color: rgba(255, 255, 255, .25); color: #fff }
.btn.sm { padding: 9px 16px; font-size: 14px }
.burger { display: none }

/* hero */
.hero { position: relative; padding: 84px 0 96px; overflow: hidden }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 13px "Sora", sans-serif; letter-spacing: 2px; text-transform: uppercase; color: var(--iris); background: #ece8ff; padding: 6px 14px; border-radius: 999px; direction: ltr }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--iris); box-shadow: 0 0 0 4px rgba(91, 60, 245, .18) }
.hero h1 { font: 900 clamp(40px, 6.2vw, 76px)/1.18 "Noto Kufi Arabic", sans-serif; margin: 22px 0 18px; letter-spacing: -1px }
.hero h1 em { font-style: normal; color: var(--iris); position: relative; white-space: nowrap }
.hero h1 em::after { content: ""; position: absolute; inset-inline: 0; bottom: -.2em; height: .1em; background: var(--lime); z-index: -1; border-radius: 6px }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 560px }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px }
.orb { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; margin-inline: auto }
.orb::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 60% 35%, rgba(122, 92, 255, .28), transparent 62%) }
.orb svg { position: relative; width: 100% }
.orb .bars line { color: var(--iris); animation: pulse 2.6s ease-in-out infinite; transform-origin: 100px 100px }
.orb .core { animation: breathe 2.6s ease-in-out infinite; transform-origin: 100px 100px }
@keyframes pulse { 0%, 100% { opacity: .35 } 50% { opacity: 1 } }
@keyframes breathe { 0%, 100% { transform: scale(1) } 50% { transform: scale(1.06) } }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 600; color: var(--muted) }
.chip b { color: var(--ink) }

/* sections */
section.blk { padding: 84px 0 }
.head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap }
.head h2 { font: 900 clamp(28px, 3.6vw, 42px)/1.3 "Noto Kufi Arabic", sans-serif }
.head p { color: var(--muted); max-width: 520px; font-size: 17px }
.tag { font: 700 12px "Sora", sans-serif; letter-spacing: 2px; color: var(--iris); text-transform: uppercase; display: block; margin-bottom: 8px; direction: ltr; text-align: right }

/* sites */
.sites { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px }
.site { grid-column: span 2; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); transition: transform .25s, border-color .25s; overflow: hidden; min-height: 270px }
.site:nth-child(-n+2) { grid-column: span 3 }
a.site:hover { transform: translateY(-4px); border-color: var(--iris) }
.site .ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--bg) }
.site .ic img, .site .ic svg { width: 32px; height: 32px }
.site .kind { font-size: 13px; font-weight: 700; color: var(--iris) }
.site h3 { font: 900 26px/1.3 "Noto Kufi Arabic", sans-serif }
.site p { color: var(--muted); font-size: 15.5px }
.site .go { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font: 700 14px "Sora", sans-serif; color: var(--ink); direction: ltr }
.site .go span:last-child { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--lime); transition: transform .25s }
a.site:hover .go span:last-child { transform: rotate(-45deg) }
.site.creator { background: linear-gradient(140deg, #2a1f6e, var(--navy) 60%); color: #fff; border-color: transparent }
.site.creator p { color: #b8b2da }
.site.creator .kind { color: var(--lime) }
.site.creator .ic { background: rgba(255,255,255,.08) }
.site.creator .go { color: #fff; font-family: inherit; direction: rtl }
.site.creator .go span:last-child { background: var(--lime); color: var(--navy) }
a.site.creator:hover { border-color: var(--lime) }
.site.creator .go span:first-child { order: 0 }
.site.soon { background: repeating-linear-gradient(135deg, #fff 0 14px, #faf9fd 14px 28px); box-shadow: none; border-style: dashed }
.site.soon .go { color: var(--muted); font-family: inherit; direction: rtl; justify-content: flex-start }
.badge { position: absolute; top: 22px; left: 22px; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: var(--lime); color: var(--navy) }
.badge.mute { background: var(--bg); color: var(--muted) }

/* rooms (dark band) */
.dark { background: var(--navy); color: #fff }
.dark .head p, .dark .muted { color: #a9a3cc }
.dark .tag { color: var(--lime) }
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px }
.room { background: var(--navy2); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: border-color .25s, transform .25s }
.room:hover { border-color: var(--lime); transform: translateY(-3px) }
.room .en { font: 700 12px "Sora", sans-serif; letter-spacing: 1.6px; color: var(--lime); direction: ltr; text-align: right }
.room h3 { font: 900 21px "Noto Kufi Arabic", sans-serif }
.room p { color: #a9a3cc; font-size: 15px }
.room .tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; direction: ltr; justify-content: flex-end }
.room .tools span { font: 600 11px "Sora", sans-serif; padding: 3px 9px; border-radius: 6px; background: rgba(255, 255, 255, .07); color: #d9d4f5 }
.room .enter { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 14px; color: var(--lime) }

.sub-h { display: flex; align-items: baseline; gap: 12px; font: 900 24px "Noto Kufi Arabic", sans-serif; margin-bottom: 18px }
.sub-h span { font: 800 14px "Sora", sans-serif; color: var(--lime) }
.sub-h small { font: 600 15px "IBM Plex Sans Arabic", sans-serif; color: #a9a3cc }
.rooms.four { grid-template-columns: repeat(4, 1fr) }
.svc-room h3 { font-size: 19px }
.svc-room p { font-size: 14px }
@media (max-width: 960px) { .rooms.four { grid-template-columns: 1fr 1fr } }
@media (max-width: 720px) { .rooms.four { grid-template-columns: 1fr } }

/* services */
.svcs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px }
.svc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px }
.svc .n { font: 800 14px "Sora", sans-serif; color: var(--iris) }
.svc h3 { font: 900 24px "Noto Kufi Arabic", sans-serif }
.svc p { color: var(--muted) }
.svc ul { list-style: none; display: grid; gap: 8px; margin: 6px 0 4px }
.svc li { display: flex; gap: 10px; align-items: baseline; font-size: 15.5px }
.svc li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px #eefbc6; transform: translateY(-2px) }
.svc .btn { margin-top: auto; align-self: flex-start }
.more { margin-top: 18px; border: 1.5px dashed var(--line); border-radius: var(--r); padding: 22px 26px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap }

/* contact */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; background: linear-gradient(135deg, #2a1f6e, var(--navy) 55%); border-radius: 30px; padding: 48px; color: #fff; position: relative; overflow: hidden }
.contact h2 { font: 900 clamp(28px, 3.4vw, 40px)/1.3 "Noto Kufi Arabic", sans-serif; margin-bottom: 10px }
.contact p { color: #b8b2da }
.cards { display: grid; gap: 12px }
.cline { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 14px 18px; transition: background .2s }
a.cline:hover { background: rgba(255, 255, 255, .12) }
.cline .k { font-size: 13px; color: #a9a3cc }
.cline .v { font-weight: 700; direction: ltr; unicode-bidi: isolate }
.cline .dot { width: 38px; height: 38px; border-radius: 12px; background: var(--lime); color: var(--navy); display: grid; place-items: center; flex: none; font-weight: 800 }
.contact .ghostmark { position: absolute; left: -60px; bottom: -80px; width: 320px; opacity: .08 }

/* page hero */
.phero { padding: 72px 0 40px }
.phero h1 { font: 900 clamp(36px, 5vw, 60px)/1.25 "Noto Kufi Arabic", sans-serif; margin: 16px 0 12px }
.phero p { color: var(--muted); font-size: 19px; max-width: 640px }

/* footer */
footer { padding: 46px 0 40px; border-top: 1px solid var(--line); margin-top: 84px }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px }
footer nav { display: flex; gap: 18px; flex-wrap: wrap }
footer nav a:hover { color: var(--ink) }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s }
.reveal.in { opacity: 1; transform: none }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr }
  .orb { max-width: 300px; order: -1 }
  .sites { grid-template-columns: 1fr 1fr }
  .site, .site:nth-child(-n+2) { grid-column: span 1 }
  .rooms, .svcs { grid-template-columns: 1fr 1fr }
  .contact { grid-template-columns: 1fr; padding: 32px }
}
@media (max-width: 720px) {
  .nav { display: none; position: absolute; top: 72px; inset-inline: 0; background: #fff; flex-direction: column; padding: 18px 16px; border-bottom: 1px solid var(--line); gap: 14px }
  .nav.open { display: flex }
  .burger { display: grid; place-items: center; margin-inline-start: auto; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 20px; cursor: pointer }
  .top .btn.pri { display: none }
  .sites, .rooms, .svcs { grid-template-columns: 1fr }
  .hero { padding: 48px 0 64px }
  section.blk { padding: 64px 0 }
}
