/* =========================================================================
   Flockopay — WOW effects layer
   Overlays the base styles.css with extra motion, glow, tilt, magnetism.
   ========================================================================= */

/* ───────────────────────────────────────────────────────────────
   SCROLL PROGRESS BAR
   ─────────────────────────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--coral));
  z-index: 200;
  width: 0%;
  transition: width 0.05s linear;
  box-shadow: 0 0 12px rgba(59,130,246,0.6);
}

/* ───────────────────────────────────────────────────────────────
   CURSOR SPOTLIGHT — soft glow that follows the mouse
   ─────────────────────────────────────────────────────────────── */
.cursor-spotlight {
  position: fixed;
  pointer-events: none;
  top: 0; left: 0;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, rgba(59,130,246,0.06) 30%, transparent 60%);
  transform: translate(-50%, -50%);
  z-index: 1;
  mix-blend-mode: screen;
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.cursor-spotlight.active { opacity: 1; }

/* ───────────────────────────────────────────────────────────────
   AURORA — animated gradient mesh in hero background
   ─────────────────────────────────────────────────────────────── */
.hero {
  isolation: isolate;
}
.hero .hero-bg {
  background:
    radial-gradient(ellipse 700px 400px at 50% -10%, rgba(59,130,246,0.20), transparent 70%),
    radial-gradient(ellipse 500px 300px at 85% 20%, rgba(251,191,36,0.10), transparent 70%),
    radial-gradient(ellipse 400px 280px at 15% 30%, rgba(59,130,246,0.10), transparent 70%);
}
.hero .aurora {
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  filter: blur(80px);
}
.hero .aurora-blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
}
.hero .aurora-blob.b1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.55) 0%, transparent 60%);
  top: 10%; left: 5%;
  animation: blobMove1 18s ease-in-out infinite;
}
.hero .aurora-blob.b2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(251,191,36,0.45) 0%, transparent 60%);
  top: 50%; right: -5%;
  animation: blobMove2 22s ease-in-out infinite;
}
.hero .aurora-blob.b3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(251,113,133,0.35) 0%, transparent 60%);
  bottom: -10%; left: 35%;
  animation: blobMove3 26s ease-in-out infinite;
}
@keyframes blobMove1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 50px) scale(1.15); }
  66% { transform: translate(-60px, 100px) scale(0.9); }
}
@keyframes blobMove2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(-80px, -80px) scale(1.2); }
  80% { transform: translate(60px, 40px) scale(0.85); }
}
@keyframes blobMove3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(100px, -60px) scale(1.1); }
}

/* ───────────────────────────────────────────────────────────────
   HERO TEXT — word-by-word reveal stagger
   ─────────────────────────────────────────────────────────────── */
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  animation: wordIn 0.7s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes wordIn {
  to { opacity: 1; transform: translateY(0); }
}
/* CRITICAL — when .word is inside .accent-text, restore the gradient
   text-fill so the highlighted word stays visible. */
