/* فونت */
@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100;200;300;400;500;600;700;800;900&display=swap");

/* ریست */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* متغیرها */
:root {
  --primary-color: #9333ea;
  --primary-light: #a855f7;
  --primary-dark: #7e22ce;
  --secondary-color: #6b21a8;
  --accent-color: #f43f5e;
  --accent-light: #fb7185;
  --neon-color: #22d3ee;
  --text-color: #f8fafc;
  --text-muted: #94a3b8;
  --bg-color: #000000;
  --bg-secondary: #0f0f0f;
  --bg-card: #18181b;
  --border-color: #27272a;
  --success-color: #22c55e;
  --warning-color: #eab308;
  --danger-color: #ef4444;
  --radius: 0.5rem;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* عمومی */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Vazirmatn", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(147, 51, 234, 0.1), transparent 70%),
    radial-gradient(circle at bottom left, rgba(244, 63, 94, 0.05), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* اسکرول‌بار */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(15, 15, 15, 0.3);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--primary-light), var(--accent-light));
}

/* دکمه‌ها */
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

.primary-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(147, 51, 234, 0.5);
}

.primary-btn:hover::before {
  opacity: 1;
}

.primary-btn i {
  margin-left: 0.5rem;
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.secondary-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.secondary-btn:hover {
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

.secondary-btn:hover::before {
  opacity: 1;
}

/* انیمیشن خوشامدگویی */
.welcome-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.welcome-content {
  text-align: center;
  position: relative;
}

.welcome-logo-container {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 2rem;
}

.welcome-logo-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.5) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  animation: pulse 2s infinite, rotate 8s linear infinite;
}

.welcome-logo {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  animation: float 3s ease-in-out infinite;
}

.welcome-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #ffffff, var(--primary-light), var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(147, 51, 234, 0.3);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.welcome-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.5s both;
}

.welcome-loading {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  animation: fadeInUp 1s ease 1s both;
}

.welcome-loading span {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  animation: bounce 1s infinite;
}

.welcome-loading span:nth-child(1) {
  animation-delay: 0s;
}

.welcome-loading span:nth-child(2) {
  animation-delay: 0.2s;
}

.welcome-loading span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* هدر */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 0;
  transition: var(--transition);
}

.site-header.scrolled {
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(39, 39, 42, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-left: 0.5rem;
  box-shadow: 0 0 15px rgba(147, 51, 234, 0.7);
  transition: var(--transition);
}

.logo:hover img {
  transform: rotate(360deg);
  box-shadow: 0 0 20px var(--accent-color);
}

.main-nav ul {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.main-nav a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  transition: var(--transition);
}

.main-nav a:hover {
  color: var(--primary-light);
}

.main-nav a:hover::before {
  width: 100%;
}

.main-nav a.active {
  color: var(--primary-color);
}

.main-nav a.active::before {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-icon {
  position: relative;
  font-size: 1.25rem;
  transition: var(--transition);
}

.cart-icon:hover {
  color: var(--primary-light);
  transform: scale(1.1);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  color: white;
  font-size: 0.75rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(147, 51, 234, 0.5);
}

.login-btn {
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.login-btn::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  transition: var(--transition);
}

.login-btn:hover {
  color: var(--primary-light);
}

.login-btn:hover::before {
  width: 100%;
}

.menu-button {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.menu-button:hover {
  color: var(--primary-light);
  transform: scale(1.1);
}

/* منوی موبایل */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background-color: var(--bg-secondary);
  z-index: 200;
  transition: right 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  border-left: 1px solid rgba(147, 51, 234, 0.3);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.close-menu {
  background: none;
  border: none;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
}

.close-menu:hover {
  color: var(--primary-light);
  transform: rotate(90deg);
}

.mobile-nav {
  padding: 1rem;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.mobile-nav a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary-color), transparent);
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.mobile-nav a:hover {
  color: white;
  transform: translateX(5px);
}

.mobile-nav a:hover::before {
  opacity: 0.2;
}

.mobile-nav a.active {
  color: var(--primary-color);
  background-color: rgba(147, 51, 234, 0.1);
}

/* بخش قهرمان */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-logo {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 2rem;
}

.hero-logo-glow {
  position: absolute;
  top: -30px;
  left: -30px;
  right: -30px;
  bottom: -30px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.5) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  animation: pulse 3s infinite, rotate 15s linear infinite;
}

.hero-logo-img {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 30px rgba(147, 51, 234, 0.7);
  animation: float 5s ease-in-out infinite;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(147, 51, 234, 0.3);
  animation: fadeInUp 1s ease both;
}

.hero-title span {
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

.hero-title span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.4s both;
}

.particles-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Floating elements */
.floating-element {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  opacity: 0.1;
  filter: blur(20px);
  z-index: 0;
  animation: float 10s ease-in-out infinite;
}

.floating-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.floating-2 {
  width: 200px;
  height: 200px;
  bottom: 10%;
  right: 5%;
  animation-delay: 2s;
}

.floating-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  right: 15%;
  animation-delay: 4s;
}

