:root {
  --lp-bg: #ffffff;
  --lp-bg-soft: #f6f7fb;
  --lp-card: #ffffff;
  --lp-text: #111528;
  --lp-muted: #5b6076;
  --lp-line: #e6e8f0;
  --lp-brand: #5b5bd6;
  --lp-brand-2: #8b5cf6;
  --lp-brand-soft: #efedff;
  --lp-glow: rgba(91, 91, 214, .18);
  --lp-shadow: 0 18px 50px rgba(20, 22, 40, .10);
  --lp-shadow-sm: 0 8px 24px rgba(20, 22, 40, .08);
  --lp-radius: 18px;
}

html[data-theme="dark"] {
  --lp-bg: #0b0d17;
  --lp-bg-soft: #101322;
  --lp-card: #141829;
  --lp-text: #f2f3fa;
  --lp-muted: #a0a5bd;
  --lp-line: #242941;
  --lp-brand: #8b8bf6;
  --lp-brand-2: #b18cff;
  --lp-brand-soft: rgba(139, 139, 246, .14);
  --lp-glow: rgba(139, 139, 246, .22);
  --lp-shadow: 0 18px 50px rgba(0, 0, 0, .4);
  --lp-shadow-sm: 0 8px 24px rgba(0, 0, 0, .35);
}

html { scroll-behavior: smooth; }
.landing-body {
  background: var(--lp-bg) !important;
  color: var(--lp-text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.landing-body ::selection { background: var(--lp-brand); color: #fff; }
.landing-body .container-xl { max-width: 1180px; }

.lp-main { display: block; }
.lp-h1 {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -.045em;
  font-weight: 800;
  margin: 18px 0 22px;
  color: var(--lp-text);
}
.lp-grad {
  background: linear-gradient(100deg, var(--lp-brand), var(--lp-brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lp-h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 800;
  margin: 12px 0 18px;
  color: var(--lp-text);
}
.lp-lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); line-height: 1.7; color: var(--lp-muted); max-width: 560px; }
.lp-text { color: var(--lp-muted); font-size: 1.02rem; line-height: 1.75; max-width: 540px; }
.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--lp-brand-soft);
  color: var(--lp-brand);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
html[data-theme="dark"] .lp-eyebrow { color: var(--lp-brand-2); }
.lp-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lp-brand);
  box-shadow: 0 0 0 0 var(--lp-glow);
  animation: lpPulse 2s infinite;
}
@keyframes lpPulse {
  0% { box-shadow: 0 0 0 0 var(--lp-glow); }
  70% { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--lp-bg);
  background: color-mix(in srgb, var(--lp-bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.lp-nav.scrolled { border-bottom-color: var(--lp-line); box-shadow: 0 6px 24px rgba(10, 12, 25, .05); }
.lp-nav-inner { display: flex; align-items: center; gap: 28px; padding: 15px 22px; }
.lp-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em;
  color: var(--lp-text); text-decoration: none;
}
.lp-brand-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 11px;
  background: linear-gradient(145deg, var(--lp-brand), var(--lp-brand-2));
  color: #fff; font-weight: 800; box-shadow: 0 6px 16px var(--lp-glow);
}
.lp-links { display: flex; gap: 4px; margin-left: 10px; }
.lp-links a {
  color: var(--lp-muted); text-decoration: none; font-size: .9rem; font-weight: 600;
  padding: 9px 12px; border-radius: 10px; transition: color .2s, background .2s;
}
.lp-links a:hover { color: var(--lp-text); background: var(--lp-bg-soft); }
.lp-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lp-login { color: var(--lp-text); text-decoration: none; font-weight: 600; font-size: .9rem; padding: 9px 12px; }
.lp-login:hover { color: var(--lp-brand); }
.lp-theme {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--lp-line);
  background: var(--lp-card);
  color: var(--lp-text);
  cursor: pointer;
  transition: transform .2s, border-color .2s;
}
.lp-theme:hover { transform: rotate(-12deg) scale(1.05); border-color: var(--lp-brand); }
.lp-theme svg { width: 18px; height: 18px; }
.lp-theme .icon-moon { display: none; }
html[data-theme="dark"] .lp-theme .icon-sun { display: none; }
html[data-theme="dark"] .lp-theme .icon-moon { display: block; }
.lp-menu {
  display: none; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--lp-line); background: var(--lp-card);
  flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer;
}
.lp-menu span { width: 17px; height: 2px; background: var(--lp-text); border-radius: 2px; }

