/* DeltaPays public landing page - brand palette matches unified-theme.css */
:root {
  --lp-bg: #0c0608;
  --lp-bg2: #140a0e;
  --lp-surface: #1d1017;
  --lp-surface2: #26141e;
  --lp-border: rgba(235, 30, 48, 0.18);
  --lp-border-soft: rgba(255, 255, 255, 0.08);

  --lp-red: #eb1e30;
  --lp-red-hover: #ff2b3d;
  --lp-red-dark: #a80a18;
  --lp-gold: #ffd700;
  --lp-success: #10b981;

  --lp-text: #fcfcfd;
  --lp-text2: #d1d5db;
  --lp-muted: #9ca3af;

  --lp-grad: linear-gradient(135deg, #eb1e30 0%, #ffd700 100%);
  --lp-grad-red: linear-gradient(135deg, #eb1e30 0%, #a80a18 100%);

  --lp-radius: 14px;
  --lp-radius-lg: 22px;
  --lp-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --lp-nav-h: 76px;
  --lp-ease: cubic-bezier(.22, 1, .36, 1);
}

/* Animatable angle for the rotating gradient borders */
@property --lp-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--lp-nav-h); }

body.lp {
  margin: 0;
  background: var(--lp-bg);
  color: var(--lp-text2);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

.lp h1, .lp h2, .lp h3, .lp h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--lp-text);
  letter-spacing: -0.01em;
}

.lp a { color: inherit; text-decoration: none; }

/* ---------- Scroll progress ---------- */
.lp-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 1100;
  background: var(--lp-grad);
  transform-origin: 0 50%;
  transform: scaleX(var(--lp-scroll, 0));
  box-shadow: 0 0 12px rgba(235, 30, 48, .6);
}

/* ---------- Buttons ---------- */
.lp-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 999px;
  padding: .6rem 1.4rem;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .25s var(--lp-ease), box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.lp-btn-lg { padding: .85rem 1.8rem; font-size: 1rem; }
.lp-btn i { transition: transform .25s var(--lp-ease); }
.lp-btn:hover .bi-arrow-right { transform: translateX(4px); }
.lp-btn-primary {
  background: var(--lp-grad-red);
  color: #fff !important;
  box-shadow: 0 10px 25px -10px rgba(235, 30, 48, .7);
}
.lp-btn-primary:hover,
.lp-btn-primary:focus-visible {
  background: var(--lp-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(235, 30, 48, .85);
}
.lp-btn-outline {
  background: rgba(255, 255, 255, .03);
  border-color: rgba(255, 215, 0, .35);
  color: var(--lp-text) !important;
}
.lp-btn-outline:hover,
.lp-btn-outline:focus-visible {
  border-color: var(--lp-gold);
  color: var(--lp-gold) !important;
  transform: translateY(-2px);
}
.lp-btn:focus-visible { outline: 2px solid var(--lp-gold); outline-offset: 3px; }

/* Light sweep across the button on hover */
.lp-shine { overflow: hidden; isolation: isolate; }
.lp-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--lp-ease);
}
.lp-shine:hover::after { transform: translateX(120%); }

/* Soft pulsing ring on the main call to action */
.lp-pulse::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(235, 30, 48, .55);
  animation: lp-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes lp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(235, 30, 48, .55); }
  70%, 100% { box-shadow: 0 0 0 16px rgba(235, 30, 48, 0); }
}

/* ---------- Navbar ---------- */
.lp-nav {
  min-height: var(--lp-nav-h);
  padding: .75rem 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  animation: lp-drop .8s var(--lp-ease) both;
}
@keyframes lp-drop { from { opacity: 0; transform: translateY(-100%); } }
.lp-nav.is-scrolled,
.lp-nav:has(.navbar-collapse.show),
.lp-nav:has(.navbar-collapse.collapsing) {
  background: rgba(12, 6, 8, .85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--lp-border);
}
.lp-nav.is-scrolled { padding: .35rem 0; min-height: 64px; }
.lp-logo { height: 40px; width: auto; }
.lp-nav .nav-link {
  position: relative;
  color: var(--lp-text2);
  font-weight: 500;
  padding: .5rem 1rem !important;
  transition: color .2s ease;
}
.lp-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: .2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--lp-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--lp-ease);
}
.lp-nav .nav-link:hover,
.lp-nav .nav-link.active { color: var(--lp-gold); }
.lp-nav .nav-link:hover::after,
.lp-nav .nav-link.active::after { transform: scaleX(1); }
.lp-toggler {
  border: 1px solid var(--lp-border);
  color: var(--lp-text);
  font-size: 1.6rem;
  padding: .15rem .6rem;
}
.lp-toggler:focus { box-shadow: 0 0 0 2px rgba(255, 215, 0, .4); }
@media (max-width: 991.98px) {
  .lp-nav .navbar-collapse { padding: 1rem 0 .5rem; }
  .lp-nav .lp-btn { width: 100%; margin-top: .5rem; }
  .lp-nav .nav-link::after { display: none; }
}

