:root {
  --primary: #FFD700; /* Gold color */
  --primary-dark: #D4AF37;
  --secondary: #FF6B6B;
  --accent: #FFA500; /* Orange accent */
  --light: #1A1A1A; /* Dark background but lighter */
  --dark: #FFFFFF; /* White text */
  --gray: #CCCCCC; /* Light gray */
  --dark-gray: #2A2A2A; /* Slightly lighter than background */
  --gradient: linear-gradient(135deg, var(--primary), var(--primary-dark));
  --gradient-accent: linear-gradient(135deg, var(--accent), #FF8C00);
  --shadow: 0 15px 40px rgba(0,0,0,0.3);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  --card-bg: #2A2A2A;
  --header-bg: rgba(26, 26, 26, 0.95);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}

.arabic {
  font-family: 'Tajawal', sans-serif;
  direction: rtl;
}

/* Container */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow);
  border: none;
  cursor: pointer;
  font-size: 16px;
  position: relative;
  overflow: hidden;
}

.btn i {
  margin-right: 10px;
}

.btn-primary {
  background: var(--gradient);
  color: #333;
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(255, 215, 0, 0.4);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-secondary {
  background: var(--dark-gray);
  color: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: var(--card-bg);
  transform: translateY(-5px);
  border-color: var(--primary);
}

.btn-accent {
  background: var(--gradient-accent);
  color: #333;
}

.btn-accent:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(255, 165, 0, 0.4);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.scrolled {
  padding: 15px 0;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: var(--gray);
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--dark);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 70% 30%, rgba(255, 215, 0, 0.15) 0%, transparent 50%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?ixlib=rb-4.0.3&auto=format&fit=crop&w=1260&q=80') no-repeat center center;
  background-size: cover;
  opacity: 0.03;
  z-index: -1;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 30px;
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateY(-15deg);
  transition: var(--transition);
  animation: float 6s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-image:hover img {
  transform: perspective(1000px) rotateY(-5deg);
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 20px;
}

.stats {
  display: flex;
  margin-top: 60px;
  gap: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 16px;
  color: var(--gray);
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: var(--light);
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark);
}

.section-header p {
  font-size: 18px;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 215, 0, 0.3);
}

.feature-card:hover::before {
  opacity: 0.1;
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 30px;
  color: #333;
  background: var(--gradient);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray);
  font-size: 16px;
}

/* App Showcase */
.app-showcase {
  padding: 100px 0;
  background: var(--light);
  position: relative;
  background: radial-gradient(circle at 30% 70%, rgba(255, 165, 0, 0.1) 0%, transparent 50%);
}

.showcase-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.showcase-text {
  flex: 1;
  max-width: 500px;
}

.showcase-text h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
}

.showcase-text p {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 30px;
}

.showcase-features {
  margin-bottom: 40px;
}

.showcase-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.showcase-feature i {
  color: var(--accent);
  font-size: 20px;
  margin-right: 15px;
  margin-top: 3px;
}

.showcase-feature h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--dark);
}

.showcase-feature p {
  font-size: 15px;
  margin-bottom: 0;
}

.showcase-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.showcase-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 30px;
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateY(15deg);
  transition: var(--transition);
  animation: float 6s ease-in-out infinite 2s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-image:hover img {
  transform: perspective(1000px) rotateY(5deg);
}

/* Testimonials */
.testimonials {
  padding: 100px 0;
  background: var(--light);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.testimonials-container {
  position: relative;
  z-index: 1;
}

.testimonial-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 30px;
  padding: 20px 0;
  margin: 0 -30px;
  padding: 0 30px;
}

.testimonial-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  min-width: 350px;
  scroll-snap-align: start;
  background: var(--card-bg);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 215, 0, 0.3);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 2px solid var(--primary);
}

.testimonial-user h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.testimonial-user p {
  font-size: 14px;
  color: var(--gray);
}

.testimonial-rating {
  color: #FFC107;
  margin-bottom: 15px;
}

.testimonial-content {
  color: var(--gray);
  font-style: italic;
}

/* CTA Section */
.cta {
  padding: 120px 0;
  background: var(--gradient);
  color: #333;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center;
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.cta-text {
  flex: 1;
  text-align: left;
}

.cta-image {
  flex: 1;
}

.cta-image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
  animation: pulse 4s ease-in-out infinite;
}

.cta h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Footer */
footer {
  background: #0A0A0A;
  color: white;
  padding: 80px 0 30px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
  z-index: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.footer-col h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
}

.footer-col p {
  color: #B8B8C5;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #B8B8C5;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #B8B8C5;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px) perspective(1000px) rotateY(-15deg); }
  50% { transform: translateY(-20px) perspective(1000px) rotateY(-15deg); }
  100% { transform: translateY(0px) perspective(1000px) rotateY(-15deg); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Glow Effects */
.glow {
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content,
  .showcase-container,
  .cta-content {
    flex-direction: column;
  }
  
  .hero-text,
  .showcase-text,
  .cta-text {
    text-align: center;
    max-width: 100%;
    margin-bottom: 50px;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .stats {
    justify-content: center;
  }
  
  .hero-image img,
  .showcase-image img,
  .cta-image img {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--header-bg);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links a {
    margin: 15px 0;
  }
  
  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }
  
  .hero h1 {
    font-size: 38px;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
  }
  
  .stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .section-header h2 {
    font-size: 32px;
  }
}

