/* CashPay public payment UI */

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  font-family: "Nunito", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  background: #f5f5f7;
  color: #111827;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

button, input, select, textarea {
  font-family: inherit;
  font-weight: inherit;
}

input::placeholder { font-weight: 500; }

h1, h2, h3, h4, h5, h6 { font-weight: 800; }

a { color: inherit; text-decoration: none; }

/* ── Layout ── */

.page {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
}

.page--center {
  align-items: center;
}

.card {
  width: 100%;
  max-width: 28rem;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  position: relative;
}

.card--border {
  border: 1px solid #f3f4f6;
}

.card-notch {
  width: 3rem;
  height: 0.25rem;
  background: #d1d5db;
  border-radius: 9999px;
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
}

.center { text-align: center; }

/* ── Pay page ── */

.user-title {
  text-align: center;
  margin-bottom: 0.75rem;
}

.user-title h1 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.user-title .name { color: #00b341; }

.badge-secure {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: #f0fdf4;
  color: #00b341;
  font-size: 0.875rem;
  font-weight: 800;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
}

.brand-card {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-card img {
  border-radius: 0.75rem;
}

.brand-title {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  font-weight: 900;
  color: #030712;
  letter-spacing: -0.025em;
}

.brand-sub {
  font-size: 0.875rem;
  color: #9ca3af;
}

.amount-panel {
  background: rgba(220, 252, 231, 0.7);
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.amount-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: #00b341;
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.amount-btn {
  padding: 0.75rem 0.5rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
  border: 1px solid #bbf7d0;
  background: #fff;
  color: #030712;
}

.amount-btn:hover {
  background: #f0fdf4;
  border-color: #86efac;
}

.amount-btn.is-active {
  background: #00d54b;
  border-color: #00d54b;
  color: #fff;
}

.amount-btn.is-active:hover {
  background: #00c044;
  border-color: #00c044;
}

.amount-btn.is-hidden {
  display: none;
}

.btn-more-toggle {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.625rem;
  border: none;
  border-radius: 9999px;
  background: #bbf7d0;
  color: #00b341;
  font-weight: 800;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.15s;
}

.btn-more-toggle:hover {
  background: #86efac;
}

.custom-amount {
  margin-top: 0.75rem;
  position: relative;
}

.custom-amount-prefix {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #00b341;
  font-weight: 800;
}

.custom-amount input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.25rem;
  border-radius: 9999px;
  border: 1px solid #bbf7d0;
  background: #fff;
  color: #030712;
  font-weight: 800;
  outline: none;
}

.custom-amount input:focus {
  border-color: #00d54b;
}

.custom-amount input::placeholder {
  color: #9ca3af;
}

.form-error {
  color: #ef4444;
  font-size: 0.875rem;
  text-align: center;
  margin: 0 0 0.75rem;
}

.form-error.is-hidden {
  display: none;
}

.btn-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  border: none;
  border-radius: 9999px;
  padding: 1rem;
  background: #00d54b;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  cursor: pointer;
  transition: background-color 0.15s, opacity 0.15s;
  box-shadow: 0 0 20px rgba(0, 213, 75, 0.35);
}

.btn-pay:hover { background: #00c044; }

.btn-pay:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-pay--inline {
  width: auto;
  padding: 0.75rem 2rem;
  box-shadow: none;
}

.btn-pay--link {
  box-shadow: 0 0 20px rgba(0, 213, 75, 0.35);
}

.btn-pay img {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.375rem;
  box-shadow: 0 0 0 2px #fff;
}

.footer-note {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}

.footer-note .ring-dot {
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 9999px;
  border: 1px solid #d1d5db;
  display: inline-block;
}

.footer-note strong {
  color: #6b7280;
  font-weight: 700;
}

/* ── Invoice page ── */

.countdown {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

.countdown-label {
  color: rgba(180, 83, 9, 0.7);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.countdown-time {
  color: #92400e;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.amount-due-label {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0 0 0.25rem;
}

.amount-due-value {
  font-size: 2.25rem;
  font-weight: 900;
  color: #00d54b;
  margin: 0;
}

.amount-due-hint {
  font-size: 0.875rem;
  color: #9ca3af;
  margin: 0.25rem 0 0;
}

.qr-wrap {
  display: flex;
  justify-content: center;
  margin: 1.25rem 0;
}

.qr-box {
  position: relative;
  display: inline-block;
  line-height: 0;
}

.qr-box.is-dim {
  opacity: 0.4;
}

.qr-box canvas,
.qr-box img {
  display: block;
  border-radius: 0;
}

.qr-logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.qr-logo img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: #fff;
  padding: 2px;
}

.info-block {
  background: #f9fafb;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
}

.info-block--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.info-block--bolt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.field-label {
  font-size: 10px;
  color: #9ca3af;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0;
}

.field-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875rem;
  color: #1f2937;
  font-weight: 600;
  margin: 0;
}

.field-value--truncate {
  font-size: 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.pill-awaiting {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  border: 1px solid rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
  flex-shrink: 0;
}

.btn-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.75rem auto 0;
  padding: 0.5rem 0.75rem;
  border: none;
  background: transparent;
  color: #6b7280;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.15s;
}

.btn-copy:hover { color: #00b341; }

.invoice-hint {
  text-align: center;
  font-size: 0.75rem;
  color: #9ca3af;
  margin: 0.75rem 0 0;
}

.invoice-actions .is-hidden { display: none; }

/* ── Paid / expired / error / 404 ── */

.state-card {
  padding: 2rem 1.5rem;
  text-align: center;
}

.success-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  background: #00d54b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
  margin: 0 auto 1rem;
  line-height: 1;
}

.state-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 0.25rem;
}

.state-amount {
  font-size: 2.25rem;
  font-weight: 900;
  color: #00d54b;
  margin: 0.75rem 0;
}

.state-muted {
  color: #9ca3af;
  font-size: 0.875rem;
  margin: 0 0 1.5rem;
}

.state-error {
  color: #ef4444;
  font-weight: 700;
  margin: 0 0 1rem;
}

.not-found-code {
  font-size: 3.75rem;
  font-weight: 900;
  color: #d1d5db;
  margin: 0 0 0.5rem;
  line-height: 1;
}

.not-found-text {
  color: #6b7280;
  margin: 0 0 1.5rem;
}

/* ── Loading ── */

.loading-screen {
  text-align: center;
}

.loading-spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 3px solid #e5e7eb;
  border-top-color: #00d54b;
  border-radius: 9999px;
  margin: 0 auto 1rem;
  animation: spin 0.8s linear infinite;
}

