/* ============================================================
   چرخ گستر سهند - Hero Product Section
   آبگیر (سانتریفیوژ) کبیر چرخ گستر سهند
   نسخه: 1.0 - قدرت آهن، تکنولوژی مکانیکی پیشرفته
   ============================================================ */

:root {
  --atlas-deep-blue: #0a1a2f;
  --atlas-mid-blue: #0d2240;
  --atlas-tech-blue: #134074;
  --atlas-gold: #d4af37;
  --atlas-gold-light: #e5c767;
  --atlas-copper: #b87333;
  --atlas-iron: #6b7b8d;
  --atlas-steel-dark: #1c1c1c;
  --atlas-white: #ffffff;
  --atlas-light-gray: #e8ecf1;
  --atlas-text-on-dark: #ccd6e0;
  --atlas-text-muted: #8899aa;
  --atlas-green: #2ecc71;
  --transition-smooth: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1.2);
  --border-radius: 20px;
  --font-primary: 'IRANSans', 'Vazirmatn', 'Tahoma', sans-serif;
}

/* ==================== بخش اصلی ==================== */
.hero-product-section {
  background: linear-gradient(180deg, #050d18 0%, var(--atlas-deep-blue) 30%, var(--atlas-mid-blue) 100%);
  padding: 6rem 1rem;
  font-family: var(--font-primary);
  direction: rtl;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* ==================== پس‌زمینه چرخ‌دنده‌های بزرگ ==================== */
.hp-gears-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.28;
}

.hp-gear-1 {
  position: absolute;
  top: -200px;
  left: -150px;
  width: 700px;
  height: 700px;
  color: var(--atlas-gold);
  animation: hpGearSlow 35s linear infinite, hpGearGlow1 3s ease-in-out infinite;
}

@keyframes hpGearGlow1 {

  0%,
  100% {
    filter:
      drop-shadow(0 0 30px rgba(255, 215, 0, 0.9)) drop-shadow(0 0 70px rgba(212, 175, 55, 0.7)) drop-shadow(0 0 130px rgba(212, 175, 55, 0.4));
  }

  50% {
    filter:
      drop-shadow(0 0 50px rgba(255, 230, 0, 1)) drop-shadow(0 0 110px rgba(212, 175, 55, 1)) drop-shadow(0 0 180px rgba(212, 175, 55, 0.6));
  }
}

.hp-gear-2 {
  position: absolute;
  bottom: -180px;
  right: -120px;
  width: 600px;
  height: 600px;
  color: var(--atlas-copper);
  animation: hpGearMedium 25s linear infinite reverse, hpGearGlow2 3.5s ease-in-out infinite;
}

@keyframes hpGearGlow2 {

  0%,
  100% {
    filter:
      drop-shadow(0 0 25px rgba(255, 170, 70, 0.8)) drop-shadow(0 0 55px rgba(184, 115, 51, 0.6)) drop-shadow(0 0 90px rgba(184, 115, 51, 0.3));
  }

  50% {
    filter:
      drop-shadow(0 0 40px rgba(255, 190, 90, 1)) drop-shadow(0 0 85px rgba(200, 130, 60, 0.9)) drop-shadow(0 0 130px rgba(184, 115, 51, 0.6));
  }
}

.hp-gear-3 {
  position: absolute;
  top: 40%;
  right: -60px;
  width: 250px;
  height: 250px;
  color: var(--atlas-steel-dark);
  animation: hpGearFast 12s linear infinite, hpGearGlow3 2.5s ease-in-out infinite;
}

@keyframes hpGearGlow3 {

  0%,
  100% {
    filter:
      drop-shadow(0 0 12px rgba(200, 210, 225, 0.8)) drop-shadow(0 0 30px rgba(108, 122, 137, 0.5));
  }

  50% {
    filter:
      drop-shadow(0 0 22px rgba(220, 230, 245, 1)) drop-shadow(0 0 50px rgba(130, 145, 160, 0.8));
  }
}

@keyframes hpGearSlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes hpGearMedium {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

@keyframes hpGearFast {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ==================== ذرات فلزی ==================== */
.hp-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hp-particle {
  position: absolute;
  background: var(--atlas-gold);
  border-radius: 1px;
  animation: hpParticleFloat 6s ease-in infinite;
  opacity: 0;
}

@keyframes hpParticleFloat {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }

  15% {
    opacity: 0.8;
  }

  85% {
    opacity: 0.3;
  }

  100% {
    transform: translateY(-500px) translateX(80px) rotate(720deg);
    opacity: 0;
  }
}

/* ==================== کانتینر ==================== */
.hp-container {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ==================== هدر ==================== */
.hp-header {
  text-align: center;
  margin-bottom: 4rem;
}

.hp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.1);
  color: var(--atlas-gold);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  letter-spacing: 2px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  margin-bottom: 1.5rem;
  animation: hpBadgeGlow 3s ease-in-out infinite;
}

.hp-badge-star {
  width: 16px;
  height: 16px;
  animation: hpStarRotate 4s linear infinite;
}

@keyframes hpBadgeGlow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.3);
  }

  50% {
    box-shadow: 0 0 0 20px rgba(212, 175, 55, 0);
  }
}

