/* Public landing — isolated from authenticated promoter/admin CSS */
:root {
  --ld-bg: #f4fbff;
  --ld-surface: #ffffff;
  --ld-ink: #0f172a;
  --ld-muted: #5b6b7c;
  --ld-line: rgba(15, 23, 42, .08);
  --ld-cyan: #06b6d4;
  --ld-blue: #2563eb;
  --ld-violet: #7c3aed;
  --ld-lime: #84cc16;
  --ld-coral: #f43f5e;
  --ld-pink: #ec4899;
  --ld-shadow: 0 18px 50px rgba(15, 23, 42, .1);
  --ld-radius: 22px;
  --ld-font: "DM Sans", system-ui, sans-serif;
  --ld-display: "Sora", "DM Sans", system-ui, sans-serif;
  --ld-ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ld-blob, .ld-pulse, .ld-reveal { animation: none !important; transition: none !important; }
  .ld-reveal { opacity: 1 !important; transform: none !important; }
}

body.ld-body {
  margin: 0;
  font-family: var(--ld-font);
  color: var(--ld-ink);
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(6, 182, 212, .18), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(236, 72, 153, .12), transparent 50%),
    var(--ld-bg);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.ld-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.ld-skip:focus { left: 8px; top: 8px; }

.ld-container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

/* Admin lock — discrete */
.ld-admin-lock {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 80;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--ld-line);
  background: rgba(255,255,255,.75);
  color: #94a3b8;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.ld-admin-lock:hover { color: var(--ld-ink); }

/* Nav */
.ld-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(244, 251, 255, .82);
  border-bottom: 1px solid transparent;
}
.ld-nav.is-scrolled { border-bottom-color: var(--ld-line); }
.ld-nav-inner {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 12px;
  padding-right: 48px; /* room for admin lock */
}
.ld-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ld-ink);
  font-family: var(--ld-display);
  font-weight: 700;
}
.ld-logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #042f2e;
  background: linear-gradient(145deg, #67e8f9, #22d3ee 50%, #a3e635);
  box-shadow: 0 8px 20px rgba(34, 211, 238, .35);
}
.ld-nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--ld-ink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
}

/* Hero */
.ld-hero {
  position: relative;
  padding: 28px 0 48px;
  overflow: clip;
}
.ld-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.ld-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .55;
  animation: ld-float 12s ease-in-out infinite;
}
.ld-blob-a {
  width: 280px; height: 280px; left: -60px; top: 40px;
  background: rgba(6, 182, 212, .45);
}
.ld-blob-b {
  width: 220px; height: 220px; right: -40px; top: 120px;
  background: rgba(236, 72, 153, .28);
  animation-delay: -4s;
}
.ld-blob-c {
  width: 180px; height: 180px; left: 40%; bottom: 0;
  background: rgba(132, 204, 22, .22);
  animation-delay: -7s;
}
@keyframes ld-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.05); }
}