/* ---------- Shared section bits ---------- */
.lp-section { padding: 100px 0; position: relative; }
.lp-section-alt { background: var(--lp-bg2); border-top: 1px solid var(--lp-border-soft); border-bottom: 1px solid var(--lp-border-soft); }
.lp-section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .9rem;
  margin-bottom: 1.1rem;
  border-radius: 999px;
  background: rgba(235, 30, 48, .1);
  border: 1px solid var(--lp-border);
  color: var(--lp-gold);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.lp-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lp-success);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, .6);
  animation: lp-live 1.8s ease-out infinite;
}
@keyframes lp-live {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); }
  80%, 100% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}
.lp-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
.lp-subtitle { color: var(--lp-muted); font-size: 1.05rem; }
.lp-gradient-text {
  background: var(--lp-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lp-gradient-animate {
  background: linear-gradient(90deg, #eb1e30, #ff6b3d, #ffd700, #ff6b3d, #eb1e30);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: lp-gradient-shift 6s linear infinite;
}
@keyframes lp-gradient-shift { to { background-position: 300% 0; } }

/* ---------- Hero ---------- */
.lp-hero {
  position: relative;
  padding: calc(var(--lp-nav-h) + 80px) 0 110px;
  overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .05) 1px, transparent 0) 0 0 / 28px 28px,
    var(--lp-bg);
}
/* Fade the dot grid towards the bottom edge */
.lp-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, var(--lp-bg));
  pointer-events: none;
}

.lp-aurora { position: absolute; inset: 0; pointer-events: none; }
.lp-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .9; will-change: transform; }
.lp-blob-1 { width: 520px; height: 520px; background: rgba(235, 30, 48, .24); top: -160px; right: -120px; animation: lp-drift-1 18s ease-in-out infinite alternate; }
.lp-blob-2 { width: 420px; height: 420px; background: rgba(255, 215, 0, .11); bottom: -180px; left: -140px; animation: lp-drift-2 22s ease-in-out infinite alternate; }
.lp-blob-3 { width: 300px; height: 300px; background: rgba(168, 10, 24, .30); top: 35%; left: 40%; animation: lp-drift-3 26s ease-in-out infinite alternate; }
@keyframes lp-drift-1 { to { transform: translate(-120px, 80px) scale(1.15); } }
@keyframes lp-drift-2 { to { transform: translate(140px, -60px) scale(1.2); } }
@keyframes lp-drift-3 { to { transform: translate(-160px, -40px) scale(.85); } }

/* Glow that follows the cursor in the hero */
.lp-hero-spot {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(500px circle at var(--mx, 70%) var(--my, 30%), rgba(235, 30, 48, .13), transparent 60%);
  transition: background .1s linear;
}

.lp-hero-title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; line-height: 1.12; margin-bottom: 1.4rem; }
.lp-lead { font-size: 1.12rem; color: var(--lp-text2); margin-bottom: 2.2rem; max-width: 560px; }

