﻿/* Modern Premium Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #10b981, #34d399);
  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #34d399, #10b981);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
}

* {
  scrollbar-width: thin;
  scrollbar-color: #10b981 rgba(0, 0, 0, 0.3);
}

/* Minimal fallback styles before app hydration */
html {
  scroll-behavior: smooth
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: 'Tajawal', 'Cairo', 'Inter', 'Poppins', system-ui, Segoe UI, Helvetica, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}

[dir="rtl"] body {
  font-family: 'Tajawal', 'Cairo', 'Inter', system-ui, Segoe UI, Helvetica, Arial, sans-serif
}

[dir="ltr"] body {
  font-family: 'Inter', 'Poppins', 'Tajawal', 'Cairo', system-ui, Segoe UI, Helvetica, Arial, sans-serif
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .75));
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: all .3s ease;
  position: relative;
  overflow: visible
}

header:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, .03), rgba(45, 212, 191, .02), transparent);
  pointer-events: none;
  z-index: 0
}

header:after {
  pointer-events: none
}

header:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, .4), transparent);
  opacity: .6;
  animation: headerGlow 3s ease-in-out infinite
}

@keyframes headerGlow {

  0%,
  100% {
    opacity: .3
  }

  50% {
    opacity: .8
  }
}

.nav {
  display: flex;
  flex-direction: row !important;
  direction: ltr !important;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  position: relative;
  z-index: 1;
  overflow: visible;
  gap: 24px
}

header .container {
  padding-right: 0;
  padding-left: 16px
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  transition: transform .3s ease;
  position: relative;
  flex-wrap: nowrap
}

.brand:hover {
  transform: scale(1.02)
}

.brand span:not(.dot),
.brand a {
  font-weight: 800;
  font-size: 18px;
  background: linear-gradient(135deg, #fff, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all .3s ease;
  position: relative;
  font-family: 'Tajawal', 'Cairo', 'Inter', 'Poppins', system-ui, sans-serif;
  letter-spacing: -.01em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
  line-height: 1.2
}

[dir="rtl"] .brand span:not(.dot),
[dir="rtl"] .brand a {
  font-family: 'Tajawal', 'Cairo', 'Inter', system-ui, sans-serif
}

[dir="ltr"] .brand span:not(.dot),
[dir="ltr"] .brand a {
  font-family: 'Inter', 'Poppins', 'Tajawal', 'Cairo', system-ui, sans-serif
}

.brand:hover span:not(.dot),
.brand:hover a {
  background: linear-gradient(135deg, #34d399, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(52, 211, 153, .3)
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #10b981, #34d399);
  display: inline-block;
  position: relative;
  box-shadow: 0 0 10px rgba(16, 185, 129, .5), 0 0 20px rgba(16, 185, 129, .3);
  animation: dotPulse 2s ease-in-out infinite
}

.dot:before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  background: radial-gradient(circle, #10b981, transparent);
  opacity: .4;
  animation: dotRipple 2s ease-in-out infinite
}

@keyframes dotPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(16, 185, 129, .5), 0 0 20px rgba(16, 185, 129, .3)
  }

  50% {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(16, 185, 129, .7), 0 0 30px rgba(16, 185, 129, .5)
  }
}

@keyframes dotRipple {
  0% {
    transform: scale(.8);
    opacity: .4
  }

  100% {
    transform: scale(1.5);
    opacity: 0
  }
}

.links {
  display: flex;
  flex-direction: row !important;
  direction: ltr !important;
  gap: 12px;
  color: rgba(255, 255, 255, .8);
  font-size: 15px;
  align-items: center !important;
  position: relative;
  flex-wrap: nowrap;
  align-self: center !important;
  justify-content: center;
  flex: 1;
  max-width: fit-content;
  margin: 0 auto
}

.links a,
.links button,
.links>div {
  position: relative;
  transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 600;
  overflow: visible;
  white-space: nowrap;
  min-width: fit-content;
  flex-shrink: 0;
  direction: ltr !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: auto;
  line-height: 1.4;
  margin: 0;
  font-size: 15px
}

.links a,
.links button {
  background: linear-gradient(135deg, rgba(16, 185, 129, .08), rgba(45, 212, 191, .05));
  backdrop-filter: blur(10px) saturate(180%);
  border: 1.5px solid rgba(52, 211, 153, .2);
  color: rgba(255, 255, 255, .95);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2), 0 0 20px rgba(16, 185, 129, .1), inset 0 1px 0 rgba(255, 255, 255, .1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .3)
}

.links a:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, .25), rgba(45, 212, 191, .2), rgba(52, 211, 153, .15));
  opacity: 0;
  transition: opacity .4s cubic-bezier(.34, 1.56, .64, 1);
  z-index: -1;
  border-radius: 14px;
  filter: blur(8px)
}

.links a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 70%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #34d399, #22d3ee, transparent);
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(52, 211, 153, .6), 0 0 20px rgba(52, 211, 153, .4)
}

.links a:hover {
  color: #34d399;
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(135deg, rgba(16, 185, 129, .2), rgba(45, 212, 191, .15));
  border-color: rgba(52, 211, 153, .5);
  box-shadow: 0 8px 24px rgba(16, 185, 129, .4), 0 0 40px rgba(16, 185, 129, .3), 0 0 60px rgba(16, 185, 129, .15), inset 0 1px 0 rgba(255, 255, 255, .2);
  text-shadow: 0 0 10px rgba(52, 211, 153, .5), 0 2px 4px rgba(0, 0, 0, .4)
}

.links a:hover:before {
  opacity: 1
}

.links a:hover:after {
  transform: translateX(-50%) scaleX(1);
  box-shadow: 0 0 15px rgba(52, 211, 153, .8), 0 0 30px rgba(52, 211, 153, .6)
}

.links a:active {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 16px rgba(16, 185, 129, .3), 0 0 30px rgba(16, 185, 129, .2)
}

/* Icon styles with animations */
.links a i {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-right: 8px;
  font-size: 15px;
  opacity: 0.9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  text-align: center;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
  transform: translateY(0);
}

.links a:hover i {
  opacity: 1;
  transform: scale(1.15) translateY(-2px);
  filter: drop-shadow(0 2px 6px rgba(52, 211, 153, 0.6));
  animation: iconBounce 0.6s ease infinite alternate;
}

/* Special icons for each button */
.links a[href*="download"] i {
  color: #34d399;
  transition: all 0.3s ease;
}

.links a[href*="features"] i {
  color: #34d399;
  transition: all 0.3s ease;
}

.links a[href*="about"] i {
  color: #34d399;
  transition: all 0.3s ease;
}

.links a[href*="contact"] i {
  color: #34d399;
  transition: all 0.3s ease;
}

