/* ═══════════════════════════════════════════════════════════════
   GDC × "Modern Landing Page" (v0 template) — Design System
   Purple gradient hero · Audiowide display · red neon glow accents
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');

:root {
  --tpl-purple-a: #5B4B8A;
  --tpl-purple-b: #7B5B8A;
  --tpl-purple-c: #8B6B9A;
  --tpl-red: #ef4444;
  --tpl-red-soft: #f87171;
  --tpl-red-eyebrow: #fecaca;
  --tpl-deep: #150d24;
  --tpl-deep-2: #1d1332;
  --tpl-card: #221636;
  --tpl-glow: 0 0 20px rgba(239, 68, 68, 0.8), 0 0 40px rgba(239, 68, 68, 0.5);
}

/* ─────────────────────────────────────────────
   Theme overrides for the sections below the hero
   (scoped to .template-page — dashboard untouched)
   ───────────────────────────────────────────── */
body.template-page {
  --color-onyx-canvas: #1b1230;
  --color-graphite-card: #241832;
  --color-obsidian-button: #2c1f42;
  --color-cobalt: #ef4444;
  --color-ash-text: #cfc6dd;
  --color-ivory-text: #f5f2fa;
  background:
    radial-gradient(1200px 600px at 85% -5%, rgba(139, 107, 154, 0.28), transparent 60%),
    radial-gradient(900px 700px at -15% 35%, rgba(91, 75, 138, 0.32), transparent 60%),
    radial-gradient(1000px 800px at 110% 75%, rgba(239, 68, 68, 0.08), transparent 55%),
    var(--tpl-deep);
  background-color: var(--tpl-deep);
}

body.template-page .landing-h2,
body.template-page .mercury-feature-card h3 {
  font-family: 'Audiowide', 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

body.template-page .landing-eyebrow {
  color: var(--tpl-red-eyebrow);
}

body.template-page .btn-primary {
  background: #ffffff;
  color: #7B6BA8;
  border: none;
  border-radius: 999px;
  font-family: 'Audiowide', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 0 rgba(239, 68, 68, 0);
  transition: box-shadow .35s ease, transform .35s ease, background .35s ease;
}
body.template-page .btn-primary:hover {
  background: #ffffff;
  color: #6d5b9e;
  transform: translateY(-2px);
  box-shadow: var(--tpl-glow);
}

body.template-page .mercury-cta-banner,
body.template-page .panel-card,
body.template-page .mercury-feature-card,
body.template-page .ui-preview-frame {
  border-color: rgba(255, 255, 255, 0.09);
  background: linear-gradient(160deg, var(--tpl-card) 0%, var(--tpl-deep-2) 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

body.template-page .mercury-cta-banner {
  background:
    radial-gradient(120% 160% at 50% -20%, rgba(239, 68, 68, 0.22), transparent 55%),
    linear-gradient(160deg, #2a1b40 0%, #1a102c 100%);
}

body.template-page .disclaimer-banner {
  background: #120a20;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* ═════════════════════════════════════════════
   HERO
   ═════════════════════════════════════════════ */
.tpl-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, var(--tpl-purple-a) 0%, var(--tpl-purple-b) 52%, var(--tpl-purple-c) 100%);
  font-family: 'Audiowide', 'Inter', sans-serif;
}

/* Background layers */
.tpl-hero-bg { position: absolute; inset: 0; z-index: 0; }

/* Pure-CSS aurora background (replaces the Spline embed) */
.tpl-aurora {
  position: absolute; inset: 0;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.04) 0%, transparent 40%),
    radial-gradient(140% 100% at 50% 0%, rgba(255, 255, 255, 0.12), transparent 55%);
}

#tpl-3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
  pointer-events: none;
}
.tpl-aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
}
.orb-1 {
  width: 560px; height: 560px;
  top: -140px; right: -120px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.42) 0%, rgba(239, 68, 68, 0) 70%);
  animation: tplOrbDrift1 14s ease-in-out infinite alternate;
}
.orb-2 {
  width: 640px; height: 640px;
  bottom: -220px; left: -180px;
  background: radial-gradient(circle, rgba(120, 80, 200, 0.5) 0%, rgba(120, 80, 200, 0) 70%);
  animation: tplOrbDrift2 17s ease-in-out infinite alternate;
}
.orb-3 {
  width: 380px; height: 380px;
  top: 30%; left: 42%;
  background: radial-gradient(circle, rgba(255, 150, 120, 0.28) 0%, rgba(255, 150, 120, 0) 70%);
  animation: tplOrbDrift3 11s ease-in-out infinite alternate;
}
.tpl-aurora-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 60% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 40%, black 30%, transparent 75%);
}
@keyframes tplOrbDrift1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-160px, 120px) scale(1.15); }
}
@keyframes tplOrbDrift2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(180px, -110px) scale(1.1); }
}
@keyframes tplOrbDrift3 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  100% { transform: translate(-120px, -80px) scale(1.25); opacity: 1; }
}
.tpl-hero-vignette {
  position: absolute; inset: 0;
  z-index: 2;
  background:
    radial-gradient(120% 90% at 50% 10%, transparent 40%, rgba(21, 13, 36, 0.45) 100%),
    linear-gradient(90deg, rgba(91, 75, 138, 0.55) 0%, rgba(91, 75, 138, 0.15) 45%, transparent 75%);
}
.tpl-hero-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
  z-index: 2;
  background: linear-gradient(180deg, transparent 0%, var(--tpl-deep) 100%);
}

