:root {
  --primary-color: #0F172A; /* Deep Navy */
  --secondary-color: #D4AF37; /* Gold */
  --accent-color: #10B981; /* Emerald Green */
  --text-light: #F8FAFC;
  --text-dark: #1E293B;
  --bg-light: #F1F5F9;
  --bg-card: rgba(255, 255, 255, 0.7);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Tajawal', sans-serif;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  direction: rtl;
  overflow-x: hidden;
}

/* Glassmorphism Utilities */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
nav.scrolled .nav-links a { color: var(--text-light); }
nav.scrolled .logo { color: var(--secondary-color); }

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img { height: 40px; }

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--secondary-color); }

.cta-btn {
  background: var(--secondary-color);
  color: var(--primary-color) !important;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 5% 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, rgba(255,255,255,0) 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  position: relative;
  z-index: 10;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero h1 span { color: var(--secondary-color); }

.hero p {
  font-size: 1.2rem;
  color: #475569;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #1e293b;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
}

/* Features */
.features {
  padding: 5rem 5%;
  background: white;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
}

.feature-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Pricing */
.pricing {
  padding: 5rem 5%;
  background: var(--bg-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.price-card {
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  transition: transform 0.3s;
}

.price-card:hover { transform: translateY(-10px); }

.price-card.popular {
  border: 2px solid var(--secondary-color);
  transform: scale(1.05);
}
.price-card.popular:hover { transform: scale(1.05) translateY(-10px); }

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
}

.price-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.price span { font-size: 1rem; color: #64748b; }

.price-features {
  list-style: none;
  margin: 2rem 0;
  text-align: right;
}

.price-features li {
  margin-bottom: 1rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-features li::before {
  content: '✓';
  color: var(--accent-color);
  font-weight: bold;
}

/* Footer */
footer {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 3rem 5%;
  text-align: center;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 2.5rem; }
  .price-card.popular { transform: none; }
  .price-card.popular:hover { transform: translateY(-10px); }
}
