:root{
  --on-bg:#07101f;
  --on-panel:#0b172b;
  --on-panel-2:#0c1c35;
  --on-text:#f8f4ec;
  --on-muted:#b9c2d2;
  --on-line:rgba(238,204,140,.22);
  --on-gold:#e9b95f;
  --on-gold-soft:#ffd998;
  --on-cyan:#82e8ff;
  --on-green:#6ee6aa;
  --on-shadow:0 28px 80px rgba(0,0,0,.35);
  color-scheme:dark;
}

html[data-online-theme="light"]{
  --on-bg:#eef4fc;
  --on-panel:#ffffff;
  --on-panel-2:#f7fbff;
  --on-text:#112039;
  --on-muted:#5a6b84;
  --on-line:rgba(134,88,16,.2);
  --on-gold:#a76b13;
  --on-gold-soft:#d09132;
  --on-cyan:#087d9a;
  --on-green:#14784f;
  --on-shadow:0 24px 60px rgba(30,58,100,.14);
  color-scheme:light;
}

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

body.online-page{
  margin:0;
  min-width:320px;
  min-height:100vh;
  overflow-x:hidden;
  color:var(--on-text);
  background:
    radial-gradient(circle at 85% 4%,rgba(32,94,163,.18),transparent 29%),
    radial-gradient(circle at 12% 92%,rgba(169,111,27,.11),transparent 33%),
    var(--on-bg);
  font-family:"Noto Kufi Arabic","Cairo","Tajawal","IBM Plex Sans Arabic",Tahoma,Arial,sans-serif;
}

body.online-page::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.32;
  background-image:
    linear-gradient(rgba(255,255,255,.016) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.016) 1px,transparent 1px);
  background-size:32px 32px;
  mask-image:linear-gradient(to bottom,black,transparent 68%);
}

.lang-en{display:none!important}
html[lang="en"] .lang-ar{display:none!important}
html[lang="en"] .lang-en{display:inline!important}
html[lang="en"] body{
  font-family:"Segoe UI",Arial,sans-serif;
}

.online-shell{
  width:min(1360px,100%);
  margin:0 auto;
  padding:16px clamp(14px,3vw,42px) 42px;
}

.premium-header{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  position:relative;
  z-index:10;
}

.brand-lockup,
.footer-lockup{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--on-text);
  text-decoration:none;
}

.brand-word{
  font-size:1.45rem;
  font-weight:900;
  letter-spacing:normal;
  white-space:nowrap;
  line-height:1;
}

.brand-word b,
.footer-lockup b,
.splash-word b{
  color:var(--on-gold);
}

.brand-word-en{
  letter-spacing:-.05em;
}

.header-tools{
  display:flex;
  gap:8px;
  align-items:center;
}

.header-tool{
  min-height:39px;
  padding:8px 14px;
  border:1px solid var(--on-line);
  border-radius:999px;
  color:var(--on-text);
  background:rgba(255,255,255,.035);
  font:inherit;
  font-size:.79rem;
  font-weight:800;
  cursor:pointer;
  transition:transform .2s ease,border-color .2s ease,background .2s ease;
}

.header-tool:hover{
  transform:translateY(-1px);
  border-color:rgba(255,218,150,.65);
  background:rgba(255,255,255,.08);
}

.ring-n{
  position:relative;
  display:grid;
  place-items:center;
  flex:none;
  color:#f7f2e9;
  font-family:"Noto Kufi Arabic","Cairo",Tahoma,sans-serif;
  font-weight:900;
  isolation:isolate;
}

.ring-n::before,
.ring-n::after{
  content:"";
  position:absolute;
  pointer-events:none;
  z-index:-1;
}

.ring-n::before{
  width:115%;
  height:48%;
  border:2px solid var(--on-gold);
  border-left-color:transparent;
  border-radius:50%;
  transform:rotate(-14deg);
  box-shadow:0 0 21px rgba(233,185,95,.22);
}

.ring-n::after{
  width:9%;
  aspect-ratio:1;
  inset:13% 24% auto auto;
  border-radius:50%;
  background:var(--on-gold-soft);
  box-shadow:0 0 12px rgba(255,217,152,.5);
}

.ring-n span{
  transform:translateY(4%);
}

