/* ═══════════════════════════════════════════════════════════════════════
   FastFixCell.com — Hero Section v3.0
   Futuristic Phone Repair Hero with Scan Lines + Glass Card
   ═══════════════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
  overflow: hidden;
  background: var(--surface-0);
}

/* ── Background Layers ──────────────────────────────────────── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: var(--bg-circuit);
  opacity: 0.5;
}
.hero-bg-glow {
  position: absolute;
  top: -20%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: heroGlowFloat 8s ease-in-out infinite;
}
.hero-bg-glow-2 {
  position: absolute;
  bottom: -10%; right: -5%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  animation: heroGlowFloat 6s ease-in-out infinite reverse;
}
@keyframes heroGlowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ── Scan Lines ──────────────────────────────────────────────── */
.hero-scanlines {
  position: absolute;
  inset: 0;
  background: var(--scan-line);
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}

/* ── Floating Device ────────────────────────────────────────── */
.hero-device {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  animation: deviceFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 0 60px rgba(37, 99, 235, 0.3));
}
.hero-device img {
  max-height: 70vh;
  width: auto;
}
@keyframes deviceFloat {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-52%) translateX(-10px); }
}

/* ── Content ────────────────────────────────────────────────── */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
  padding: var(--space-16) 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  color: var(--primary-300);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease;
}
.hero-badge .pulse-dot {
  width: 8px; height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: var(--neon-green-glow);
  animation: pulse 2s ease-in-out infinite;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: var(--font-black);
  line-height: 1.05;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease 0.1s both;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary-400) 0%, var(--neon-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── Trust Bar ──────────────────────────────────────────────── */
.hero-trust {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: var(--border-subtle);
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.hero-trust-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-xl);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
}
.hero-trust-text strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-primary);
  font-weight: var(--font-bold);
}
.hero-trust-text span {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ── Glass Card (overlay on hero) ───────────────────────────── */
.hero-glass-card {
  position: absolute;
  right: 8%;
  bottom: 15%;
  z-index: 3;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--border-default);
  border-radius: var(--radius-3xl);
  padding: var(--space-6);
  max-width: 320px;
  box-shadow: var(--shadow-xl);
  animation: fadeInUp 0.8s ease 0.5s both;
}
.hero-glass-card .price-tag {
  font-size: var(--text-3xl);
  font-weight: var(--font-black);
  color: var(--primary-300);
  margin-bottom: var(--space-2);
}
.hero-glass-card .price-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-device { display: none; }
  .hero-glass-card {
    position: relative;
    right: auto; bottom: auto;
    margin-top: var(--space-8);
    max-width: 100%;
  }
  .hero-trust { flex-wrap: wrap; gap: var(--space-4); }
}
@media (max-width: 480px) {
  .hero { min-height: auto; padding: calc(var(--nav-height) + var(--space-8)) 0 var(--space-12); }
  .hero-content { padding: var(--space-8) 0; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ── Hero Video Background ──────────────────────────────────── */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.65;
  filter: brightness(0.5) saturate(0.8);
}
.hero-video-bg + .hero-bg-glow {
  z-index: 1;
  opacity: 0.7;
}
.hero-scanlines { z-index: 1; opacity: 0.25; }
.ambient-particles { z-index: 1; }
.hero-content { z-index: 3; }
.hero-glass-card { z-index: 4; }
.hero-trust { z-index: 3; }

@media (max-width: 768px) {
  .hero-video-bg { opacity: 0.4; }
}