.landing-body .btn { border-radius: 12px; font-weight: 700; letter-spacing: -.01em; }
.landing-body .btn-primary {
  background: linear-gradient(135deg, #5b5bd6, #7c5bf0) !important;
  border: 0 !important;
  box-shadow: 0 10px 26px var(--lp-glow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.landing-body .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px var(--lp-glow); }
.landing-body .btn-ghost {
  background: var(--lp-card) !important;
  color: var(--lp-text) !important;
  border: 1px solid var(--lp-line) !important;
  box-shadow: none;
}
.landing-body .btn-ghost:hover { border-color: var(--lp-brand) !important; color: var(--lp-brand) !important; }
.landing-body .btn-light { background: #fff !important; color: #2b2160 !important; border: 0 !important; }
.landing-body .btn-xl { padding: 14px 24px; font-size: .98rem; border-radius: 13px; }

.lp-hero { position: relative; padding: 60px 0 46px; overflow: hidden; }
.lp-hero::before {
  content: ""; position: absolute; inset: -20% 30% auto -20%; height: 620px;
  background: radial-gradient(circle, var(--lp-glow), transparent 65%);
  filter: blur(20px); pointer-events: none;
}
.lp-hero-copy { position: relative; z-index: 2; }
.lp-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 26px; }
.lp-trust { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.lp-avatars { display: flex; }
.lp-avatars img {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--lp-bg); margin-left: -10px;
}
.lp-avatars img:first-child { margin-left: 0; }
.lp-trust strong { display: block; font-size: .92rem; color: var(--lp-text); }
.lp-trust span { display: block; font-size: .8rem; color: var(--lp-muted); }
.lp-micro { font-size: .78rem; color: var(--lp-muted); margin: 0; }

.lp-hero-visual { position: relative; min-height: 480px; }
.lp-photo-card {
  border-radius: 26px; overflow: hidden;
  box-shadow: var(--lp-shadow);
  border: 1px solid var(--lp-line);
  transform: rotate(1.5deg);
  animation: lpFloat 8s ease-in-out infinite;
}
.lp-photo-card img { width: 100%; height: 470px; object-fit: cover; display: block; }
@keyframes lpFloat { 0%, 100% { transform: rotate(1.5deg) translateY(0); } 50% { transform: rotate(1.5deg) translateY(-12px); } }
.lp-float {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 15px; border-radius: 15px;
  background: var(--lp-card);
  box-shadow: var(--lp-shadow-sm);
  border: 1px solid var(--lp-line);
  z-index: 3;
}
.lp-float strong { display: block; font-size: 1rem; color: var(--lp-text); line-height: 1.1; }
.lp-float span { font-size: .72rem; color: var(--lp-muted); }
.lp-float-icon {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: var(--lp-brand-soft); font-size: 1.05rem;
}
.lp-float-a { top: 32px; left: -34px; animation: lpPop 6s ease-in-out infinite; }
.lp-float-b { bottom: 150px; right: -26px; animation: lpPop 7s ease-in-out infinite reverse; }
@keyframes lpPop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.lp-mini-form {
  position: absolute; bottom: 4px; left: 20px; right: 40px;
  background: var(--lp-card); border: 1px solid var(--lp-line);
  border-radius: 18px; padding: 18px; box-shadow: var(--lp-shadow); z-index: 3;
}
.lp-mini-progress { display: block; height: 6px; border-radius: 99px; background: var(--lp-line); overflow: hidden; margin-bottom: 12px; }
.lp-mini-progress i { display: block; width: 72%; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--lp-brand), var(--lp-brand-2)); }
.lp-mini-form p { margin: 0 0 8px; font-size: .86rem; font-weight: 700; color: var(--lp-text); }
.lp-mini-stars { color: #f5b301; letter-spacing: 2px; font-size: .95rem; margin-bottom: 10px; }
.lp-mini-input {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 13px; border-radius: 10px; border: 1px solid var(--lp-line);
  font-size: .82rem; color: var(--lp-text); background: var(--lp-bg-soft);
}
.lp-mini-input span { width: 2px; height: 14px; background: var(--lp-brand); animation: lpCaret 1s steps(2) infinite; }
@keyframes lpCaret { 50% { opacity: 0; } }

.lp-logos { margin-top: 66px; text-align: center; }
.lp-logos > span { display: block; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lp-muted); margin-bottom: 18px; }
.lp-logos div { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 46px; }
.lp-logos b { font-size: 1.12rem; color: var(--lp-muted); opacity: .72; letter-spacing: -.03em; }

