/* ===== پایه ===== */
@font-face {
  font-family: barbod;
  src: url(media/vazir/Vazir-Black.woff);
}
* { box-sizing: border-box; }
:root {
  --bg: #0a0a0a;
  --bg-soft: #121212;
  --text: #ffffff;
  --muted: #cfcfcf;
  --accent: #34d399;
  --border: rgba(255,255,255,.12);
}
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: barbod;
}

.container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 16px;
}

/* ===== هدر ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 64px;
  backdrop-filter: blur(10px);
  background: rgba(18,18,18,.55);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.02em;
  color: #fff;
  text-decoration: none;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  transform: translateX(80px);
  opacity: 0;
  transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .8s;
}
.logo span { color: #FF0000; }

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  size: 500px;
}

/* ===== افکت از بالا به پایین برای همه آیتم‌های منو ===== */
.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: .98rem;
  transform: translateY(-28px);
  opacity: 0;
  transition: transform .7s cubic-bezier(.2,.8,.2,1),
              opacity .7s cubic-bezier(.2,.8,.2,1),
              scale .2s ease,
              color .2s ease;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background-color: #ff0000;
  transition: width .3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { scale: 1.08; color: #FF0000; }

body.loaded .logo { transform: translateX(0); opacity: 1; }
body.loaded .nav-link { transform: translateY(0); opacity: 1; }

.nav-link:nth-child(1) { transition-delay: .10s; }
.nav-link:nth-child(2) { transition-delay: .18s; }
.nav-link:nth-child(3) { transition-delay: .26s; }
.nav-link:nth-child(4) { transition-delay: .34s; }
.nav-link:nth-child(5) { transition-delay: .42s; }
.nav-link:nth-child(6) { transition-delay: .50s; }
.nav-link:nth-child(7) { transition-delay: .58s; }


/* همبرگر */
.hamburger {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 1.3rem;
  transition: background .2s;
}
.hamburger:hover { background: rgba(255,255,255,.1); }

/* ===== ریسپانسیو منو ===== */
@media (max-width: 800px) {
  .logo { transform: translateX(0); opacity: 1; }
  .hamburger { display: inline-flex; align-items: center; }
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    right: 0; left: 0;
    background: rgba(12,12,12,.97);
    backdrop-filter: blur(14px);
    padding: 16px;
    border-bottom: 1px solid var(--border);
    z-index: 49;
    width: 100%;
    align-items: flex-end;
    gap: 0;
  }
  .nav.open { display: flex; }
  .nav-link {
    transform: translateY(0) !important;
    opacity: 1 !important;
    padding: 12px 8px;
    width: 100%;
    text-align: right;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    transition-delay: 0s !important;
  }
  .nav-link:last-child { border-bottom: none; }
  .header-inner { justify-content: space-between; }
}

/* ===== سوییپر ===== */
.hero-swiper {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}
.hero-swiper .slides { position: absolute; inset: 0; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
  background: #000;
}
.slide.active { opacity: 1; pointer-events: auto; }
.slide::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 6s ease;
  will-change: transform;
}
.slide.active::before { transform: scale(1.06); }
.slide:hover::before { transform: scale(1.09); }

.overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.55));
}
.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 0 16px;
}
.slide-content h1 {
  font-size: clamp(30px, 6vw, 56px);
  margin: 0;
  font-weight: 900;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s ease .3s, transform .9s ease .3s;
  text-shadow: #000000 10px 10px 10px ;
}
.slide-content p {
  margin: 12px 0 0 0;
  font-size: clamp(15px, 2.4vw, 22px);
  color: rgba(255,255,255,.9);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s ease .5s, transform .9s ease .5s;
}
.slide.active .slide-content h1,
.slide.active .slide-content p {
  opacity: 1;
  transform: translateY(0);
}

