:root {
  --primary-color: #0d1b2a;
  /* Deep Navy */
  --secondary-color: #1b263b;
  /* Dark Blue */
  --accent-cyan: #00e5ff;
  /* Vibrant Cyan */
  --accent-orange: #ff6d00;
  /* Vibrant Orange */
  --text-light: #e0e1dd;
  --text-muted: #778da9;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

body {
  background-color: var(--primary-color);
  background-image:
    radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 1) 0, transparent 50%),
    radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 1) 0, transparent 50%),
    radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 1) 0, transparent 50%);
  font-family: 'Rubik', 'Cairo', sans-serif;
  /* Cairo for Arabic, Rubik for shared */
  color: var(--text-light);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Glassmorphism Classes */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 20px;
}

.glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border-radius: 24px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 229, 255, 0.2);
  /* Cyan glow */
  border-color: var(--accent-cyan);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 100px 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(to right, #fff, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* 3D Image Container */
.image-3d-container {
  perspective: 1500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-3d,
.image-3d1 {
  transform-style: preserve-3d;
  transition: transform 0.5s ease-out;
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.image-3d img,
.image-3d1 img {
  width: 100%;
  max-width: 500px;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transform: rotateY(-10deg) rotateX(5deg);
}

.image-3d:hover img,
.image-3d1:hover img {
  transform: rotateY(0) rotateX(0) scale(1.05);
  box-shadow: 0 30px 80px rgba(0, 229, 255, 0.3);
}

/* Floating Elements Animation */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.floating-anim {
  animation: float 6s ease-in-out infinite;
}

/* Buttons */
.btn-modern {
  background: linear-gradient(45deg, var(--accent-orange), #ff9100);
  border: none;
  border-radius: 50px;
  padding: 15px 40px;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 10px 20px rgba(255, 109, 0, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 109, 0, 0.5);
  color: white;
}

.btn-outline-modern {
  background: transparent;
  border: 2px solid var(--accent-cyan);
  border-radius: 50px;
  padding: 12px 35px;
  color: var(--accent-cyan);
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-outline-modern:hover {
  background: var(--accent-cyan);
  color: var(--primary-color);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 50px 0;
}

.feature-card {
  padding: 30px;
  text-align: center;
}

.feature-icon {
  font-size: 3rem;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(10deg);
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: white;
}

.feature-text {
  color: var(--text-muted);
}

/* Pricing Cards */
.pricing-card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.price-tag {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent-cyan);
}

/* Floating Action Buttons */
.floating-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

[dir="rtl"] .floating-container {
  right: auto;
  left: 30px;
}

.floating-btn {
  width: 65px;
  height: 65px;
  background: rgba(37, 211, 102, 0.9);
  /* WhatsApp Green */
  backdrop-filter: blur(5px);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.floating-btn:hover {
  transform: scale(1.15) rotate(10deg);
  background: #128c7e;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* Language Switcher */
.lang-switch {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 1000;
}

[dir="rtl"] .lang-switch {
  left: auto;
  right: 30px;
}

.btn-lang {
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 25px;
  border-radius: 30px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-lang:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    text-align: center;
  }

  .hero-subtitle {
    text-align: center;
  }

  .hero-section {
    padding-top: 120px;
    flex-direction: column;
    text-align: center;
  }

  .image-3d-container {
    margin-top: 50px;
  }
}