.loading-label {
  color: #6b7280;
  font-weight: 700;
  margin: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.spacer-top { margin-top: 1.5rem; }
.spacer-bottom { margin-bottom: 1rem; }

/* ── Landing ── */

/* ── LightningPay brand homepage (lp-) ── */

.lp {
  --lp-bg: #030712;
  --lp-ink: #f8fafc;
  --lp-muted: #94a3b8;
  --lp-line: rgba(148, 163, 184, 0.14);
  --lp-accent: #00d54b;
  --lp-accent-dim: rgba(0, 213, 75, 0.12);
  --lp-gutter: clamp(28px, 5vw, 72px);
  margin: 0;
  background: var(--lp-bg);
  color: var(--lp-ink);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}

.lp-wrap {
  width: min(1120px, 100%);
  padding-inline: var(--lp-gutter);
  margin-inline: auto;
}

.lp-kicker {
  margin: 0 0 14px;
  color: var(--lp-accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lp-lead {
  margin: 0;
  max-width: 36rem;
  color: #94a3b8;
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 600;
}

.lp-lead--center {
  margin-inline: auto;
  text-align: center;
}

.lp-gradient {
  background: linear-gradient(120deg, #fff 0%, #86efac 55%, #00d54b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: none;
  border-radius: 999px;
  background: var(--lp-accent);
  color: #04110a;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 32px rgba(0, 213, 75, 0.32);
}

.lp-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.lp-btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  border: 1px solid var(--lp-line);
  box-shadow: none;
}

.lp-btn--ghost:hover {
  border-color: rgba(0, 213, 75, 0.45);
  color: #fff;
  filter: none;
  background: rgba(0, 213, 75, 0.06);
}

.lp-btn--sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.88rem;
  box-shadow: none;
}

.lp-btn--lg {
  min-height: 52px;
  padding: 0 28px;
  font-size: 1rem;
}

.lp-btn--light {
  background: #fff;
  color: #04110a;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* Nav */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(3, 7, 18, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.lp-nav.is-scrolled {
  background: rgba(3, 7, 18, 0.96);
  border-color: var(--lp-line);
}

.lp-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding-block: 8px;
}

.lp-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.lp-nav__brand img {
  display: block;
  border-radius: 9px;
}

.lp-nav__links {
  display: flex;
  gap: 1.75rem;
}

.lp-nav__links a {
  color: var(--lp-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.lp-nav__links a:hover {
  color: #fff;
}

.lp-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lp-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--lp-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.lp-nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: #e2e8f0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.lp-nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.lp-nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.lp-nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.lp-nav__drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px var(--lp-gutter) 18px;
  border-top: 1px solid var(--lp-line);
  background: rgba(3, 7, 18, 0.98);
}

.lp-nav__drawer:not([hidden]) {
  display: flex;
}

.lp-nav__drawer a {
  padding: 12px 0;
  color: #e2e8f0;
  font-weight: 700;
  border-bottom: 1px solid var(--lp-line);
}

.lp-nav__drawer a:last-child {
  border-bottom: none;
  color: var(--lp-accent);
}

/* Hero */
.lp-hero {
  position: relative;
  min-height: min(92vh, 920px);
  display: flex;
  align-items: center;
  padding: 64px 0 88px;
  overflow: hidden;
}

.lp-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lp-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.lp-hero__glow--a {
  top: -15%;
  left: -8%;
  width: 60%;
  height: 75%;
  background: radial-gradient(circle, rgba(0, 213, 75, 0.28), transparent 68%);
  animation: lp-float 8s ease-in-out infinite;
}

.lp-hero__glow--b {
  right: -10%;
  bottom: -20%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.14), transparent 70%);
  animation: lp-float 10s ease-in-out infinite reverse;
}

