/* Lumina Clarity — subtle motion layer */

@keyframes gentle-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes soft-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header nav underline */
.nav-desktop a {
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

/* Hero layout */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.hero-blob--1 {
  width: 400px;
  height: 400px;
  background: rgba(26, 107, 82, 0.15);
  top: -5%;
  right: 0;
  animation: gentle-float 10s ease-in-out infinite;
}

.hero-blob--2 {
  width: 280px;
  height: 280px;
  background: rgba(212, 101, 74, 0.1);
  bottom: 10%;
  right: 20%;
  animation: gentle-float 12s ease-in-out infinite reverse;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.hero-lens {
  position: relative;
  width: min(360px, 85vw);
  height: min(360px, 85vw);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: gentle-float 8s ease-in-out infinite;
}

.hero-lens-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(26, 107, 82, 0.15);
}

.hero-lens-ring--1 {
  width: 100%;
  height: 100%;
}

.hero-lens-ring--2 {
  width: 75%;
  height: 75%;
  border-color: rgba(212, 101, 74, 0.2);
  animation: soft-pulse 4s ease-in-out infinite;
}

.hero-lens-core {
  position: relative;
  z-index: 2;
  width: 140px;
  height: 140px;
}

.hero-lens-core svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 24px rgba(26, 107, 82, 0.2));
}

.hero-hud {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-hud span {
  padding: 6px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  box-shadow: var(--shadow-card);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  animation: soft-pulse 2s ease-in-out infinite;
}

.glass-card > * {
  position: relative;
  z-index: 1;
}

/* Testimonial quote mark */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(26, 107, 82, 0.1);
}

.timeline-step:hover .step-num {
  transform: scale(1.06);
  transition: transform 0.3s ease;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 280px;
    order: -1;
  }
}

@media (max-width: 768px) {
  .hero-lens {
    width: min(260px, 75vw);
    height: min(260px, 75vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