.links a[href*="faq"] i {
  color: #34d399;
  transition: all 0.3s ease;
}

@keyframes iconBounce {
  0% {
    transform: translateY(0) scale(1);
  }

  100% {
    transform: translateY(-3px) scale(1.1);
  }
}

.links a[href*="download"]:hover i {
  color: #22d3ee;
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(52, 211, 153, .6))
}

.links a[href*="features"]:hover i {
  color: #22d3ee;
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(52, 211, 153, .6))
}

.links a[href*="about"]:hover i {
  color: #22d3ee;
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(52, 211, 153, .6))
}

.links a[href*="contact"]:hover i {
  color: #22d3ee;
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(52, 211, 153, .6))
}

@keyframes iconBounce {

  0%,
  100% {
    transform: translateY(0) scale(1)
  }

  50% {
    transform: translateY(-2px) scale(1.05)
  }
}

@keyframes iconPulse {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.1)
  }
}

@keyframes iconRotate {

  0%,
  100% {
    transform: rotate(0deg)
  }

  25% {
    transform: rotate(-5deg)
  }

  75% {
    transform: rotate(5deg)
  }
}

@keyframes iconFloat {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-3px)
  }
}

/* Hover Animations */
.links a[href*="download"]:hover i {
  color: #22d3ee;
  /* Lighter green on hover */
  animation: iconPulse 0.8s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.8));
}

.links a[href*="features"]:hover i {
  color: #22d3ee;
  /* Lighter green on hover */
  animation: iconBounce 0.6s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.8));
}

.links a[href*="about"]:hover i {
  color: #22d3ee;
  /* Lighter green on hover */
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.8));
}

.links a[href*="contact"]:hover i {
  color: #22d3ee;
  /* Lighter green on hover */
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.8));
}

.links a[href*="faq"]:hover i {
  color: #22d3ee;
  /* Lighter green on hover */
  animation: iconPulse 0.6s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.8));
}

/* Animation Keyframes */
@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px) rotate(5deg);
  }
}

@keyframes shake {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-5deg);
  }

  75% {
    transform: rotate(5deg);
  }
}

.user-info {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin-left: auto !important;
  margin-right: 0 !important;
  position: relative;
  z-index: 99999 !important;
  isolation: isolate;
  padding-right: 0
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer !important;
  padding: 8px 12px;
  border-radius: 12px;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  position: relative;
  overflow: visible;
  pointer-events: auto !important;
  z-index: 99999 !important;
  background: transparent;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  touch-action: manipulation
}

.user-profile:hover {
  background: rgba(255, 255, 255, .05)
}

.user-profile:active {
  transform: scale(.98)
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #34d399);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #000;
  box-shadow: 0 4px 12px rgba(16, 185, 129, .4), 0 0 20px rgba(16, 185, 129, .2);
  border: 2px solid rgba(52, 211, 153, .5);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  pointer-events: none
}

.user-avatar:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .2), transparent);
  opacity: 0;
  transition: opacity .3s ease
}

.user-profile:hover .user-avatar:before {
  opacity: 1
}

.user-name {
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  max-width: 250px;
  background: rgba(0, 0, 0, .98) !important;
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 14px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(.95);
  transition: all .2s cubic-bezier(.4, 0, .2, 1);
  z-index: 999999 !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .8), 0 0 40px rgba(16, 185, 129, .3), inset 0 1px 0 rgba(255, 255, 255, .1);
  overflow: visible;
  pointer-events: none !important;
  display: none
}

.user-profile.open .user-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
  display: block !important
}

[dir="ltr"] .user-dropdown {
  right: auto;
  left: 0
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer !important;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  color: rgba(255, 255, 255, .8);
  border-radius: 10px;
  position: relative;
  z-index: 1;
  margin: 2px 0;
  pointer-events: auto !important;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  touch-action: manipulation;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(16, 185, 129, .08), rgba(45, 212, 191, .05));
  border: 1px solid rgba(52, 211, 153, .2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2), 0 0 20px rgba(16, 185, 129, .1), inset 0 1px 0 rgba(255, 255, 255, .1);
}

.user-dropdown-item:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, .25), rgba(45, 212, 191, .2), rgba(52, 211, 153, .15));
  opacity: 0;
  transition: opacity .4s cubic-bezier(.34, 1.56, .64, 1);
  border-radius: 10px;
  z-index: -1;
  pointer-events: none;
  filter: blur(8px)
}

.user-dropdown-item:hover:before {
  opacity: 1
}

.user-dropdown-item:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, .2), rgba(45, 212, 191, .15)) !important;
  color: #34d399;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(16, 185, 129, .4), 0 0 40px rgba(16, 185, 129, .3), 0 0 60px rgba(16, 185, 129, .15), inset 0 1px 0 rgba(255, 255, 255, .2) !important;
  text-shadow: 0 0 10px rgba(52, 211, 153, .5), 0 2px 4px rgba(0, 0, 0, .4) !important;
  border-color: rgba(52, 211, 153, .5) !important
}

.user-dropdown-item:active {
  transform: translateY(0) scale(.98);
  box-shadow: 0 4px 16px rgba(16, 185, 129, .3), 0 0 30px rgba(16, 185, 129, .2) !important
}

.user-dropdown-item i {
  font-size: 16px;
  width: 20px;
  text-align: center;
  color: rgba(52, 211, 153, .8);
  pointer-events: none;
  transition: all .3s ease
}

.user-dropdown-item:hover i {
  color: #34d399;
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px rgba(52, 211, 153, .8))
}

.user-dropdown-item.admin-panel-item:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, .18), rgba(139, 92, 246, .12)) !important;
  border-color: rgba(168, 85, 247, .4) !important;
  box-shadow: 0 4px 16px rgba(168, 85, 247, .3), 0 0 20px rgba(168, 85, 247, .15)
}

.user-dropdown-item.admin-panel-item:hover>div:first-child {
  opacity: 1
}

.user-dropdown-item.admin-panel-item:hover>div:last-child {
  opacity: 1
}

.user-dropdown-item.admin-panel-item:hover i {
  color: #c084fc !important;
  transform: scale(1.1);
  transition: all .3s ease
}

.user-dropdown-item.admin-panel-item:hover span {
  color: #e9d5ff !important;
  text-shadow: 0 0 10px rgba(168, 85, 247, .5)
}

.auth-link {
  display: flex;
  align-items: center;
  gap: 8px
}

.login-dropdown {
  position: relative;
  z-index: 10001;
  margin-right: 0;
  margin-left: auto;
  isolation: isolate
}