.ld-hero-grid {
  position: relative;
  display: grid;
  gap: 28px;
}
.ld-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ld-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  background: rgba(37, 99, 235, .1);
  color: #1d4ed8;
}
.ld-badge-cyan { background: rgba(6, 182, 212, .14); color: #0e7490; }
.ld-badge-lime { background: rgba(132, 204, 22, .16); color: #3f6212; }

.ld-hero h1 {
  margin: 0 0 12px;
  font-family: var(--ld-display);
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 800;
}
.ld-grad {
  background: linear-gradient(105deg, #06b6d4, #2563eb 45%, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ld-lead {
  margin: 0 0 22px;
  color: var(--ld-muted);
  font-size: 1.05rem;
  max-width: 34ch;
}
.ld-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.ld-micro {
  margin: 0;
  color: var(--ld-muted);
  font-size: .82rem;
}

/* Login card */
.ld-hero-card {
  position: relative;
  background: var(--ld-surface);
  border: 1px solid var(--ld-line);
  border-radius: 28px;
  padding: 22px 18px 18px;
  box-shadow: var(--ld-shadow);
  overflow: hidden;
}
.ld-card-glow {
  position: absolute;
  inset: auto -20% -40% auto;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(37,99,235,.18), transparent 70%);
  pointer-events: none;
}
.ld-card-kicker {
  margin: 0 0 4px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #0891b2;
}
.ld-card-title {
  margin: 0 0 4px;
  font-family: var(--ld-display);
  font-size: 1.35rem;
  font-weight: 800;
}
.ld-card-sub {
  margin: 0 0 16px;
  color: var(--ld-muted);
  font-size: .92rem;
}

.ld-flash {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 600;
}
.ld-flash-ok { background: #ecfdf5; color: #047857; }
.ld-flash-err { background: #fff1f2; color: #be123c; }
.ld-flash-warn { background: #fffbeb; color: #b45309; }

.ld-label {
  display: block;
  margin: 0 0 6px;
  font-size: .86rem;
  font-weight: 700;
}
.ld-input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1.5px solid #dbe4ee;
  background: #f8fafc;
  font: inherit;
  color: var(--ld-ink);
  margin-bottom: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ld-input-xl { min-height: 56px; font-size: 1.1rem; font-weight: 600; letter-spacing: .02em; }
.ld-input::placeholder {
  color: #64748b;
  opacity: 1;
  font-weight: 600;
  letter-spacing: .04em;
}
.ld-input::-webkit-input-placeholder {
  color: #64748b;
  font-weight: 600;
  letter-spacing: .04em;
}
.ld-input::-moz-placeholder {
  color: #64748b;
  opacity: 1;
  font-weight: 600;
}
.ld-input:focus {
  outline: none;
  border-color: #22d3ee;
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .2);
  background: #fff;
}
.ld-input-hint {
  margin: -4px 0 14px;
  color: var(--ld-muted);
  font-size: .82rem;
}
.ld-input-hint strong {
  color: var(--ld-ink);
  font-weight: 750;
  letter-spacing: .03em;
}
.ld-form-hint {
  margin: 10px 0 0;
  color: var(--ld-muted);
  font-size: .8rem;
  text-align: center;
}

/* Buttons */
.ld-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s var(--ld-ease), box-shadow .2s ease, filter .15s ease;
}
.ld-btn:active { transform: scale(.98); }
.ld-btn:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .45);
  outline-offset: 2px;
}
.ld-btn-primary {
  background: linear-gradient(120deg, #06b6d4, #2563eb 55%, #7c3aed);
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 99, 235, .28);
}
.ld-btn-primary:hover { filter: brightness(1.05); }
.ld-btn-soft {
  background: #fff;
  color: var(--ld-ink);
  border: 1px solid var(--ld-line);
}
.ld-btn-dark { background: var(--ld-ink); color: #fff; }
.ld-btn-ghost {
  background: transparent;
  color: var(--ld-muted);
}
.ld-btn-lg { min-height: 48px; padding: 0 22px; }
.ld-btn-xl { min-height: 54px; font-size: 1.05rem; }
.ld-btn-block { width: 100%; }
.ld-pulse { animation: ld-pulse 2.4s ease-in-out infinite; }
@keyframes ld-pulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(37, 99, 235, .28); }
  50% { box-shadow: 0 12px 34px rgba(37, 99, 235, .45); }
}
.ld-btn.is-loading { opacity: .75; pointer-events: none; }

/* Sections */
.ld-section { padding: 56px 0; }
.ld-section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,.65), rgba(224, 242, 254, .55));
}
.ld-section-head { margin-bottom: 28px; max-width: 36ch; }
.ld-eyebrow {
  margin: 0 0 6px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #0891b2;
}
.ld-section-head h2 {
  margin: 0 0 8px;
  font-family: var(--ld-display);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  letter-spacing: -.02em;
}
.ld-section-head p { margin: 0; color: var(--ld-muted); }