.lp-features, .lp-showcase, .lp-how, .lp-testimonials { padding: 96px 0; }
.lp-features { background: var(--lp-bg-soft); }
.lp-section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.lp-section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); letter-spacing: -.035em; font-weight: 800; margin: 14px 0 12px; color: var(--lp-text); }
.lp-section-head p { color: var(--lp-muted); font-size: 1.02rem; line-height: 1.7; margin: 0; }
.lp-card {
  height: 100%; background: var(--lp-card); border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius); padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.lp-card:hover { transform: translateY(-5px); box-shadow: var(--lp-shadow); border-color: color-mix(in srgb, var(--lp-brand) 35%, var(--lp-line)); }
.lp-card-ico {
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 14px; background: var(--lp-brand-soft); font-size: 1.3rem; margin-bottom: 18px;
}
.lp-card h3 { font-size: 1.05rem; font-weight: 800; margin: 0 0 8px; color: var(--lp-text); letter-spacing: -.01em; }
.lp-card p { margin: 0; color: var(--lp-muted); font-size: .92rem; line-height: 1.65; }

.lp-showcase-row + .lp-showcase-row { margin-top: 96px; }
.lp-shot { position: relative; }
.lp-shot img {
  width: 100%; height: 370px; object-fit: cover; border-radius: 22px;
  border: 1px solid var(--lp-line); box-shadow: var(--lp-shadow); display: block;
}
.lp-shot-tall img { height: 430px; }
.lp-shot-badge {
  position: absolute; right: -14px; bottom: -18px;
  background: var(--lp-card); border: 1px solid var(--lp-line);
  border-radius: 16px; padding: 14px 18px; box-shadow: var(--lp-shadow-sm);
}
.lp-shot-badge strong { display: block; font-size: 1.3rem; color: var(--lp-brand); letter-spacing: -.03em; }
.lp-shot-badge span { font-size: .76rem; color: var(--lp-muted); }
.lp-checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.lp-checks li { position: relative; padding-left: 30px; color: var(--lp-text); font-size: .95rem; font-weight: 500; }
.lp-checks li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lp-brand-soft); color: var(--lp-brand);
  font-size: .7rem; font-weight: 900;
}

.lp-how { background: var(--lp-bg-soft); }
.lp-step {
  height: 100%; background: var(--lp-card); border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius); padding: 30px; position: relative; overflow: hidden;
}
.lp-step-num {
  font-size: 3rem; font-weight: 900; letter-spacing: -.06em; line-height: 1;
  background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 16px;
}
.lp-step h3 { font-size: 1.1rem; font-weight: 800; margin: 0 0 8px; color: var(--lp-text); }
.lp-step p { margin: 0; color: var(--lp-muted); font-size: .92rem; line-height: 1.65; }