.lp-hero__gridlines {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 15%, transparent 78%);
}

.lp-hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}

.lp-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.lp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.lp-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 40px 0 0;
  padding: 0;
}

.lp-stats div {
  padding-top: 20px;
  border-top: 1px solid var(--lp-line);
}

.lp-stats dt {
  margin: 0 0 4px;
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.lp-stats dd {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.4;
}

.lp-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
}

.lp-hero__ring {
  position: absolute;
  width: min(100%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(0, 213, 75, 0.18);
  background: radial-gradient(circle, rgba(0, 213, 75, 0.08), transparent 65%);
  animation: lp-ring 12s linear infinite;
}

.lp-phone {
  position: relative;
  z-index: 1;
  width: min(100%, 320px);
  padding: 14px;
  border-radius: 36px;
  background: linear-gradient(165deg, #1e293b 0%, #0f172a 100%);
  box-shadow:
    0 48px 96px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: rotate(-3deg);
  animation: lp-phone-in 1s ease forwards;
}

.lp-phone__bar {
  width: 36%;
  height: 5px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.lp-phone__screen {
  padding: 20px 18px 22px;
  border-radius: 26px;
  background: #fff;
  color: #111827;
}

.lp-phone__badge {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #f0fdf4;
  color: #00b341;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lp-phone__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
}

.lp-phone__brand img {
  border-radius: 10px;
}

.lp-phone__brand strong {
  display: block;
  font-size: 1rem;
  font-weight: 900;
}

.lp-phone__brand span {
  color: #9ca3af;
  font-size: 0.82rem;
  font-weight: 600;
}

.lp-phone__amount {
  margin-top: 18px;
  text-align: center;
}

.lp-phone__amount span {
  display: block;
  color: #9ca3af;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lp-phone__amount strong {
  display: block;
  margin-top: 6px;
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.lp-phone__qr {
  position: relative;
  width: 156px;
  height: 156px;
  margin: 20px auto 0;
  padding: 10px;
  border-radius: 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.lp-phone__qr-grid {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background:
    repeating-linear-gradient(0deg, #111 0 6px, transparent 6px 12px),
    repeating-linear-gradient(90deg, #111 0 6px, transparent 6px 12px);
  opacity: 0.85;
}

.lp-phone__qr-logo {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.lp-phone__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  color: #6b7280;
  font-size: 0.78rem;
  font-weight: 700;
}

.lp-phone__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fbbf24;
  animation: lp-blink 1.4s ease-in-out infinite;
}

.lp-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(0, 213, 75, 0.4);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
  animation: lp-float-card 4s ease-in-out infinite;
  backdrop-filter: blur(8px);
}

.lp-float--paid {
  right: -4%;
  bottom: 14%;
}

.lp-float__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lp-accent);
  color: #04110a;
  font-weight: 900;
  font-size: 0.95rem;
}

.lp-float strong {
  display: block;
  font-size: 0.9rem;
  color: #fff;
}

.lp-float span {
  color: #86efac;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Sections */
.lp-section {
  padding: 100px 0;
  scroll-margin-top: 84px;
}

.lp-section--dark {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, transparent 50%, rgba(255, 255, 255, 0.015) 100%);
  border-block: 1px solid var(--lp-line);
}

.lp-section--muted {
  background: rgba(255, 255, 255, 0.012);
}

.lp-section__head {
  max-width: 42rem;
  margin-bottom: 48px;
}

.lp-section__head--center {
  margin-inline: auto;
  text-align: center;
}

.lp-section__head h2 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.lp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--lp-accent-dim);
  color: var(--lp-accent);
}

.lp-icon svg {
  width: 24px;
  height: 24px;
}

/* Features */
.lp-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.lp-feature {
  padding: 32px 28px;
  border-radius: 24px;
  border: 1px solid var(--lp-line);
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.65), rgba(3, 7, 18, 0.4));
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.lp-feature:hover {
  border-color: rgba(0, 213, 75, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.lp-feature__tag {
  margin: 0 0 10px;
  color: var(--lp-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lp-feature h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: #fff;
}

.lp-feature p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.96rem;
  line-height: 1.6;
  font-weight: 600;
}

.lp-feature code {
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.88em;
}

/* Steps */
.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  counter-reset: lp-step;
}

.lp-step {
  position: relative;
  padding: 32px 26px;
  border-radius: 22px;
  border: 1px solid var(--lp-line);
  background: rgba(3, 7, 18, 0.55);
}

.lp-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -18px;
  transform: translateY(-50%);
  color: rgba(0, 213, 75, 0.5);
  font-size: 1.25rem;
  font-weight: 800;
}