/* ── Nav ── */
.tpl-nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px clamp(20px, 4vw, 64px);
}

.tpl-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.tpl-logo-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background:
    linear-gradient(145deg, #ffffff 0%, #e6e0f4 100%);
  position: relative;
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.55), inset 0 0 0 2px rgba(122, 90, 158, 0.35);
}
.tpl-logo-mark::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 14px;
  border-radius: 3px;
  background: #ef4444;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.9);
}
.tpl-logo-text {
  font-family: 'Audiowide', sans-serif;
  font-size: 24px;
  color: #ffffff;
  letter-spacing: 0.14em;
  text-shadow: 0 0 22px rgba(255, 255, 255, 0.35);
}

.tpl-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.2vw, 48px);
  list-style: none;
  margin: 0; padding: 0;
}
.tpl-nav-links a {
  font-family: 'Audiowide', sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #ffffff;
  text-decoration: none;
  transition: color .3s ease, text-shadow .3s ease;
}
.tpl-nav-links a:hover {
  color: var(--tpl-red-soft);
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.8), 0 0 20px rgba(239, 68, 68, 0.5);
}

.tpl-nav-actions { display: flex; align-items: center; gap: 18px; }
.tpl-nav-ghost {
  font-family: 'Audiowide', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color .3s ease;
}
.tpl-nav-ghost:hover { color: #ffffff; }
.tpl-nav-cta {
  font-family: 'Audiowide', sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #7B6BA8;
  background: #ffffff;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: box-shadow .3s ease, transform .3s ease;
}
.tpl-nav-cta:hover { transform: translateY(-1px); box-shadow: var(--tpl-glow); }

/* Burger (mobile) */
.tpl-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  cursor: pointer;
  z-index: 12;
}
.tpl-burger span {
  display: block;
  width: 18px; height: 2px;
  background: #ffffff;
  transition: transform .3s ease, opacity .3s ease;
}
.tpl-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tpl-burger.is-open span:nth-child(2) { opacity: 0; }
.tpl-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.tpl-mobile-menu {
  position: absolute;
  top: 76px; left: 16px; right: 16px;
  z-index: 11;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(29, 19, 50, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.tpl-mobile-menu[hidden] { display: none; }
.tpl-mobile-menu a {
  font-family: 'Audiowide', sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background .25s ease;
}
.tpl-mobile-menu a:hover { background: rgba(239, 68, 68, 0.18); }
.tpl-mobile-menu .tpl-mobile-cta {
  background: #ffffff;
  color: #7B6BA8;
  text-align: center;
  margin-top: 6px;
}

/* ── Hero inner layout ── */
.tpl-hero-inner {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(8px, 2vh, 24px) clamp(20px, 4vw, 64px) 96px;
  max-width: 1760px;
  width: 100%;
  margin: 0 auto;
}

.tpl-hero-copy { max-width: 780px; }

.tpl-eyebrow {
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--tpl-red-eyebrow);
  margin-bottom: 22px;
  text-shadow: 0 0 18px rgba(239, 68, 68, 0.35);
}

.tpl-headline {
  font-family: 'Audiowide', sans-serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 6.2vw, 4.35rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: #ffffff;
  margin: 0 0 22px;
  text-shadow:
    0 0 40px rgba(255, 255, 255, 0.18),
    0 6px 60px rgba(0, 0, 0, 0.35);
}

.tpl-subtext {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 34rem;
  margin: 0 0 36px;
}

/* CTA buttons */
.tpl-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }

