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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Tajawal", sans-serif;
  background: #06060e;
  color: #f0f0f5;
  direction: rtl;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

body,
a,
button {
  cursor: none;
}

@media (max-width: 768px) {
  body,
  a,
  button {
    cursor: auto;
  }
}
.custom-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: difference;
}
@media (max-width: 768px) {
  .custom-cursor {
    display: none;
  }
}

.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s;
}
.cursor-dot.cursor-hover {
  width: 16px;
  height: 16px;
  background: rgb(139, 69, 255);
  mix-blend-mode: normal;
}
@media (max-width: 768px) {
  .cursor-dot {
    display: none;
  }
}

.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28), height 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28), border-color 0.3s, opacity 0.3s;
}
.cursor-ring.cursor-hover {
  width: 60px;
  height: 60px;
  border-color: rgba(139, 69, 255, 0.6);
  opacity: 0.6;
}
@media (max-width: 768px) {
  .cursor-ring {
    display: none;
  }
}

.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 69, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  will-change: transform;
}
@media (max-width: 768px) {
  .cursor-glow {
    display: none;
  }
}

.preloader {
  position: fixed;
  inset: 0;
  background: #06060e;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.preloader.fade-out {
  animation: preloaderExit 0.8s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@keyframes preloaderExit {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 0;
    transform: scale(1.15);
    visibility: hidden;
  }
}
.preloader-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.preloader-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 69, 255, 0.2) 0%, transparent 70%);
  filter: blur(60px);
  opacity: 0;
  animation: preloaderOrbPulse 3s ease-in-out infinite;
}

@keyframes preloaderOrbPulse {
  0%, 100% {
    transform: scale(0.8);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.6;
  }
}
.preloader-title-wrapper {
  position: relative;
  z-index: 2;
}

