/* ================================================
   ORISYS — Premium Website Stylesheet
   Version: 2.0 | Direction: RTL | Lang: AR
   ================================================ */

/* === RESET & ROOT === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:    #07070e;
  --bg2:   #0d0d1a;
  --bg3:   #13132b;
  --gold:  #c8a84b;
  --gold2: #e4c96e;
  --gold3: #f0dfa0;
  --white: #f5f2ec;
  --muted: #7a7585;
  --muted2:#5a5568;
  --transition: .4s cubic-bezier(.25,.8,.25,1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Cairo', sans-serif;
  overflow-x: hidden;
  direction: rtl;
  line-height: 1.6;
}

/* === CURSOR GLOW === */
.cursor-glow {
  position: fixed;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,168,75,.08) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%,-50%);
  z-index: 0;
  transition: left .15s ease, top .15s ease;
}

/* === PARTICLES CANVAS === */
#particles {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
}

/* === NAVIGATION === */
nav {
  position: sticky; top: 0; z-index: 1000;
  padding: 20px 56px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(7,7,14,.85);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(200,168,75,.12);
  transition: padding var(--transition);
}
nav.scrolled { padding: 14px 56px; }

.logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; }

.logo-mark {
  width: 36px; height: 36px;
  border: 1px solid rgba(200,168,75,.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900; color: var(--gold);
  animation: logoPulse 8s linear infinite;
}
@keyframes logoPulse {
  0%,100% { border-color: rgba(200,168,75,.3); }
  50%      { border-color: rgba(200,168,75,.9); }
}

.logo-text {
  font-size: 20px; font-weight: 900; letter-spacing: 4px;
  background: linear-gradient(135deg, var(--gold), var(--gold3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.nav-links { display: flex; gap: 40px; list-style: none; }

.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 13px; letter-spacing: 1.5px;
  font-family: 'Tajawal', sans-serif; font-weight: 400;
  position: relative; transition: color .3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; right: 0;
  width: 0; height: 1px; background: var(--gold); transition: width .3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: transparent; border: 1px solid var(--gold);
  color: var(--gold); padding: 10px 28px;
  font-family: 'Cairo', sans-serif; font-size: 13px;
  font-weight: 600; letter-spacing: 2px; cursor: pointer;
  position: relative; overflow: hidden; transition: color .4s;
}
.nav-cta::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gold); transform: translateX(101%); transition: transform .4s; z-index: -1;
}
.nav-cta:hover { color: var(--bg); }
.nav-cta:hover::before { transform: translateX(0); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--gold); transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; top: 70px;
  background: rgba(7,7,14,.97); z-index: 999;
  padding: 48px 32px; flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { border-bottom: 1px solid rgba(200,168,75,.08); }
.mobile-menu a {
  display: block; padding: 20px 0;
  font-size: 22px; font-weight: 700;
  color: var(--white); text-decoration: none;
  transition: color .3s;
}
.mobile-menu a:hover { color: var(--gold); }

/* === HERO === */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 0 56px; position: relative; overflow: hidden; z-index: 1;
}

.hero-lines {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(200,168,75,.03) 1px, transparent 1px),
    linear-gradient(rgba(200,168,75,.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero-orb {
  position: absolute; right: -10%; top: 10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,168,75,.06) 0%, transparent 60%);
  animation: orbFloat 6s ease-in-out infinite;
}
@keyframes orbFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-30px); } }

.hero-content { position: relative; z-index: 2; max-width: 700px; }

/* Scroll reveal */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.anim-delay-1 { transition-delay: .1s !important; }
.anim-delay-2 { transition-delay: .2s !important; }
.anim-delay-3 { transition-delay: .3s !important; }
.anim-delay-4 { transition-delay: .4s !important; }
.anim-delay-5 { transition-delay: .5s !important; }
.anim-delay-9 { transition-delay: .9s !important; }
.anim-delay-11 { transition-delay: 1.1s !important; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 36px;
}
.eyebrow-line { width: 40px; height: 1px; background: var(--gold); }
.eyebrow-text {
  font-size: 11px; color: var(--gold);
  letter-spacing: 4px; font-family: 'Tajawal', sans-serif;
}