.login-link {
  background: linear-gradient(135deg, rgba(16, 185, 129, .15), rgba(45, 212, 191, .1));
  border: 1px solid rgba(52, 211, 153, .3);
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  position: relative;
  overflow: visible;
  transition: all .4s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 4px 16px rgba(16, 185, 129, .2), 0 0 30px rgba(16, 185, 129, .1);
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 10001;
  display: flex;
  align-items: center;
  gap: 8px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent
}

.login-link:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(52, 211, 153, .2), rgba(45, 212, 191, .15));
  opacity: 0;
  transition: opacity .4s ease;
  z-index: -1;
  border-radius: 12px;
  pointer-events: none
}

.login-link:hover:before {
  opacity: 1
}

.login-link:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, .25), rgba(45, 212, 191, .2));
  border-color: rgba(52, 211, 153, .5);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 24px rgba(16, 185, 129, .4), 0 0 40px rgba(16, 185, 129, .2), inset 0 1px 0 rgba(255, 255, 255, .1)
}

.login-link:active {
  transform: translateY(0) scale(1)
}

.login-link i {
  color: #34d399;
  transition: transform .3s ease;
  font-size: 16px;
  pointer-events: none
}

.login-link:hover i {
  transform: rotate(-10deg) scale(1.1);
  color: #22d3ee
}

.login-link span {
  color: #34d399;
  transition: color .3s ease;
  font-weight: 600;
  pointer-events: none
}

.login-link:hover span {
  color: #22d3ee;
  text-shadow: 0 0 10px rgba(52, 211, 153, .5)
}

.login-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  max-width: 250px;
  background: rgba(0, 0, 0, .98) !important;
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 14px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(.95);
  transition: all .2s cubic-bezier(.4, 0, .2, 1);
  z-index: 999999 !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .8), 0 0 40px rgba(16, 185, 129, .3), inset 0 1px 0 rgba(255, 255, 255, .1);
  overflow: visible;
  pointer-events: none !important;
  display: none;
  margin-top: 4px
}

.login-dropdown.open .login-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
  display: block !important
}

.login-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  color: rgba(255, 255, 255, .8);
  border-radius: 10px;
  position: relative;
  z-index: 1;
  margin: 2px 0;
  text-decoration: none;
  pointer-events: auto !important
}

.login-menu-item:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, .15), rgba(45, 212, 191, .1));
  opacity: 0;
  transition: opacity .25s ease;
  border-radius: 10px;
  z-index: -1;
  pointer-events: none
}

.login-menu-item:hover:before {
  opacity: 1
}

.login-menu-item:hover {
  background: rgba(52, 211, 153, .1);
  color: #34d399;
  transform: translateX(-4px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, .2)
}

.login-menu-item i {
  font-size: 16px;
  width: 20px;
  text-align: center;
  color: rgba(255, 255, 255, .7)
}

.login-menu-item:hover i {
  color: #34d399
}

/* Fixed positions - don't change based on dir */
/* [dir="rtl"] .user-info{margin-right:auto;margin-left:0} */
/* [dir="rtl"] .login-dropdown{margin-right:auto;margin-left:0} */
/* [dir="ltr"] .login-menu{right:auto;left:0} */
/* [dir="ltr"] .user-dropdown{right:auto;left:0} */
.logout-link {
  cursor: pointer
}

.ai-support-button {
  flex-direction: row !important;
  direction: ltr !important;
  background: linear-gradient(135deg, rgba(16, 185, 129, .08), rgba(45, 212, 191, .05)) !important;
  backdrop-filter: blur(10px) saturate(180%) !important;
  border: 1.5px solid rgba(52, 211, 153, .2) !important;
  color: rgba(255, 255, 255, .95) !important;
  padding: 12px 22px !important;
  border-radius: 14px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2), 0 0 20px rgba(16, 185, 129, .1), inset 0 1px 0 rgba(255, 255, 255, .1) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .3) !important;
  transition: all .4s cubic-bezier(.34, 1.56, .64, 1) !important;
  position: relative;
  overflow: visible;
  pointer-events: auto !important;
  z-index: 1001 !important;
  cursor: pointer !important;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  touch-action: manipulation
}

.ai-support-button:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, .25), rgba(45, 212, 191, .2), rgba(52, 211, 153, .15));
  opacity: 0;
  transition: opacity .4s cubic-bezier(.34, 1.56, .64, 1);
  z-index: -1;
  border-radius: 14px;
  filter: blur(8px)
}

.ai-support-button:hover:before {
  opacity: 1
}

.ai-support-button:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, .2), rgba(45, 212, 191, .15)) !important;
  border-color: rgba(52, 211, 153, .5) !important;
  color: #34d399 !important;
  transform: translateY(-4px) scale(1.05) !important;
  box-shadow: 0 8px 24px rgba(16, 185, 129, .4), 0 0 40px rgba(16, 185, 129, .3), 0 0 60px rgba(16, 185, 129, .15), inset 0 1px 0 rgba(255, 255, 255, .2) !important;
  text-shadow: 0 0 10px rgba(52, 211, 153, .5), 0 2px 4px rgba(0, 0, 0, .4) !important
}

.ai-support-button:active {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, .3), 0 0 30px rgba(16, 185, 129, .2) !important
}

.lang-dropdown {
  position: relative;
  margin-right: 0 !important;
  z-index: 1002;
  isolation: isolate;
  direction: ltr !important
}

.lang-toggle {
  display: flex;
  flex-direction: row !important;
  direction: ltr !important;
  align-items: center;
  gap: 8px;
  padding: 12px 22px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, rgba(16, 185, 129, .08), rgba(45, 212, 191, .05)) !important;
  backdrop-filter: blur(10px) saturate(180%) !important;
  border: 1.5px solid rgba(52, 211, 153, .2) !important;
  cursor: pointer;
  transition: all .4s cubic-bezier(.34, 1.56, .64, 1) !important;
  position: relative;
  overflow: visible;
  z-index: 1;
  white-space: nowrap;
  min-width: fit-content;
  flex-shrink: 0;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, .95) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2), 0 0 20px rgba(16, 185, 129, .1), inset 0 1px 0 rgba(255, 255, 255, .1) !important;
  justify-content: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .3) !important
}

.lang-toggle:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, .25), rgba(45, 212, 191, .2), rgba(52, 211, 153, .15));
  opacity: 0;
  transition: opacity .4s cubic-bezier(.34, 1.56, .64, 1);
  z-index: 0;
  border-radius: 14px;
  filter: blur(8px)
}

.lang-toggle:hover:before {
  opacity: 1
}