/* Staggered entrance on page load */
.lp-hero-in {
  animation: lp-rise 1s var(--lp-ease) both;
  animation-delay: calc(var(--i, 0) * 120ms + 150ms);
}
@keyframes lp-rise {
  from { opacity: 0; transform: translateY(30px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

.lp-hero-visual {
  position: relative;
  padding: 2rem 0;
  transform: perspective(1200px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
  transition: transform .4s var(--lp-ease);
}
.lp-hero-img {
  width: 100%;
  border-radius: var(--lp-radius-lg);
  box-shadow: var(--lp-shadow), 0 0 60px -20px rgba(235, 30, 48, .45);
}

.lp-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  min-width: 250px;
  background: rgba(29, 16, 23, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow);
  animation: lp-pop .7s var(--lp-ease) both, lp-float 6s ease-in-out infinite;
}
.lp-float-0 { top: 0; left: -24px; animation-delay: .9s, 1.6s; }
.lp-float-1 { bottom: 0; right: -16px; animation-delay: 1.2s, -1.4s; }
.lp-float-icon {
  flex: 0 0 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 1.15rem;
}
.lp-variant-success { background: rgba(16, 185, 129, .15); color: var(--lp-success); }
.lp-variant-gold { background: rgba(255, 215, 0, .14); color: var(--lp-gold); }
.lp-variant-primary { background: rgba(235, 30, 48, .15); color: var(--lp-red); }
.lp-float-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.lp-float-text strong { color: var(--lp-text); font-size: .88rem; }
.lp-float-text small { color: var(--lp-muted); font-size: .76rem; }
.lp-float-amount { margin-left: auto; color: var(--lp-text); font-weight: 700; font-size: .92rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

@keyframes lp-pop { from { opacity: 0; transform: scale(.85) translateY(12px); } }
@keyframes lp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 575.98px) {
  .lp-float { position: static; margin-top: .75rem; min-width: 0; animation: lp-pop .7s var(--lp-ease) both; }
  .lp-hero-visual { padding: 0; }
}

/* ---------- Live payout ticker ---------- */
.lp-ticker {
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
  background: var(--lp-bg2);
  border-top: 1px solid var(--lp-border-soft);
  border-bottom: 1px solid var(--lp-border-soft);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.lp-ticker-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: lp-marquee 40s linear infinite;
}
.lp-ticker:hover .lp-ticker-track { animation-play-state: paused; }
@keyframes lp-marquee { to { transform: translateX(calc(-50% - .5rem)); } }
.lp-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .5rem 1rem .5rem .5rem;
  border-radius: 999px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border-soft);
  font-size: .88rem;
  white-space: nowrap;
}
.lp-ticker-icon {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(235, 30, 48, .15);
  color: var(--lp-red);
  font-size: .8rem;
}
.lp-ticker-item strong { color: var(--lp-text); font-weight: 600; }
.lp-ticker-mode {
  padding: .05rem .5rem;
  border-radius: 6px;
  background: rgba(255, 215, 0, .1);
  color: var(--lp-gold);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.lp-ticker-amount { color: var(--lp-text); font-weight: 700; font-variant-numeric: tabular-nums; }
.lp-ticker-status { color: var(--lp-success); font-size: .8rem; font-weight: 600; }

/* ---------- Stats ---------- */
.lp-stats { padding: 70px 0 0; }
.lp-stat {
  text-align: center;
  padding: 1.75rem 1rem;
  border-radius: var(--lp-radius-lg);
  background: linear-gradient(180deg, rgba(235, 30, 48, .07), transparent);
  border: 1px solid var(--lp-border-soft);
  height: 100%;
}
.lp-stat-value {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  background: var(--lp-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.lp-stat-label { color: var(--lp-muted); font-size: .9rem; margin-top: .4rem; }

/* ---------- Cards ---------- */
.lp-card {
  position: relative;
  background: linear-gradient(180deg, var(--lp-surface) 0%, rgba(29, 16, 23, .6) 100%);
  border: 1px solid var(--lp-border-soft);
  border-radius: var(--lp-radius-lg);
  padding: 2rem;
  transition: transform .35s var(--lp-ease), border-color .3s ease, box-shadow .3s ease;
}
.lp-card:hover { border-color: var(--lp-border); box-shadow: 0 20px 40px -24px rgba(235, 30, 48, .5); }

/* Cursor spotlight + 3D tilt (pointer position is set by landing.js) */
.lp-interactive {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0));
  transform-style: preserve-3d;
  overflow: hidden;
}
.lp-interactive::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--x, 50%) var(--y, 0%), rgba(235, 30, 48, .16), transparent 45%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.lp-interactive:hover { --lift: -6px; }
.lp-interactive:hover::before { opacity: 1; }
.lp-interactive:hover .lp-card-icon { transform: translateY(-4px) rotate(-6deg) scale(1.06); }

.lp-card-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--lp-grad-red);
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 10px 24px -10px rgba(235, 30, 48, .8);
  transition: transform .4s var(--lp-ease);
}
.lp-card-icon-sm { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 13px; font-size: 1.15rem; }
.lp-card-title { font-size: 1.3rem; font-weight: 600; margin-bottom: .6rem; }
.lp-card-text { color: var(--lp-muted); margin-bottom: 1.25rem; }
.lp-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .25rem .7rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, .12);
  color: var(--lp-success);
  font-size: .75rem;
  font-weight: 600;
}
.lp-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: lp-live 1.8s ease-out infinite; }
.lp-link { color: var(--lp-gold) !important; font-weight: 600; display: inline-flex; gap: .4rem; align-items: center; }
.lp-link i { transition: transform .25s var(--lp-ease); }
.lp-link:hover i { transform: translateX(5px); }