.floating-4 {
  width: 100px;
  height: 100px;
  bottom: 30%;
  left: 15%;
  animation-delay: 6s;
}

/* بخش ویژگی‌ها */
.features-section {
  padding: 6rem 0;
  background: linear-gradient(to bottom, var(--bg-color), var(--bg-secondary));
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(147, 51, 234, 0.3);
  animation: pulse 2s infinite;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(147, 51, 234, 0.3);
}

.section-title span {
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

.section-title span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: rgba(24, 24, 27, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: transparent;
}

.feature-card:hover::before {
  opacity: 0.1;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  color: white;
  position: relative;
  box-shadow: 0 5px 15px rgba(147, 51, 234, 0.3);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: rotate(5deg) scale(1.1);
  box-shadow: 0 8px 25px rgba(147, 51, 234, 0.5);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.feature-card:hover .feature-title {
  color: var(--primary-light);
}

.feature-description {
  color: var(--text-muted);
  transition: var(--transition);
}

/* بخش نمایش محصولات */
.products-section {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.product-info {
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.product-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.product-features {
  margin-bottom: 2rem;
}

.product-features h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-light);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-item {
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateX(5px);
  color: var(--primary-light);
}

.feature-item::before {
  content: "✓";
  color: var(--primary-color);
  margin-left: 0.5rem;
  font-weight: bold;
}

.product-price-container {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.product-price {
  font-size: 2.5rem;
  font-weight: 800;
  margin-left: 1rem;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-badge {
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(147, 51, 234, 0.3);
  animation: pulse 2s infinite;
}

.product-actions {
  display: flex;
  gap: 1rem;
}

.product-image-container {
  position: relative;
}

.product-image-wrapper {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(244, 63, 94, 0.05));
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 0 30px rgba(147, 51, 234, 0.3);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.product-image-wrapper::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255255, 255, 0) 40%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0.6;
  transform: rotate(30deg);
  transition: var(--transition);
  animation: shine 6s infinite;
}

@keyframes shine {
  0% {
    top: -100%;
    left: -100%;
  }
  100% {
    top: 100%;
    left: 100%;
  }
}

.product-image-wrapper:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 0 40px rgba(147, 51, 234, 0.5);
}

.product-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  transition: var(--transition);
  transform: translateZ(0);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.product-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  gap: 1rem;
}

.nav-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(147, 51, 234, 0.3);
}

.nav-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(147, 51, 234, 0.5);
}

.nav-dots {
  display: flex;
  gap: 0.5rem;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.nav-dot.active {
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(147, 51, 234, 0.5);
}

/* بخش نظرات مشتریان */
.testimonials-section {
  padding: 6rem 0;
  background-color: var(--bg-color);
  position: relative;
  overflow: hidden;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-slide {
  background: linear-gradient(135deg, rgba(24, 24, 27, 0.8), rgba(24, 24, 27, 0.5));
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  display: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.testimonial-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-rating {
  margin-bottom: 1.5rem;
  color: #eab308;
  font-size: 1.5rem;
}

.testimonial-rating i {
  margin: 0 0.1rem;
  filter: drop-shadow(0 0 5px rgba(234, 179, 8, 0.5));
}

.testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.7;
  position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.3;
  position: absolute;
}

.testimonial-text::before {
  top: -20px;
  left: -10px;
}

.testimonial-text::after {
  bottom: -40px;
  right: -10px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-image {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  box-shadow: 0 0 15px rgba(147, 51, 234, 0.5);
}

.author-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-light);
}

.author-role {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.testimonial-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  gap: 1rem;
}

/* بخش محصولات */
.products-tabs-section {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.tabs-container {
  max-width: 1000px;
  margin: 0 auto;
}

.tabs-header {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.tabs-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.tab-button {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.tab-button::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  transition: var(--transition);
  z-index: 2;
}

.tab-button:hover {
  color: white;
}

.tab-button:hover::before {
  width: 80%;
}

.tab-button.active {
  color: var(--primary-color);
}

.tab-button.active::before {
  width: 80%;
}

.tabs-content {
  margin-top: 2rem;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: linear-gradient(135deg, rgba(24, 24, 27, 0.8), rgba(24, 24, 27, 0.5));
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  backdrop-filter: blur(10px);
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(147, 51, 234, 0.5);
}

.product-card:hover::before {
  opacity: 0.05;
}

.product-card.popular {
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.3);
}

.popular-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  transform: rotate(45deg) translateX(20px) translateY(-10px);
  width: 120px;
  text-align: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.discount-badge {
  background: linear-gradient(45deg, var(--accent-color), var(--warning-color));
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(234, 179, 8, 0.3);
  animation: pulse 2s infinite;
}

.product-body {
  margin-bottom: 1.5rem;
}

.product-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 1rem;
}

.current-price {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 0.5rem;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.original-price {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 0.875rem;
}

.product-description {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.product-features {
  list-style: none;
  margin-bottom: 1rem;
}

.product-features li {
  position: relative;
  padding-right: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.product-features li:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

.product-features li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--primary-color);
}

.product-footer {
  text-align: center;
}

/* بخش تماس با ما */
.contact-section {
  padding: 6rem 0;
  background-color: var(--bg-color);
  position: relative;
  overflow: hidden;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form-container {
  background: linear-gradient(135deg, rgba(24, 24, 27, 0.8), rgba(24, 24, 27, 0.5));
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact-form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.contact-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-light);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-light);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  background-color: rgba(39, 39, 42, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: white;
  font-family: "Vazirmatn", sans-serif;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.2);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  transition: var(--transition);
}

.contact-info-item:hover {
  transform: translateX(5px);
}

.contact-info-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(147, 51, 234, 0.3);
  transition: var(--transition);
}

