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

body {
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  background: linear-gradient(180deg, #fdfdfd 0%, #e8edf2 100%);
  color: #2c3e50;
  line-height: 1.8;
  overflow-x: hidden;
  padding-top: 70px;
}

/* Top Navigation */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
  padding: 15px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.nav-brand:hover {
  opacity: 0.8;
}

.nav-brand .logo-small {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

.brand-name {
  font-weight: 700;
  font-size: 18px;
  color: #2c3e50;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #667eea;
}

.btn-small {
  padding: 8px 20px;
  font-size: 14px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: #667eea;
  padding: 8px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.lang-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.lang-btn .flag {
  font-size: 18px;
}

/* Header */
header {
  padding: 80px 20px 60px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 20px;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  margin-bottom: 25px;
}

h1 {
  font-size: 3em;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.3em;
  color: #7f8c8d;
  font-weight: 600;
  margin-bottom: 20px;
}

.description {
  font-size: 1.1em;
  color: #5a6c7d;
  max-width: 700px;
  margin: 0 auto 35px;
  line-height: 2;
  font-weight: 300;
}

/* Buttons */
.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
}

.btn-secondary:hover {
  background: #667eea;
  color: white;
  transform: translateY(-3px);
}

.btn-large {
  padding: 18px 45px;
  font-size: 18px;
}

/* Sections */
section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  color: #2c3e50;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2em;
  color: #7f8c8d;
  margin-bottom: 50px;
  font-weight: 300;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature {
  background: white;
  border-radius: 15px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
  padding: 35px;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
  border-color: #667eea;
}

.feature-icon {
  font-size: 50px;
  margin-bottom: 20px;
  display: block;
}

.feature h3 {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #2c3e50;
  font-weight: 700;
}

.feature p {
  color: #5a6c7d;
  line-height: 1.9;
  font-size: 15px;
}

/* Pricing Preview */
.pricing-preview {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  margin: 40px auto;
  max-width: 420px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.pricing-card {
  text-align: center;
}

.price {
  font-size: 3em;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.price span {
  font-size: 0.4em;
  font-weight: 600;
  color: #7f8c8d;
}

.benefits {
  list-style: none;
  margin: 25px 0;
  text-align: right;
}

.benefits li {
  padding: 8px 0;
  color: #2c3e50;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
}

.benefits li:last-child {
  border-bottom: none;
}

/* CTA Section */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 40px;
  border-radius: 20px;
  margin: 60px auto;
}

.cta-section h2 {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: white;
}

.cta-section p {
  font-size: 1.2em;
  margin-bottom: 35px;
  opacity: 0.95;
}

.cta-section .btn-primary {
  background: white;
  color: #667eea;
}

.cta-section .btn-primary:hover {
  background: #f8f9fa;
}

/* Footer */
footer {
  background: #2c3e50;
  color: white;
  padding: 40px 20px 20px;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 30px;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-small {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}

.footer-brand p {
  font-weight: 600;
  font-size: 18px;
}

.footer-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #667eea;
}

.copyright {
  font-size: 14px;
  opacity: 0.7;
  margin-top: 20px;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
}

.fade-in:nth-child(2) { animation-delay: 0.1s; }
.fade-in:nth-child(3) { animation-delay: 0.2s; }
.fade-in:nth-child(4) { animation-delay: 0.3s; }

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

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 15px;
  }
  
  .brand-name {
    display: none;
  }
  
  .nav-actions {
    gap: 10px;
  }
  
  .lang-btn span:not(.flag) {
    display: none;
  }
  
  h1 {
    font-size: 2.2em;
  }
  
  .section-title {
    font-size: 2em;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}