/* کنترل‌ها */
.controls {
  position: absolute;
  left: 0; right: 0; bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 16px;
  z-index: 3;
}
.controls button {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background .2s, transform .2s;
}
.controls button:hover {
  background: rgba(255,0,0,.25);
  transform: scale(1.1);
}
.dots { display: flex; align-items: center; gap: 8px; margin: 0 auto; }
.dot {
  width: 10px; height: 10px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  transition: transform .2s, background .2s;
  cursor: pointer;
}
.dot.active { background: #FF0000; transform: scale(1.3); }

/* ===== محصولات ===== */
.new-products {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  padding: 88px 0;
  border-top: 1px solid var(--border);
}
.section-title {
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 800;
  margin: 0 0 28px 0;
  opacity: 0;
  transform: translateX(60px);
  transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .8s;
}
.section-title.in-view { opacity: 1; transform: translateX(0); }

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3,1fr); } }

.card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transform: translateY(30px);
  opacity: 0;
  transition: transform .6s ease, opacity .6s ease, box-shadow .3s ease;
}
.card.in-view { transform: translateY(0); opacity: 1; }
.card:hover {
  box-shadow: 0 20px 50px rgba(255,0,0,.18);
  transform: translateY(-4px);
}
.card-media { aspect-ratio: 4/3; overflow: hidden; }
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.card:hover .card-media img { transform: scale(1.07); }
.card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 16px;
}
.card-body h3 { margin: 0; font-size: 1.05rem; }
.price { color: var(--accent); font-weight: 700; font-size: .88rem; }
.card-desc {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  background: rgba(0,0,0,.88);
  border: 1px solid rgba(255,0,0,.25);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: .9rem;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.card:hover .card-desc { opacity: 1; transform: translateY(0); }

/* ===== درباره ما ===== */
.about-section {
  background: var(--bg-soft);
  padding: 80px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.about-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900;
  color: #FF0000;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.about-title.in-view { opacity: 1; transform: translateY(0); }
.about-text {
  color: #e0e0e0;
  font-size: 1.05rem;
  line-height: 2;
  max-width: 780px;
  margin: 0 auto 20px auto;
  text-align: justify;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.about-text.in-view { opacity: 1; transform: translateY(0); }
.about-text:nth-child(3) { transition-delay: .15s; }
.about-text:nth-child(4) { transition-delay: .3s; }

/* ===== فوتر ===== */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  color: #999;
  padding: 28px 0;
  text-align: center;
}

/* ===== بخش درباره ما ===== */
.about-section {
  background: var(--bg-soft);
  padding: 80px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.about-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900;
  color: #FF0000;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.about-title.in-view { opacity: 1; transform: translateY(0); }

.about-text {
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 2;
  max-width: 780px;
  margin: 0 auto 20px auto;
  text-align: justify;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.about-text.in-view { opacity: 1; transform: translateY(0); }

/* ===== ریسپانسیو منو ===== */
@media (max-width: 800px) {
  .nav { display: none; }
  .hamburger { display: inline-flex; background: transparent; color: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 6px 10px; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 64px; right: 0; left: 0;
    background: rgba(18,18,18,.95);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    z-index: 49;
  }
  .nav.open a { transform: translateY(0); opacity: 1; }
}
div.news {
  background-color: rgb(18, 18, 18);
  text-align: center;
  justify-content: center;
}
div.news > div.back {
  width:75%;
  height: 600px;
  
  text-align: center;
  margin-right: 200px;
  margin-bottom: 50px;
  border-radius: 30px;
  display: flex;

}
div.news > div.back > img {
border-radius: 30px;
margin-right: 150px;
box-shadow: 5px 5px 5px 5px red;
}
.moon {
  text-align: center ;
  margin-right: 670px;
  color: rgb(255, 255, 255);
  font-size: 30px;
  text-decoration: none;
  width: 70px;
  
  border-radius: 10px;
}
.moon:hover {
  text-align: center ;
  margin-right: 670px;
  color: rgb(255, 0, 0);
  font-size: 30px;
  text-decoration: none;
  width: 70px;
  
  border-radius: 10px;
  transition: all 300ms linear;
}
.bab {
  width: 100%;
  height: 200px;
  background-color: #121212;
}
@media (max-width: 800px) {
  .logo {
    transform: translateX(0);
    opacity: 1;
  }
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    right: 0; left: 0;
    background: rgba(18,18,18,.95);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    z-index: 49;
    width: 100%;
    align-items: flex-end;
  }
  .nav.open { display: flex; }
  .nav a {
    transform: translateY(0);
    opacity: 1;
    padding: 10px 0;
    width: 100%;
    text-align: right;
  }
  .hamburger {
    display: inline-flex;
    background: transparent;
    color: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 1.2rem;
  }
  .header-inner {
    justify-content: space-between;
  }
}
/* ===== Contact Page ===== */
.contact-hero {
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg) 100%);
  padding: 100px 16px 80px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.contact-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  color: #FF0000;
  margin: 0 0 16px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease .2s, transform .8s ease .2s;
}

body.loaded .contact-title { opacity: 1; transform: translateY(0); }
body.loaded .contact-subtitle { opacity: 1; transform: translateY(0); }

/* ===== Info Cards ===== */
.contact-info-section {
  background: var(--bg);
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .info-grid { grid-template-columns: repeat(3, 1fr); }
}

.info-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 24px;
  text-align: center;
  transition: all .3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.info-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.info-card:hover {
  background: rgba(255, 0, 0, .1);
  border-color: #FF0000;
  box-shadow: 0 10px 40px rgba(255, 0, 0, .15);
  transform: translateY(-8px);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.info-card h3 {
  font-size: 1.2rem;
  margin: 16px 0 12px 0;
  font-weight: 800;
  color: #fff;
}

.info-card p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.8;
  margin: 0;
}

.phone-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-links a {
  color: #FF0000;
  text-decoration: none;
  font-weight: 700;
  transition: color .2s ease, text-shadow .2s;
}

.phone-links a:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 0, 0, .5);
}

