/* ════════════════════════════════════════
   GLOBAL UI ENHANCEMENTS (PMP PREP)
   Safe global overrides only
   ════════════════════════════════════════ */

:root {
  --pmp-purple: #6b00c7;
  --pmp-purple-light: #a855f7;
  --pmp-purple-deep: #250044;
}

/* Global focus states */
*:focus-visible {
  outline: 2px solid var(--pmp-purple-light) !important;
  outline-offset: 2px !important;
}

/* Enhanced brand gradients for decorative elements */
.brand-gradient {
  background: linear-gradient(135deg, var(--pmp-purple-light) 0%, var(--pmp-purple) 100%) !important;
  box-shadow: 0 4px 12px rgba(107, 0, 199, 0.2) !important;
}

/* Header — glass morphism effect */
header.glass {
  background: rgba(255, 255, 255, 0.82) !important;
  border-bottom: 1px solid rgba(107, 0, 199, 0.06) !important;
  backdrop-filter: blur(20px) saturate(1.8) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.8) !important;
}

/* Active nav link — subtle pulse */
a[aria-current="page"] span:first-child {
  animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes subtle-pulse {
  0% { text-shadow: 0 0 0 rgba(168, 85, 247, 0); }
  50% { text-shadow: 0 0 12px rgba(168, 85, 247, 0.4); }
  100% { text-shadow: 0 0 0 rgba(168, 85, 247, 0); }
}

/* Footer — subtle brand gradient */
footer {
  background: linear-gradient(180deg, transparent 0%, rgba(107, 0, 199, 0.02) 100%) !important;
  border-top: 1px solid rgba(107, 0, 199, 0.08) !important;
  padding: 2.5rem 1rem !important;
}

/* ════════════════════════════════════════
   ANIMATIONS — Reveal on scroll
   ════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Clean printing */
@media print {
  header, footer, .sticky, button[aria-label="Copy"] { display: none !important; }
  body { background: white !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  * { box-shadow: none !important; }
}

/* ════════════════════════════════════════
   PREMIUM SAAS EFFECTS (Aurora & Text Gradient)
   ════════════════════════════════════════ */

/* Aurora Animated Background */
body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(107, 0, 199, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(37, 0, 68, 0.03) 0%, transparent 50%);
  z-index: -1;
  animation: aurora-move 40s linear infinite;
  pointer-events: none;
}

@keyframes aurora-move {
  0% { transform: rotate(0deg) scale(1); }
  33% { transform: rotate(120deg) scale(1.1); }
  66% { transform: rotate(240deg) scale(0.9); }
  100% { transform: rotate(360deg) scale(1); }
}

/* Premium Gradient Text for Main Titles */
main h1 {
  background: linear-gradient(135deg, #1e1b4b 0%, #6b00c7 50%, #d8b4fe 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
  line-height: 1.2 !important;
  padding-bottom: 0.1em; /* prevents clipping of descending letters */
}

/* Make existing gradients (like the small dash above titles) pop more */
.brand-gradient {
  background: linear-gradient(90deg, #a855f7, #6b00c7) !important;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.5) !important;
}
