@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;600;700&display=swap');

:root {
  --wp-blue: #21759b;
  --wp-orange: #d54e21;
  --gray-50: #fafafa;
  --gray-100: #f4f5f7;
  --gray-300: #e5e7eb;
  --gray-700: #374151;
  --gray-900: #111827;
  --radius: 14px;
}

body {
  font-family: 'Vazirmatn', sans-serif;
  background-color: var(--gray-50);
  color: var(--gray-900);
  line-height: 1.9;
  margin: 0;
  direction: rtl;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  z-index: 100;
}

.logo {
  font-weight: 700;
  color: var(--wp-blue);
  font-size: 1.3rem;
  text-decoration: none;
}

nav a {
  text-decoration: none;
  color: var(--gray-700);
  margin: 0 15px;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--wp-blue);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 100px 20px 60px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.hero h1 {
  font-size: 2.8rem;
  color: var(--wp-blue);
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--gray-700);
  margin-bottom: 40px;
}

.hero a {
  background: var(--wp-blue);
  color: #fff;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  transition: background 0.3s;
}

.hero a:hover {
  background: #155d7a;
}

/* Container */
.container {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 60px 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

h2 {
  font-size: 1.4rem;
  color: var(--wp-orange);
  margin-top: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
}

h2::before {
  content: "⚡";
}

ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

li {
  background: var(--gray-100);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 12px;
  font-size: 1.05rem;
  transition: background 0.3s;
}

li:hover {
  background: #e9f5fb;
}

.alert, .highlight {
  padding: 18px 22px;
  border-radius: var(--radius);
  margin-top: 25px;
}

.alert {
  background: #fff1ef;
  border-right: 5px solid var(--wp-orange);
}

.highlight {
  background: #e8fff3;
  border-right: 5px solid #2ecc71;
}

.cta {
  text-align: center;
  margin-top: 60px;
}

.cta a {
  background: var(--wp-blue);
  color: white;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  transition: background 0.3s;
}

.cta a:hover {
  background: #155d7a;
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 20px;
  margin-top: 80px;
  background: #fff;
  border-top: 1px solid var(--gray-300);
  color: var(--gray-700);
}

footer a {
  color: var(--wp-blue);
  text-decoration: none;
  margin: 0 10px;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  header {
    flex-direction: column;
    padding: 20px;
  }
  nav {
    margin-top: 10px;
  }
  .hero {
    padding: 60px 20px 40px;
  }
  .hero h1 {
    font-size: 2rem;
  }
}