.hero h1 .accent-text .word,
.hero h1 .accent-text {
  background-image: linear-gradient(110deg, #fbbf24 0%, #fbbf24 30%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero .hero-eyebrow,
.hero p.lede,
.hero-ctas,
.hero-trust { opacity: 0; animation: fadeUp 0.7s 0.6s cubic-bezier(.2,.8,.2,1) forwards; }
.hero p.lede { animation-delay: 0.75s; }
.hero-ctas { animation-delay: 0.9s; }
.hero-trust { animation-delay: 1.05s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────────
   CHECKOUT MOCK — hero replacement for mascot
   ───────────────────────────────────────────── */
.checkout-mock {
  position: relative;
  z-index: 2;
  max-width: 380px;
  margin: 0 auto;
  padding: 22px 24px;
  background:
    linear-gradient(180deg, rgba(20,28,48,0.95) 0%, rgba(15,22,38,0.95) 100%);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 0 80px -20px rgba(59,130,246,0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: float 6s ease-in-out infinite;
  transform: perspective(1200px) rotateY(-3deg) rotateX(2deg);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.checkout-mock:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translateY(-4px);
}

/* Animated glow border */
.checkout-mock::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  padding: 2px;
  background: conic-gradient(
    from var(--ckangle, 0deg),
    transparent 0%,
    rgba(59,130,246,0.5) 25%,
    transparent 50%,
    rgba(251,191,36,0.4) 75%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: rotateCkAngle 8s linear infinite;
  pointer-events: none;
  opacity: 0.6;
}
@property --ckangle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes rotateCkAngle { to { --ckangle: 360deg; } }

.checkout-mock__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.checkout-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600;
  color: var(--fg-muted);
}
.checkout-brand img { width: 26px; height: 26px; }
.checkout-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600;
  color: var(--mint);
  background: rgba(52,211,153,0.10);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.checkout-amount {
  text-align: center;
  padding: 14px 0;
}
.checkout-label {
  display: block;
  font-size: 12px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.checkout-total {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
  background: linear-gradient(180deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.checkout-total .amount-dec { font-size: 0.65em; opacity: 0.8; }
.checkout-sub {
  font-size: 12.5px;
  color: var(--fg-dim);
}

.checkout-methods {
  display: flex; gap: 6px;
  margin: 14px 0 12px;
}
.method-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: var(--bg-elev-1);
  border-radius: 8px;
  font-size: 12px; font-weight: 500;
  color: var(--fg-muted);
  flex: 0 0 auto;
}
.method-pill svg { width: 14px; height: 14px; }
.method-pill.is-active {
  background: rgba(59,130,246,0.10);
  border-color: rgba(59,130,246,0.5);
  color: var(--fg);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.10);
}

.checkout-fields {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 16px;
}
.checkout-fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checkout-field {
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex; flex-direction: column; gap: 2px;
}
.checkout-field-label {
  font-size: 10.5px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.checkout-field-value {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--fg);
  letter-spacing: 0.04em;
}
.cursor-blink {
  display: inline-block;
  border-right: 2px solid var(--primary);
  animation: caret 1.1s steps(2) infinite;
}
@keyframes caret { 50% { border-color: transparent; } }

.checkout-pay {
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 14px;
  background: var(--primary);
  color: #fff;
  font-weight: 600; font-size: 14.5px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(.2,.8,.2,1);
  box-shadow:
    0 8px 24px rgba(59,130,246,0.40),
    0 1px 0 rgba(255,255,255,0.18) inset;
  position: relative;
  overflow: hidden;
}
.checkout-pay::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 80%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.20) 50%, transparent 100%);
  animation: payShine 3.5s ease-in-out infinite;
}
@keyframes payShine {
  0%, 100% { left: -100%; }
  50% { left: 130%; }
}
.checkout-pay .lock {
  display: inline-flex;
  width: 16px; height: 16px;
}
.checkout-pay svg { width: 14px; height: 14px; }
.checkout-pay:hover { background: var(--primary-hover); transform: translateY(-1px); }

.checkout-foot {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 14px;
  font-size: 10.5px;
  color: var(--fg-dim);
}
.checkout-foot span { display: inline-flex; align-items: center; gap: 4px; }
.checkout-foot svg { width: 11px; height: 11px; }

@media (max-width: 900px) {
  .checkout-mock { transform: none; margin: 0 auto; max-width: 360px; }
  .checkout-mock:hover { transform: translateY(-4px); }
}

/* ───────────────────────────────────────────────────────────────
   SHIMMER on H2 headings
   ─────────────────────────────────────────────────────────────── */
.section h2,
.final-cta h2 {
  position: relative;
  background-image: linear-gradient(110deg, #f5f7fb 0%, #f5f7fb 40%, rgba(255,255,255,1) 50%, #f5f7fb 60%, #f5f7fb 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shimmer 8s linear infinite;
}
.section h2 em,
.final-cta h2 em {
  -webkit-text-fill-color: var(--accent);
  color: var(--accent);
  background: none;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ───────────────────────────────────────────────────────────────
   BUTTONS — shine sweep + magnetic offset (set via JS)
   ─────────────────────────────────────────────────────────────── */
.btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(.2,.8,.4,1), box-shadow 0.25s, background-color 0.2s;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 80%; height: 100%;
  background: linear-gradient(120deg,
    transparent 0%,
    rgba(255,255,255,0.18) 50%,
    transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.7s cubic-bezier(.2,.8,.2,1);
}
.btn:hover::before { left: 130%; }

.btn-primary {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 8px 24px rgba(59, 130, 246, 0.35);
}
.btn-primary:hover {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.25) inset,
    0 12px 40px rgba(59, 130, 246, 0.55),
    0 0 0 4px rgba(59, 130, 246, 0.12);
}
.btn-yellow {
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.32);
}
.btn-yellow:hover {
  box-shadow:
    0 12px 40px rgba(251, 191, 36, 0.50),
    0 0 0 4px rgba(251, 191, 36, 0.18);
  transform: translateY(-2px) scale(1.02);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255, 0.3);
  background: rgba(255,255,255,0.06);
}

