/* =========================================================
   ElevateNow — AI Visual Illustrations
   ========================================================= */

.dashboard-frame {
  position: relative;
  width: 100%; max-width: 560px;
  margin: 0 auto;
  transform: perspective(1400px) rotateY(-7deg) rotateX(4deg);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.dashboard-frame:hover {
  transform: perspective(1400px) rotateY(0deg) rotateX(0deg);
}
.hero-svg {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 40px 80px rgba(79,70,229,0.25)) drop-shadow(0 20px 40px rgba(15,14,42,0.15));
  border-radius: 20px;
  animation: dashboardFloat 8s ease-in-out infinite;
}
@keyframes dashboardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.dash-chip {
  position: absolute; padding: 10px 16px; background: #fff; border-radius: 100px;
  font-size: 0.78rem; font-weight: 700; color: var(--ink);
  box-shadow: 0 12px 32px rgba(15,14,42,0.15), 0 0 0 1px rgba(15,14,42,0.04);
  display: flex; align-items: center; gap: 8px; z-index: 10;
  animation: chipFloat 6s ease-in-out infinite; white-space: nowrap;
}
.dash-chip-dot { width: 8px; height: 8px; border-radius: 50%; background: #4F46E5; box-shadow: 0 0 0 3px rgba(79,70,229,0.2), 0 0 10px rgba(79,70,229,0.4); }
.dash-chip-dot-cyan { background: var(--cyan); box-shadow: 0 0 0 3px rgba(0,212,255,0.2), 0 0 10px rgba(0,212,255,0.5); }
.dash-chip-dot-warm { background: var(--accent); box-shadow: 0 0 0 3px rgba(255,107,91,0.2), 0 0 10px rgba(255,107,91,0.5); }
.dash-chip-1 { top: 6%; left: -8%; animation-delay: 0s; }
.dash-chip-2 { top: 42%; right: -12%; animation-delay: 2s; }
.dash-chip-3 { bottom: 8%; left: 5%; animation-delay: 4s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.ai-hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}
.ai-network-frame {
  position: relative;
  flex: 0 1 320px;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  margin: 0;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(79,70,229,0.15), rgba(0,212,255,0.05) 70%, transparent);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.ai-network-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cta-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 75%);
  animation: networkPulse 6s ease-in-out infinite;
}
@keyframes networkPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.85; }
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -60px;
  background:
    radial-gradient(circle at 30% 40%, rgba(79,70,229,0.15), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255,107,91,0.12), transparent 50%);
  filter: blur(40px);
  border-radius: 50%;
  z-index: -1;
  animation: heroGlow 10s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

@media (max-width: 960px) {
  .dashboard-frame { max-width: 480px; transform: perspective(1400px) rotateY(-4deg) rotateX(2deg); }
  .ai-network-frame { flex: 0 1 260px; max-width: 260px; }
}
@media (max-width: 720px) {
  .dashboard-frame { max-width: 100%; transform: none; }
  .dash-chip { display: none; }
  .ai-network-frame { flex: 0 1 220px; max-width: 220px; }
  .hero-visual { min-height: 360px; }
}