/* ============================================================
   Lumaia — atmospheric & motion layer
   Restores the design the markup already asks for but the
   Tailwind build never compiled (fade-in, hero-aura,
   section-vignette, orb glows, glow-pulse, form-input).
   Purely ADDITIVE: these classes render nothing today, so
   defining them cannot disturb existing layout.
   Palette: gold #E5B96A · purple #7054C0 · teal #3EA8A0
   ============================================================ */

/* ---- Staggered entrance, as the class names intend ---- */
@keyframes lum-rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in,
.fade-in-delay,
.fade-in-delay-2 {
  opacity: 0;
  animation: lum-rise 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: opacity, transform;
}
.fade-in-delay   { animation-delay: 0.22s; }
.fade-in-delay-2 { animation-delay: 0.44s; }

/* ---- Hero aura: soft light breathing behind the headline ---- */
.hero-aura {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(920px, 125vw);
  height: min(920px, 125vw);
  background: radial-gradient(circle,
    rgba(229, 185, 106, 0.11) 0%,
    rgba(112, 84, 192, 0.08) 38%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: lum-breathe 10s ease-in-out infinite;
}
@keyframes lum-breathe {
  0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.05); }
}

/* ---- Section vignette: gentle depth so sections aren't flat black ---- */
.section-vignette { position: relative; }
.section-vignette > * { position: relative; z-index: 1; }
.section-vignette::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 78% 60% at 50% 42%,
    rgba(112, 84, 192, 0.07) 0%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

/* ---- Orb glows behind the numbered steps ---- */
.orb-glow-purple {
  box-shadow: 0 0 42px rgba(112, 84, 192, 0.38),
              inset 0 0 0 1px rgba(112, 84, 192, 0.20);
}
.orb-glow-teal {
  box-shadow: 0 0 42px rgba(62, 168, 160, 0.32),
              inset 0 0 0 1px rgba(62, 168, 160, 0.20);
}

/* ---- Breathing pulse for the App Store call-to-action ---- */
.glow-pulse { animation: lum-pulse 3.6s ease-in-out infinite; border-radius: 12px; }
@keyframes lum-pulse {
  0%, 100% { box-shadow: 0 0 0 rgba(229, 185, 106, 0.0); }
  50%      { box-shadow: 0 0 44px rgba(229, 185, 106, 0.32); }
}

/* ---- Form fields (the class the markup expects) ---- */
.form-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(112, 84, 192, 0.35);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-input::placeholder { color: rgba(246, 246, 246, 0.30); }
.form-input:focus {
  outline: none;
  border-color: rgba(229, 185, 106, 0.55);
  box-shadow: 0 0 22px rgba(229, 185, 106, 0.12);
}

/* ---- Typographic breathing room (gentle, matches the design guide) ---- */
.font-serif { letter-spacing: -0.01em; }
h1.font-serif { line-height: 1.08; }
p { text-wrap: pretty; }

/* ---- Motion honored to comfort preference ---- */
@media (prefers-reduced-motion: reduce) {
  .fade-in, .fade-in-delay, .fade-in-delay-2 { opacity: 1; animation: none; transform: none; }
  .hero-aura, .glow-pulse { animation: none; }
}