/* Arrow ping in CTAs */
.btn svg {
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}
.btn:hover svg {
  transform: translateX(4px);
}

/* ───────────────────────────────────────────────────────────────
   NAV LINKS — underline grow
   ─────────────────────────────────────────────────────────────── */
.nav-links a {
  position: relative;
  padding: 6px 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s cubic-bezier(.2,.8,.2,1);
  border-radius: 2px;
}
.nav-links a:hover::after { width: 100%; }
.nav-brand { transition: transform 0.3s cubic-bezier(.2,.8,.2,1); }
.nav-brand:hover { transform: scale(1.04); }
.nav-brand img { transition: transform 0.5s cubic-bezier(.2,.8,.2,1); }
.nav-brand:hover img { transform: rotate(-8deg); }

/* ───────────────────────────────────────────────────────────────
   STATS — count-up classes (numbers animate via JS)
   ─────────────────────────────────────────────────────────────── */
.stat .num {
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
  display: inline-block;
}
.stats-strip {
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(59,130,246,0.06) 50%,
    transparent 100%);
  background-size: 200% 100%;
  animation: stripGlow 6s linear infinite;
  pointer-events: none;
}
@keyframes stripGlow {
  0% { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

/* ───────────────────────────────────────────────────────────────
   FEATURE CARDS — 3D tilt + glow border on hover
   ─────────────────────────────────────────────────────────────── */
.feature-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), border-color 0.3s, box-shadow 0.3s;
  will-change: transform;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  padding: 1px;
  background: conic-gradient(
    from var(--angle, 0deg),
    transparent 0%,
    transparent 40%,
    var(--primary) 50%,
    var(--accent) 60%,
    transparent 70%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: rotateAngle 4s linear infinite;
  pointer-events: none;
}
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes rotateAngle {
  to { --angle: 360deg; }
}
.feature-card:hover::before { opacity: 1; }

.feature-card .feature-icon {
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), background 0.3s;
}
.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-6deg);
}

/* mini-stats counter feel */
.feature-mini-stats { position: relative; }
.feature-card:hover .feature-mini-stats { border-top-color: rgba(96,122,168,0.4); }

/* ───────────────────────────────────────────────────────────────
   PRICING CARDS — featured glow rotating
   ─────────────────────────────────────────────────────────────── */
.price-card {
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), border-color 0.3s, box-shadow 0.3s;
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96,122,168,0.5);
}
.price-card .btn {
  transition: all 0.25s;
}
.price-card.featured {
  position: relative;
  overflow: hidden;
}
.price-card.featured::after {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    rgba(251, 191, 36, 0.45) 25%,
    transparent 50%,
    transparent 100%
  );
  animation: rotateRing 6s linear infinite;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}
.price-card.featured > * { position: relative; z-index: 1; }
.price-card.featured > h3,
.price-card.featured > .price,
.price-card.featured > .price-desc,
.price-card.featured > ul,
.price-card.featured > .btn {
  background: rgba(15, 22, 38, 0.65);
}
.price-card.featured h3,
.price-card.featured .price,
.price-card.featured .price-desc,
.price-card.featured ul {
  position: relative;
  z-index: 2;
  background: transparent;
}
@keyframes rotateRing {
  to { transform: rotate(360deg); }
}
.price-card.featured:hover {
  transform: translateY(-8px) scale(1.02);
}

/* ───────────────────────────────────────────────────────────────
   INTEGRATION TILES — pop hover with glyph swing
   ─────────────────────────────────────────────────────────────── */
