/* Modern Dark Theme with Purple Accents */
:root {
  --primary: #9333EA;
  --primary-dark: #6D28D9;
  --secondary: #4C1D95;
  --dark-bg: #0F172A;
  --dark-surface: #1E293B;
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --accent: #7C3AED;
  --success: #10B981;
  --warning: #F59E0B;
}

body {
  background-color: var(--dark-bg);
  color: var(--text-primary);
  font-family: 'Cairo', sans-serif;
  margin: 0;
  padding: 0;
  direction: rtl;
}

/* Modern Glass Header */
.header {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-link:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(79, 70, 229, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 4rem;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
  animation: fadeInDown 1s ease-in-out forwards;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-img {
  max-width: 300px;
  margin-bottom: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.hero-img:hover {
  transform: scale(1.05);
}

/* About Us Section */
.about-us {
  padding: 6rem 2rem;
  background: var(--dark-surface);
  text-align: center;
}

.about-us h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-us p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Features Section */
.features {
  padding: 6rem 2rem;
  background: var(--dark-bg);
  text-align: center;
}

.features h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.features-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.feature-card {
  background: var(--dark-surface);
  border-radius: 12px;
  padding: 2rem;
  width: 300px;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card p {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Contact Us Section */
.contact-us {
  padding: 6rem 2rem;
  background: var(--dark-surface);
  text-align: center;
}

.contact-us h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-link {
  background: var(--dark-surface);
  color: var(--text-primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary);
  transform: rotate(360deg);
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: var(--dark-surface);
  color: var(--text-secondary);
}

/* Animations */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .features-grid {
    flex-direction: column;
    align-items: center;
  }
}

/* Visitor Counter */
.visitor-counter {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 1rem 2rem;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideIn 0.5s ease;
}

.visitor-counter:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.4);
}

.visitor-counter i {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Modern Button Styling */
.download-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.download-btn:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(147, 51, 234, 0.5);
    transition: all 0.5s ease;
    transform: translate(-50%, -50%) rotate(45deg);
    z-index: -1;
    opacity: 0;
}

.download-btn:hover:before {
    opacity: 1;
}

.download-btn:hover {
    color: var(--dark-bg);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(147, 51, 234, 0.3);
}

.download-btn:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(147, 51, 234, 0.2);
}