/* ===== Contact Form ===== */
.contact-form-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.form-title {
  font-size: clamp(24px, 3.3vw, 32px);
  font-weight: 900;
  color: #FF0000;
  margin: 0 0 48px 0;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}

.form-title.in-view {
  opacity: 1;
  transform: translateY(0);
}

.contact-form {
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease .2s, transform .8s ease .2s;
}

.contact-form.in-view {
  opacity: 1;
  transform: translateY(0);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: #fff;
  font-weight: 800;
  margin-bottom: 8px;
  font-size: .95rem;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  color: #fff;
  font-family: inherit;
  font-size: .95rem;
  outline: none;
  transition: all .3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(207, 207, 207, .5);
}

.form-group input:focus,
.form-group textarea:focus {
  background: rgba(255, 255, 255, .1);
  border-color: #FF0000;
  box-shadow: 0 0 0 3px rgba(255, 0, 0, .1);
}

.submit-btn {
  background: linear-gradient(135deg, #FF0000 0%, #cc0000 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 32px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: all .3s ease;
  margin-top: 8px;
  width: 100%;
  font-family: barbod;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 0, 0, .3);
}

.submit-btn:active {
  transform: translateY(0);
}

.form-note {
  text-align: center;
  color: rgba(207, 207, 207, .7);
  font-size: .85rem;
  margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 800px) {
  .contact-hero {
    padding: 60px 16px 50px;
  }

  .info-card {
    padding: 24px 16px;
  }

  .contact-form-section {
    padding: 60px 0;
  }

  .form-title {
    margin-bottom: 32px;
  }
}
/* ========== خدمات ========== */

.services-hero {
  position: relative;
  height: 300px;
  background: linear-gradient(135deg, #DC143C 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.services-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
}

.services-hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  animation: slideUp 0.8s ease-out;
}

