:root {
  --main: #7928ca;
  --accent: #ff006a;
  --text: #222;
  --bg: #f5f5f5;
  --white: #fff;
}

body {
  font-family: 'Cairo', sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  direction: rtl;
}

.navbar {
  background-color: var(--main);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--main), var(--accent));
  color: white;
}

.hero-content {
  max-width: 500px;
}

.hero h1 {
  font-size: 2.5rem;
}

.hero span {
  color: yellow;
}

.store-buttons .btn {
  background: white;
  color: var(--main);
  padding: 0.7rem 1.3rem;
  margin: 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.hero-img img {
  max-width: 300px;
  margin-top: 1rem;
}

.features {
  text-align: center;
  padding: 3rem 2rem;
  background: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature {
  background: #fdfdfd;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.top-videos {
  padding: 3rem 2rem;
  text-align: center;
}

.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.video-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 1rem;
}

.video-card video {
  width: 100%;
  border-radius: 10px;
}

footer {
  background: var(--main);
  color: white;
  text-align: center;
  padding: 1rem;
}