.lp-quote {
  height: 100%; margin: 0; background: var(--lp-card); border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius); padding: 28px;
}
.lp-quote-stars { color: #f5b301; letter-spacing: 2px; font-size: .9rem; margin-bottom: 14px; }
.lp-quote blockquote { margin: 0 0 20px; font-size: .98rem; line-height: 1.7; color: var(--lp-text); font-weight: 500; }
.lp-quote figcaption { display: flex; align-items: center; gap: 11px; }
.lp-quote figcaption img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.lp-quote figcaption strong { display: block; font-size: .88rem; color: var(--lp-text); }
.lp-quote figcaption small { font-size: .76rem; color: var(--lp-muted); }

.lp-cta { padding: 20px 0 96px; }
.lp-cta-box {
  position: relative; overflow: hidden; border-radius: 28px;
  background: linear-gradient(120deg, #221a52, #3b2a92 52%, #5b5bd6);
  padding: 74px 40px; text-align: center; color: #fff;
  box-shadow: 0 30px 70px rgba(53, 39, 130, .28);
}
.lp-cta-image {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1600&q=80') center/cover;
  opacity: .18; mix-blend-mode: luminosity;
}
.lp-cta-content { position: relative; z-index: 2; }
.lp-cta-content h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -.04em; margin: 0 0 12px; }
.lp-cta-content p { margin: 0 0 26px; opacity: .82; font-size: 1.02rem; }

.lp-foot { border-top: 1px solid var(--lp-line); background: var(--lp-bg-soft); padding: 58px 0 24px; }
.lp-foot-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
.lp-foot-brand p { color: var(--lp-muted); font-size: .9rem; line-height: 1.65; max-width: 340px; margin: 14px 0 0; }
.lp-foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lp-foot-cols strong { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-text); margin-bottom: 14px; }
.lp-foot-cols a { display: block; color: var(--lp-muted); text-decoration: none; font-size: .88rem; padding: 5px 0; }
.lp-foot-cols a:hover { color: var(--lp-brand); }
.lp-foot-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--lp-line); margin-top: 40px; padding-top: 22px;
  color: var(--lp-muted); font-size: .8rem;
}

.landing-body .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.landing-body .reveal.in { opacity: 1; transform: none; }

html[data-theme="dark"] .lp-card,
html[data-theme="dark"] .lp-step,
html[data-theme="dark"] .lp-quote,
html[data-theme="dark"] .lp-float,
html[data-theme="dark"] .lp-mini-form,
html[data-theme="dark"] .lp-theme,
html[data-theme="dark"] .lp-menu { box-shadow: none; }
html[data-theme="dark"] .lp-photo-card img { filter: brightness(.82) saturate(.9); }
html[data-theme="dark"] .lp-cta-box { box-shadow: none; }

@media (max-width: 991.98px) {
  .lp-links { display: none; }
  .lp-nav.open .lp-links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; padding: 12px 20px 18px;
    background: var(--lp-bg); border-bottom: 1px solid var(--lp-line);
  }
  .lp-menu { display: flex; margin-left: auto; }
  .lp-actions { margin-left: 0; }
  .lp-hero { padding-top: 36px; }
  .lp-hero-visual { min-height: 0; margin-top: 20px; }
  .lp-photo-card img { height: 380px; }
  .lp-float-a { left: 4px; top: 16px; }
  .lp-float-b { right: 4px; bottom: 180px; }
  .lp-mini-form { left: 10px; right: 10px; bottom: -10px; }
  .lp-showcase-row + .lp-showcase-row { margin-top: 64px; }
  .lp-reverse .order-lg-2 { order: 0; }
  .lp-reverse .order-lg-1 { order: 0; }
  .lp-foot-inner { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
  .lp-actions .lp-login, .lp-actions .btn, .lp-actions .btn-primary { display: none; }
  .lp-nav.open .lp-actions .lp-login, .lp-nav.open .lp-actions .btn, .lp-nav.open .lp-actions .btn-primary { display: inline-flex; }
  .lp-hero-cta .btn { width: 100%; justify-content: center; }
  .lp-photo-card img { height: 320px; }
  .lp-shot img, .lp-shot-tall img { height: 280px; }
  .lp-features, .lp-showcase, .lp-how, .lp-testimonials { padding: 70px 0; }
  .lp-cta-box { padding: 56px 22px; }
  .lp-foot-cols { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-body *, .landing-body *::before, .landing-body *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