/* ---------- How it works ---------- */
.lp-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--steps, 4), 1fr);
  gap: 2rem;
}
.lp-steps-line {
  position: absolute;
  top: 36px;
  left: calc(100% / var(--steps, 4) / 2);
  right: calc(100% / var(--steps, 4) / 2);
  height: 2px;
  background: rgba(255, 255, 255, .08);
  border-radius: 2px;
}
.lp-steps-fill {
  position: absolute;
  inset: 0;
  background: var(--lp-grad);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.8s var(--lp-ease) .3s;
  box-shadow: 0 0 12px rgba(255, 215, 0, .4);
}
.lp-steps.is-visible .lp-steps-fill { transform: scaleX(1); }
.lp-step { position: relative; text-align: center; }
.lp-step-icon {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lp-surface);
  border: 2px solid var(--lp-border);
  color: var(--lp-gold);
  font-size: 1.6rem;
  z-index: 1;
  transition: transform .4s var(--lp-ease), border-color .3s ease, box-shadow .3s ease;
}
.lp-step:hover .lp-step-icon { transform: translateY(-4px) scale(1.06); border-color: var(--lp-red); box-shadow: 0 0 30px -6px rgba(235, 30, 48, .6); }
.lp-step-num {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lp-grad-red);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
}
.lp-step-title { font-size: 1.1rem; font-weight: 600; margin-bottom: .5rem; }
.lp-step-text { color: var(--lp-muted); font-size: .95rem; margin: 0; }

@media (max-width: 991.98px) {
  .lp-steps { grid-template-columns: 1fr; gap: 1.75rem; }
  .lp-steps-line { top: 36px; bottom: 36px; left: 35px; right: auto; width: 2px; height: auto; }
  .lp-steps-fill { transform: scaleY(0); transform-origin: top; }
  .lp-steps.is-visible .lp-steps-fill { transform: scaleY(1); }
  .lp-step { display: grid; grid-template-columns: 72px 1fr; column-gap: 1.25rem; text-align: left; align-items: start; }
  .lp-step-icon { grid-row: span 2; margin: 0; }
  .lp-step-title { margin-top: .9rem; }
}

/* ---------- Core services ---------- */
.lp-points { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .85rem; }
.lp-points li { display: flex; align-items: flex-start; gap: .7rem; color: var(--lp-text2); }
.lp-points i { color: var(--lp-success); font-size: 1.1rem; margin-top: .15rem; }

/* Image frame with a slowly rotating gradient border */
.lp-visual-frame {
  position: relative;
  border-radius: var(--lp-radius-lg);
  padding: 3px;
  background: conic-gradient(from var(--lp-angle), rgba(235, 30, 48, .9), rgba(255, 215, 0, .7), rgba(255, 255, 255, .04) 40%, rgba(255, 255, 255, .04) 60%, rgba(235, 30, 48, .9));
  box-shadow: var(--lp-shadow), 0 0 50px -25px rgba(235, 30, 48, .7);
  animation: lp-spin 8s linear infinite;
  transition: transform .5s var(--lp-ease);
}
.lp-visual-frame:hover { transform: translateY(-6px) scale(1.01); }
@keyframes lp-spin { to { --lp-angle: 360deg; } }
.lp-visual-frame img { display: block; width: 100%; border-radius: calc(var(--lp-radius-lg) - 3px); }

/* ---------- Contact ---------- */
.lp-contact-item { display: flex; gap: 1rem; align-items: center; padding: 1rem 0; border-top: 1px solid var(--lp-border-soft); }
.lp-contact-title { color: var(--lp-muted); font-size: .85rem; }
.lp-contact-value { color: var(--lp-text) !important; font-weight: 600; }
a.lp-contact-value:hover { color: var(--lp-gold) !important; }