.lang-toggle:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, .2), rgba(45, 212, 191, .15)) !important;
  border-color: rgba(52, 211, 153, .5) !important;
  color: #34d399 !important;
  transform: translateY(-4px) scale(1.05) !important;
  box-shadow: 0 8px 24px rgba(16, 185, 129, .4), 0 0 40px rgba(16, 185, 129, .3), 0 0 60px rgba(16, 185, 129, .15), inset 0 1px 0 rgba(255, 255, 255, .2) !important;
  text-shadow: 0 0 10px rgba(52, 211, 153, .5), 0 2px 4px rgba(0, 0, 0, .4) !important
}

.lang-toggle:active {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, .3), 0 0 30px rgba(16, 185, 129, .2) !important
}

.lang-toggle span {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: inherit;
  transition: color .3s;
  position: relative;
  z-index: 1
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: rgba(0, 0, 0, .98);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 14px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(.95);
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  z-index: 9999;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .8), 0 0 40px rgba(16, 185, 129, .3), inset 0 1px 0 rgba(255, 255, 255, .1);
  overflow: visible;
  pointer-events: none
}

.lang-menu:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, .05), transparent);
  pointer-events: none;
  z-index: 0;
  border-radius: 14px
}

.lang-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  color: rgba(255, 255, 255, .8);
  border-radius: 10px;
  position: relative;
  z-index: 1;
  margin: 2px 0
}

.lang-option:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, .15), rgba(45, 212, 191, .1));
  opacity: 0;
  transition: opacity .25s ease;
  border-radius: 10px;
  z-index: -1
}

.lang-option:hover:before {
  opacity: 1
}

.lang-option:hover {
  background: rgba(52, 211, 153, .1);
  color: #34d399;
  transform: translateX(-4px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, .2)
}

.lang-option.active {
  color: #34d399;
  background: linear-gradient(135deg, rgba(52, 211, 153, .15), rgba(52, 211, 153, .08));
  border: 1px solid rgba(52, 211, 153, .2);
  box-shadow: 0 2px 8px rgba(16, 185, 129, .15)
}

.lang-option .flag-icon {
  font-size: 20px;
  transition: all .3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .2))
}

.lang-option:hover .flag-icon {
  transform: scale(1.15) rotate(3deg);
  filter: drop-shadow(0 4px 8px rgba(52, 211, 153, .4))
}

.lang-option.active .flag-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px rgba(52, 211, 153, .6))
}

/* Admin Info Card Styles */
.info-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  margin-top: 20px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border-color: rgba(139, 92, 246, 0.3);
}

.info-card h3 {
  color: #c084fc;
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-card h3 i {
  color: #a855f7;
}

.info-card p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 15px 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.btn-admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: white !important;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  width: 100%;
  text-align: center;
}

.btn-admin:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
  background: linear-gradient(135deg, #a78bfa, #8b5cf6);
}

.btn-admin:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Admin Panel Link Styles */
.admin-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(139, 92, 246, 0.1));
  border: 1.5px solid rgba(168, 85, 247, 0.3);
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 20px rgba(168, 85, 247, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.admin-nav-link i {
  font-size: 16px;
  color: #c084fc;
  transition: all 0.3s ease;
}

.admin-nav-link:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(139, 92, 246, 0.2));
  border-color: rgba(192, 132, 252, 0.5);
  color: #e9d5ff;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.4), 0 0 40px rgba(168, 85, 247, 0.3), 0 0 60px rgba(168, 85, 247, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 0 0 10px rgba(192, 132, 252, 0.5), 0 2px 4px rgba(0, 0, 0, 0.4);
}

.admin-nav-link:hover i {
  color: #e9d5ff;
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px rgba(192, 132, 252, 0.8));
}

.admin-nav-link:active {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.3), 0 0 30px rgba(168, 85, 247, 0.2);
}

.lang-toggle i {
  transition: transform .3s ease;
  color: rgba(255, 255, 255, .7)
}

.lang-toggle:hover i {
  transform: rotate(15deg);
  color: #34d399
}

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(34, 211, 238, 0.05) 0%, transparent 40%),
    #000;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(16, 185, 129, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

.hero canvas#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0
}

.blob {
  position: absolute;
  filter: blur(60px);
  border-radius: 9999px
}

.blob-1 {
  top: -90px;
  left: -90px;
  width: 320px;
  height: 320px;
  background: rgba(16, 185, 129, .18);
  animation: floatslow 10s ease-in-out infinite
}

.blob-2 {
  top: 30%;
  right: -70px;
  width: 290px;
  height: 290px;
  background: rgba(45, 212, 191, .12);
  animation: float 6s ease-in-out infinite
}

.blob-3 {
  bottom: -90px;
  left: 35%;
  width: 640px;
  height: 360px;
  background: linear-gradient(90deg, rgba(16, 185, 129, .22), rgba(16, 185, 129, .08), transparent);
  animation: gradx 12s ease infinite
}

.beam {
  position: absolute;
  inset: auto;
  top: -140px;
  right: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(16, 185, 129, .0), rgba(16, 185, 129, .25), rgba(16, 185, 129, .0) 60%);
  filter: blur(24px);
  animation: spin 18s linear infinite
}

.beam-2 {
  top: auto;
  bottom: -140px;
  left: -140px;
  right: auto;
  background: conic-gradient(from 180deg, rgba(45, 212, 191, .0), rgba(45, 212, 191, .18), rgba(45, 212, 191, .0) 60%)
}

.hero-inner {
  padding: 72px 0 84px
}

.grid {
  display: grid;
  gap: 24px
}

@media(min-width:768px) {
  .grid {
    grid-template-columns: 1fr 1fr
  }
}

