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

body {
  font-family: 'Vazirmatn', 'Inter', sans-serif;
  background-color: #0a0c17;
  color: #eef2ff;
  line-height: 1.6;
  scroll-behavior: smooth;
  opacity: 1;
  transition: opacity 0.3s ease;
}

::-webkit-scrollbar {
  width: 0;
  background: transparent;
}
* {
  scrollbar-width: none;
}

/* Background */
.pattern-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: radial-gradient(circle at 20% 30%, rgba(15, 25, 55, 0.95), #02040f);
}
.pattern-bg::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4MCIgaGVpZ2h0PSI4MCIgdmlld0JveD0iMCAwIDgwIDgwIj48cGF0aCBkPSJNMzAgMTBhMjAgMjAgMCAwIDEgNDAgMjAgMjAgMjAgMCAwIDEtNDAgLTIweiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDAsIDE1MCwgMjUwLCAwLjA0KSIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48Y2lyY2xlIGN4PSIxNSIgY3k9IjE1IiByPSIzIiBmaWxsPSJyZ2JhKDAsIDEyMCwgMjUwLCAwLjAzKSIvPjxjaXJjbGUgY3g9IjY1IiBjeT0iNjUiIHI9IjQiIGZpbGw9InJnYmEoNTAsIDE1MCwgMjUwLCAwLjAyKSIvPjwvc3ZnPg==');
  background-repeat: repeat;
  opacity: 0.3;
  pointer-events: none;
}

/* Scroll Circle */
.circle-scroll {
  position: fixed;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  width: 65px;
  height: 65px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
  animation: fadeInScale 0.5s ease-out 0.3s backwards;
}
.circle-scroll:hover {
  transform: translateY(-50%) scale(1.1);
}
.circle-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(10, 20, 40, 0.5);
  backdrop-filter: blur(4px);
}
.circle-ring svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.circle-ring circle {
  fill: none;
  stroke: rgba(42, 158, 255, 0.15);
  stroke-width: 4;
}
.circle-ring .progress-ring {
  stroke: url(#blueGradient);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 188.5;
  stroke-dashoffset: 188.5;
  transition: stroke-dashoffset 0.05s linear;
}
.circle-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #2a9eff;
  font-size: 1.5rem;
  z-index: 2;
  text-shadow: 0 0 8px rgba(42, 158, 255, 0.5);
  pointer-events: none;
}