.lp-form .form-label { color: var(--lp-text2); font-weight: 500; font-size: .9rem; }
.lp-form .form-control,
.lp-form .form-select {
  background-color: var(--lp-bg);
  border: 1px solid var(--lp-border-soft);
  color: var(--lp-text);
  border-radius: 12px;
  padding: .75rem 1rem;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s var(--lp-ease);
}
.lp-form .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%239ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}
.lp-form .form-select option { background: var(--lp-surface); color: var(--lp-text); }
.lp-form .form-control::placeholder { color: #6b7280; }
.lp-form .form-control:focus,
.lp-form .form-select:focus {
  border-color: var(--lp-red);
  box-shadow: 0 0 0 4px rgba(235, 30, 48, .18);
  background-color: var(--lp-bg);
  color: var(--lp-text);
  transform: translateY(-1px);
}
.lp-form .is-invalid { border-color: var(--lp-red) !important; animation: lp-shake .4s ease; }
@keyframes lp-shake {
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}
.lp-form-status { margin-top: .75rem; font-size: .9rem; min-height: 1.4em; }
.lp-form-status.is-error { color: #fca5a5; }
.lp-form-status.is-success { color: var(--lp-success); }

/* ---------- Footer ---------- */
.lp-footer { position: relative; background: #080405; padding: 80px 0 0; }
.lp-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lp-red), var(--lp-gold), var(--lp-red), transparent);
  background-size: 200% 100%;
  animation: lp-gradient-shift 8s linear infinite;
}
.lp-footer-title { font-size: 1.05rem; font-weight: 600; margin-bottom: 1.2rem; }
.lp-footer-text { color: var(--lp-muted); font-size: .95rem; }
.lp-footer-text i { color: var(--lp-red); margin-right: .35rem; }
.lp-footer-text a:hover { color: var(--lp-gold); }
.lp-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.lp-footer-links a { color: var(--lp-muted); display: inline-block; transition: color .2s ease, transform .25s var(--lp-ease); }
.lp-footer-links a:hover { color: var(--lp-gold); transform: translateX(4px); }
.lp-socials { display: flex; gap: .6rem; margin-top: 1.25rem; }
.lp-socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid var(--lp-border-soft);
  color: var(--lp-text2);
  transition: all .25s var(--lp-ease);
}
.lp-socials a:hover { background: var(--lp-grad-red); border-color: transparent; color: #fff; transform: translateY(-4px) rotate(-6deg); }
.lp-newsletter { display: flex; gap: .5rem; flex-wrap: wrap; }
.lp-newsletter input {
  flex: 1 1 160px;
  min-width: 0;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border-soft);
  border-radius: 999px;
  color: var(--lp-text);
  padding: .6rem 1rem;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.lp-newsletter input:focus { outline: none; border-color: var(--lp-red); box-shadow: 0 0 0 4px rgba(235, 30, 48, .18); }
.lp-newsletter input.is-invalid { border-color: var(--lp-red); animation: lp-shake .4s ease; }
.lp-footer-bottom {
  margin-top: 60px;
  padding: 1.5rem 0;
  border-top: 1px solid var(--lp-border-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--lp-muted);
  font-size: .88rem;
}
.lp-legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.lp-legal a { position: relative; transition: color .2s ease; }
.lp-legal a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--lp-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--lp-ease);
}
.lp-legal a:hover,
.lp-legal a.is-current { color: var(--lp-gold); }
.lp-legal a:hover::after,
.lp-legal a.is-current::after { transform: scaleX(1); }

/* ---------- Legal pages ---------- */
.lp-legal-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--lp-nav-h) + 56px) 0 48px;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .05) 1px, transparent 0) 0 0 / 28px 28px,
    var(--lp-bg);
  border-bottom: 1px solid var(--lp-border-soft);
}
.lp-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .85rem; color: var(--lp-muted); margin-bottom: 1.5rem; }
.lp-breadcrumb a { color: var(--lp-text2); transition: color .2s ease; }
.lp-breadcrumb a:hover { color: var(--lp-gold); }
.lp-breadcrumb i { font-size: .7rem; opacity: .6; }
.lp-breadcrumb [aria-current] { color: var(--lp-gold); }
.lp-legal-head { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.25rem; }
.lp-legal-icon {
  flex: 0 0 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--lp-grad-red);
  color: #fff;
  font-size: 1.7rem;
  box-shadow: 0 14px 30px -12px rgba(235, 30, 48, .8);
}
.lp-legal-title { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; margin: 0 0 .25rem; }
.lp-updated {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--lp-border-soft);
  color: var(--lp-muted);
  font-size: .82rem;
}
.lp-legal-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.lp-legal-tab {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--lp-border-soft);
  background: var(--lp-surface);
  color: var(--lp-text2) !important;
  font-size: .9rem;
  font-weight: 500;
  transition: all .25s var(--lp-ease);
}
.lp-legal-tab:hover { border-color: var(--lp-border); color: var(--lp-gold) !important; transform: translateY(-2px); }
.lp-legal-tab.is-active {
  background: var(--lp-grad-red);
  border-color: transparent;
  color: #fff !important;
  box-shadow: 0 10px 24px -10px rgba(235, 30, 48, .8);
}