.tpl-btn-primary,
.tpl-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 34px;
  border-radius: 999px;
  font-family: 'Audiowide', sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-decoration: none;
  transition: box-shadow .3s ease, transform .3s ease, background .3s ease, border-color .3s ease, color .3s ease;
  white-space: nowrap;
}
.tpl-btn-primary {
  background: #ffffff;
  color: #7B6BA8;
}
.tpl-btn-primary:hover { transform: translateY(-2px); box-shadow: var(--tpl-glow); }
.tpl-btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}
.tpl-btn-outline:hover {
  color: var(--tpl-red-soft);
  border-color: var(--tpl-red-soft);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--tpl-glow);
}

/* Carousel dots */
.tpl-dots { display: flex; gap: 12px; }
.tpl-dot {
  width: 10px; height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  transition: background .3s ease, box-shadow .3s ease, transform .3s ease;
}
.tpl-dot.active {
  background: var(--tpl-red-soft);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.8), 0 0 18px rgba(239, 68, 68, 0.45);
  transform: scale(1.15);
}

/* ── Floating AutoFarm panel (template: floating product w/ red glow) ── */
.tpl-hero-visual {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tpl-glow-orb {
  position: absolute;
  z-index: -1;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.35) 0%, rgba(239, 68, 68, 0.12) 45%, transparent 70%);
  filter: blur(30px);
  animation: tplOrbPulse 5s ease-in-out infinite;
}

.tpl-float-card {
  width: clamp(300px, 30vw, 460px);
  border-radius: 22px;
  padding: 22px 22px 18px;
  background: linear-gradient(165deg, rgba(34, 22, 54, 0.88) 0%, rgba(21, 13, 36, 0.92) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 50px rgba(239, 68, 68, 0.55),
    0 0 100px rgba(239, 68, 68, 0.30),
    0 0 160px rgba(239, 68, 68, 0.18),
    0 30px 60px rgba(0, 0, 0, 0.5);
  animation: tplFloat 6s ease-in-out infinite;
  transition: transform .5s ease;
}
.tpl-float-card:hover { transform: scale(1.06); }

.tpl-fc-topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}
.tpl-fc-status {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #86efac;
}
.tpl-fc-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.9);
  animation: tplPulse 1.6s ease-in-out infinite;
}
.tpl-fc-badge {
  font-family: 'Audiowide', sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #fecaca;
  background: rgba(239, 68, 68, 0.22);
  border: 1px solid rgba(239, 68, 68, 0.55);
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.4);
}

.tpl-fc-quest { margin-bottom: 16px; }
.tpl-fc-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}
.tpl-fc-title {
  font-family: 'Audiowide', sans-serif;
  font-weight: 400;
  font-size: clamp(1.25rem, 1.6vw, 1.6rem);
  color: #ffffff;
  letter-spacing: 0.02em;
}

.tpl-fc-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.tpl-fc-metric {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 10px 12px;
}
.tpl-fc-metric span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 5px;
}
.tpl-fc-metric strong {
  font-family: 'Audiowide', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #ffffff;
}

.tpl-fc-progress-row {
  display: flex; align-items: center; justify-content: space-between;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
}
.tpl-fc-progress-val { color: #ffffff; font-weight: 700; }
.tpl-fc-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin-bottom: 16px;
}
.tpl-fc-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f87171, #ef4444);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.8);
  transition: width 0.9s ease;
}

.tpl-fc-queue { display: flex; flex-direction: column; gap: 8px; }
.tpl-fc-queue-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 9px 12px;
}
.tpl-fc-queue-row em {
  font-style: normal;
  font-family: 'Audiowide', sans-serif;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #fca5a5;
  white-space: nowrap;
}

