/* ═══════════ HERO ═══════════ */
.hero {
  background: linear-gradient(155deg, var(--navy) 0%, #050930 40%, #0C1660 100%);
  position: relative;
  overflow: hidden;
}

/* Animated aluminum profile cross-section background */
.hero-profile-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-profile-bg svg {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%) perspective(800px) rotateY(-12deg) rotateX(3deg);
  width: 65%;
  max-width: 780px;
  height: auto;
  opacity: 0;
  animation: profileReveal 1.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform-origin: center center;
  filter: drop-shadow(0 0 40px rgba(25,62,234,0.2));
}

@keyframes profileReveal {
  from { opacity: 0; transform: translateY(-50%) perspective(800px) rotateY(-18deg) rotateX(6deg) scale(0.85); }
  to { opacity: 1; transform: translateY(-50%) perspective(800px) rotateY(-12deg) rotateX(3deg) scale(1); }
}

/* Continuous slow rotation for dynamism */
.hero-profile-bg svg {
  animation: profileReveal 1.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards, profileFloat 12s 2s ease-in-out infinite;
}

@keyframes profileFloat {
  0%, 100% { transform: translateY(-50%) perspective(800px) rotateY(-12deg) rotateX(3deg) scale(1); }
  25% { transform: translateY(-51%) perspective(800px) rotateY(-10deg) rotateX(2deg) scale(1.01); }
  50% { transform: translateY(-49%) perspective(800px) rotateY(-14deg) rotateX(4deg) scale(1); }
  75% { transform: translateY(-50.5%) perspective(800px) rotateY(-11deg) rotateX(1deg) scale(1.005); }
}

/* Floating glow behind the profile */
.hero-profile-bg::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(25,62,234,0.4) 0%, rgba(25,62,234,0.12) 40%, transparent 70%);
  animation: glowPulse 5s ease-in-out infinite;
  z-index: -1;
}

/* Secondary glow */
.hero-profile-bg::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  right: 15%;
  top: 30%;
  background: radial-gradient(circle, rgba(59,91,255,0.2) 0%, transparent 60%);
  animation: glowPulse 7s 2s ease-in-out infinite;
  z-index: -1;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translateY(-50%) scale(1); }
  50% { opacity: 1; transform: translateY(-50%) scale(1.15); }
}

/* Scan line effect */
.profile-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 20%, rgba(25,62,234,0.8), rgba(100,140,255,0.6), transparent 80%);
  animation: scanDown 5s 1s ease-in-out infinite;
  opacity: 0;
  z-index: 1;
  box-shadow: 0 0 20px rgba(25,62,234,0.4), 0 0 60px rgba(25,62,234,0.15);
}

@keyframes scanDown {
  0% { top: 10%; opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.7; }
  100% { top: 90%; opacity: 0; }
}

/* Dimension annotation lines */
.profile-annotation {
  position: absolute;
  opacity: 0;
  animation: annotationIn 0.8s forwards;
  z-index: 2;
}

.profile-annotation-1 { right: 12%; top: 18%; animation-delay: 1.8s; }
.profile-annotation-2 { right: 28%; bottom: 22%; animation-delay: 2.2s; }
.profile-annotation-3 { right: 8%; top: 55%; animation-delay: 2.6s; }

@keyframes annotationIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

.annotation-tag {
  background: rgba(25,62,234,0.25);
  border: 1px solid rgba(25,62,234,0.4);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.04em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.annotation-dot {
  width: 5px;
  height: 5px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(25,62,234,0.8);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 4px rgba(25,62,234,0.6); }
  50% { box-shadow: 0 0 12px rgba(25,62,234,1); }
}

/* Particle dots floating */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(25,62,234,0.4);
  border-radius: 50%;
  animation: particleFloat 12s linear infinite;
}

.hero-particle:nth-child(1) { left: 60%; top: 20%; animation-delay: 0s; animation-duration: 10s; }
.hero-particle:nth-child(2) { left: 75%; top: 40%; animation-delay: -3s; animation-duration: 14s; }
.hero-particle:nth-child(3) { left: 55%; top: 70%; animation-delay: -6s; animation-duration: 11s; }
.hero-particle:nth-child(4) { left: 85%; top: 30%; animation-delay: -2s; animation-duration: 13s; }
.hero-particle:nth-child(5) { left: 65%; top: 85%; animation-delay: -8s; animation-duration: 15s; }
.hero-particle:nth-child(6) { left: 90%; top: 60%; animation-delay: -4s; animation-duration: 9s; }

@keyframes particleFloat {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  15% { opacity: 0.8; }
  85% { opacity: 0.8; }
  100% { transform: translate(-40px, -60px) scale(0.5); opacity: 0; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 580px;
  align-items: center;
  gap: 2rem;
}

.hero-content { padding: 5rem 0 5rem 2rem; position: relative; z-index: 2; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(25,62,234,0.15);
  border: 1px solid rgba(25,62,234,0.25);
  padding: 0.35rem 0.9rem;
  border-radius: 6px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-tag-dot { width: 5px; height: 5px; background: #4ADE80; border-radius: 50%; }

h1.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.1;
}

h1.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, #5B7FFF, #93ADFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.5);
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 3rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 8px 24px rgba(25,62,234,0.3); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

.btn svg { width: 16px; height: 16px; }

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-metric {
  background: rgba(255,255,255,0.03);
  padding: 1.2rem 1rem;
  text-align: center;
}

.hero-metric-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.hero-metric-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  margin-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

