#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  cursor: default;
  z-index: 1;
}

[dir="rtl"] #hero-canvas {
  left: 0;
  right: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: var(--section-pad);
  padding-right: 0;
  pointer-events: none;
}

.hero-content a,
.hero-content button {
  pointer-events: auto;
}

[dir="rtl"] .hero-content {
  padding: var(--section-pad);
  padding-left: 0;
  text-align: right;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--border-strong);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  animation: heroFadeIn 0.6s ease both;
  animation-delay: 0.1s;
  opacity: 0;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: badgeDotPulse 2s ease infinite;
}
@keyframes badgeDotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.6rem, 7vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  animation: heroFadeIn 0.6s ease both;
  animation-delay: 0.25s;
  opacity: 0;
}
.hero-title .line-accent { color: var(--accent); }

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 460px;
  line-height: 1.7;
  margin-bottom: 32px;
  animation: heroFadeIn 0.6s ease both;
  animation-delay: 0.4s;
  opacity: 0;
}

.hero-model-switcher {
  display: none !important;
}

.hero-3d-hint {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  animation: heroFadeIn 0.6s ease both;
  animation-delay: 0.8s;
  opacity: 0;
}

[dir="rtl"] .hero-3d-hint {
  right: auto;
  left: 20px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: heroFadeIn 0.6s ease both;
  animation-delay: 0.55s;
  opacity: 0;
}

.hero-stats {
  display: flex;
  gap: 32px;
  animation: heroFadeIn 0.6s ease both;
  animation-delay: 0.7s;
  opacity: 0;
}
.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-stat-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  color: var(--fg);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-stat-divider {
  width: 1px;
  background: var(--border-strong);
  align-self: stretch;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 5vw;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: heroFadeIn 0.6s ease both;
  animation-delay: 0.9s;
  opacity: 0;
}

[dir="rtl"] .hero-scroll {
  left: auto;
  right: 5vw;
}
.hero-scroll-text {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: var(--fg-faint);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 100%; }
}

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