.gradient-text {
  background: linear-gradient(135deg, #fff 30%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

h1 {
  font-size: 36px;
  line-height: 1.3;
  margin: 0;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp .8s ease-out forwards;
  font-weight: 900;
  letter-spacing: -.03em;
  filter: drop-shadow(0 4px 20px rgba(16, 185, 129, 0.3));
  font-family: 'Tajawal', 'Cairo', 'Inter', 'Poppins', system-ui, sans-serif
}

@media(min-width:768px) {
  h1 {
    font-size: 48px
  }
}

[dir="rtl"] h1 {
  font-family: 'Tajawal', 'Cairo', 'Inter', system-ui, sans-serif
}

[dir="ltr"] h1 {
  font-family: 'Inter', 'Poppins', 'Tajawal', 'Cairo', system-ui, sans-serif
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.lead {
  margin-top: 20px;
  color: rgba(255, 255, 255, .85);
  font-size: 19px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp .8s ease-out .2s both;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .01em;
  max-width: 650px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp .8s ease-out .4s both
}

.meta {
  margin-top: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp .8s ease-out .6s both
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all .4s cubic-bezier(.175, 0.885, 0.32, 1.275);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  gap: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981, #34d399);
  color: #000;
  box-shadow: 0 10px 40px rgba(16, 185, 129, .3), 0 0 0 1px rgba(16, 185, 129, 0.2);
}

.btn-hero-xl {
  padding: 18px 45px;
  font-size: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #10b981, #34d399, #22d3ee);
  background-size: 200% auto;
  color: #000;
  box-shadow: 0 20px 60px rgba(16, 185, 129, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2);
  animation: gradientShift 4s ease infinite;
}

.btn-hero-xl:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 30px 80px rgba(16, 185, 129, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.3);
  filter: brightness(1.1);
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.btn-primary:hover {
  background: linear-gradient(135deg, #34d399, #10b981);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 50px rgba(16, 185, 129, .5), 0 0 0 1px rgba(16, 185, 129, 0.4);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, .15);
  color: #fff;
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: #34d399;
  background: rgba(16, 185, 129, .1);
  color: #34d399;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 40px rgba(16, 185, 129, .2), 0 0 0 1px rgba(16, 185, 129, 0.3);
}

.btn-ghost:active {
  transform: translateY(0)
}

.btn-ghost:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .1), transparent);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: -1
}

.btn-ghost:hover:before {
  opacity: 1
}

.btn i {
  margin-left: 8px;
  margin-right: 8px
}

[dir="rtl"] .btn i.fa-arrow-left {
  transform: scaleX(-1)
}

[dir="ltr"] .btn i.fa-arrow-left {
  transform: scaleX(1)
}

.meta {
  margin-top: 10px;
  color: rgba(255, 255, 255, .6);
  font-size: 13px
}

/* LEGENDARY CYBER-CORE DESIGN SYSTEM */
.cyber-core-container {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 2000px;
  margin-top: 20px;
}

.cyber-core-structure {
  position: relative;
  width: 400px;
  height: 400px;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Inner Energy Core */
.energy-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(52, 211, 153, 1) 0%, rgba(16, 185, 129, 0.2) 70%, transparent 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 0 60px rgba(52, 211, 153, 0.8), 0 0 120px rgba(16, 185, 129, 0.4);
  transition: transform 0.3s ease;
}

.core-logo {
  font-size: 50px;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  z-index: 11;
}

.core-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  filter: blur(20px);
  opacity: 0.8;
}

/* Concentric Rings */
.core-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(52, 211, 153, 0.2);
  transform-style: preserve-3d;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.05), inset 0 0 30px rgba(16, 185, 129, 0.05);
  transition: all 0.5s ease;
}

.ring-1 {
  width: 250px;
  height: 250px;
  border-top: 2px solid #10b981;
  border-bottom: 2px solid #10b981;
  transition: transform 0.6s ease;
}

.ring-2 {
  width: 350px;
  height: 350px;
  border: 1.5px dashed rgba(52, 211, 153, 0.4);
  transition: transform 0.6s ease;
}

.ring-3 {
  width: 450px;
  height: 450px;
  border: 1px solid rgba(52, 211, 153, 0.1);
  box-shadow: 0 0 50px rgba(16, 185, 129, 0.1);
  transition: transform 0.6s ease;
}

@keyframes coreRotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Data Modules */
.data-module {
  position: absolute;
  background: rgba(10, 20, 30, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 14px 22px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(52, 211, 153, 0.1);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  z-index: 20;
}

.data-module i {
  color: #10b981;
  font-size: 20px;
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.4));
}

.data-module:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 1), rgba(52, 211, 153, 1));
  color: #000;
  transform: scale(1.15) translateZ(80px) rotate(-2deg) !important;
  box-shadow: 0 30px 60px rgba(16, 185, 129, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

.data-module:hover i {
  color: #000;
}

.mod-1 {
  top: 10%;
  right: 10%;
  transform: translateZ(40px);
  transition: transform 0.3s ease;
}

.mod-2 {
  bottom: 15%;
  left: 5%;
  transform: translateZ(60px);
  transition: transform 0.3s ease;
}

.mod-3 {
  top: 40%;
  left: -10%;
  transform: translateZ(30px);
  transition: transform 0.3s ease;
}

/* Energy Beams */
.energy-beam {
  position: absolute;
  background: linear-gradient(to bottom, transparent, rgba(52, 211, 153, 0.8), transparent);
  width: 2px;
  z-index: 1;
}

.beam-v {
  height: 100%;
  top: 0;
  left: 50%;
  opacity: 0.3;
}

.beam-h {
  width: 100%;
  top: 50%;
  left: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(52, 211, 153, 0.8), transparent);
  opacity: 0.3;
}

/* Label Styling */
.cyber-label {
  margin-top: 50px;
  text-align: center;
  transform: translateZ(100px);
}

.cyber-title {
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(52, 211, 153, 0.6);
  background: linear-gradient(to bottom, #fff, #888);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cyber-version {
  font-size: 14px;
  color: #34d399;
  font-weight: 800;
  letter-spacing: 8px;
  margin-top: 10px;
  opacity: 0.8;
}

/* Animations */
@keyframes corePulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes coreGlowPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.3);
  }
}

@keyframes rotateRing {
  from {
    transform: translate(-50%, -50%) rotateX(60deg) rotateZ(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotateX(60deg) rotateZ(360deg);
  }
}

@keyframes floatMod {

  0%,
  100% {
    transform: translateZ(40px) translateY(0);
  }

  50% {
    transform: translateZ(40px) translateY(-15px);
  }
}

@media(max-width: 1024px) {
  .cyber-core-container {
    height: 400px;
    transform: scale(0.8);
  }

  .cyber-title {
    font-size: 32px;
  }
}

@media(max-width: 768px) {
  .cyber-core-container {
    height: 350px;
    transform: scale(0.6);
    margin-top: 0;
  }

  .data-module {
    display: none;
  }
}

/* OLD PREVIEW REMOVAL */
.preview,
.preview-glow,
.preview-content,
.preview-icon,
.preview-center,
.preview-logo,
.preview-text,
.preview-version {
  display: none;
}

@media(max-width:768px) {
  .preview-icon {
    width: 40px;
    height: 40px;
    font-size: 20px
  }

  .preview-logo {
    font-size: 48px;
    margin-bottom: 12px
  }

  .preview-text {
    font-size: 22px
  }

  .preview-version {
    font-size: 14px
  }
}

section {
  border-top: 1px solid rgba(255, 255, 255, .1)
}

.section {
  padding: 56px 0
}

h2 {
  font-size: 26px;
  margin: 0;
  font-weight: 700;
  letter-spacing: -.01em;
  font-family: 'Tajawal', 'Cairo', 'Inter', 'Poppins', system-ui, sans-serif;
  line-height: 1.4
}

@media(min-width:640px) {
  h2 {
    font-size: 30px
  }
}

[dir="rtl"] h2 {
  font-family: 'Tajawal', 'Cairo', 'Inter', system-ui, sans-serif
}

[dir="ltr"] h2 {
  font-family: 'Inter', 'Poppins', 'Tajawal', 'Cairo', system-ui, sans-serif
}

h3 {
  font-weight: 600;
  letter-spacing: .01em;
  font-family: 'Tajawal', 'Cairo', 'Inter', 'Poppins', system-ui, sans-serif;
  line-height: 1.5
}

[dir="rtl"] h3 {
  font-family: 'Tajawal', 'Cairo', 'Inter', system-ui, sans-serif
}

[dir="ltr"] h3 {
  font-family: 'Inter', 'Poppins', 'Tajawal', 'Cairo', system-ui, sans-serif
}

.cards {
  display: grid;
  gap: 16px;
  margin-top: 22px
}

@media(min-width:640px) {
  .cards {
    grid-template-columns: 1fr 1fr
  }
}

@media(min-width:1024px) {
  .cards {
    grid-template-columns: 1fr 1fr 1fr
  }
}

.card {
  background: rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 20px;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  opacity: 0;
  transform: translateY(14px);
  position: relative;
  overflow: hidden
}

.card.show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s ease
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #34d399, transparent);
  transform: translateX(-100%);
  transition: transform .6s ease
}