.ring-n-small{
  width:46px;
  height:46px;
  border:1px solid var(--on-line);
  border-radius:15px;
  background:linear-gradient(145deg,#101e35,#07101f);
  font-size:1.85rem;
  box-shadow:0 10px 28px rgba(0,0,0,.23);
}

.premium-hero{
  min-height:546px;
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(390px,.95fr);
  border:1px solid var(--on-line);
  border-radius:34px;
  background:
    radial-gradient(circle at 76% 52%,rgba(23,62,126,.43),transparent 38%),
    linear-gradient(135deg,rgba(10,22,43,.98),rgba(5,14,30,.97));
  box-shadow:var(--on-shadow);
  isolation:isolate;
}

html[data-online-theme="light"] .premium-hero{
  background:
    radial-gradient(circle at 76% 52%,rgba(101,174,235,.18),transparent 38%),
    linear-gradient(135deg,#f9fcff,#e7f1fb);
}

.hero-copy{
  align-self:center;
  position:relative;
  z-index:3;
  padding:clamp(34px,6vw,80px);
  padding-inline-start:clamp(28px,8vw,105px);
}

.welcome-line{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--on-gold-soft);
  font-size:.83rem;
  font-weight:800;
}

.live-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--on-green);
  box-shadow:0 0 0 5px rgba(110,230,170,.12);
}

.premium-hero h1{
  max-width:620px;
  margin:18px 0 13px;
  font-size:clamp(2.45rem,5.25vw,5.1rem);
  line-height:1.12;
  letter-spacing:normal;
  font-weight:900;
}

.premium-hero p{
  max-width:540px;
  margin:0;
  color:var(--on-muted);
  font-size:clamp(.98rem,1.65vw,1.12rem);
  line-height:1.95;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:11px;
  margin-top:29px;
}

.hero-primary,
.hero-secondary{
  min-height:51px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 17px;
  border-radius:16px;
  text-decoration:none;
  font-weight:900;
  transition:transform .22s ease,box-shadow .22s ease,background .22s ease;
}

.hero-primary{
  color:#1b160d;
  background:linear-gradient(135deg,#f7d99e,var(--on-gold));
  box-shadow:0 16px 31px rgba(233,185,95,.2);
}

.hero-primary:hover{
  transform:translateY(-3px);
  box-shadow:0 22px 38px rgba(233,185,95,.28);
}

.hero-secondary{
  color:var(--on-text);
  border:1px solid var(--on-line);
  background:rgba(255,255,255,.03);
}

.hero-secondary:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.08);
}

html[dir="rtl"] .hero-primary b{transform:rotate(180deg)}

.hero-now{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:22px;
}

.hero-now a,
.hero-now button{
  display:inline-flex;
  align-items:center;
  min-height:33px;
  padding:6px 10px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:999px;
  color:var(--on-text);
  background:rgba(255,255,255,.045);
  text-decoration:none;
  font:inherit;
  font-size:.75rem;
  font-weight:800;
  cursor:pointer;
}

.hero-now a:hover,
.hero-now button:hover{
  border-color:rgba(255,217,152,.58);
}

.hero-visual{
  position:relative;
  min-height:100%;
  overflow:hidden;
}

.visual-platform{
  width:290px;
  height:70px;
  position:absolute;
  inset:65% auto auto 47%;
  border:1px solid rgba(255,218,150,.45);
  border-radius:50%;
  transform:translateX(-50%);
  background:radial-gradient(ellipse,rgba(255,225,163,.52),rgba(233,185,95,.07) 38%,transparent 70%);
  box-shadow:0 0 37px rgba(233,185,95,.16);
}

.visual-ring{
  position:absolute;
  left:50%;
  top:49%;
  width:clamp(290px,35vw,470px);
  height:clamp(135px,16vw,220px);
  border:1px solid rgba(233,185,95,.42);
  border-radius:50%;
  transform:translate(-50%,-50%) rotate(-11deg);
}

.ring-two{
  width:clamp(390px,44vw,590px);
  height:clamp(185px,22vw,305px);
  border-color:rgba(116,195,255,.28);
  transform:translate(-50%,-50%) rotate(17deg);
}

.ring-three{
  width:clamp(470px,52vw,700px);
  height:clamp(240px,28vw,390px);
  border-color:rgba(233,185,95,.22);
  transform:translate(-50%,-50%) rotate(-4deg);
}