.integration-tile {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), border-color 0.3s, background-color 0.3s, color 0.3s;
}
.integration-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(59,130,246,0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.integration-tile:hover {
  transform: translateY(-3px);
}
.integration-tile:hover::before { opacity: 1; }
.integration-tile .glyph {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.integration-tile:hover .glyph {
  transform: scale(1.25) rotate(-12deg);
}

/* ───────────────────────────────────────────────────────────────
   MARQUEE — slow down on hover
   ─────────────────────────────────────────────────────────────── */
.marquee-track {
  transition: animation-duration 0.5s;
}
.marquee:hover .marquee-track {
  animation-duration: 80s;
}
.marquee-item {
  transition: color 0.3s ease;
}
.marquee-item:hover { color: var(--fg); }

/* ───────────────────────────────────────────────────────────────
   PLATFORM MOCKUP — interactive glow
   ─────────────────────────────────────────────────────────────── */
.platform-mockup {
  position: relative;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.platform-mockup::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(59,130,246,0.4), rgba(251,191,36,0.3), rgba(59,130,246,0.4));
  filter: blur(30px);
  opacity: 0.4;
  z-index: -1;
  animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.6; }
}
.platform-mockup:hover { transform: scale(1.02); }
.mockup-tile { transition: transform 0.3s, background-color 0.3s; }
.mockup-tile:hover {
  transform: translateY(-2px);
  background: var(--bg-elev-1);
}

/* Animated SVG chart line draw */
.mockup-svg path[stroke="#3b82f6"] {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 3s 0.5s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* ───────────────────────────────────────────────────────────────
   FINAL CTA — extra dramatic
   ─────────────────────────────────────────────────────────────── */
.final-cta {
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(251,191,36,0.10) 0%, transparent 50%);
  animation: ctaPulse 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ctaPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.8; }
}
.final-cta .final-cta-pill {
  transition: all 0.3s cubic-bezier(.2,.8,.2,1);
}
.final-cta .final-cta-pill:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* ───────────────────────────────────────────────────────────────
   FOOTER — link slide animation
   ─────────────────────────────────────────────────────────────── */
.footer-col a {
  position: relative;
  display: inline-block;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), color 0.2s;
}
.footer-col a:hover {
  transform: translateX(4px);
  color: var(--accent);
}

/* ───────────────────────────────────────────────────────────────
   REVEAL ON SCROLL — better than base
   ─────────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(.2,.8,.2,1), transform 0.7s cubic-bezier(.2,.8,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ───────────────────────────────────────────────────────────────
   FLOATING CARDS — wiggle on hover
   ─────────────────────────────────────────────────────────────── */
.hero-card { transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s; }
.hero-card:hover {
  transform: scale(1.06) translateY(-4px) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(59,130,246,0.4);
  z-index: 5;
}

/* ───────────────────────────────────────────────────────────────
   TESTIMONIAL — quote shine
   ─────────────────────────────────────────────────────────────── */
.testimonial { transition: transform 0.4s; }
.testimonial:hover { transform: translateY(-4px); }
.testimonial .avatar {
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
  position: relative;
}
.testimonial:hover .avatar {
  transform: rotate(-8deg) scale(1.05);
}

/* ───────────────────────────────────────────────────────────────
   INPUT focus animations (auth pages)
   ─────────────────────────────────────────────────────────────── */
.field input {
  transition: all 0.25s cubic-bezier(.2,.8,.2,1);
}
.field input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.16);
  transform: translateY(-1px);
}

/* ───────────────────────────────────────────────────────────────
   SECTION EYEBROWS — pulse dot
   ─────────────────────────────────────────────────────────────── */
.section-eyebrow {
  position: relative;
  display: inline-block;
  padding-left: 16px;
}
.section-eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  transform: translateY(-50%);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0.6); }
  50% { box-shadow: 0 0 0 8px rgba(59,130,246,0); }
}

/* ───────────────────────────────────────────────────────────────
   FAB - back to top
   ─────────────────────────────────────────────────────────────── */
.fab-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 8px 24px rgba(59,130,246,0.4);
  border: none;
}
.fab-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.fab-top:hover {
  background: var(--primary-hover);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 32px rgba(59,130,246,0.6);
}

/* ───────────────────────────────────────────────────────────────
   REDUCED MOTION
   ─────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero .aurora-blob,
  .hero-mascot-wrap img { animation: none !important; }
}
