:root {
  --bg: #0b0f17;
  --card: #0f1624;
  --text: #e6edf7;
  --muted: #a8b1c6;
  --accent: #6a8cff;
  --accent2: #2ee59d;
}

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

body {
  font-family: "Vazirmatn", sans-serif;
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  position: sticky;
  top: 0;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.logo {
  font-weight: 700;
  letter-spacing: 1px;
}

.hamburger {
  width: 34px;
  height: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  border-radius: 999px;
  background: var(--text);
}

.side-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 280px;
  height: 100vh;
  background: rgba(15, 22, 36, 0.95);
  box-shadow: -10px 0 30px rgba(0,0,0,0.35);
  transition: right 0.25s ease;
  z-index: 20;
}

.side-menu.open {
  right: 0;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.menu-title {
  font-weight: 700;
}

.close-btn {
  font-size: 28px;
  cursor: pointer;
}

.side-menu ul {
  list-style: none;
  padding: 20px;
}

.side-menu li {
  margin-bottom: 16px;
}

.side-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
}

.side-menu a:hover {
  color: var(--accent);
}

main {
  padding: 30px 20px 60px;
}

.hero {
  text-align: center;
  padding: 40px 0;
}

.hero h1 {
  font-size: 34px;
  margin-bottom: 12px;
}

.hero p {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 18px;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.section {
  margin-top: 40px;
}

.section h2 {
  font-size: 22px;
  margin-bottom: 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.card {
  display: block;
  padding: 18px;
  border-radius: 18px;
  background: var(--card);
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(106, 140, 255, 0.45);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 28px;
  }
}