.ld-benefits {
  display: grid;
  gap: 14px;
}
.ld-benefit {
  background: var(--ld-surface);
  border: 1px solid var(--ld-line);
  border-radius: var(--ld-radius);
  padding: 18px 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
  transition: transform .2s var(--ld-ease), box-shadow .2s ease;
}
.ld-benefit:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, .08);
}
.ld-benefit h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 800;
}
.ld-benefit p { margin: 0; color: var(--ld-muted); font-size: .92rem; }
.ld-ico {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 12px;
  font-size: 1.2rem;
}
.ld-ico-cyan { background: rgba(6,182,212,.14); color: #0891b2; }
.ld-ico-violet { background: rgba(124,58,237,.12); color: #6d28d9; }
.ld-ico-lime { background: rgba(132,204,22,.16); color: #4d7c0f; }
.ld-ico-coral { background: rgba(244,63,94,.12); color: #e11d48; }

.ld-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.ld-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--ld-line);
  border-radius: 18px;
  padding: 14px 16px;
}
.ld-step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--ld-display);
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #22d3ee, #2563eb);
}
.ld-step h3 { margin: 0 0 2px; font-size: 1rem; }
.ld-step p { margin: 0; color: var(--ld-muted); font-size: .9rem; }
.ld-tagline {
  margin: 24px 0 0;
  text-align: center;
  font-family: var(--ld-display);
  font-size: 1.35rem;
  font-weight: 800;
  background: linear-gradient(90deg, #06b6d4, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ld-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ld-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--ld-line);
  font-weight: 700;
  font-size: .92rem;
}
.ld-feature i {
  color: #2563eb;
  font-size: 1.15rem;
}

.ld-vibe {
  background:
    radial-gradient(500px 220px at 20% 0%, rgba(236,72,153,.12), transparent 60%),
    radial-gradient(420px 200px at 90% 100%, rgba(6,182,212,.14), transparent 55%);
}
.ld-quotes { display: grid; gap: 12px; }
.ld-quote {
  margin: 0;
  padding: 20px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.8);
  border: 1px solid var(--ld-line);
  backdrop-filter: blur(8px);
}
.ld-quote p {
  margin: 0;
  font-family: var(--ld-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.ld-faq { display: grid; gap: 10px; }
.ld-faq-item {
  background: #fff;
  border: 1px solid var(--ld-line);
  border-radius: 16px;
  padding: 4px 14px;
}
.ld-faq-item summary {
  cursor: pointer;
  list-style: none;
  min-height: 48px;
  display: flex;
  align-items: center;
  font-weight: 750;
}
.ld-faq-item summary::-webkit-details-marker { display: none; }
.ld-faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.2rem;
  color: #64748b;
}
.ld-faq-item[open] summary::after { content: "–"; }
.ld-faq-item p {
  margin: 0 0 14px;
  color: var(--ld-muted);
  font-size: .92rem;
}

.ld-cta-final { padding: 20px 0 56px; }
.ld-cta-box {
  text-align: center;
  padding: 36px 22px;
  border-radius: 28px;
  background: linear-gradient(135deg, #0f172a, #1e3a5f 50%, #0e7490);
  color: #fff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .28);
}
.ld-cta-box h2 {
  margin: 0 0 8px;
  font-family: var(--ld-display);
  font-size: 1.7rem;
}
.ld-cta-box p { margin: 0 0 18px; opacity: .88; }
.ld-cta-box .ld-btn-primary {
  background: linear-gradient(120deg, #67e8f9, #a3e635);
  color: #042f2e;
  box-shadow: none;
}

.ld-footer {
  padding: 24px 0 40px;
  color: var(--ld-muted);
  font-size: .84rem;
}
.ld-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
}

/* Reveal */
.ld-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s var(--ld-ease), transform .55s var(--ld-ease);
}
.ld-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Modal admin */
.ld-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(15, 23, 42, .45);
  display: grid;
  place-items: center;
  padding: 16px;
}
.ld-modal-backdrop[hidden] { display: none !important; }
.ld-modal {
  width: min(400px, 100%);
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--ld-shadow);
}
.ld-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.ld-modal-head h2 { margin: 0; font-size: 1.1rem; }
.ld-modal-close {
  border: 0;
  background: none;
  font-size: 1.5rem;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
}
.ld-modal-body .ld-btn { margin-top: 4px; }
body.ld-modal-open { overflow: hidden; }

/* Desktop */
@media (min-width: 768px) {
  .ld-hero { padding: 40px 0 72px; }
  .ld-hero-grid {
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 40px;
  }
  .ld-benefits { grid-template-columns: repeat(2, 1fr); }
  .ld-steps { grid-template-columns: repeat(2, 1fr); }
  .ld-features { grid-template-columns: repeat(3, 1fr); }
  .ld-quotes { grid-template-columns: repeat(3, 1fr); }
  .ld-hero-card { padding: 28px 24px 22px; }
}

@media (min-width: 1024px) {
  .ld-benefits { grid-template-columns: repeat(4, 1fr); }
  .ld-steps { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 360px) {
  .ld-container { width: calc(100% - 24px); }
  .ld-hero h1 { font-size: 1.75rem; }
  .ld-features { grid-template-columns: 1fr; }
  .ld-nav-inner { padding-right: 44px; }
}