.services-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.services-hero p {
  font-size: 1.2rem;
  opacity: 0.95;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* بخش خدمات */
.services-section {
  padding: 4rem 0;
  background: #121212;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: rgba(0, 0, 0, 0.95);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border-left: 4px solid #DC143C;
  box-shadow: 0 4px 15px rgba(220, 20, 60, 0.1);
  transition: all 0.3s ease;
  animation: fadeInScale 0.6s ease-out forwards;
  backdrop-filter: blur(10px);
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }
.service-card:nth-child(8) { animation-delay: 0.8s; }

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(220, 20, 60, 0.25);
  border-left-color: #ff0000;
  background: #121212;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #ff0000;
  font-weight: 600;
}

.service-card p {
  color: #ffffff;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* بخش منافع خدمات */
.service-benefits {
  padding: 4rem 0;
  background: #121212;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 10px;
  border-top: 3px solid #DC143C;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.benefit-item:hover {
  background: rgb(0, 0, 0);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(220, 20, 60, 0.15);
}

.benefit-item h4 {
  color: #ff0033;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.benefit-item p {
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* انیمیشن‌ها */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* تجاوب‌پذیری */
@media (max-width: 768px) {
  .services-hero h1 {
    font-size: 1.8rem;
  }
  
  .services-hero p {
    font-size: 1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== FAQ SECTION ===== */
/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 80px 0 100px;
  background: linear-gradient(165deg, #121212 0%, #121212 50%, rgb(61, 0, 0) 100%);
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.12) 0%, transparent 70%);
  top: 10%;
  right: -100px;
  border-radius: 50%;
  filter: blur(60px);
  animation: faqFloat 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.faq-section::after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
  bottom: 5%;
  left: -80px;
  border-radius: 50%;
  filter: blur(50px);
  animation: faqFloat 10s 2s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes faqFloat {
  0% {
    transform: scale(1) translateY(0);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.3) translateY(-30px);
    opacity: 1;
  }
}

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

/* عنوان */
.faq-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #ff0000, #ffffff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: faqGradient 5s ease infinite;
}

.faq-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1rem;
  margin-bottom: 50px;
}

@keyframes faqGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* لیست */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* آیتم */
.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 30px rgba(100, 100, 255, 0.08);
}

.faq-item.open {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(100, 180, 255, 0.25);
  box-shadow: 0 10px 40px rgba(100, 130, 255, 0.12);
}

/* دکمه سوال */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: #ddd;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: right;
  direction: rtl;
  transition: color 0.3s;
}

.faq-question:hover {
  color: #fff;
}

/* آیکن + */
.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 32, 32, 0.15), rgba(255, 1, 1, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s ease;
}

.faq-icon .bar {
  position: absolute;
  width: 14px;
  height: 2px;
  background: #a0b4ff;
  border-radius: 2px;
  transition: all 0.4s ease;
}

.faq-icon .bar2 {
  transform: rotate(90deg);
}

/* وقتی باز شد */
.faq-item.open .faq-icon {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.35), rgba(200, 100, 255, 0.35));
  box-shadow: 0 0 15px rgba(255, 33, 33, 0.3);
}

.faq-item.open .faq-icon .bar {
  background: #fff;
}

.faq-item.open .faq-icon .bar2 {
  transform: rotate(0deg);
  opacity: 0;
}

/* پاسخ */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 24px 22px 24px;
  padding-right: 70px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  line-height: 2;
  opacity: 0;
  transform: translateY(-8px);
  transition: all 0.4s 0.15s ease;
}

.faq-item.open .faq-answer-inner {
  opacity: 1;
  transform: translateY(0);
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .faq-title {
    font-size: 1.8rem;
  }
  .faq-question {
    font-size: 0.95rem;
    padding: 16px 18px;
    gap: 10px;
  }
  .faq-answer-inner {
    padding-right: 62px;
    padding-left: 18px;
    font-size: 0.88rem;
  }
  .faq-icon {
    width: 28px;
    height: 28px;
  }
  .faq-icon .bar {
    width: 12px;
  }
}