.card:hover::before {
  transform: translateX(100%)
}

.card:hover {
  background: rgba(0, 0, 0, .65);
  border-color: rgba(52, 211, 153, .3);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3)
}

.card-title {
  color: #34d399;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px
}

.card-title i {
  font-size: 20px;
  width: 24px;
  text-align: center;
  opacity: .9;
  transition: all .3s ease
}

.card:hover .card-title i {
  opacity: 1;
  transform: scale(1.1)
}

.card-text {
  color: rgba(255, 255, 255, .75);
  margin-top: 6px;
  line-height: 1.6
}

/* Screenshots Section */
.screenshots-grid {
  display: grid;
  gap: 24px;
  margin-top: 32px
}

@media(min-width:640px) {
  .screenshots-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(min-width:1024px) {
  .screenshots-grid {
    grid-template-columns: 1fr 1fr 1fr
  }
}

.screenshot-item {
  background: rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  overflow: hidden;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden
}

.screenshot-item.show {
  opacity: 1 !important;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s ease;
  visibility: visible
}

.screenshot-item:hover {
  background: rgba(0, 0, 0, .6);
  border-color: rgba(52, 211, 153, .3);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, .4)
}

.screenshot-image {
  position: relative;
  width: 100%;
  padding-top: 62.5%;
  background: #1a1a1a;
  overflow: hidden;
  cursor: pointer !important;
  border-radius: 12px 12px 0 0;
  z-index: 1;
  pointer-events: auto !important
}

.screenshot-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .5s ease;
  display: block !important;
  border-radius: 12px 12px 0 0;
  background: #1a1a1a;
  opacity: 1 !important;
  min-height: 200px;
  max-width: 100%;
  max-height: 100%;
  z-index: 2;
  visibility: visible;
  cursor: pointer !important;
  pointer-events: auto !important
}

.screenshot-image img:not([src]),
.screenshot-image img[src=""] {
  display: none
}

@keyframes fadeInImg {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

/* Lightbox Styles */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .95);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 1;
  transition: opacity .3s ease;
  animation: lightboxFadeIn .3s ease
}

.lightbox-fade-out {
  opacity: 0
}

@keyframes lightboxFadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px
}

.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, .8);
  animation: lightboxZoomIn .3s ease
}

@keyframes lightboxZoomIn {
  from {
    transform: scale(.8);
    opacity: 0
  }

  to {
    transform: scale(1);
    opacity: 1
  }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, .7);
  border: none;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all .3s ease;
  z-index: 100000;
  backdrop-filter: blur(10px)
}

.lightbox-close:hover {
  background: rgba(239, 68, 68, .8);
  transform: rotate(90deg) scale(1.1)
}

.lightbox-close i {
  pointer-events: none
}

@media(max-width:640px) {
  .lightbox-content {
    padding: 20px
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 20px
  }

  .lightbox-img {
    max-height: 85vh
  }
}

.screenshot-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, .1), rgba(16, 185, 129, .05));
  z-index: 0;
  pointer-events: none
}

.screenshot-item:hover .screenshot-image img {
  transform: scale(1.05)
}

.screenshot-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 3;
  pointer-events: none
}

.screenshot-item:hover .screenshot-overlay {
  opacity: 1
}

.screenshot-overlay i {
  font-size: 48px;
  color: #34d399;
  transform: scale(0.8);
  transition: transform .3s ease;
  pointer-events: none
}

.screenshot-item:hover .screenshot-overlay i {
  transform: scale(1)
}

.screenshot-item h3 {
  color: #34d399;
  font-weight: 700;
  font-size: 18px;
  margin: 16px 16px 8px;
  display: flex;
  align-items: center;
  gap: 8px
}

.screenshot-item h3 i {
  font-size: 16px;
  opacity: .8
}

.screenshot-item p {
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  margin: 0 16px 16px;
  line-height: 1.5
}

.about p {
  color: rgba(255, 255, 255, .75);
  line-height: 1.9;
  margin: 14px 0 0
}

.list {
  display: grid;
  gap: 10px;
  margin-top: 16px
}

@media(min-width:768px) {
  .list {
    grid-template-columns: 1fr 1fr
  }
}

.li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: rgba(255, 255, 255, .85)
}

.bullet {
  margin-top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #10b981;
  display: inline-block
}

.shimmer {
  position: relative;
  overflow: hidden
}

.shimmer:after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .35), transparent);
  animation: shimmer 1.6s ease-in-out infinite
}

.feature-group {
  margin-top: 32px
}

.feature-group h3 {
  font-size: 20px;
  color: #34d399;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .1)
}

.feature-item {
  margin-top: 12px;
  padding-right: 20px;
  color: rgba(255, 255, 255, .85)
}

.feature-item strong {
  color: #34d399;
  display: block;
  margin-bottom: 4px
}

.feature-item ul {
  margin-top: 6px;
  padding-right: 20px;
  list-style: none
}

.feature-item ul li {
  color: rgba(255, 255, 255, .75);
  margin-top: 4px;
  position: relative
}

.feature-item ul li:before {
  content: "•";
  color: #10b981;
  font-weight: bold;
  position: absolute;
  right: -14px
}

.themes-grid {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr))
}

.theme-item {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .3);
  text-align: center;
  transition: .2s
}

.theme-item:hover {
  background: rgba(0, 0, 0, .5);
  border-color: rgba(255, 255, 255, .2)
}

.version-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(16, 185, 129, .2);
  color: #34d399;
  font-size: 12px;
  font-weight: 700;
  margin-right: 8px
}