/* Container */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 20px;
  border-bottom: 1px solid rgba(0, 150, 255, 0.2);
  animation: slideInLeft 0.5s ease-out forwards;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.9rem;
  background: linear-gradient(135deg, #ffffff, #2a9eff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
}
.logo i {
  font-size: 2.2rem;
  color: #2a9eff;
  background: none;
}

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropbtn {
  background: transparent;
  border: none;
  color: #cdd9ff;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 18px;
  cursor: pointer;
  font-family: 'Vazirmatn', 'Inter', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dropbtn i {
  color: #2a9eff;
}
.dropdown-content {
  position: absolute;
  top: 110%;
  right: 0;
  background: rgba(12, 18, 35, 0.95);
  backdrop-filter: blur(16px);
  min-width: 220px;
  border-radius: 20px;
  padding: 12px 0;
  border: 1px solid rgba(42, 158, 255, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: translateY(-10px);
  z-index: 100;
}
.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-content a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #cdd9ff;
  text-decoration: none;
  transition: 0.2s;
  font-size: 0.9rem;
}
.dropdown-content a i {
  width: 28px;
  color: #2a9eff;
}
.dropdown-content a:hover {
  background: rgba(42, 158, 255, 0.2);
  color: white;
}

.nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn-register {
  background: linear-gradient(105deg, #2a9eff, #0055cc);
  border: none;
  padding: 10px 28px;
  border-radius: 40px;
  font-weight: 800;
  font-size: 0.95rem;
  color: white;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 15px rgba(42, 158, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Vazirmatn', 'Inter', sans-serif;
}
.btn-register:hover {
  transform: scale(1.03);
  box-shadow: 0 0 22px #2a9eff;
}
.btn-big-reg {
  background: linear-gradient(105deg, #2a9eff, #0055cc);
  border: none;
  padding: 20px 55px;
  border-radius: 80px;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 35px #2a9eff;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-family: 'Vazirmatn', 'Inter', sans-serif;
  animation: fadeInUp 0.5s ease-out 0.2s backwards;
}
.btn-big-reg:hover {
  transform: scale(1.05);
  box-shadow: 0 0 55px #2a9eff;
}
.big-register {
  text-align: center;
  margin: 30px 0 50px;
}

/* Cards */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin: 60px 0 50px;
}
.feature-card {
  background: rgba(18, 25, 55, 0.7);
  backdrop-filter: blur(12px);
  border-radius: 42px;
  padding: 42px 28px;
  flex: 1 1 280px;
  min-width: 250px;
  text-align: center;
  border: 1px solid rgba(42, 158, 255, 0.35);
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInScale 0.5s ease-out backwards;
}
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.feature-card:hover {
  border-color: #2a9eff;
  box-shadow: 0 0 35px rgba(42, 158, 255, 0.35);
  transform: translateY(-10px);
  background: rgba(22, 32, 65, 0.8);
}
.feature-card i {
  font-size: 3.2rem;
  background: linear-gradient(145deg, #3a86ff, #00c8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 22px;
}
.feature-card .main-number {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #fff, #2a9eff, #00c8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.feature-card h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  font-weight: 800;
}
.feature-card p {
  color: #b8ccff;
  font-size: 1rem;
  line-height: 1.7;
}

/* Plans */
.plans-header {
  text-align: center;
  margin: 40px 0 20px;
  animation: fadeInUp 0.5s ease-out forwards;
}
.plans-header h1 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #fff, #2a9eff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.plans-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin: 50px 0;
}
.plan-card {
  background: rgba(18, 25, 55, 0.7);
  backdrop-filter: blur(12px);
  border-radius: 36px;
  padding: 32px 24px;
  flex: 1 1 280px;
  min-width: 260px;
  text-align: center;
  border: 1px solid rgba(42, 158, 255, 0.35);
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  animation: fadeInUp 0.5s ease-out backwards;
}
.plan-card:nth-child(1) { animation-delay: 0.05s; }
.plan-card:nth-child(2) { animation-delay: 0.1s; }
.plan-card:nth-child(3) { animation-delay: 0.15s; }
.plan-card:nth-child(4) { animation-delay: 0.2s; }
.plan-card:nth-child(5) { animation-delay: 0.25s; }
.plan-card:hover {
  border-color: #2a9eff;
  box-shadow: 0 0 35px rgba(42, 158, 255, 0.35);
  transform: translateY(-10px);
}
.plan-name {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff, #2a9eff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.plan-slots {
  font-size: 1.2rem;
  color: #2a9eff;
  margin-bottom: 10px;
}
.plan-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin: 15px 0;
}
.plan-price span {
  font-size: 0.9rem;
  color: #9aabf0;
}
.plan-specs {
  list-style: none;
  margin: 20px 0;
  text-align: right;
}
.plan-specs li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: #d0dcff;
  border-bottom: 1px dashed rgba(42, 158, 255, 0.2);
}
.plan-specs li i {
  width: 24px;
  color: #2a9eff;
}
.yatqa-badge {
  background: rgba(42, 158, 255, 0.2);
  border-radius: 30px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #2a9eff;
  margin-bottom: 15px;
  display: inline-block;
}
.order-btn {
  width: 100%;
  background: linear-gradient(105deg, #2a9eff, #0055cc);
  border: none;
  padding: 12px 0;
  border-radius: 40px;
  font-weight: 800;
  color: white;
  cursor: pointer;
  transition: 0.2s;
  margin-top: 15px;
  font-family: 'Vazirmatn', 'Inter', sans-serif;
}
.order-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px #2a9eff;
}

/* ========== FAQ - انیمیشن کشویی نرم ========== */
.faq-section {
  margin: 70px 0 60px;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #ffffff, #2a9eff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle {
  text-align: center;
  color: #9aafe6;
  margin-bottom: 50px;
  font-size: 1rem;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(18, 25, 55, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  margin-bottom: 18px;
  border: 1px solid rgba(42, 158, 255, 0.25);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: #eef2ff;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: rgba(42, 158, 255, 0.08);
}

.faq-question i:last-child {
  color: #2a9eff;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
  margin-right: 15px;
}

.faq-item.active .faq-question i:last-child {
  transform: rotate(180deg);
}

/* انیمیشن کشویی با transform */
.faq-answer {
  padding: 0 28px;
  color: #c5d3ff;
  line-height: 1.7;
  transform: translateY(-10px);
  opacity: 0;
  max-height: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.faq-item.active .faq-answer {
  transform: translateY(0);
  opacity: 1;
  max-height: 200px;
  padding: 0 28px 22px 28px;
  pointer-events: auto;
}

.faq-answer p {
  padding-top: 12px;
  border-top: 1px solid rgba(42, 158, 255, 0.2);
  margin: 0;
}

/* انیمیشن ورودی اولیه */
.faq-item {
  opacity: 0;
  transform: translateY(15px);
  animation: faqLoad 0.3s ease forwards;
}

@keyframes faqLoad {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item:nth-child(1) { animation-delay: 0s; }
.faq-item:nth-child(2) { animation-delay: 0.05s; }
.faq-item:nth-child(3) { animation-delay: 0.1s; }
.faq-item:nth-child(4) { animation-delay: 0.15s; }
.faq-item:nth-child(5) { animation-delay: 0.2s; }
.faq-item:nth-child(6) { animation-delay: 0.25s; }
/* Footer */
footer {
  padding: 45px 0 35px;
  border-top: 1px solid rgba(42, 158, 255, 0.2);
  text-align: center;
  color: #6c86b0;
}

/* Toast */
#toastMsg {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f1b33ee;
  backdrop-filter: blur(12px);
  padding: 12px 28px;
  border-radius: 50px;
  color: white;
  z-index: 1200;
  border-right: 4px solid #2a9eff;
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
  font-weight: 500;
  font-family: 'Vazirmatn', 'Inter', sans-serif;
}

/* Back Link */
.back-link {
  display: inline-block;
  margin: 30px 0 50px;
  color: #2a9eff;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.back-link i {
  margin-left: 8px;
}
.text-center {
  text-align: center;
}

/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Confirm Modal for Logout */
.confirm-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.confirm-modal.active {
  opacity: 1;
  visibility: visible;
}

.confirm-modal-content {
  background: linear-gradient(145deg, rgba(18, 28, 50, 0.98), rgba(10, 15, 35, 0.98));
  backdrop-filter: blur(20px);
  border-radius: 40px;
  width: 90%;
  max-width: 380px;
  padding: 35px 30px;
  text-align: center;
  border: 1px solid rgba(42, 158, 255, 0.4);
  box-shadow: 0 0 60px rgba(42, 158, 255, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.confirm-modal.active .confirm-modal-content {
  transform: scale(1);
}

.confirm-icon {
  font-size: 4rem;
  color: #ff9800;
  margin-bottom: 20px;
}

.confirm-modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #fff;
}

.confirm-modal-content p {
  color: #9aafe6;
  margin-bottom: 30px;
  line-height: 1.6;
}

.confirm-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.confirm-buttons button {
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Vazirmatn', 'Inter', sans-serif;
  border: none;
}

.confirm-no {
  background: rgba(255, 255, 255, 0.1);
  color: #cdd9ff;
  border: 1px solid rgba(42, 158, 255, 0.3);
}

.confirm-no:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.02);
}

.confirm-yes {
  background: linear-gradient(105deg, #ff4444, #cc0000);
  color: white;
  box-shadow: 0 0 15px rgba(255, 68, 68, 0.3);
}

.confirm-yes:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(255, 68, 68, 0.5);
}

/* Responsive */
@media (max-width: 850px) {
  .container {
    padding: 0 20px;
  }
  .btn-big-reg {
    font-size: 1.2rem;
    padding: 15px 30px;
  }
  .navbar {
    flex-direction: column;
  }
  .feature-card {
    padding: 32px 20px;
  }
  .circle-scroll {
    width: 50px;
    height: 50px;
    right: 15px;
  }
  .circle-icon {
    font-size: 1.2rem;
  }
}
/* Fix navbar z-index */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(10, 12, 23, 0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
}

.dropdown {
  z-index: 1001;
}

.dropdown-content {
  z-index: 1002;
}

.container {
  position: relative;
  z-index: 1;
}

.circle-scroll {
  z-index: 2000;
}
/* Navbar - گشادتر با padding بیشتر */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  flex-wrap: wrap;
  gap: 25px;
  border-bottom: 1px solid rgba(0, 150, 255, 0.2);
  animation: slideInLeft 0.5s ease-out forwards;
  position: sticky;
  top: 0;
  background: rgba(10, 12, 23, 0.92);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-radius: 0 0 24px 24px;
  margin-bottom: 10px;
}

/* دکمه‌های منو با فاصله بیشتر */
.dropbtn {
  background: transparent;
  border: none;
  color: #cdd9ff;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 24px;
  cursor: pointer;
  font-family: 'Vazirmatn', 'Inter', sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.dropbtn:hover {
  background: rgba(42, 158, 255, 0.15);
  color: white;
}

/* لیست کشویی با گوشه‌های نرم‌تر و پهنای بیشتر */
.dropdown-content {
  position: absolute;
  top: 110%;
  right: 0;
  background: rgba(12, 18, 35, 0.98);
  backdrop-filter: blur(16px);
  min-width: 260px;
  border-radius: 24px;
  padding: 16px 8px;
  border: 1px solid rgba(42, 158, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: translateY(-10px);
  z-index: 1001;
}

/* آیتم‌های داخل منوی کشویی با فاصله بیشتر */
.dropdown-content a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  color: #cdd9ff;
  text-decoration: none;
  transition: 0.2s;
  font-size: 0.95rem;
  border-radius: 18px;
  margin: 4px 8px;
}

.dropdown-content a:hover {
  background: rgba(42, 158, 255, 0.2);
  color: white;
  transform: translateX(-4px);
}

/* دکمه عضویت با استایل جدید */
.btn-register {
  background: linear-gradient(105deg, #2a9eff, #0055cc);
  border: none;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  color: white;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 15px rgba(42, 158, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Vazirmatn', 'Inter', sans-serif;
}

/* لینک‌های داخل نوار (بین دکمه‌ها) با فاصله */
.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

/* لوگو بزرگتر */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
  font-size: 2rem;
  background: linear-gradient(135deg, #ffffff, #2a9eff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  padding: 0 8px;
}

.logo i {
  font-size: 2.4rem;
  color: #2a9eff;
  background: none;
}
/* برای موبایل */
@media (max-width: 850px) {
  .navbar {
    padding: 16px 20px;
    border-radius: 0 0 18px 18px;
  }
  
  .dropbtn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  
  .dropdown-content {
    min-width: 220px;
  }
  
  .logo {
    font-size: 1.6rem;
  }
  
  .logo i {
    font-size: 1.9rem;
  }
  
  .btn-register {
    padding: 8px 20px;
    font-size: 0.85rem;
  }
}
/* ========== MODAL AUTH STYLES ========== */
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.auth-modal.active {
  opacity: 1;
  visibility: visible;
}

.auth-modal-content {
  background: linear-gradient(145deg, rgba(18, 28, 50, 0.98), rgba(10, 15, 35, 0.98));
  backdrop-filter: blur(20px);
  border-radius: 40px;
  width: 90%;
  max-width: 450px;
  padding: 40px 35px;
  border: 1px solid rgba(42, 158, 255, 0.4);
  box-shadow: 0 0 60px rgba(42, 158, 255, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  position: relative;
}

.auth-modal.active .auth-modal-content {
  transform: scale(1);
}

.close-auth {
  position: absolute;
  top: 20px;
  left: 25px;
  font-size: 2rem;
  cursor: pointer;
  color: #8a9fd0;
  transition: 0.2s;
  z-index: 10;
}

.close-auth:hover {
  color: #ff5a5a;
  transform: scale(1.1);
}

.auth-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 60px;
  padding: 6px;
}

.auth-tab {
  background: transparent;
  border: none;
  color: #9aafe6;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.2s;
  font-family: 'Vazirmatn', 'Inter', sans-serif;
  flex: 1;
}

.auth-tab.active {
  background: linear-gradient(105deg, #2a9eff, #0055cc);
  color: white;
  box-shadow: 0 5px 15px rgba(42, 158, 255, 0.3);
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 18px;
}

.auth-form.active {
  display: flex;
}

.auth-form input {
  padding: 16px 20px;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(42, 158, 255, 0.3);
  color: white;
  font-family: 'Vazirmatn', 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.2s;
}

.auth-form input:focus {
  outline: none;
  border-color: #2a9eff;
  box-shadow: 0 0 10px rgba(42, 158, 255, 0.3);
}

.auth-form input::placeholder {
  color: #6c86b0;
}

.auth-form button {
  background: linear-gradient(105deg, #2a9eff, #0055cc);
  border: none;
  padding: 14px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
  cursor: pointer;
  transition: 0.2s;
  font-family: 'Vazirmatn', 'Inter', sans-serif;
  margin-top: 10px;
}

.auth-form button:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px #2a9eff;
}

.auth-switch {
  text-align: center;
  margin-top: 20px;
  color: #9aafe6;
}

.auth-switch span {
  color: #2a9eff;
  cursor: pointer;
  font-weight: 700;
}

.auth-switch span:hover {
  text-decoration: underline;
}

/* User menu after login */
.user-menu {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(42, 158, 255, 0.15);
  padding: 6px 18px 6px 12px;
  border-radius: 50px;
  border: 1px solid rgba(42, 158, 255, 0.3);
}

.user-avatar {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #2a9eff, #0055cc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
}

.user-name {
  font-weight: 700;
  color: white;
}

.logout-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  padding: 6px 14px;
  border-radius: 40px;
  color: #ff8a8a;
  cursor: pointer;
  transition: 0.2s;
  font-family: 'Vazirmatn', 'Inter', sans-serif;
  font-size: 0.8rem;
}

.logout-btn:hover {
  background: rgba(255, 80, 80, 0.2);
  color: #ff5a5a;
}
/* ========== PAYMENT MODAL STYLES ========== */
.payment-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.payment-modal.active {
  opacity: 1;
  visibility: visible;
}

.payment-container {
  background: linear-gradient(145deg, rgba(18, 28, 50, 0.98), rgba(10, 15, 35, 0.98));
  backdrop-filter: blur(20px);
  border-radius: 40px;
  width: 90%;
  max-width: 500px;
  padding: 40px 35px;
  border: 1px solid rgba(42, 158, 255, 0.4);
  box-shadow: 0 0 60px rgba(42, 158, 255, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  position: relative;
  text-align: center;
}

.payment-modal.active .payment-container {
  transform: scale(1);
}

.close-payment {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 1.8rem;
  cursor: pointer;
  color: #8a9fd0;
  transition: 0.2s;
  z-index: 10;
}

.close-payment:hover {
  color: #ff5a5a;
  transform: scale(1.1);
}

.payment-container h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  background: linear-gradient(135deg, #fff, #2a9eff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.payment-info {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 24px;
  padding: 20px;
  margin: 20px 0;
  border: 1px solid rgba(42, 158, 255, 0.3);
}

.payment-info p {
  margin-bottom: 15px;
  color: #cdd9ff;
  line-height: 1.8;
}

.card-number-box {
  background: rgba(42, 158, 255, 0.15);
  padding: 15px;
  border-radius: 20px;
  margin: 15px 0;
  direction: ltr;
}

.card-number-box span {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: #2a9eff;
  font-family: monospace;
}

.payment-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: #2a9eff;
  margin: 15px 0;
}

.upload-area {
  border: 2px dashed #2a9eff;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  margin: 20px 0;
  cursor: pointer;
  transition: all 0.2s;
  background: rgba(42, 158, 255, 0.05);
}

.upload-area:hover {
  background: rgba(42, 158, 255, 0.15);
  border-color: #5bb5ff;
}

.upload-area i {
  font-size: 2.5rem;
  color: #2a9eff;
  margin-bottom: 10px;
}

.upload-area p {
  color: #9aafe6;
  font-size: 0.9rem;
}

.upload-area input {
  display: none;
}

.file-preview {
  margin-top: 15px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  font-size: 0.85rem;
  color: #2a9eff;
  word-break: break-all;
}

.submit-payment {
  width: 100%;
  background: linear-gradient(105deg, #2a9eff, #0055cc);
  border: none;
  padding: 15px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
  cursor: pointer;
  transition: 0.2s;
  margin-top: 15px;
  font-family: 'Vazirmatn', 'Inter', sans-serif;
}

.submit-payment:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px #2a9eff;
}

/* ========== AUTH MODAL STYLES ========== */
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.auth-modal.active {
  opacity: 1;
  visibility: visible;
}

.auth-modal-content {
  background: linear-gradient(145deg, rgba(18, 28, 50, 0.98), rgba(10, 15, 35, 0.98));
  backdrop-filter: blur(20px);
  border-radius: 40px;
  width: 90%;
  max-width: 450px;
  padding: 40px 35px;
  border: 1px solid rgba(42, 158, 255, 0.4);
  box-shadow: 0 0 60px rgba(42, 158, 255, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  position: relative;
}

.auth-modal.active .auth-modal-content {
  transform: scale(1);
}

/* دکمه بستن با دایره - سمت چپ - کوچیک شده */
.close-auth {
  position: absolute;
  top: 15px;
  left: 20px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  font-size: 1rem;
  color: #8a9fd0;
}

.close-auth:hover {
  background: rgba(255, 90, 90, 0.2);
  color: #ff5a5a;
  transform: rotate(90deg);
}

.close-auth:hover {
  background: rgba(255, 90, 90, 0.2);
  color: #ff5a5a;
  transform: rotate(90deg);
}

.auth-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 60px;
  padding: 6px;
}

.auth-tab {
  background: transparent;
  border: none;
  color: #9aafe6;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.2s;
  font-family: 'Vazirmatn', 'Inter', sans-serif;
  flex: 1;
}

.auth-tab.active {
  background: linear-gradient(105deg, #2a9eff, #0055cc);
  color: white;
  box-shadow: 0 5px 15px rgba(42, 158, 255, 0.3);
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 18px;
}

.auth-form.active {
  display: flex;
}

.auth-form input {
  padding: 16px 20px;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(42, 158, 255, 0.3);
  color: white;
  font-family: 'Vazirmatn', 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.2s;
}

.auth-form input:focus {
  outline: none;
  border-color: #2a9eff;
  box-shadow: 0 0 10px rgba(42, 158, 255, 0.3);
}

.auth-form input::placeholder {
  color: #6c86b0;
}

.auth-form button {
  background: linear-gradient(105deg, #2a9eff, #0055cc);
  border: none;
  padding: 14px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
  cursor: pointer;
  transition: 0.2s;
  font-family: 'Vazirmatn', 'Inter', sans-serif;
  margin-top: 10px;
}

.auth-form button:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px #2a9eff;
}
/* ========== CONFIRM MODAL - خروج از حساب ========== */
.confirm-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.confirm-modal.active {
  opacity: 1;
  visibility: visible;
}

.confirm-modal-content {
  background: linear-gradient(145deg, rgba(18, 28, 50, 0.98), rgba(10, 15, 35, 0.98));
  backdrop-filter: blur(20px);
  border-radius: 40px;
  width: 90%;
  max-width: 380px;
  padding: 35px 30px;
  text-align: center;
  border: 1px solid rgba(42, 158, 255, 0.4);
  box-shadow: 0 0 60px rgba(42, 158, 255, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.confirm-modal.active .confirm-modal-content {
  transform: scale(1);
}

.confirm-icon {
  font-size: 4rem;
  color: #ff9800;
  margin-bottom: 20px;
}

.confirm-modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #fff;
}

.confirm-modal-content p {
  color: #9aafe6;
  margin-bottom: 30px;
  line-height: 1.6;
}

.confirm-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.confirm-buttons button {
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Vazirmatn', 'Inter', sans-serif;
  border: none;
}

.confirm-no {
  background: rgba(255, 255, 255, 0.1);
  color: #cdd9ff;
  border: 1px solid rgba(42, 158, 255, 0.3);
}

.confirm-no:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.02);
}

.confirm-yes {
  background: linear-gradient(105deg, #ff4444, #cc0000);
  color: white;
  box-shadow: 0 0 15px rgba(255, 68, 68, 0.3);
}

.confirm-yes:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(255, 68, 68, 0.5);
}
/* ========== CONFIRM MODAL - خروج از حساب ========== */
.confirm-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.confirm-modal.active {
  opacity: 1;
  visibility: visible;
}

.confirm-modal-content {
  background: linear-gradient(145deg, rgba(18, 28, 50, 0.98), rgba(10, 15, 35, 0.98));
  backdrop-filter: blur(20px);
  border-radius: 40px;
  width: 90%;
  max-width: 380px;
  padding: 35px 30px;
  text-align: center;
  border: 1px solid rgba(42, 158, 255, 0.4);
  box-shadow: 0 0 60px rgba(42, 158, 255, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.confirm-modal.active .confirm-modal-content {
  transform: scale(1);
}

.confirm-icon {
  font-size: 4rem;
  color: #ff9800;
  margin-bottom: 20px;
}

.confirm-modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #fff;
}

.confirm-modal-content p {
  color: #9aafe6;
  margin-bottom: 30px;
  line-height: 1.6;
}

.confirm-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.confirm-buttons button {
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Vazirmatn', 'Inter', sans-serif;
  border: none;
}

.confirm-no {
  background: rgba(255, 255, 255, 0.1);
  color: #cdd9ff;
  border: 1px solid rgba(42, 158, 255, 0.3);
}

.confirm-no:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.02);
}

.confirm-yes {
  background: linear-gradient(105deg, #ff4444, #cc0000);
  color: white;
  box-shadow: 0 0 15px rgba(255, 68, 68, 0.3);
}

.confirm-yes:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(255, 68, 68, 0.5);
}