.lp-step__num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--lp-accent);
  color: #04110a;
  font-weight: 900;
  font-size: 1rem;
}

.lp-step h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  color: #fff;
}

.lp-step p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.94rem;
  line-height: 1.58;
  font-weight: 600;
}

/* FAQ */
.lp-faq-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.lp-faq {
  display: grid;
  gap: 12px;
}

.lp-faq__item {
  border: 1px solid var(--lp-line);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.45);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.lp-faq__item[open] {
  border-color: rgba(0, 213, 75, 0.3);
}

.lp-faq__item summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 800;
  color: #fff;
  list-style: none;
}

.lp-faq__item summary::-webkit-details-marker {
  display: none;
}

.lp-faq__item summary::after {
  content: "+";
  float: right;
  color: var(--lp-accent);
  font-size: 1.25rem;
  line-height: 1;
}

.lp-faq__item[open] summary::after {
  content: "−";
}

.lp-faq__item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--lp-muted);
  font-size: 0.94rem;
  line-height: 1.6;
  font-weight: 600;
}

/* CTA band */
.lp-cta-band {
  position: relative;
  padding: 88px 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 120% at 20% 50%, rgba(0, 213, 75, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 80% at 90% 30%, rgba(0, 213, 75, 0.1), transparent 50%),
    linear-gradient(135deg, rgba(0, 213, 75, 0.08), rgba(3, 7, 18, 0.95));
  border-block: 1px solid rgba(0, 213, 75, 0.22);
}

.lp-cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.lp-cta-band h2 {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.lp-cta-band .lp-lead {
  color: #cbd5e1;
}

/* Legal & footer */
.lp-legal {
  padding: 36px 0 20px;
}

.lp-legal p {
  margin: 0;
  max-width: 52rem;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.55;
  font-weight: 600;
}

.lp-legal strong {
  color: #94a3b8;
}

.lp-foot {
  padding: 32px 0 48px;
  border-top: 1px solid var(--lp-line);
}

.lp-foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 24px;
  align-items: start;
}

.lp-foot__brand {
  display: grid;
  gap: 8px;
}

.lp-foot__brand img {
  border-radius: 6px;
}

.lp-foot__brand strong {
  font-size: 1rem;
  font-weight: 800;
  color: #e2e8f0;
}

.lp-foot__brand p {
  margin: 0;
  max-width: 18rem;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
}

.lp-foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.lp-foot__links a {
  color: #94a3b8;
  font-size: 0.88rem;
  font-weight: 700;
}

.lp-foot__links a:hover {
  color: #fff;
}

.lp-foot__meta {
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: right;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes lp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes lp-float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes lp-phone-in {
  from { opacity: 0; transform: rotate(-3deg) translateY(32px); }
  to { opacity: 1; transform: rotate(-3deg) translateY(0); }
}

@keyframes lp-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes lp-ring {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 960px) {
  .lp-nav__links,
  .lp-nav__actions .lp-btn--ghost {
    display: none;
  }

  .lp-nav__toggle {
    display: flex;
  }

  .lp-hero {
    min-height: auto;
    padding: 48px 0 64px;
  }

  .lp-hero__layout,
  .lp-features,
  .lp-steps,
  .lp-stats,
  .lp-faq-wrap,
  .lp-foot__grid {
    grid-template-columns: 1fr;
  }

  .lp-hero__visual {
    min-height: auto;
    margin-top: 16px;
  }

  .lp-float--paid {
    right: 4%;
    bottom: 6%;
  }

  .lp-step:not(:last-child)::after {
    display: none;
  }

  .lp-section {
    padding: 72px 0;
  }

  .lp-foot__meta {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .lp-feature,
  .lp-phone,
  .lp-float,
  .lp-hero__glow,
  .lp-hero__ring {
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