/* ── Socials ── */
.tpl-socials {
  position: absolute;
  z-index: 10;
  bottom: 40px;
  left: clamp(20px, 4vw, 64px);
  display: flex;
  gap: 22px;
}
.tpl-socials a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  transition: color .3s ease, filter .3s ease, transform .3s ease;
}
.tpl-socials svg { width: 21px; height: 21px; }
.tpl-socials-label {
  font-family: 'Audiowide', sans-serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.75);
}
.tpl-socials a:hover {
  color: var(--tpl-red-soft);
  transform: translateY(-3px);
  filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.9));
}

/* ── Scroll hint ── */
.tpl-scroll-hint {
  position: absolute;
  z-index: 10;
  bottom: 36px;
  right: clamp(20px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.tpl-scroll-text {
  font-family: 'Audiowide', sans-serif;
  font-size: 9px;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.65);
}
.tpl-scroll-line {
  width: 2px; height: 44px;
  background: rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.tpl-scroll-line::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%; height: 40%;
  background: linear-gradient(180deg, transparent, #ef4444);
  animation: tplScrollDot 1.8s ease-in-out infinite;
}

/* ═════════════════════════════════════════════
   BLOCKED — DevTools detected screen
   ═════════════════════════════════════════════ */
.tpl-blocked-wrap {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px;
  background: linear-gradient(135deg, var(--tpl-purple-a) 0%, var(--tpl-purple-b) 52%, var(--tpl-purple-c) 100%);
}
.tpl-blocked-wrap .tpl-aurora { position: absolute; inset: 0; }

.tpl-blocked-card {
  position: relative;
  z-index: 2;
  max-width: 560px;
  width: 100%;
  text-align: center;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 48px);
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(34, 22, 54, 0.9) 0%, rgba(21, 13, 36, 0.94) 100%);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 60px rgba(239, 68, 68, 0.4),
    0 0 140px rgba(239, 68, 68, 0.22),
    0 30px 70px rgba(0, 0, 0, 0.55);
  animation: tplFloat 7s ease-in-out infinite;
}

.tpl-blocked-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px; height: 76px;
  border-radius: 20px;
  color: #fecaca;
  margin-bottom: 22px;
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.45), inset 0 0 18px rgba(239, 68, 68, 0.25);
}

.tpl-blocked-eyebrow { margin-bottom: 14px; }

.tpl-blocked-title {
  font-family: 'Audiowide', sans-serif;
  font-weight: 400;
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 18px;
  text-shadow: 0 0 36px rgba(255, 255, 255, 0.16);
}

.tpl-blocked-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 26px;
}
.tpl-blocked-text strong { color: #ffffff; }

.tpl-blocked-btn { height: 52px; width: 100%; }

/* ═════════════════════════════════════════════
   Animations
   ═════════════════════════════════════════════ */
@keyframes tplFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
@keyframes tplOrbPulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes tplPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes tplScrollDot {
  0% { top: -40%; }
  100% { top: 110%; }
}

@media (prefers-reduced-motion: reduce) {
  .tpl-float-card, .tpl-glow-orb, .tpl-fc-pulse, .tpl-scroll-line::after, .tpl-aurora-orb { animation: none; }
}

/* ═════════════════════════════════════════════
   Responsive
   ═════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .tpl-nav-links { display: none; }
  .tpl-burger { display: flex; }
  .tpl-nav-ghost { display: none; }
  .tpl-headline { font-size: clamp(2.1rem, 6.5vw, 3.2rem); }
  .tpl-hero-visual { display: flex; }
  .tpl-float-card { width: 300px; padding: 16px 16px 14px; }
  .tpl-fc-metrics { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .tpl-fc-title { font-size: 1.05rem; }
  .tpl-glow-orb { width: 380px; height: 380px; }
}

@media (max-width: 880px) {
  .tpl-hero-visual { display: none; }
}

@media (max-width: 640px) {
  .tpl-nav { padding: 18px 18px; gap: 14px; }
  .tpl-nav-cta { display: none; }
  .tpl-hero-inner { padding: 8px 20px 92px; }
  .tpl-cta-row .tpl-btn-primary,
  .tpl-cta-row .tpl-btn-outline { width: 100%; }
  .tpl-socials { bottom: 28px; left: 20px; gap: 18px; }
  .tpl-scroll-hint { display: none; }
}
