* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Tahoma', sans-serif;
  direction: rtl;
  background: #fafafa;
  color: #222;
  line-height: 1.5;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* هدر */
header {
  background: #0a74da;
  padding: 15px 0;
  color: white;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 2px;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffd700;
}

/* هرو */
.hero {
  background: #e3f2fd;
  padding: 80px 20px 60px;
  text-align: center;
  color: #0a74da;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  background: #0a74da;
  color: white;
  padding: 14px 45px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  transition: background 0.3s;
  border: none;
}

.btn:hover {
  background: #064a9c;
}

/* ویژگی‌ها */
.features {
  padding: 50px 20px;
  text-align: center;
}

.features h3 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #0a74da;
}

.features ul {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
}

.features ul li {
  font-size: 1.1rem;
  margin-bottom: 15px;
  padding-left: 18px;
  position: relative;
  color: #444;
}

.features ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #0a74da;
  font-weight: bold;
}

/* بخش CDN و دامنه‌ها */
.cdn-section, .domains-section {
  background: white;
  padding: 50px 20px;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(10, 116, 218, 0.15);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.cdn-section h3,
.domains-section h3 {
  color: #0a74da;
  margin-bottom: 20px;
  font-size: 1.9rem;
}

.cdn-section p,
.domains-section p {
  font-size: 1.1rem;
  color: #555;
}

/* فرم ثبت‌نام */
.signup {
  padding: 60px 20px;
  background: #f0f4ff;
  text-align: center;
}

.signup h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #0a74da;
}

.signup form {
  display: inline-flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.signup input[type="email"] {
  padding: 14px 18px;
  border-radius: 30px;
  border: 2px solid #0a74da;
  width: 270px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.signup input[type="email"]:focus {
  border-color: #064a9c;
}

.signup button {
  background: #0a74da;
  border: none;
  padding: 14px 40px;
  border-radius: 30px;
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
}

.signup button:hover {
  background: #064a9c;
}

/* فوتر */
footer {
  background: #0a74da;
  color: white;
  text-align: center;
  padding: 20px 10px;
  font-size: 0.9rem;
  margin-top: 50px;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  header .container {
      flex-direction: column;
      gap: 12px;
  }

  nav a {
      margin-left: 0;
      margin-right: 12px;
  }

  .features ul {
      padding: 0 10px;
  }

  .signup form {
      flex-direction: column;
  }

  .signup input[type="email"] {
      width: 100%;
      max-width: 350px;
  }

  .signup button {
      width: 100%;
      max-width: 350px;
  }
}