.preloader-title {
  font-family: "Aref Ruqaa Ink", serif;
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 700;
  background: linear-gradient(135deg, #8B45FF 0%, #c084fc 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  direction: rtl;
  white-space: nowrap;
  padding: 16px 8px;
  opacity: 0;
  transform: scale(0.9);
  filter: blur(10px);
  clip-path: inset(0 0 0 100%);
}

.preloader-title-mask {
  display: none;
}

.preloader-shine {
  position: absolute;
  top: 50%;
  left: -100%;
  width: 100%;
  height: 120%;
  transform: translateY(-50%) skewX(-15deg);
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 70%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

.preloader-tagline {
  font-family: "Tajawal", sans-serif;
  font-size: 1.1rem;
  color: rgba(240, 240, 245, 0.65);
  margin-top: 16px;
  opacity: 0;
  transform: translateY(20px);
  letter-spacing: 2px;
  z-index: 2;
}

.preloader-bar-container {
  margin-top: 40px;
  width: 160px;
  z-index: 2;
  opacity: 0;
}

.preloader-bar-track {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.preloader-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(135deg, #8B45FF 0%, #c084fc 50%, #a855f7 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #8B45FF 0%, #c084fc 50%, #a855f7 100%);
  z-index: 10001;
  transform-origin: right;
  transition: none;
  will-change: transform;
}

.back-to-top {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #f0f0f5;
  cursor: none;
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: rgba(139, 69, 255, 0.08);
  border-color: rgb(139, 69, 255);
  color: rgb(139, 69, 255);
  box-shadow: 0 4px 20px rgba(139, 69, 255, 0.3);
  transform: translateY(-4px);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}
.back-to-top:hover svg {
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .back-to-top {
    cursor: auto;
    bottom: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
  }
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background-image: linear-gradient(rgba(139, 69, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(139, 69, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(139, 69, 255, 0.2);
  box-shadow: 0 8px 32px rgba(139, 69, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.gradient-text {
  background: linear-gradient(135deg, #8B45FF 0%, #c084fc 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(139, 69, 255, 0.08);
  border: 1px solid rgba(139, 69, 255, 0.15);
  border-radius: 100px;
  font-size: 0.875rem;
  color: rgb(139, 69, 255);
  font-weight: 500;
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.125rem;
  color: rgba(240, 240, 245, 0.65);
  max-width: 600px;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-desc {
  margin: 0 auto;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .section-container {
    padding: 0 48px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 16px;
  font-family: "Tajawal", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s;
}

.btn-primary {
  background: linear-gradient(135deg, #8B45FF 0%, #c084fc 50%, #a855f7 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(139, 69, 255, 0.3);
}
.btn-primary::before {
  background: linear-gradient(135deg, #a855f7, #8B45FF);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(139, 69, 255, 0.5);
}
.btn-primary:hover::before {
  opacity: 1;
}
.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 1;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.04);
  color: #f0f0f5;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(139, 69, 255, 0.3);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s ease;
}
.main-header.scrolled {
  padding: 8px 0;
}
.main-header.scrolled .nav-container {
  background: rgba(6, 6, 14, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  position: relative;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 6, 14, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  backdrop-filter: blur(16px);
  transition: all 0.4s ease;
}
@media (min-width: 768px) {
  .nav-container {
    padding: 12px 32px;
    margin: 0 48px;
  }
}
@media (min-width: 1400px) {
  .nav-container {
    margin: 0 auto;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 0 8px rgba(139, 69, 255, 0.3));
  transition: filter 0.3s ease;
}
.logo:hover .logo-img {
  filter: drop-shadow(0 0 12px rgba(139, 69, 255, 0.5));
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #8B45FF 0%, #c084fc 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 8px;
}
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}
.nav-links a {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(240, 240, 245, 0.65);
  transition: all 0.3s;
}
.nav-links a:hover, .nav-links a.active {
  color: #f0f0f5;
  background: rgba(139, 69, 255, 0.08);
}
.nav-links a.active {
  color: rgb(139, 69, 255);
}

.nav-cta {
  display: none;
  padding: 8px 24px;
  background: linear-gradient(135deg, #8B45FF 0%, #c084fc 50%, #a855f7 100%);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
}
@media (min-width: 768px) {
  .nav-cta {
    display: inline-flex;
  }
}
.nav-cta:hover {
  box-shadow: 0 4px 20px rgba(139, 69, 255, 0.4);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: relative;
  z-index: 1002;
}
@media (min-width: 768px) {
  .mobile-toggle {
    display: none;
  }
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #f0f0f5;
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

.mobile-menu {
  position: fixed;
  top: 80px;
  left: 16px;
  right: 16px;
  background: rgba(10, 10, 24, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  backdrop-filter: blur(24px);
  padding: 24px;
  z-index: 999;
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu a {
  display: block;
  padding: 14px 20px;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(240, 240, 245, 0.65);
}
.mobile-menu a:hover, .mobile-menu a.active {
  background: rgba(139, 69, 255, 0.08);
  color: rgb(139, 69, 255);
}
.mobile-menu .mobile-cta {
  text-align: center;
  background: linear-gradient(135deg, #8B45FF 0%, #c084fc 50%, #a855f7 100%);
  color: white !important;
  font-weight: 600;
  margin-top: 8px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  bottom: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 900px;
  z-index: 2;
  opacity: 0.45;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 85% at 50% 55%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 85% at 50% 55%, black 30%, transparent 75%);
  animation: heroImageFloat 12s ease-in-out infinite;
}
.hero-bg-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 100px rgba(139, 69, 255, 0.4)) drop-shadow(0 0 200px rgba(139, 69, 255, 0.2));
}
@media (max-width: 768px) {
  .hero-bg-image {
    width: 110%;
    bottom: -10%;
    opacity: 0.3;
  }
}
@media (max-width: 480px) {
  .hero-bg-image {
    width: 140%;
    bottom: -5%;
    opacity: 0.25;
  }
}

@keyframes heroImageFloat {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-15px);
  }
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: floatOrb 20s ease-in-out infinite;
}
.hero-orb--1 {
  width: 600px;
  height: 600px;
  background: rgba(139, 69, 255, 0.15);
  top: -20%;
  right: -10%;
}
.hero-orb--2 {
  width: 400px;
  height: 400px;
  background: rgba(139, 69, 255, 0.1);
  bottom: -10%;
  left: -5%;
  animation-delay: -7s;
}
.hero-orb--3 {
  width: 300px;
  height: 300px;
  background: rgba(99, 39, 220, 0.12);
  top: 30%;
  left: 20%;
  animation-delay: -14s;
}

@keyframes floatOrb {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -40px) scale(1.1);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }
  75% {
    transform: translate(40px, 30px) scale(1.05);
  }
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  font-size: 0.9rem;
  color: rgba(240, 240, 245, 0.65);
  margin-bottom: 32px;
  backdrop-filter: blur(12px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
}
.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-title-line {
  display: block;
}

.hero-title-gradient {
  background: linear-gradient(135deg, #8B45FF 0%, #c084fc 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(240, 240, 245, 0.65);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .hero-stats-row {
    gap: 48px;
  }
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #8B45FF 0%, #c084fc 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.hero-stat-label {
  font-size: 0.9rem;
  color: rgba(240, 240, 245, 0.65);
}

.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
}
@media (max-width: 480px) {
  .hero-stat-divider {
    display: none;
  }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 10;
}
.hero-scroll-indicator span {
  font-size: 0.8rem;
  color: rgba(240, 240, 245, 0.4);
  letter-spacing: 1px;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgb(139, 69, 255), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 1;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
  50.01% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
}
.marquee-section {
  padding: 40px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(139, 69, 255, 0.02);
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: marquee 30s linear infinite;
  padding: 0 20px;
}
.marquee-content span {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(240, 240, 245, 0.4);
  white-space: nowrap;
  transition: color 0.3s;
}
.marquee-content span:hover {
  color: rgb(139, 69, 255);
}

.marquee-dot {
  color: rgb(139, 69, 255) !important;
  font-size: 0.8rem !important;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.about-section {
  padding: 120px 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}
@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-text {
  font-size: 1.05rem;
  color: rgba(240, 240, 245, 0.65);
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  transition: all 0.3s;
}
.about-feature:hover {
  border-color: rgba(139, 69, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(-4px);
}
.about-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.about-feature p {
  font-size: 0.9rem;
  color: rgba(240, 240, 245, 0.65);
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 69, 255, 0.08);
  border: 1px solid rgba(139, 69, 255, 0.15);
  border-radius: 8px;
  color: rgb(139, 69, 255);
  flex-shrink: 0;
}

.about-visual {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}
.about-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.about-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about-image-wrapper:hover .about-image {
  transform: scale(1.05);
}

.about-image-border {
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, rgba(139, 69, 255, 0.3), transparent, rgba(139, 69, 255, 0.3)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.about-float-card {
  position: absolute;
  bottom: -24px;
  right: -16px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 16px;
  animation: float 6s ease-in-out infinite;
  z-index: 5;
}
@media (min-width: 992px) {
  .about-float-card {
    right: -40px;
  }
}
.about-float-card .float-card-icon {
  font-size: 2rem;
}
.about-float-card strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #8B45FF 0%, #c084fc 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-float-card span {
  font-size: 0.85rem;
  color: rgba(240, 240, 245, 0.65);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
.services-section {
  padding: 120px 0;
  position: relative;
  background: linear-gradient(180deg, #06060e 0%, #0a0a18 50%, #06060e 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.service-card:hover {
  transform: translateY(-8px);
}
.service-card:hover .service-icon {
  transform: scale(1.1);
  background: rgba(139, 69, 255, 0.15);
}
.service-card:hover .service-card-glow {
  opacity: 1;
}
.service-card:hover .service-card-line {
  transform: scaleX(1);
}
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.9rem;
  color: rgba(240, 240, 245, 0.65);
  line-height: 1.8;
}

.service-card-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(139, 69, 255, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.service-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 69, 255, 0.08);
  border: 1px solid rgba(139, 69, 255, 0.15);
  border-radius: 16px;
  color: rgb(139, 69, 255);
  margin: 0 auto 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(135deg, #8B45FF 0%, #c084fc 50%, #a855f7 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.process-section {
  padding: 120px 0;
  position: relative;
}

.process-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.process-line {
  position: absolute;
  right: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(139, 69, 255, 0.1);
}
.process-line::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(135deg, #8B45FF 0%, #c084fc 50%, #a855f7 100%);
}
@media (max-width: 600px) {
  .process-line {
    right: 16px;
  }
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}
@media (max-width: 600px) {
  .process-step {
    gap: 20px;
  }
}
.process-step:last-child {
  margin-bottom: 0;
}

.process-step-num {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #06060e;
  border: 2px solid rgba(139, 69, 255, 0.15);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 800;
  color: rgb(139, 69, 255);
  flex-shrink: 0;
  z-index: 2;
  transition: all 0.4s;
}
@media (max-width: 600px) {
  .process-step-num {
    width: 48px;
    height: 48px;
    font-size: 0.95rem;
  }
}
.process-step:hover .process-step-num {
  background: rgb(139, 69, 255);
  color: white;
  border-color: rgb(139, 69, 255);
  box-shadow: 0 0 30px rgba(139, 69, 255, 0.4);
}

.process-step-content {
  padding: 28px;
  flex: 1;
}
.process-step-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.process-step-content p {
  font-size: 0.95rem;
  color: rgba(240, 240, 245, 0.65);
  line-height: 1.8;
}

.featured-section {
  padding: 120px 0;
  background: linear-gradient(180deg, #06060e 0%, #0a0a18 50%, #06060e 100%);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .featured-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.featured-card {
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.featured-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 69, 255, 0.25);
  box-shadow: 0 20px 60px rgba(139, 69, 255, 0.15);
}
.featured-card:hover .featured-card-image img {
  transform: scale(1.1);
}
.featured-card:hover .featured-card-overlay {
  opacity: 1;
}

.featured-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.featured-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.featured-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 14, 0.6);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.4s;
}

.featured-tag {
  padding: 6px 16px;
  background: rgba(139, 69, 255, 0.3);
  border: 1px solid rgba(139, 69, 255, 0.4);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
  backdrop-filter: blur(8px);
}

.featured-card-content {
  padding: 24px;
}
.featured-card-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.featured-card-content p {
  font-size: 0.9rem;
  color: rgba(240, 240, 245, 0.65);
  line-height: 1.7;
}

.featured-cta {
  text-align: center;
  margin-top: 56px;
}

.cta-section {
  padding: 120px 0;
  position: relative;
}

.cta-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}
.cta-orb--1 {
  width: 500px;
  height: 500px;
  background: rgba(139, 69, 255, 0.12);
  top: -30%;
  left: 10%;
  animation: floatOrb 15s ease-in-out infinite;
}
.cta-orb--2 {
  width: 400px;
  height: 400px;
  background: rgba(139, 69, 255, 0.08);
  bottom: -20%;
  right: 10%;
  animation: floatOrb 18s ease-in-out infinite reverse;
}

.cta-content {
  text-align: center;
  padding: 64px 32px;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
@media (min-width: 768px) {
  .cta-content {
    padding: 80px 64px;
  }
}
.cta-content h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}
.cta-content p {
  font-size: 1.1rem;
  color: rgba(240, 240, 245, 0.65);
  margin-bottom: 32px;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.main-footer {
  position: relative;
  padding: 80px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0a18;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 2px;
  background: linear-gradient(135deg, #8B45FF 0%, #c084fc 50%, #a855f7 100%);
  filter: blur(8px);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .footer-container {
    padding: 0 48px;
  }
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.95rem;
  color: rgba(240, 240, 245, 0.65);
  line-height: 1.8;
  max-width: 320px;
}

.footer-links-group h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #f0f0f5;
}
.footer-links-group ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links-group li {
  font-size: 0.9rem;
  color: rgba(240, 240, 245, 0.65);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links-group li:hover {
  color: rgb(139, 69, 255);
}
.footer-links-group a {
  color: rgba(240, 240, 245, 0.65);
}
.footer-links-group a:hover {
  color: rgb(139, 69, 255);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(240, 240, 245, 0.4);
}

.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: rgba(240, 240, 245, 0.65);
  transition: all 0.3s;
}
.footer-social a:hover {
  background: rgba(139, 69, 255, 0.08);
  border-color: rgba(139, 69, 255, 0.15);
  color: rgb(139, 69, 255);
  transform: translateY(-2px);
}

.projects-hero {
  position: relative;
  padding: 160px 0 80px;
  text-align: center;
  overflow: hidden;
}

.projects-hero-content {
  position: relative;
  z-index: 10;
}

.filter-section {
  padding: 0 0 40px;
  position: sticky;
  top: 80px;
  z-index: 100;
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 12px 16px;
  background: rgba(6, 6, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  backdrop-filter: blur(20px);
  max-width: 600px;
  margin: 0 auto;
}

.filter-tab {
  padding: 10px 24px;
  border: none;
  background: none;
  border-radius: 100px;
  font-family: "Tajawal", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(240, 240, 245, 0.65);
  cursor: pointer;
  transition: all 0.3s;
}
.filter-tab:hover {
  color: #f0f0f5;
  background: rgba(255, 255, 255, 0.04);
}
.filter-tab.active {
  background: linear-gradient(135deg, #8B45FF 0%, #c084fc 50%, #a855f7 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(139, 69, 255, 0.3);
}

.projects-grid-section {
  padding: 0 0 120px;
}

.projects-masonry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 600px) {
  .projects-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .projects-masonry {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.project-card-inner {
  overflow: hidden;
  height: 100%;
}
.project-card-inner:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(139, 69, 255, 0.12);
}
.project-card-inner:hover .project-card-image img {
  transform: scale(1.08);
}
.project-card-inner:hover .project-card-overlay {
  opacity: 1;
}

.project-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 14, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
}

.project-overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.project-category-badge {
  padding: 6px 18px;
  background: rgba(139, 69, 255, 0.35);
  border: 1px solid rgba(139, 69, 255, 0.5);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
  backdrop-filter: blur(8px);
}

.project-zoom-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(8px);
}
.project-zoom-btn:hover {
  background: rgb(139, 69, 255);
  border-color: rgb(139, 69, 255);
  transform: scale(1.1);
}

.project-card-content {
  padding: 24px;
}
.project-card-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.project-card-content p {
  font-size: 0.9rem;
  color: rgba(240, 240, 245, 0.65);
  line-height: 1.7;
  margin-bottom: 16px;
}

.project-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.project-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(240, 240, 245, 0.4);
}
.project-meta span svg {
  color: rgb(139, 69, 255);
}

[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}
[data-animate][data-animate=fade-right] {
  transform: translateX(40px);
}
[data-animate][data-animate=fade-right].animated {
  transform: translateX(0);
}
[data-animate][data-animate=fade-left] {
  transform: translateX(-40px);
}
[data-animate][data-animate=fade-left].animated {
  transform: translateX(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  backdrop-filter: blur(20px);
}
.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.4s;
}
.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .section-title {
    font-size: 1.8rem;
  }
}
html,
body {
  overflow-x: hidden;
  width: 100%;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem !important;
  }
  .section-desc {
    font-size: 1rem !important;
    padding: 0 16px;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .section-container {
    padding: 0 20px;
  }
}
@media (max-width: 768px) {
  .hero {
    padding-top: 140px;
    padding-bottom: 60px;
    min-height: auto;
  }
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: 1rem;
    padding: 0 16px;
  }
  .hero-bg-image {
    width: 120%;
    bottom: 0%;
    opacity: 0.25;
  }
  .hero-stats-row {
    gap: 24px;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-stat {
    flex: 1 1 40%;
  }
  .hero-stat-divider {
    display: none;
  }
}
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-image {
    height: 300px;
  }
}
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .process-step {
    flex-direction: column;
    gap: 16px;
  }
  .process-line {
    right: 28px;
  }
  .process-step-num {
    width: 56px;
    height: 56px;
    margin-right: 0;
  }
  .process-step-content {
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .cta-content {
    padding: 48px 24px;
  }
  .cta-section h2 {
    font-size: 1.8rem;
  }
}
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer-brand {
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  .footer-links-group ul {
    align-items: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .custom-cursor,
  .cursor-dot,
  .cursor-ring,
  .cursor-glow {
    display: none !important;
  }
  body {
    cursor: auto !important;
  }
  a,
  button,
  .btn {
    cursor: pointer !important;
  }
}