.hero-h1 {
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 900; line-height: 1.05; margin-bottom: 32px;
}
.hero-h1 .line { display: block; overflow: hidden; }
.hero-h1 .line span {
  display: block; transform: translateY(100%);
  animation: lineReveal .9s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-h1 .line:nth-child(1) span { animation-delay: .3s; }
.hero-h1 .line:nth-child(2) span { animation-delay: .5s; }
.hero-h1 .line:nth-child(3) span { animation-delay: .7s; }
.hero-h1 .gold-text span {
  background: linear-gradient(135deg, var(--gold), var(--gold3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
@keyframes lineReveal { to { transform: translateY(0); } }

.hero-p {
  font-family: 'Tajawal', sans-serif; font-size: 17px;
  color: var(--muted); line-height: 1.9;
  max-width: 540px; margin-bottom: 52px; font-weight: 300;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* === BUTTONS === */
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--bg); padding: 18px 48px; border: none;
  font-family: 'Cairo', sans-serif; font-size: 15px; font-weight: 700;
  letter-spacing: 1px; cursor: pointer;
  position: relative; overflow: hidden; transition: var(--transition);
  text-decoration: none; display: inline-block;
}
.btn-gold::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold3), var(--gold));
  opacity: 0; transition: opacity .4s;
}
.btn-gold:hover::after { opacity: 1; }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 24px 48px rgba(200,168,75,.3); }

.btn-outline {
  background: transparent; color: var(--white);
  padding: 18px 48px; border: 1px solid rgba(245,242,236,.15);
  font-family: 'Cairo', sans-serif; font-size: 15px; font-weight: 300;
  letter-spacing: 1px; cursor: pointer; transition: var(--transition);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 48px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2;
}
.scroll-hint span {
  font-size: 10px; color: var(--muted2);
  letter-spacing: 3px; font-family: 'Tajawal', sans-serif;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollAnim 2s ease infinite;
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* === TICKER === */
.ticker {
  background: var(--bg2);
  border-top: 1px solid rgba(200,168,75,.1);
  border-bottom: 1px solid rgba(200,168,75,.1);
  padding: 20px 0; overflow: hidden; position: relative; z-index: 1;
}
.ticker-inner {
  display: flex; gap: 80px; white-space: nowrap;
  animation: tickerMove 30s linear infinite;
}
.ticker-inner:hover { animation-play-state: paused; }
.ticker-item {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
  font-size: 12px; color: var(--muted);
  letter-spacing: 3px; font-family: 'Tajawal', sans-serif;
}
.ticker-dot { width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }
@keyframes tickerMove { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* === STATS === */
.stats {
  padding: 100px 56px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(200,168,75,.08);
  position: relative; z-index: 1;
}
.stat {
  background: var(--bg); padding: 60px 40px; text-align: center;
  position: relative; overflow: hidden; transition: background var(--transition);
}
.stat::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform .6s;
}
.stat:hover::before { transform: scaleX(1); }
.stat:hover { background: var(--bg2); }
.stat-n {
  font-size: 64px; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--gold), var(--gold3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 12px; display: block;
}
.stat-l {
  font-size: 11px; color: var(--muted2);
  letter-spacing: 3px; font-family: 'Tajawal', sans-serif;
}

/* === SECTIONS SHARED === */
.s-eyebrow { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.s-tag { font-size: 10px; color: var(--gold); letter-spacing: 4px; font-family: 'Tajawal', sans-serif; }
.s-line { flex: 1; max-width: 60px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.s-title {
  font-size: clamp(36px, 4vw, 58px); font-weight: 900; line-height: 1.1; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--white) 50%, rgba(245,242,236,.5));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.s-sub {
  font-family: 'Tajawal', sans-serif; font-size: 16px;
  color: var(--muted); line-height: 1.8; max-width: 480px;
  margin-bottom: 72px; font-weight: 300;
}

/* === SERVICES === */
.services { background: var(--bg2); padding: 120px 56px; position: relative; z-index: 1; }
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(200,168,75,.08);
}
.svc {
  background: var(--bg2); padding: 52px 40px;
  position: relative; overflow: hidden; cursor: default;
  transition: background .5s, transform .5s, border-bottom-color .5s;
  border-bottom: 3px solid transparent;
}
.svc::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(200,168,75,.04), transparent 60%);
  opacity: 0; transition: opacity .5s;
}
.svc:hover { background: var(--bg3); border-bottom-color: var(--gold); transform: translateY(-4px); }
.svc:hover::after { opacity: 1; }
.svc-num {
  font-size: 72px; font-weight: 900; line-height: 1;
  color: rgba(200,168,75,.06); position: absolute; top: 24px; left: 32px;
  transition: color .5s; user-select: none;
}
.svc:hover .svc-num { color: rgba(200,168,75,.12); }
.svc-icon {
  width: 56px; height: 56px;
  border: 1px solid rgba(200,168,75,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 28px;
  position: relative; z-index: 1; transition: var(--transition);
}
.svc:hover .svc-icon { border-color: var(--gold); background: rgba(200,168,75,.05); }
.svc-title {
  font-size: 19px; font-weight: 700; margin-bottom: 14px;
  color: var(--white); position: relative; z-index: 1;
}
.svc-desc {
  font-family: 'Tajawal', sans-serif; font-size: 14px;
  color: var(--muted); line-height: 1.85; font-weight: 300;
  position: relative; z-index: 1;
}
.svc-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 24px; font-size: 12px; color: var(--gold);
  letter-spacing: 2px; font-family: 'Tajawal', sans-serif;
  opacity: 0; transform: translateX(-8px); transition: var(--transition);
  position: relative; z-index: 1;
}
.svc:hover .svc-arrow { opacity: 1; transform: translateX(0); }