footer {
  background: rgba(0, 0, 0, .7);
  border-top: 1px solid rgba(255, 255, 255, .1)
}

.foot {
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px
}

@keyframes gradx {
  0% {
    transform: translateX(0)
  }

  50% {
    transform: translateX(40%)
  }

  100% {
    transform: translateX(0)
  }
}

@keyframes spin {
  0% {
    transform: rotate(0)
  }

  100% {
    transform: rotate(360deg)
  }
}

@keyframes borderShift {
  0% {
    transform: translateX(-25%)
  }

  50% {
    transform: translateX(25%)
  }

  100% {
    transform: translateX(-25%)
  }
}

@keyframes floatslow {

  0%,
  100% {
    transform: translate(0, 0)
  }

  50% {
    transform: translate(8px, -12px)
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%)
  }

  100% {
    transform: translateX(100%)
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {

  .blob,
  .beam,
  .beam-2,
  .preview:before {
    animation: none
  }

  html {
    scroll-behavior: auto
  }
}

/* Smooth transition for language change */
* {
  transition: color .2s ease, background-color .2s ease
}

/* Enhanced link hover effects */
.links a,
.btn {
  cursor: pointer;
  user-select: none;
}

/* Ripple effect for buttons */
.btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
  transform: translate(-50%, -50%);
  transition: width .6s, height .6s;
  pointer-events: none;
  z-index: 0;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

/* Edit Account Modal Styles */
.edit-account-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  padding: 20px;
}

.edit-account-modal[style*="display: flex"] {
  opacity: 1;
  visibility: visible;
}

.edit-account-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  backdrop-filter: blur(10px);
  z-index: 1;
}

.edit-account-modal-content {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, .95);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 20px;
  max-width: 550px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .8), 0 0 60px rgba(16, 185, 129, .3), inset 0 1px 0 rgba(255, 255, 255, .1);
  animation: modalSlideIn .3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.edit-account-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.edit-account-modal-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #34d399;
  font-family: 'Tajawal', 'Cairo', 'Inter', 'Poppins', system-ui, sans-serif;
}

[dir="rtl"] .edit-account-modal-header h2 {
  font-family: 'Tajawal', 'Cairo', 'Inter', system-ui, sans-serif
}

[dir="ltr"] .edit-account-modal-header h2 {
  font-family: 'Inter', 'Poppins', 'Tajawal', 'Cairo', system-ui, sans-serif
}

.edit-account-modal-close {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .7);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all .3s ease;
  padding: 0;
}

.edit-account-modal-close:hover {
  background: rgba(239, 68, 68, .2);
  border-color: rgba(239, 68, 68, .4);
  color: #ef4444;
  transform: rotate(90deg) scale(1.1);
}

.edit-account-modal-body {
  padding: 28px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
}

.form-group label i {
  color: #34d399;
  width: 20px;
  text-align: center;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  transition: all .3s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #34d399;
  background: rgba(52, 211, 153, .05);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, .1), 0 4px 12px rgba(16, 185, 129, .15);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, .4);
}

.form-help {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  line-height: 1.5;
}

.error-message {
  background: rgba(239, 68, 68, .15);
  border: 1px solid rgba(239, 68, 68, .3);
  color: #ef4444;
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.error-message:before {
  content: "\f071";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.success-message {
  background: rgba(16, 185, 129, .15);
  border: 1px solid rgba(16, 185, 129, .3);
  color: #34d399;
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.success-message:before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.btn-secondary {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .8);
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s ease;
  font-size: 15px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .2);
  color: #fff;
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

@media(max-width:640px) {
  .edit-account-modal-content {
    max-width: 100%;
    border-radius: 16px;
  }

  .edit-account-modal-header {
    padding: 20px;
  }

  .edit-account-modal-body {
    padding: 20px;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .form-actions .btn {
    width: 100%;
  }
}

/* Premium star */
/* Removed premium star CSS styles */

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.slide-out-right {
  animation: slideOutRight 0.5s ease forwards;
}

.premium-carousel-v3 {
  width: 100%;
  height: 750px;
  position: relative;
  overflow: visible;
}

.v3-carousel-stage {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 2000px;
}

.v3-track {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.v3-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: auto;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  opacity: 0;
  pointer-events: none;
}

/* Modern 3D Card */
.v3-card {
  width: 100%;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(52, 211, 153, 0.3);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
  transform-origin: center center;
}

.v3-card img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: transform 0.5s ease;
}

.v3-reflection {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
  z-index: 2;
}

.v3-content {
  margin-top: 40px;
  text-align: center;
  transform: translateZ(50px);
  opacity: 0;
  transition: all 0.5s ease;
}

.v3-content h3 {
  font-size: 32px;
  color: #34d399;
  margin: 0 0 12px;
  text-shadow: 0 4px 20px rgba(16, 185, 129, 0.6);
}

.v3-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Active / Contextual Slide States (3D Logic) */
.v3-slide.v3-active {
  opacity: 1;
  transform: translate(-50%, -50%) translateZ(200px);
  pointer-events: auto;
}

.v3-slide.v3-active .v3-content {
  opacity: 1;
  transform: translateZ(100px);
}

.v3-slide.v3-prev {
  opacity: 0.6;
  transform: translate(-100%, -50%) rotateY(45deg) scale(0.8);
  pointer-events: auto;
}

.v3-slide.v3-next {
  opacity: 0.6;
  transform: translate(0%, -50%) rotateY(-45deg) scale(0.8);
  pointer-events: auto;
}

.v3-slide.v3-far-prev {
  opacity: 0.2;
  transform: translate(-140%, -50%) rotateY(60deg) scale(0.6);
}

.v3-slide.v3-far-next {
  opacity: 0.2;
  transform: translate(40%, -50%) rotateY(-60deg) scale(0.6);
}

/* Controls UI */
.v3-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1000px;
  /* Separates arrows to the edges */
  width: calc(100% + 100px);
  max-width: 1200px;
  pointer-events: none;
}

.v3-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  border: 2px solid rgba(52, 211, 153, 0.4);
  color: #34d399;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(15px);
  pointer-events: auto;
}

.v3-btn:hover {
  background: #10b981;
  color: #000;
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.6);
}