.contact-info-item:hover .contact-info-icon {
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 8px 20px rgba(147, 51, 234, 0.5);
}

.contact-info-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-light);
}

.contact-info-content p {
  color: white;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-info-content span {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.social-media {
  background: linear-gradient(135deg, rgba(24, 24, 27, 0.8), rgba(24, 24, 27, 0.5));
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.social-media h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-light);
}

.social-media p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(147, 51, 234, 0.3);
}

.social-icon:hover {
  transform: translateY(-10px) rotate(10deg);
  box-shadow: 0 10px 25px rgba(147, 51, 234, 0.5);
  border-radius: 50%;
}

/* بخش CTA */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-color));
  position: relative;
  overflow: hidden;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.cta-users {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  animation: pulse 2s infinite;
}

/* فوتر */
.site-footer {
  background: linear-gradient(to top, rgba(15, 15, 15, 0.9), rgba(24, 24, 27, 0.8));
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(147, 51, 234, 0.3);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-left: 0.5rem;
  box-shadow: 0 0 15px rgba(147, 51, 234, 0.7);
  transition: var(--transition);
}

.footer-logo:hover img {
  transform: rotate(360deg);
  box-shadow: 0 0 20px var(--accent-color);
}

.footer-logo span {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-description {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-links-column h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--primary-light);
  position: relative;
  display: inline-block;
}

.footer-links-column h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.footer-links-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-column a {
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
  padding-right: 15px;
}

.footer-links-column a::before {
  content: "›";
  position: absolute;
  right: 0;
  color: var(--primary-color);
  transition: var(--transition);
}

.footer-links-column a:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

.footer-links-column a:hover::before {
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(147, 51, 234, 0.2);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.payment-methods i {
  font-size: 1.5rem;
  transition: var(--transition);
  color: var(--text-muted);
}

.payment-methods i:hover {
  color: var(--primary-light);
  transform: translateY(-3px);
}

/* نوتیفیکیشن */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: linear-gradient(135deg, rgba(24, 24, 27, 0.8), rgba(24, 24, 27, 0.5));
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: var(--radius);
  padding: 1rem;
  min-width: 300px;
  max-width: 400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  backdrop-filter: blur(10px);
}

.toast-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.toast-title {
  font-weight: 600;
  color: var(--primary-light);
}

.toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.25rem;
  transition: var(--transition);
}

.toast-close:hover {
  color: var(--primary-light);
  transform: rotate(90deg);
}

.toast-body {
  color: var(--text-muted);
  font-size: 0.875rem;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* AOS (Animate On Scroll) */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-aos="fade-up"] {
  transform: translateY(50px);
}

[data-aos="fade-down"] {
  transform: translateY(-50px);
}

[data-aos="fade-right"] {
  transform: translateX(-50px);
}

[data-aos="fade-left"] {
  transform: translateX(50px);
}

[data-aos="zoom-in"] {
  transform: scale(0.9);
}

.aos-animate {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* نئون افکت */
.neon-text {
  color: var(--neon-color);
  text-shadow: 0 0 5px var(--neon-color), 0 0 10px var(--neon-color), 0 0 20px var(--neon-color), 0 0 40px
    var(--neon-color);
  animation: neon-pulse 2s infinite;
}

@keyframes neon-pulse {
  0%,
  100% {
    text-shadow: 0 0 5px var(--neon-color), 0 0 10px var(--neon-color), 0 0 20px var(--neon-color), 0 0 40px
      var(--neon-color);
  }
  50% {
    text-shadow: 0 0 10px var(--neon-color), 0 0 20px var(--neon-color), 0 0 30px var(--neon-color), 0 0 50px
      var(--neon-color);
  }
}

/* Media Queries */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .product-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav,
  .login-btn {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-logo {
    width: 150px;
    height: 150px;
  }

  .hero-logo-img {
    width: 150px;
    height: 150px;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-buttons,
  .product-actions,
  .cta-buttons {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