/* === WHY === */
.why {
  padding: 120px 56px; background: var(--bg);
  position: relative; z-index: 1; overflow: hidden;
}
.why-bg-text {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 200px; font-weight: 900; letter-spacing: 20px;
  color: rgba(200,168,75,.025); white-space: nowrap; pointer-events: none;
  animation: bgFloat 8s ease-in-out infinite;
}
@keyframes bgFloat {
  0%,100% { transform: translate(-50%,-50%) scale(1); }
  50%     { transform: translate(-50%,-50%) scale(1.03); }
}
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: rgba(200,168,75,.06);
  margin-top: 72px; position: relative; z-index: 2;
}
.why-card {
  background: var(--bg); padding: 60px 52px;
  position: relative; overflow: hidden; transition: background var(--transition);
}
.why-card::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 3px; height: 0; background: var(--gold); transition: height .5s;
}
.why-card:hover::before { height: 100%; }
.why-card:hover { background: var(--bg2); }
.wn {
  font-size: 88px; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, rgba(200,168,75,.2), rgba(200,168,75,.05));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 28px; display: block;
}
.wt { font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.wd { font-family: 'Tajawal', sans-serif; font-size: 15px; color: var(--muted); line-height: 1.85; font-weight: 300; }

/* === SECTORS === */
.sectors-section { padding: 120px 0; background: var(--bg2); overflow: hidden; position: relative; z-index: 1; }
.sectors-head { padding: 0 56px; margin-bottom: 72px; }
.sectors-track { overflow: hidden; }
.sectors-inner {
  display: flex; gap: 2px;
  animation: sectorsScroll 25s linear infinite;
}
.sectors-inner:hover { animation-play-state: paused; }
@keyframes sectorsScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.sec-card {
  min-width: 280px; background: var(--bg2); padding: 48px 36px; flex-shrink: 0;
  border-bottom: 2px solid transparent; transition: var(--transition); cursor: default;
}
.sec-card:hover { background: var(--bg3); border-bottom-color: var(--gold); }
.sec-tag { font-size: 10px; color: var(--gold); letter-spacing: 3px; font-family: 'Tajawal', sans-serif; margin-bottom: 24px; }
.sec-name { font-size: 24px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.sec-bar { width: 36px; height: 1px; background: var(--gold); margin-bottom: 16px; transition: width .4s; }
.sec-card:hover .sec-bar { width: 60px; }
.sec-desc { font-family: 'Tajawal', sans-serif; font-size: 14px; color: var(--muted); line-height: 1.7; font-weight: 300; }

/* === PROCESS === */
.process { padding: 120px 56px; background: var(--bg); position: relative; z-index: 1; }
.process-steps {
  display: flex; gap: 0; margin-top: 72px; position: relative;
}
.process-steps::before {
  content: ''; position: absolute; top: 28px; right: 0; left: 0; height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(200,168,75,.1));
}
.ps { flex: 1; padding-top: 72px; text-align: center; position: relative; }
.ps-dot {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 18px; border: 2px solid var(--gold); background: var(--bg);
  border-radius: 50%; transition: var(--transition);
}
.ps:hover .ps-dot { background: var(--gold); box-shadow: 0 0 20px rgba(200,168,75,.5); }
.ps-num { font-size: 10px; color: var(--gold); letter-spacing: 3px; margin-bottom: 16px; font-family: 'Tajawal', sans-serif; }
.ps-title { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.ps-desc { font-family: 'Tajawal', sans-serif; font-size: 13px; color: var(--muted); line-height: 1.7; font-weight: 300; max-width: 160px; margin: 0 auto; }

/* === CTA === */
.cta-section {
  padding: 160px 56px; text-align: center;
  background: linear-gradient(160deg, var(--bg), var(--bg3));
  border-top: 1px solid rgba(200,168,75,.08);
  position: relative; z-index: 1; overflow: hidden;
}
.cta-orbs { position: absolute; inset: 0; pointer-events: none; }
.cta-orb1 {
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,168,75,.06), transparent 60%);
  animation: orbFloat 7s ease-in-out infinite;
}
.cta-orb2 {
  position: absolute; bottom: -100px; left: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,168,75,.04), transparent 60%);
  animation: orbFloat 5s ease-in-out infinite reverse;
}
.cta-section h2 {
  font-size: clamp(40px, 6vw, 80px); font-weight: 900; line-height: 1.1;
  margin-bottom: 24px; position: relative; z-index: 2;
  background: linear-gradient(135deg, var(--white) 40%, var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.cta-section p {
  font-family: 'Tajawal', sans-serif; font-size: 18px;
  color: var(--muted); margin-bottom: 56px; font-weight: 300;
  position: relative; z-index: 2;
}
.cta-section .btn-gold { position: relative; z-index: 2; font-size: 16px; padding: 20px 64px; }

/* === FOOTER === */
footer {
  background: var(--bg2); padding: 80px 56px 48px;
  border-top: 1px solid rgba(200,168,75,.08); position: relative; z-index: 1;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 60px;
}
.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.footer-brand p {
  font-family: 'Tajawal', sans-serif; font-size: 14px;
  color: var(--muted); line-height: 1.8; font-weight: 300; margin-bottom: 32px;
}
.social-links { display: flex; gap: 12px; }
.social-btn {
  width: 40px; height: 40px;
  border: 1px solid rgba(200,168,75,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--muted);
  cursor: pointer; transition: var(--transition); text-decoration: none;
  font-family: 'Tajawal', sans-serif;
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h4 { font-size: 10px; color: var(--gold); letter-spacing: 3px; margin-bottom: 24px; font-family: 'Tajawal', sans-serif; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 14px; }
.footer-col a {
  color: var(--muted); text-decoration: none; font-size: 14px;
  font-family: 'Tajawal', sans-serif; font-weight: 300; transition: color .2s;
  display: flex; align-items: center; gap: 6px;
}
.footer-col a::before { content: ''; width: 0; height: 1px; background: var(--gold); transition: width .3s; }
.footer-col a:hover { color: var(--white); }
.footer-col a:hover::before { width: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(200,168,75,.08); padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: var(--muted2); font-family: 'Tajawal', sans-serif; font-weight: 300; }
.gold { color: var(--gold); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 120px 20px 80px; }
  .hero-h1 { font-size: clamp(40px, 10vw, 64px); }
  .hero-orb { width: 300px; height: 300px; right: -50%; }

  .stats { padding: 60px 20px; }

  .services,
  .why,
  .process,
  .cta-section { padding: 80px 20px; }

  .svc-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  .process-steps { flex-direction: column; gap: 40px; }
  .process-steps::before { display: none; }
  .ps { padding-top: 0; padding-right: 80px; text-align: right; }
  .ps-dot { top: 0; right: 0; left: auto; transform: none; }
  .ps-desc { margin: 0; }

  .sectors-head { padding: 0 20px; }

  footer { padding: 60px 20px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .cta-section { padding: 100px 20px; }
  .btn-gold, .btn-outline { padding: 16px 32px; font-size: 14px; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .btn-gold, .btn-outline { width: 100%; text-align: center; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-n { font-size: 44px; }
}