.v3-dots {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.v3-dot {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.4s ease;
}

.v3-dot.active {
  width: 40px;
  background: #10b981;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

@media (max-width: 768px) {
  .v3-slide {
    width: 90vw;
  }

  .premium-carousel-v3 {
    height: 600px;
  }

  .v3-content h3 {
    font-size: 24px;
  }

  .v3-content p {
    font-size: 14px;
  }

  .v3-btn {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .v3-nav {
    width: 95%;
    gap: 10px;
    justify-content: space-between;
    position: relative;
    bottom: 80px;
  }
}

/* ===== 3D App Mockup Styles ===== */
.app-mockup-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  perspective: 1500px;
  padding: 40px 20px;
  margin-left: 50px;
}

/* Device Frame with 3D Effect */
.device-frame {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(10, 10, 10, 0.98));
  border-radius: 20px;
  padding: 8px;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.7),
    0 0 100px rgba(16, 185, 129, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5);
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.device-frame:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

/* Screen Glow */
.screen-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.3), transparent 70%);
  border-radius: 30px;
  filter: blur(40px);
  opacity: 0.6;
  z-index: -1;
}

/* App Screenshot */
.app-screenshot {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.app-screenshot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

/* Frame Border */
.frame-border {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(16, 185, 129, 0.3);
  border-radius: 20px;
  pointer-events: none;
}

/* macOS Style Dots - Hidden */
.frame-dots {
  display: none;
}

/* Floating Info Cards */
.info-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  border-radius: 16px;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(16, 185, 129, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 5;
}

.info-card:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow:
    0 15px 50px rgba(0, 0, 0, 0.6),
    0 0 50px rgba(16, 185, 129, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.info-card i {
  font-size: 24px;
  color: #10b981;
  filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.5));
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.info-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* Card Positions */
.info-card-1 {
  top: 60px;
  left: -40px;
}

.info-card-2 {
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
}

.info-card-2:hover {
  transform: translateY(-55%) scale(1.05);
}

.info-card-3 {
  bottom: 80px;
  left: -30px;
}

/* Bottom Label */
.mockup-label {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
}

.mockup-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #fff, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
  margin-bottom: 4px;
}

.mockup-version {
  font-size: 13px;
  color: #10b981;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .info-card-1 {
    left: -20px;
  }

  .info-card-2 {
    right: -30px;
  }

  .info-card-3 {
    left: -15px;
  }
}

@media (max-width: 768px) {
  .app-mockup-container {
    max-width: 100%;
    height: auto;
    padding: 20px 10px 80px;
  }

  .device-frame {
    max-width: 100%;
    transform: rotateY(0deg) rotateX(0deg);
  }

  .device-frame:hover {
    transform: scale(1.01);
  }

  .info-card {
    padding: 10px 14px;
    gap: 8px;
  }

  .info-card i {
    font-size: 20px;
  }

  .info-title {
    font-size: 12px;
  }

  .info-desc {
    font-size: 10px;
  }

  .info-card-1 {
    top: auto;
    bottom: -70px;
    left: 10px;
  }

  .info-card-2 {
    top: auto;
    bottom: -70px;
    right: 10px;
    left: auto;
    transform: translateY(0);
  }

  .info-card-2:hover {
    transform: translateY(-5px) scale(1.05);
  }

  .info-card-3 {
    display: none;
  }

  .mockup-label {
    bottom: -130px;
  }

  .mockup-title {
    font-size: 18px;
  }

  .mockup-version {
    font-size: 11px;
  }
}

/* Feature Modals */
.feature-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 20px;
}

.feature-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.feature-modal-content {
  background: #111;
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  padding: 30px;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.feature-modal-backdrop.active .feature-modal-content {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: rgba(255, 255, 255, 0.6);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: rotate(90deg);
}

/* RTL Support for close button */
[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 15px;
}

.modal-header {
  text-align: center;
  margin-bottom: 25px;
  position: relative;
}

.modal-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-icon-wrapper i {
  font-size: 32px;
  background: -webkit-linear-gradient(45deg, #eee, #999);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.modal-header h3 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
  background: linear-gradient(to right, #fff, #aaa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-description {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.modal-features-list {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-feat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.modal-feat-item:last-child {
  border-bottom: none;
}

.modal-feat-item i {
  color: #34d399;
  /* Default success color */
  font-size: 16px;
}

.modal-action-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #333, #111);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

/* THEMES */

/* Speed Theme */
.feature-modal-content.speed-theme {
  border-color: rgba(0, 242, 255, 0.3);
  box-shadow: 0 40px 80px rgba(0, 242, 255, 0.1);
}

.speed-theme .modal-icon-wrapper {
  background: rgba(0, 242, 255, 0.1);
  border-color: rgba(0, 242, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 242, 255, 0.2);
}

.speed-theme .modal-icon-wrapper i {
  background: -webkit-linear-gradient(45deg, #00f2ff, #0099ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(0, 242, 255, 0.4));
}

.speed-theme .modal-feat-item i {
  color: #00f2ff;
}

.speed-theme .modal-action-btn:hover {
  background: linear-gradient(135deg, #00f2ff, #0099ff);
  border-color: transparent;
}

/* Secure Theme */
.feature-modal-content.secure-theme {
  border-color: rgba(52, 211, 153, 0.3);
  box-shadow: 0 40px 80px rgba(52, 211, 153, 0.1);
}

.secure-theme .modal-icon-wrapper {
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.3);
  box-shadow: 0 0 30px rgba(52, 211, 153, 0.2);
}

.secure-theme .modal-icon-wrapper i {
  background: -webkit-linear-gradient(45deg, #34d399, #10b981);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(52, 211, 153, 0.4));
}

.secure-theme .modal-feat-item i {
  color: #34d399;
}

.secure-theme .modal-action-btn:hover {
  background: linear-gradient(135deg, #34d399, #10b981);
  border-color: transparent;
}

/* Repair Theme */
.feature-modal-content.repair-theme {
  border-color: rgba(244, 63, 94, 0.3);
  box-shadow: 0 40px 80px rgba(244, 63, 94, 0.1);
}

.repair-theme .modal-icon-wrapper {
  background: rgba(244, 63, 94, 0.1);
  border-color: rgba(244, 63, 94, 0.3);
  box-shadow: 0 0 30px rgba(244, 63, 94, 0.2);
}

.repair-theme .modal-icon-wrapper i {
  background: -webkit-linear-gradient(45deg, #f43f5e, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(244, 63, 94, 0.4));
}

.repair-theme .modal-feat-item i {
  color: #f43f5e;
}

.repair-theme .modal-action-btn:hover {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  border-color: transparent;
}

/* Modal Language Support */
.feature-modal-content[dir="rtl"] {
  text-align: right;
  direction: rtl;
}

.feature-modal-content[dir="ltr"] {
  text-align: left;
  direction: ltr;
}

.feature-modal-content[dir="rtl"] .modal-feat-item {
  flex-direction: row;
}

.feature-modal-content[dir="ltr"] .modal-feat-item {
  flex-direction: row;
}

.feature-modal-content[dir="rtl"] .modal-action-btn {
  font-family: 'Cairo', sans-serif;
}