body {
  font-family: 'Vazirmatn', 'IRANSans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 0;
  direction: rtl;
  text-align: right;
  background-color: #f8f9fa;
  color: #343a40;
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  max-width: 960px;
  margin: 20px auto;
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

header {
  background-color: #007bff;
  color: #ffffff;
  padding: 20px 0;
  text-align: center;
  margin-bottom: 20px;
}

header h1 {
  color: #ffffff;
  margin: 0;
  font-size: 2.8em;
}

header p {
  color: #e9ecef;
  margin-top: 10px;
  font-size: 1.2em;
}

/* Style for the date information added by script.js */
.current-date-info {
  color: #cce5ff;
  font-size: 1em;
  margin-top: 15px;
  opacity: 0.9;
}

h1 {
  color: #007bff;
  margin-bottom: 1em;
  font-size: 2.5em;
  font-weight: 600;
}

h2 {
  color: #0056b3;
  margin-top: 1.5em;
  margin-bottom: 0.8em;
  font-size: 2em;
  font-weight: 500;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 0.5em;
}

h3 {
  color: #007bff;
  margin-top: 1.2em;
  margin-bottom: 0.6em;
  font-size: 1.5em;
  font-weight: 600;
}

p {
  margin-bottom: 1em;
  font-size: 1.1em;
}

section {
  margin-bottom: 30px;
}

ul {
  list-style-type: none;
  padding: 0;
  margin-bottom: 1em;
}

ul li {
  position: relative;
  padding-right: 25px;
  margin-bottom: 0.8em;
  line-height: 1.5;
}

ul li::before {
  content: '▪';
  color: #007bff;
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  line-height: 1.5;
}

code {
  background-color: #e9ecef;
  padding: 3px 6px;
  border-radius: 4px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
  font-size: 0.9em;
  color: #c82333;
  white-space: nowrap;
}

strong {
  font-weight: 700;
  color: #343a40;
}

.feature-subsection {
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px dashed #ced4da;
}

.feature-subsection:first-of-type {
  border-top: none;
  padding-top: 0;
}

@media (max-width: 768px) {
  main {
    margin: 10px auto;
    padding: 15px;
  }

  header h1 {
    font-size: 2.2em;
  }

  header p {
    font-size: 1em;
  }

  .current-date-info {
    font-size: 0.9em;
    margin-top: 10px;
  }

  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.7em;
  }

  h3 {
    font-size: 1.3em;
  }

  p {
    font-size: 1em;
  }

  ul li {
    padding-right: 20px;
  }

  ul li::before {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  main {
    margin: 5px auto;
    padding: 10px;
  }

  header {
    padding: 15px 0;
  }

  header h1 {
    font-size: 1.8em;
  }

  header p {
    font-size: 0.9em;
  }

  .current-date-info {
    font-size: 0.8em;
    margin-top: 8px;
  }

  h1 {
    font-size: 1.8em;
  }

  h2 {
    font-size: 1.5em;
  }

  h3 {
    font-size: 1.2em;
  }

  p {
    font-size: 0.95em;
  }

  ul li {
    padding-right: 18px;
  }
}