.lp-toc {
  position: sticky;
  top: calc(var(--lp-nav-h) + 24px);
  padding: 1.5rem;
  border-radius: var(--lp-radius-lg);
  background: var(--lp-surface);
  border: 1px solid var(--lp-border-soft);
}
.lp-toc-title { color: var(--lp-text); font-weight: 600; font-size: .9rem; margin-bottom: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.lp-toc ol { list-style: none; counter-reset: toc; padding: 0; margin: 0; display: grid; gap: .15rem; }
.lp-toc li { counter-increment: toc; }
.lp-toc a {
  display: flex;
  gap: .6rem;
  padding: .4rem .6rem;
  border-radius: 8px;
  border-left: 2px solid transparent;
  color: var(--lp-muted);
  font-size: .88rem;
  line-height: 1.4;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.lp-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--lp-red); font-weight: 600; font-variant-numeric: tabular-nums; }
.lp-toc a:hover { color: var(--lp-text); background: rgba(255, 255, 255, .03); }
.lp-toc a.active { color: var(--lp-gold); background: rgba(235, 30, 48, .08); border-left-color: var(--lp-red); }

.lp-doc { max-width: 820px; }
.lp-doc-intro {
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  border-radius: var(--lp-radius-lg);
  background: linear-gradient(135deg, rgba(235, 30, 48, .1), rgba(255, 215, 0, .04));
  border: 1px solid var(--lp-border);
  color: var(--lp-text2);
  font-size: 1.02rem;
}
.lp-doc-intro p:last-child { margin-bottom: 0; }
.lp-doc-section {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--lp-border-soft);
  scroll-margin-top: calc(var(--lp-nav-h) + 20px);
}
.lp-doc-section h2 { display: flex; align-items: baseline; gap: .75rem; font-size: 1.35rem; font-weight: 600; margin-bottom: 1rem; }
.lp-doc-num {
  font-size: .85rem;
  font-weight: 700;
  color: var(--lp-red);
  font-variant-numeric: tabular-nums;
}
.lp-doc-section p { color: var(--lp-muted); }
.lp-doc-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.lp-doc-points li { display: flex; gap: .7rem; align-items: flex-start; color: var(--lp-text2); }
.lp-doc-points i { color: var(--lp-success); margin-top: .2rem; }
.lp-doc-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 1.75rem;
  border-radius: var(--lp-radius-lg);
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
}
.lp-doc-cta h3 { font-size: 1.2rem; margin-bottom: .25rem; }
.lp-doc-cta p { color: var(--lp-muted); }

@media (max-width: 575.98px) {
  .lp-legal-head { flex-direction: column; align-items: flex-start; }
  .lp-legal-tab { flex: 1 1 100%; justify-content: center; }
}

/* ---------- Back to top ---------- */
.lp-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1050;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lp-grad-red);
  color: #fff !important;
  font-size: 1.15rem;
  box-shadow: 0 10px 24px -8px rgba(235, 30, 48, .8);
  opacity: 0;
  transform: translateY(20px) scale(.8);
  pointer-events: none;
  transition: opacity .3s ease, transform .35s var(--lp-ease);
}
.lp-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.lp-top:hover { transform: translateY(-3px); }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js [data-reveal] {
  opacity: 0;
  transition: opacity .9s var(--lp-ease), transform .9s var(--lp-ease), filter .9s var(--lp-ease);
  transition-delay: var(--reveal-delay, 0ms);
  filter: blur(4px);
}
.js [data-reveal="up"] { transform: translateY(40px); }
.js [data-reveal="left"] { transform: translateX(-50px); }
.js [data-reveal="right"] { transform: translateX(50px); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal].is-visible { opacity: 1; transform: none; filter: none; }

@media (max-width: 767.98px) {
  .lp-section { padding: 70px 0; }
  .lp-hero { padding: calc(var(--lp-nav-h) + 40px) 0 70px; }
  .lp-card { padding: 1.5rem; }
  .lp-stats { padding-top: 50px; }
}

/* ---------- Reduced motion: keep the page, drop the movement ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  .lp-ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .lp-ticker-item[aria-hidden="true"] { display: none; }
  .lp-ticker { -webkit-mask-image: none; mask-image: none; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .lp-interactive, .lp-hero-visual { transform: none !important; }
}
