:root {
  --primary-color: #0d47a1;
  --secondary-color: #1976d2;
  --accent-color: #ffb300;
  --text-color: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'IRANSans', sans-serif;
}

body {
  background: var(--primary-color);
  color: var(--text-color);
  line-height: 1.6;
}

header {
  backdrop-filter: blur(5px);
  position: fixed;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  padding: 15px 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  font-size: 1.7rem;
  font-weight: bold;
  color: var(--accent-color);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--accent-color);
}

.btn {
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.btn-outline {
  border: 2px solid var(--text-color);
  color: var(--text-color);
}

.btn-outline:hover {
  background: var(--accent-color);
  color: var(--primary-color);
}

.hero {
  padding: 120px 0;
  text-align: center;
  color: var(--text-color);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: var(--accent-color);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.features,
.datacenters,
.map-section {
  padding: 30px 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.features h2,
.datacenters h2,
.map-section h2 {
  text-align: center;
  color: var(--accent-color);
  margin-bottom: 30px;
}

.features-grid,
.datacenter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-card,
.datacenter-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover,
.datacenter-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.feature-icon,
.datacenter-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 10px;
}

#map {
  height: 400px;
  width: 100%;
}

.menu-toggle {
  font-size: 1.5rem;
  color: var(--text-color);
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

.header-content.mobile-header {
  display: none;
}

@media (max-width: 768px) {
  .header-content.desktop-header {
    display: none;
  }
  .header-content.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo {
    text-align: center;
    flex-grow: 1;
  }
  .menu-toggle {
    display: inline-block;
  }
}

.support-section {
  padding: 50px 0;
  display: flex;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.05);
}

.support-card {
  padding: 30px;
  background-color: var(--primary-color);
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.support-card h2 {
  color: var(--accent-color);
  font-size: 2rem;
  margin-bottom: 20px;
}

.support-card p {
  font-size: 1.2rem;
  color: var(--text-color);
  line-height: 1.6;
}

.support-phone a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
}

.support-phone a:hover {
  color: rgba(255, 179, 0, 0.8);
}

.faq-section {
  padding: 50px 0;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
}

.faq-section h2 {
  text-align: center;
  color: var(--accent-color);
  margin-bottom: 30px;
  font-size: 2.5rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  transition: background 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.02);
}

.faq-question {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.faq-answer {
  display: none;
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.5;
}

.faq-item.active .faq-answer {
  display: block;
}

.footer-section {
  background-color: var(--primary-color);
  padding: 40px 0;
  text-align: center;
  color: var(--accent-color);
}

.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.footer-links,
.footer-contact,
.footer-about {
  flex: 1;
  margin: 20px;
}

.footer-links h3,
.footer-contact h3,
.footer-about h3 {
  color: var(--accent-color);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin: 10px 0;
}

.footer-links a {
  text-decoration: none;
  color: var(--accent-color);
}

.footer-bottom {
  margin-top: 20px;
}

.footer-bottom p {
  color: var(--accent-color);
  font-size: 14px;
}

.pricing-tabs-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.pricing-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 160px;
}

.tab-button {
  background-color: rgba(255, 255, 255, 0.05);
  border: none;
  padding: 12px 16px;
  color: var(--text-color);
  cursor: pointer;
  border-right: 4px solid transparent;
  transition: all 0.3s ease;
  font-weight: bold;
  text-align: right;
}

.tab-button.active,
.tab-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-right: 4px solid var(--accent-color);
  color: var(--accent-color);
}

.pricing-content {
  flex: 1;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: table;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-top: 10px;
}

.pricing-table thead {
  background-color: var(--secondary-color);
}

.pricing-table th,
.pricing-table td {
  padding: 15px;
  text-align: center;
  color: var(--text-color);
}

.pricing-table th {
  color: var(--accent-color);
  font-weight: bold;
}

.pricing-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.has-submenu {
  position: relative;
}

.has-submenu .submenu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 1000;
}

.has-submenu:hover .submenu {
  display: block;
}

.has-submenu .submenu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}

.has-submenu .submenu li a:hover {
  background: #f5f5f5;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background: var(--primary-color);
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  padding: 25px;
  transition: right 0.3s ease;
  z-index: 1001;
}

.mobile-menu.open {
  right: 0;
  position: relative;
}

.mobile-menu .close-menu {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 20px;
  cursor: pointer;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.mobile-menu ul li {
  margin-bottom: 15px;
}

.mobile-menu ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 1rem;
  display: block;
}

.mobile-menu ul li a.btn {
  text-align: center;
  margin-top: 10px;
}

.mobile-menu .has-submenu .submenu {
  display: none;
  flex-direction: column;
  margin-top: 8px;
  padding-right: 15px;
  border-right: 2px solid var(--accent-color);
}

.mobile-menu .has-submenu.open .submenu {
  display: flex;
}

.mobile-menu .submenu a {
  font-size: 0.9rem;
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.85);
}

.mobile-menu .submenu a:hover {
  color: var(--accent-color);
}

.mobile-menu .submenu-toggle i {
  transition: transform 0.3s ease;
}

.mobile-menu .has-submenu.open .submenu-toggle i {
  transform: rotate(180deg);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1000;
}

.menu-backdrop.show {
  display: block;
}

@media (max-width: 768px) {
  .pricing-tabs-wrapper {
    flex-direction: column;
  }
  .pricing-tabs {
    flex-direction: row;
    overflow-x: auto;
    gap: 5px;
  }
  .tab-button {
    white-space: nowrap;
    border-right: none;
    border-bottom: 4px solid transparent;
  }
  .tab-button.active,
  .tab-button:hover {
    border-right: none;
    border-bottom: 4px solid var(--accent-color);
  }
}