@keyframes hpStarRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.hp-title {
  color: var(--atlas-white);
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.hp-title-gold {
  background: linear-gradient(135deg, var(--atlas-gold) 0%, var(--atlas-gold-light) 50%, var(--atlas-copper) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hp-subtitle {
  color: var(--atlas-text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ==================== گرید اصلی ==================== */
.hp-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

/* ==================== بخش تصویر محصول ==================== */
.hp-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

/* حلقه‌های مداری دور محصول */
.hp-orbit-ring {
  position: absolute;
  border: 2px solid rgba(212, 175, 55, 0.15);
  border-radius: 50%;
  animation: hpOrbitSpin 20s linear infinite;
}

.hp-orbit-ring:nth-child(1) {
  width: 400px;
  height: 400px;
  animation-duration: 20s;
}

.hp-orbit-ring:nth-child(2) {
  width: 320px;
  height: 320px;
  animation-duration: 15s;
  animation-direction: reverse;
  border-color: rgba(184, 115, 51, 0.2);
}

.hp-orbit-ring:nth-child(3) {
  width: 240px;
  height: 240px;
  animation-duration: 10s;
  border-style: dashed;
}

/* نقطه روشن روی حلقه */
.hp-orbit-ring::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--atlas-gold);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--atlas-gold), 0 0 40px var(--atlas-gold);
}

@keyframes hpOrbitSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* کانتینر تصویر */
.hp-image-wrapper {
  position: relative;
  z-index: 2;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(10, 26, 47, 0.9) 80%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(212, 175, 55, 0.3);
  animation: hpProductFloat 6s ease-in-out infinite;
  box-shadow:
    0 0 60px rgba(212, 175, 55, 0.15),
    inset 0 0 60px rgba(212, 175, 55, 0.05);
}

@keyframes hpProductFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

.hp-image-wrapper img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
  transition: transform 0.5s ease;
}

.hp-image-wrapper:hover img {
  transform: scale(1.08) rotate(-3deg);
}

/* نشان طلایی */
.hp-tag {
  position: absolute;
  top: -12px;
  right: 50%;
  transform: translateX(50%);
  background: linear-gradient(135deg, var(--atlas-gold), var(--atlas-copper));
  color: var(--atlas-deep-blue);
  padding: 0.4rem 1.8rem;
  border-radius: 50px;
  font-weight: 900;
  font-size: 0.85rem;
  white-space: nowrap;
  z-index: 3;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
  animation: hpTagBounce 2.5s ease-in-out infinite;
}

@keyframes hpTagBounce {

  0%,
  100% {
    transform: translateX(50%) translateY(0);
  }

  50% {
    transform: translateX(50%) translateY(-6px);
  }
}

/* ==================== بخش مشخصات ==================== */
.hp-details {
  position: relative;
  z-index: 1;
}

.hp-product-name {
  color: var(--atlas-white);
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.hp-eng-name {
  color: var(--atlas-text-muted);
  font-size: 0.9rem;
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
}

.hp-divider {
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--atlas-gold), transparent);
  margin-bottom: 1.5rem;
}

.hp-description {
  color: var(--atlas-text-on-dark);
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ==================== مشخصات فنی ==================== */
.hp-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.hp-spec-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all var(--transition-smooth);
}

.hp-spec-item:hover {
  background: rgba(212, 175, 55, 0.05);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateX(-5px);
}