.hero-emblem{
  width:clamp(176px,20vw,285px);
  height:clamp(176px,20vw,285px);
  position:absolute;
  left:50%;
  top:46%;
  z-index:3;
  transform:translate(-50%,-50%);
  border:2px solid rgba(233,185,95,.75);
  border-radius:28%;
  background:linear-gradient(145deg,#182743,#07101f);
  box-shadow:
    inset 0 0 0 8px rgba(255,255,255,.025),
    0 25px 65px rgba(0,0,0,.46),
    0 0 30px rgba(233,185,95,.16);
  font-size:clamp(6rem,10vw,10rem);
}

.ring-n-hero::before{
  border-width:4px;
  width:84%;
  height:37%;
}

.ring-n-hero::after{
  width:9%;
  inset:17% 23% auto auto;
}

.hero-lines{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
}

.hero-orbit{
  position:absolute;
  border-radius:50%;
  border:1px solid rgba(233,185,95,.26);
}

.orbit-a{width:72%;height:32%;inset:15% -12% auto auto;transform:rotate(-8deg)}
.orbit-b{width:87%;height:40%;inset:33% -18% auto auto;border-color:rgba(116,195,255,.18);transform:rotate(14deg)}
.orbit-c{width:63%;height:28%;inset:auto -9% 18% auto;transform:rotate(-22deg)}

.hero-star{
  position:absolute;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--on-gold-soft);
  box-shadow:0 0 15px rgba(255,220,157,.8);
}

.star-a{inset:20% 22% auto auto}
.star-b{inset:35% 8% auto auto;background:var(--on-cyan)}
.star-c{inset:auto 19% 29% auto}
.star-d{inset:auto 6% 15% auto;background:var(--on-cyan)}

.identity-panel{
  width:min(285px,calc(100% - 38px));
  position:absolute;
  z-index:4;
  inset:auto 19px 19px auto;
  padding:15px;
  border:1px solid rgba(255,218,150,.2);
  border-radius:19px;
  background:rgba(3,12,25,.46);
  backdrop-filter:blur(16px);
}

html[data-online-theme="light"] .identity-panel{
  background:rgba(255,255,255,.64);
}

.identity-label{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--on-gold-soft);
  font-size:.74rem;
  font-weight:900;
}

.identity-status{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--on-green);
  box-shadow:0 0 0 5px rgba(110,230,170,.12);
}

.identity-copy{
  min-height:45px;
  padding-top:7px;
  color:var(--on-text);
  font-size:.86rem;
  line-height:1.65;
  font-weight:800;
}

.identity-bars{
  display:flex;
  gap:4px;
}

.identity-bars i{
  display:block;
  height:4px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
}

.identity-bars i:first-child{width:48%;background:var(--on-gold)}
.identity-bars i:nth-child(2){width:28%;background:rgba(233,185,95,.58)}
.identity-bars i:last-child{width:15%}

.service-intro{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:25px;
  padding-top:60px;
  padding-bottom:18px;
}

.section-label{
  margin:0 0 7px;
  color:var(--on-gold);
  font-size:.79rem;
  font-weight:900;
}

.service-intro h2,
.online-next h2{
  margin:0;
  font-size:clamp(1.45rem,2.5vw,2.15rem);
  line-height:1.25;
  letter-spacing:normal;
}

.service-intro > p{
  max-width:400px;
  margin:0;
  color:var(--on-muted);
  line-height:1.75;
}

.service-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:15px;
}

.service-card{
  min-height:265px;
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  overflow:hidden;
  border:1px solid var(--on-line);
  border-radius:24px;
  padding:19px;
  color:var(--on-text);
  text-align:inherit;
  text-decoration:none;
  font:inherit;
  background:
    radial-gradient(circle at var(--pointer-x,85%) var(--pointer-y,10%),rgba(255,255,255,.10),transparent 32%),
    linear-gradient(145deg,rgba(18,31,56,.9),rgba(7,17,34,.95));
  box-shadow:0 16px 42px rgba(0,0,0,.19);
  cursor:pointer;
  transition:transform .23s ease,border-color .23s ease,box-shadow .23s ease;
}

