.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--secondary);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, #7648DF, #2E1A73, #5a2fb8, #7648DF);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
}

.hero-particles {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

.hero-radar {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: min(400px, 80vw);
  height: min(400px, 80vw);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  animation: radarPulse 4s ease-in-out infinite;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-2xl);
  padding-block: var(--space-3xl);
}

.hero-content {
  max-width: 32rem;
}

.hero-title {
  font-size: var(--hero-title);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero-subtitle {
  font-size: var(--lead);
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: var(--space-xl);
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.8s var(--ease-out) 0.35s forwards;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero-device {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(32px) scale(0.96);
  animation: heroDeviceIn 1s var(--ease-out) 0.4s forwards;
}

.phone-mockup {
  position: relative;
  width: min(280px, 45vw);
  padding: 12px;
  background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 36px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.06);
  animation: float 6s ease-in-out infinite;
}

.phone-screen {
  aspect-ratio: 9 / 19.5;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #e8f4f8 0%, #d0e8f0 100%);
}

.phone-map-view {
  position: relative;
  width: 100%;
  height: 100%;
  background-image: url('../assets/img/hero-map.png'), radial-gradient(circle at 50% 50%, #b8dde8 0%, #8fc9dc 100%);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

.map-pin {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 8px rgba(118, 72, 223, 0.5);
  animation: pinBounce 2s ease-in-out infinite;
}

.map-pin-1 { top: 28%; left: 35%; animation-delay: 0s; }
.map-pin-2 { top: 45%; left: 58%; animation-delay: 0.3s; }
.map-pin-3 { top: 62%; left: 42%; animation-delay: 0.6s; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  transition: transform var(--duration-fast), box-shadow var(--duration), background var(--duration-fast), color var(--duration-fast);
}

.btn-primary {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--secondary);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.9);
}