.hp-spec-icon {
  width: 44px;
  height: 44px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--atlas-gold);
  flex-shrink: 0;
  transition: all var(--transition-smooth);
}

.hp-spec-item:hover .hp-spec-icon {
  background: rgba(212, 175, 55, 0.2);
  transform: scale(1.1);
}

.hp-spec-icon svg {
  width: 22px;
  height: 22px;
}

.hp-spec-info {
  flex: 1;
}

.hp-spec-label {
  color: var(--atlas-text-muted);
  font-size: 0.7rem;
  letter-spacing: 1px;
}

.hp-spec-value {
  color: var(--atlas-white);
  font-size: 1rem;
  font-weight: 700;
}

/* ==================== مزیت‌های رقابتی ==================== */
.hp-advantages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.hp-advantage-tag {
  background: rgba(46, 204, 113, 0.08);
  color: var(--atlas-green);
  border: 1px solid rgba(46, 204, 113, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-smooth);
}

.hp-advantage-tag:hover {
  background: rgba(46, 204, 113, 0.15);
  transform: translateY(-2px);
}

.hp-advantage-tag svg {
  width: 14px;
  height: 14px;
}

/* ==================== دکمه‌ها ==================== */
.hp-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hp-primary {
  background: linear-gradient(135deg, var(--atlas-gold), var(--atlas-copper));
  color: var(--atlas-deep-blue);
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-hp-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
  color: var(--atlas-deep-blue);
}

.btn-hp-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.3) 50%, transparent 60%);
  animation: hpBtnShine 3s ease-in-out infinite;
}

@keyframes hpBtnShine {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }

  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

.btn-hp-outline {
  background: transparent;
  color: var(--atlas-white);
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-hp-outline:hover {
  border-color: var(--atlas-gold);
  color: var(--atlas-gold);
  background: rgba(212, 175, 55, 0.05);
}

/* ==================== کارت‌های ویژگی پایین ==================== */
.hp-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.hp-feature-card {
  background: linear-gradient(145deg, rgba(19, 64, 116, 0.25), rgba(10, 26, 47, 0.6));
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: var(--border-radius);
  padding: 2rem 1.2rem;
  text-align: center;
  transition: all var(--transition-smooth);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.hp-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--atlas-gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hp-feature-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.4);
}

.hp-feature-card:hover::before {
  opacity: 1;
}

.hp-feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.2rem;
  background: rgba(212, 175, 55, 0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--atlas-gold);
  transition: all var(--transition-smooth);
}

.hp-feature-card:hover .hp-feature-icon {
  background: rgba(212, 175, 55, 0.18);
  transform: scale(1.1) rotateY(180deg);
}

.hp-feature-icon svg {
  width: 30px;
  height: 30px;
}

.hp-feature-title {
  color: var(--atlas-white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.hp-feature-desc {
  color: var(--atlas-text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* ==================== Responsive ==================== */

/* تبلت */
@media (max-width: 992px) {
  .hp-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hp-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-title {
    font-size: 2.2rem;
  }

  .hp-product-name {
    font-size: 1.8rem;
  }
}

/* موبایل */
@media (max-width: 768px) {
  .hero-product-section {
    padding: 3rem 1rem;
  }

  .hp-title {
    font-size: 1.8rem;
  }

  .hp-product-name {
    font-size: 1.5rem;
  }

  .hp-visual {
    min-height: 320px;
  }

  .hp-image-wrapper {
    width: 220px;
    height: 220px;
  }

  .hp-orbit-ring:nth-child(1) {
    width: 280px;
    height: 280px;
  }

  .hp-orbit-ring:nth-child(2) {
    width: 230px;
    height: 230px;
  }

  .hp-orbit-ring:nth-child(3) {
    width: 180px;
    height: 180px;
  }

  .hp-specs {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }

  .hp-spec-item {
    padding: 0.8rem;
  }

  .hp-features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* موبایل کوچک */
@media (max-width: 480px) {
  .hp-title {
    font-size: 1.5rem;
  }

  .hp-specs {
    grid-template-columns: 1fr;
  }

  .hp-cta {
    flex-direction: column;
  }

  .btn-hp-primary,
  .btn-hp-outline {
    justify-content: center;
  }
}