html[data-online-theme="light"] .service-card{
  background:
    radial-gradient(circle at var(--pointer-x,85%) var(--pointer-y,10%),rgba(233,185,95,.12),transparent 32%),
    linear-gradient(145deg,#ffffff,#f2f7fd);
}

.service-card::before{
  content:"";
  width:180px;
  height:180px;
  position:absolute;
  inset:-83px -70px auto auto;
  border-radius:50%;
  opacity:.9;
  transition:transform .4s ease;
}

.card-market::before{background:radial-gradient(circle,rgba(233,185,95,.27),transparent 68%)}
.card-home-services::before{background:radial-gradient(circle,rgba(116,195,255,.22),transparent 68%)}
.card-gateway::before{background:radial-gradient(circle,rgba(130,232,255,.21),transparent 68%)}
.card-discover::before{background:radial-gradient(circle,rgba(110,230,170,.18),transparent 68%)}

.service-card:hover{
  transform:translateY(-5px);
  border-color:rgba(255,218,150,.54);
  box-shadow:0 24px 58px rgba(0,0,0,.28);
}

.service-card:hover::before{transform:scale(1.18)}
.service-card:active{transform:translateY(-1px) scale(.99)}

.card-top{
  width:100%;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.card-tag{
  display:inline-flex;
  min-height:28px;
  align-items:center;
  padding:5px 8px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:rgba(3,12,25,.22);
  font-size:.69rem;
  font-weight:900;
}

.card-symbol{
  width:43px;
  height:43px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.15);
  border-radius:14px;
  background:rgba(255,255,255,.055);
  color:var(--on-gold-soft);
  font-size:1.25rem;
}

.card-gateway .card-symbol{color:var(--on-cyan)}
.card-discover .card-symbol{color:var(--on-green)}

.card-body{
  position:relative;
  padding-top:23px;
}

.card-body h3{
  margin:0 0 8px;
  font-size:1.22rem;
  line-height:1.35;
  letter-spacing:normal;
}

.card-body p{
  margin:0;
  color:var(--on-muted);
  font-size:.88rem;
  line-height:1.72;
}

.card-action{
  position:relative;
  margin-top:auto;
  padding-top:16px;
  color:var(--on-gold-soft);
  font-size:.84rem;
  font-weight:900;
}

.card-gateway .card-action{color:var(--on-cyan)}
.card-discover .card-action{color:var(--on-green)}

.online-next{
  display:grid;
  grid-template-columns:118px minmax(0,1fr);
  gap:23px;
  align-items:center;
  margin-top:16px;
  padding:25px;
  border:1px solid var(--on-line);
  border-radius:25px;
  background:linear-gradient(135deg,rgba(30,58,86,.75),rgba(10,22,42,.84));
  box-shadow:var(--on-shadow);
}

html[data-online-theme="light"] .online-next{
  background:linear-gradient(135deg,#eff8ff,#ffffff);
}

.online-next[hidden]{display:none}

.ring-n-next{
  width:95px;
  height:95px;
  border:1px solid var(--on-line);
  border-radius:26px;
  background:rgba(7,16,31,.34);
  font-size:3.45rem;
}

.online-next > div:last-child > p:last-child{
  max-width:760px;
  margin:11px 0 0;
  color:var(--on-muted);
  line-height:1.78;
}

.online-message{
  display:none;
  margin-top:16px;
  padding:14px 15px;
  border:1px solid var(--on-line);
  border-radius:16px;
  font-weight:800;
  line-height:1.7;
}

.online-message.show{display:block}
.online-message.warn{color:#ffe0b0;background:rgba(255,168,53,.11);border-color:rgba(255,168,53,.3)}
.online-message.info{color:#d8f8ff;background:rgba(130,232,255,.1);border-color:rgba(130,232,255,.29)}

.premium-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:34px 4px 6px;
  color:var(--on-muted);
  font-size:.85rem;
}

.premium-footer p{margin:0}
.footer-lockup strong{font-size:1rem}
.ring-n-footer{
  width:29px;
  height:29px;
  font-size:1.2rem;
}

.mobile-nav{display:none}

.online-splash{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  align-content:center;
  justify-items:center;
  gap:14px;
  background:
    radial-gradient(circle at 50% 42%,rgba(58,117,184,.25),transparent 28%),
    #050a14;
  transition:opacity .48s ease,visibility .48s ease;
}

.online-splash.is-done{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

.splash-mark{
  width:102px;
  height:102px;
  border:1px solid rgba(233,185,95,.42);
  border-radius:29px;
  background:linear-gradient(145deg,#14243e,#06101f);
  font-size:4rem;
  box-shadow:0 20px 56px rgba(0,0,0,.46);
}

.splash-word{
  color:#fbf6ef;
  font-size:clamp(3rem,10vw,5.6rem);
  font-weight:900;
  letter-spacing:normal;
  line-height:1;
}

.splash-word-en{letter-spacing:-.07em}

@media (max-width:1100px){
  .premium-hero{
    grid-template-columns:minmax(0,1fr) minmax(330px,.8fr);
  }

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

@media (max-width:800px){
  .premium-hero{
    grid-template-columns:1fr;
    min-height:650px;
  }

  .hero-copy{
    padding-bottom:208px;
  }

  .hero-visual{
    position:absolute;
    width:54%;
    height:50%;
    inset:0 0 auto auto;
    opacity:.68;
  }

  .hero-emblem{
    top:39%;
  }

  .identity-panel{
    inset:auto 18px 18px auto;
  }
}

@media (max-width:620px){
  body.online-page{padding-bottom:79px}

  .online-shell{
    padding:11px 13px 26px;
  }

  .premium-header{
    min-height:58px;
  }

  .ring-n-small{
    width:39px;
    height:39px;
    border-radius:13px;
    font-size:1.58rem;
  }

  .brand-word{
    font-size:1.2rem;
  }

  .header-tools{gap:5px}
  .header-tool{min-height:34px;padding:7px 10px;font-size:.72rem}

  .premium-hero{
    min-height:605px;
    border-radius:27px;
  }

  .hero-copy{
    padding:28px 20px 180px;
  }

  .premium-hero h1{
    margin-top:14px;
    font-size:clamp(2.25rem,10vw,3.15rem);
    line-height:1.18;
  }

  .premium-hero p{
    font-size:.93rem;
    line-height:1.78;
  }

  .hero-actions{
    margin-top:22px;
  }

  .hero-primary,
  .hero-secondary{
    width:100%;
    min-height:49px;
  }

  .hero-now{
    display:none;
  }

  .hero-visual{
    width:57%;
    height:41%;
    opacity:.57;
  }

  .hero-emblem{
    width:132px;
    height:132px;
    border-radius:25%;
    font-size:5.3rem;
  }

  .visual-ring{
    width:215px;
    height:98px;
  }

  .ring-two{
    width:285px;
    height:135px;
  }

  .ring-three{
    width:340px;
    height:170px;
  }

  .identity-panel{
    width:calc(100% - 30px);
    inset:auto 15px 15px auto;
    padding:13px;
  }

  .service-intro{
    display:block;
    padding-top:45px;
    padding-bottom:14px;
  }

  .service-intro > p{
    margin-top:9px;
    font-size:.9rem;
  }

  .service-grid{
    display:flex;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    gap:12px;
    margin-inline:-13px;
    padding:0 13px 8px;
    scroll-snap-type:inline mandatory;
    scrollbar-width:none;
  }

  .service-grid::-webkit-scrollbar{display:none}

  .service-card{
    flex:0 0 min(82vw,320px);
    min-height:246px;
    padding:18px;
    border-radius:21px;
    scroll-snap-align:start;
  }

  .card-body{
    padding-top:20px;
  }

  .card-body h3{
    font-size:1.16rem;
  }

  .card-body p{
    font-size:.84rem;
  }

  .online-next{
    grid-template-columns:72px minmax(0,1fr);
    gap:15px;
    padding:18px;
    border-radius:21px;
  }

  .ring-n-next{
    width:65px;
    height:65px;
    border-radius:19px;
    font-size:2.4rem;
  }

  .online-next h2{
    font-size:1.13rem;
  }

  .online-next > div:last-child > p:last-child{
    font-size:.87rem;
  }

  .premium-footer{
    display:block;
    padding-top:27px;
  }

  .premium-footer p{
    margin-top:8px;
    line-height:1.7;
  }

  .mobile-nav{
    position:fixed;
    z-index:100;
    inset:auto 9px max(9px,env(safe-area-inset-bottom)) 9px;
    height:63px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    overflow:hidden;
    border:1px solid var(--on-line);
    border-radius:21px;
    background:rgba(5,13,26,.92);
    box-shadow:0 18px 48px rgba(0,0,0,.32);
    backdrop-filter:blur(18px);
  }

  html[data-online-theme="light"] .mobile-nav{
    background:rgba(255,255,255,.92);
  }

  .mobile-nav a,
  .mobile-nav button{
    display:grid;
    place-items:center;
    align-content:center;
    gap:3px;
    border:0;
    border-inline-start:1px solid var(--on-line);
    color:var(--on-muted);
    background:transparent;
    text-decoration:none;
    font:inherit;
    cursor:pointer;
  }

  .mobile-nav > :first-child{border-inline-start:0}
  .mobile-nav span{color:var(--on-gold);font-size:1.05rem}
  .mobile-nav b{font-size:.61rem}

  .splash-mark{
    width:80px;
    height:80px;
    border-radius:24px;
    font-size:3.15rem;
  }

  .splash-word{
    font-size:clamp(2.8rem,16vw,4.2rem);
  }
}

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

  .online-splash{display:none!important}
}
