/* ============================================================
   MailWizard — Landing Page (isolated styles)
   Loaded ONLY on the landing page. Prefixed with .lp- to avoid
   any collision with the rest of the application.
   ============================================================ */

:root {
  --lp-brand: #6366f1;
  --lp-brand-2: #8b5cf6;
  --lp-brand-3: #0ea5e9;
  --lp-ink: #0f1729;
  --lp-ink-soft: #475569;
  --lp-bg-soft: #f6f7fb;
  --lp-line: #e9ebf3;
  --lp-radius: 18px;
  --lp-shadow-sm: 0 4px 20px rgba(15, 23, 41, .06);
  --lp-shadow-md: 0 18px 50px rgba(99, 102, 241, .14);
  --lp-shadow-lg: 0 30px 70px rgba(15, 23, 41, .12);
}

/* ---------- Base ---------- */
.lp-body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--lp-ink);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

.lp-body h1, .lp-body h2, .lp-body h3, .lp-body h4, .lp-body h5 {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
}

.lp-body a { text-decoration: none; }

.lp-grad {
  background: linear-gradient(100deg, var(--lp-brand), var(--lp-brand-2) 55%, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 12px rgba(139,92,246,.25));
}

/* ---------- Buttons ---------- */
.lp-btn-primary {
  display: inline-block;
  background: linear-gradient(100deg, var(--lp-brand), var(--lp-brand-2));
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 13px 30px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(99, 102, 241, .38);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.lp-btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.15), rgba(255,255,255,0));
  transform: translateX(-100%);
  transition: transform .5s ease;
  border-radius: 50px;
}
.lp-btn-primary:hover::after { transform: translateX(100%); }
.lp-btn-primary:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(99, 102, 241, .45);
}

.lp-btn-ghost {
  display: inline-block;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50px;
  padding: 13px 30px;
  font-weight: 600;
  transition: all .25s ease;
  backdrop-filter: blur(6px);
}
.lp-btn-ghost:hover { background: #fff; color: var(--lp-brand); border-color: #fff; }

.lp-btn-light {
  display: inline-block;
  background: #fff;
  color: var(--lp-brand);
  border-radius: 50px;
  padding: 14px 36px;
  font-weight: 700;
  transition: all .25s ease;
}
.lp-btn-light:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.18); color: var(--lp-brand); }

/* ---------- Navbar ---------- */
.lp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all .35s ease;
  padding: 18px 0;
}
.lp-nav.scrolled {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px);
  box-shadow: var(--lp-shadow-sm);
  padding: 10px 0;
}
.lp-nav .lp-nav-link {
  color: #fff;
  font-weight: 500;
  margin: 0 6px;
  opacity: .9;
  transition: opacity .2s;
}
.lp-nav .lp-nav-link:hover { opacity: 1; }
.lp-nav.scrolled .lp-nav-link { color: var(--lp-ink); }
.lp-nav.scrolled .lp-brand-text { color: var(--lp-ink) !important; }

.lp-brand-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
}
.lp-nav .navbar-toggler { border-color: rgba(255,255,255,.4); }
.lp-nav.scrolled .navbar-toggler { border-color: var(--lp-line); }

/* ---------- Hero ---------- */
.lp-hero {
  position: relative;
  background:
    radial-gradient(ellipse 140% 80% at 78% -12%, rgba(167, 139, 250, .72), transparent 52%),
    radial-gradient(ellipse 80% 60% at -5% 30%, rgba(14, 165, 233, .45), transparent 50%),
    radial-gradient(ellipse 55% 70% at 108% 88%, rgba(99, 102, 241, .35), transparent 52%),
    radial-gradient(ellipse 90% 50% at 50% 110%, rgba(79, 70, 229, .4), transparent 55%),
    linear-gradient(150deg, #1e1b4b 0%, #4c1d95 42%, #312e81 100%);
  color: #fff;
  padding: 180px 0 130px;
  overflow: hidden;
}

/* Animated background orbs */
.lp-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  animation: lp-orb-drift 9s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
.lp-orb-1 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(139, 92, 246, .28), transparent 70%);
  top: -180px; right: -80px;
  animation-duration: 11s;
}
.lp-orb-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(14, 165, 233, .22), transparent 70%);
  bottom: 60px; left: -100px;
  animation-duration: 8s;
  animation-delay: 2s;
}
.lp-orb-3 {
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(236, 72, 153, .18), transparent 70%);
  top: 35%; right: 28%;
  animation-duration: 13s;
  animation-delay: 1.5s;
}
@keyframes lp-orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -55px) scale(1.12); }
}
.lp-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 120px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 60%);
}
.lp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: .86rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.2);
  animation: lp-badge-in .8s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes lp-badge-in {
  from { opacity: 0; transform: translateY(-12px) scale(.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.lp-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.08; color: #fff; margin: 0; }
.lp-hero-lead { color: rgba(255, 255, 255, .85); font-size: 1.12rem; max-width: 540px; }
.lp-hero-stats span.lp-stat-big { display: block; font-size: 1.8rem; font-weight: 800; font-family: 'Plus Jakarta Sans', sans-serif; }
.lp-hero-stats small { color: rgba(255, 255, 255, .7); }

/* Mockup card */
.lp-mock { position: relative; perspective: 1600px; }

.lp-mock-glow {
  position: absolute;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(139, 92, 246, .6) 0%, rgba(99, 102, 241, .3) 40%, transparent 70%);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(45px);
  animation: lp-glow-pulse 3.5s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes lp-glow-pulse {
  from { opacity: .65; transform: translate(-50%, -50%) scale(1); }
  to   { opacity: 1;   transform: translate(-50%, -50%) scale(1.15); }
}

.lp-mock-card {
  background: #fff;
  border-radius: 24px;
  box-shadow:
    0 55px 110px rgba(15, 23, 41, .28),
    0 12px 32px rgba(99, 102, 241, .22),
    0 0 0 1px rgba(255, 255, 255, .1);
  padding: 24px;
  transform: rotateY(-14deg) rotateX(8deg);
  transition: transform .7s cubic-bezier(.34, 1.56, .64, 1);
  will-change: transform;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.lp-mock-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .22) 0%, transparent 50%, rgba(255, 255, 255, .06) 100%);
  pointer-events: none;
  border-radius: 24px;
}
.lp-mock:hover .lp-mock-card { transform: rotateY(-5deg) rotateX(3deg) translateZ(12px); }

.lp-mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 13px;
  margin-bottom: 9px;
  background: var(--lp-bg-soft);
  transition: background .25s;
}
.lp-mock-row:hover { background: #eef0fb; }
.lp-av {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}
.lp-bar { height: 8px; border-radius: 6px; background: #e2e6f2; }
.lp-progress { height: 7px; border-radius: 6px; background: #eef0f8; overflow: hidden; }
.lp-progress i {
  display: block; height: 100%; border-radius: 6px;
  background: linear-gradient(90deg, var(--lp-brand), var(--lp-brand-2), #a78bfa);
  animation: lp-fill 2.6s ease-in-out infinite alternate;
}
@keyframes lp-fill { from { width: 35%; } to { width: 92%; } }

.lp-chip {
  position: absolute;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 41, .15);
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: .88rem;
  animation: lp-floaty 4.5s ease-in-out infinite;
  backdrop-filter: blur(8px);
  z-index: 2;
}
.lp-chip i { font-size: 1.15rem; }
.lp-chip-1 {
  top: -24px; left: -32px; animation-delay: .2s;
  background: #dcfce7; color: #166534;
  border: 1px solid #bbf7d0;
  box-shadow: 0 10px 30px rgba(22, 163, 74, .2);
}
.lp-chip-2 {
  bottom: 16px; left: -44px; animation-delay: 1.2s;
  background: #ede9fe; color: #5b21b6;
  border: 1px solid #ddd6fe;
  box-shadow: 0 10px 30px rgba(109, 40, 217, .2);
}
.lp-chip-3 {
  top: 38%; right: -38px; animation-delay: 1.9s;
  background: #e0f2fe; color: #075985;
  border: 1px solid #bae6fd;
  box-shadow: 0 10px 30px rgba(14, 165, 233, .2);
}
@keyframes lp-floaty {
  0%,100% { transform: translateY(0) scale(1); }
  35%     { transform: translateY(-10px) scale(1.03) rotate(-1.2deg); }
  68%     { transform: translateY(-18px) scale(1.01) rotate(.8deg); }
}

.lp-plane {
  position: absolute;
  color: rgba(255, 255, 255, .55);
  font-size: 1.8rem;
  animation: lp-fly 9s linear infinite;
  filter: drop-shadow(0 0 8px rgba(255,255,255,.4));
}
@keyframes lp-fly {
  0%   { transform: translate(-80px, 50px) rotate(15deg); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: .8; }
  100% { transform: translate(480px, -200px) rotate(15deg); opacity: 0; }
}

/* ---------- Section base ---------- */
.lp-section { padding: 90px 0; }
.lp-eyebrow {
  color: var(--lp-brand);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
}
.lp-title { font-size: clamp(1.9rem, 3.5vw, 2.7rem); line-height: 1.15; }
.lp-sub { color: var(--lp-ink-soft); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- Providers ---------- */
.lp-providers { padding: 38px 0; background: var(--lp-bg-soft); }
.lp-providers .lp-label {
  color: var(--lp-ink-soft);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
}
.lp-provider {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  color: #334155;
  font-size: 1.05rem;
  opacity: .8;
  transition: opacity .25s, transform .25s;
}
.lp-provider:hover { opacity: 1; transform: translateY(-3px); }
.lp-provider i { font-size: 1.3rem; color: var(--lp-brand); }

/* ---------- Feature cards ---------- */
.lp-feature {
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  padding: 32px 28px;
  height: 100%;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.lp-feature::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: calc(var(--lp-radius) + 1.5px);
  background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand-2), #0ea5e9);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: -1;
}
.lp-feature::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--lp-radius) - .5px);
  background: #fff;
  z-index: -1;
  transition: background .35s;
}
.lp-feature:hover { transform: translateY(-10px); box-shadow: var(--lp-shadow-md); border-color: transparent; }
.lp-feature:hover::before { opacity: 1; }
.lp-feature-ico {
  width: 58px; height: 58px;
  border-radius: 17px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  transition: transform .3s ease;
}
.lp-feature:hover .lp-feature-ico { transform: scale(1.1) rotate(-4deg); }
.lp-feature h5 { font-size: 1.2rem; margin-bottom: 8px; }
.lp-feature p { color: var(--lp-ink-soft); margin: 0; font-size: .96rem; }

.lp-g1 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.lp-g2 { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.lp-g3 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.lp-g4 { background: linear-gradient(135deg, #10b981, #059669); }
.lp-g5 { background: linear-gradient(135deg, #ec4899, #8b5cf6); }
.lp-g6 { background: linear-gradient(135deg, #14b8a6, #0ea5e9); }

/* ---------- How it works ---------- */
.lp-how { background: var(--lp-bg-soft); }
.lp-step {
  position: relative;
  background: #fff;
  border-radius: var(--lp-radius);
  padding: 36px 28px;
  height: 100%;
  box-shadow: var(--lp-shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
  overflow: hidden;
}
.lp-step::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at 100% 0%, rgba(99, 102, 241, .07), transparent 70%);
  border-radius: 0 var(--lp-radius) 0 80px;
  pointer-events: none;
}
.lp-step:hover { transform: translateY(-8px); box-shadow: var(--lp-shadow-md); }
.lp-step-num {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand-2));
  color: #fff;
  font-weight: 800;
  display: grid; place-items: center;
  font-size: 1.25rem;
  margin-bottom: 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 8px 22px rgba(99, 102, 241, .35);
  transition: transform .3s ease;
}
.lp-step:hover .lp-step-num { transform: scale(1.1) rotate(-5deg); }
.lp-step h5 { font-size: 1.12rem; }
.lp-step p { color: var(--lp-ink-soft); font-size: .94rem; margin: 0; }

/* ---------- Stats band ---------- */
.lp-stats {
  background: linear-gradient(120deg, #3730a3, #6d28d9, #4338ca, #5b21b6);
  background-size: 300% 300%;
  animation: lp-grad-shift 8s ease-in-out infinite;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.lp-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 120% at 50% -30%, rgba(255,255,255,.08), transparent 65%);
  pointer-events: none;
}
@keyframes lp-grad-shift {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.lp-stat-num {
  font-size: 3rem; font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.lp-stat-lbl { color: rgba(255, 255, 255, .8); }

/* ---------- Pricing ---------- */
.lp-billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--lp-bg-soft);
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
}
.lp-switch { position: relative; width: 52px; height: 28px; }
.lp-switch input { opacity: 0; width: 0; height: 0; }
.lp-slider {
  position: absolute; inset: 0;
  background: #cbd2e6;
  border-radius: 50px;
  cursor: pointer;
  transition: .3s;
}
.lp-slider::before {
  content: "";
  position: absolute;
  height: 22px; width: 22px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: .3s;
}
.lp-switch input:checked + .lp-slider { background: linear-gradient(100deg, var(--lp-brand), var(--lp-brand-2)); }
.lp-switch input:checked + .lp-slider::before { transform: translateX(24px); }
.lp-save-badge { background: #def7ec; color: #057a55; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 50px; }

.lp-price-card {
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 22px;
  padding: 36px 30px;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
}
.lp-price-card:hover { transform: translateY(-8px); box-shadow: var(--lp-shadow-md); }
.lp-price-card.featured {
  border: none;
  background: linear-gradient(160deg, #4338ca, #6d28d9, #5b21b6);
  background-size: 200% 200%;
  animation: lp-grad-shift 5s ease-in-out infinite, lp-featured-glow 3s ease-in-out infinite alternate;
  color: #fff;
  transform: scale(1.05);
}
@keyframes lp-featured-glow {
  from { box-shadow: 0 35px 90px rgba(99, 102, 241, .35); }
  to   { box-shadow: 0 35px 90px rgba(99, 102, 241, .55), 0 0 0 5px rgba(139, 92, 246, .15); }
}
.lp-price-card.featured .lp-plan-desc,
.lp-price-card.featured .lp-feat-li { color: rgba(255, 255, 255, .9); }
.lp-price-card.featured .lp-amount small { color: rgba(255, 255, 255, .8); }
.lp-pop-tag {
  position: absolute;
  top: 18px; right: 18px;
  background: rgba(255, 255, 255, .2);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  letter-spacing: .05em;
}
.lp-plan-name { font-size: 1.25rem; font-weight: 800; }
.lp-plan-desc { color: var(--lp-ink-soft); font-size: .9rem; min-height: 40px; }
.lp-amount { font-size: 3rem; font-weight: 800; font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1; }
.lp-amount small { font-size: 1rem; font-weight: 600; color: var(--lp-ink-soft); }
.lp-feat-li {
  display: flex; gap: 10px;
  align-items: flex-start;
  color: var(--lp-ink-soft);
  margin-bottom: 11px;
  font-size: .95rem;
}
.lp-feat-li i { color: #10b981; margin-top: 3px; }
.lp-price-card.featured .lp-feat-li i { color: #a7f3d0; }
.lp-btn-plan {
  display: block;
  text-align: center;
  width: 100%;
  border-radius: 50px;
  padding: 12px;
  font-weight: 600;
  border: 1.5px solid var(--lp-brand);
  color: var(--lp-brand);
  background: transparent;
  transition: all .25s;
}
.lp-btn-plan:hover { background: var(--lp-brand); color: #fff; }
.lp-price-card.featured .lp-btn-plan { background: #fff; color: var(--lp-brand); border-color: #fff; }
.lp-price-card.featured .lp-btn-plan:hover { background: rgba(255, 255, 255, .9); }

/* ---------- FAQ ---------- */
.lp-faq .accordion-item {
  border: 1px solid var(--lp-line);
  border-radius: 14px !important;
  margin-bottom: 14px;
  overflow: hidden;
}
.lp-faq .accordion-button {
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--lp-ink);
  padding: 20px 22px;
}
.lp-faq .accordion-button:not(.collapsed) {
  background: rgba(99, 102, 241, .06);
  color: var(--lp-brand);
  box-shadow: none;
}
.lp-faq .accordion-button:focus { box-shadow: none; }
.lp-faq .accordion-body { color: var(--lp-ink-soft); }

/* ---------- CTA ---------- */
.lp-cta-band {
  background: linear-gradient(120deg, #3730a3, #7c3aed, #6366f1, #4338ca);
  background-size: 300% 300%;
  animation: lp-grad-shift 6s ease-in-out infinite;
  border-radius: 32px;
  padding: 70px 60px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(99, 102, 241, .35);
}
.lp-cta-band::before {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 68%);
  top: -140px; right: -80px;
}
.lp-cta-band::after {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255, 255, 255, .08), transparent 65%);
  bottom: -100px; left: -50px;
}

/* ---------- Footer ---------- */
.lp-footer { background: #0b1020; color: #cbd5e1; padding: 60px 0 28px; }
.lp-footer .lp-brand-text { color: #fff; }
.lp-footer a { color: #cbd5e1; opacity: .8; transition: opacity .2s; }
.lp-footer a:hover { opacity: 1; color: #fff; }
.lp-foot-soc {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .08);
  display: grid; place-items: center;
  color: #fff;
  transition: background .25s, transform .25s;
}
.lp-foot-soc:hover { background: var(--lp-brand); transform: translateY(-3px); color: #fff; }

/* ---------- Back to top ---------- */
.lp-to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand-2));
  color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--lp-shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all .3s;
  z-index: 999;
  border: none;
  cursor: pointer;
}
.lp-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .lp-nav .navbar-collapse {
    background: rgba(20, 18, 45, .96);
    backdrop-filter: blur(12px);
    margin-top: 12px;
    padding: 16px;
    border-radius: 16px;
  }
  .lp-nav.scrolled .navbar-collapse .lp-nav-link { color: #fff; }
  .lp-hero { padding: 140px 0 90px; text-align: center; }
  .lp-hero-lead { margin-left: auto; margin-right: auto; }
  .lp-chip { display: none; }
  .lp-price-card.featured { transform: none; }
  .lp-cta-band { padding: 40px 26px; }
  .lp-vs-pill { width: 54px; height: 54px; font-size: 1rem; }
  .lp-journey { padding: 28px 20px; }
  .lp-journey-track { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .lp-journey-line { display: none; }
}

/* ============================================================
   WHY YOUR OWN SMTP — educational comparison section
   ============================================================ */

.lp-why { background: #f8f9fc; }

/* ---------- Outer wrapper ---------- */
.lp-cmp-wrap {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  align-items: stretch;
}

/* ---------- Comparison cards ---------- */
.lp-cmp-card {
  border-radius: 26px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: transform .5s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease;
  will-change: transform;
  transform-style: preserve-3d;
}
.lp-cmp-bad {
  background: #fff0f0;
  border: 2px solid #fca5a5;
  box-shadow: 0 10px 40px rgba(239,68,68,.08);
}
.lp-cmp-bad:hover { box-shadow: 0 24px 60px rgba(239,68,68,.14); }
.lp-cmp-good {
  background: #f0f1ff;
  border: 2px solid #a5b4fc;
  box-shadow: 0 10px 40px rgba(99,102,241,.1);
}
.lp-cmp-good:hover { box-shadow: 0 24px 60px rgba(99,102,241,.18); }

/* ---------- Card header badge ---------- */
.lp-cmp-header { display: flex; }
.lp-cmp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
}
.lp-cbadge-bad  { background: #fecaca; color: #b91c1c; }
.lp-cbadge-good { background: #c7d2fe; color: #3730a3; }

/* ---------- Flow diagram ---------- */
.lp-cmp-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.7);
  border-radius: 18px;
  padding: 24px 16px;
  border: 1px solid rgba(0,0,0,.06);
}

/* Senders row */
.lp-cmp-senders {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
  align-items: flex-end;
}
.lp-senders-solo { justify-content: center; }

/* Individual sender dot + label */
.lp-cdot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: 50%;
  justify-content: center;
  color: #fff;
  font-size: 1.05rem;
  flex-shrink: 0;
  position: relative;
  animation: lp-cdot-float 3s ease-in-out infinite;
}
.lp-cdot:nth-child(2) { animation-delay: .35s; }
.lp-cdot:nth-child(3) { animation-delay: .7s; }
.lp-cdot:nth-child(4) { animation-delay: 1.05s; }
.lp-cdot:nth-child(5) { animation-delay: 1.4s; }
@keyframes lp-cdot-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.lp-cdot-lbl {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .03em;
  margin-top: 6px;
  white-space: nowrap;
  position: absolute;
  bottom: -18px;
  left: 50%; transform: translateX(-50%);
}
.lp-lbl-red   { color: #dc2626; }
.lp-lbl-you   { color: #6366f1; }
.lp-lbl-brand { color: #4338ca; }

.lp-cdot-gray  { background: linear-gradient(135deg, #94a3b8, #64748b); }
.lp-cdot-red {
  background: linear-gradient(135deg, #f87171, #dc2626);
  animation: lp-cdot-bad 2s ease-in-out infinite !important;
  box-shadow: 0 0 0 0 rgba(220,38,38,.4);
}
@keyframes lp-cdot-bad {
  0%,100% { box-shadow: 0 0 0 0 rgba(220,38,38,0); transform: scale(1); }
  50%      { box-shadow: 0 0 0 10px rgba(220,38,38,0); transform: scale(1.1); }
}
.lp-cdot-you   { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.lp-cdot-brand {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  box-shadow: 0 8px 24px rgba(99,102,241,.38);
  animation: lp-cdot-brand-pulse 2.5s ease-in-out infinite !important;
}
@keyframes lp-cdot-brand-pulse {
  0%,100% { box-shadow: 0 8px 24px rgba(99,102,241,.38); }
  50%      { box-shadow: 0 8px 34px rgba(99,102,241,.6); }
}

/* Converging arrows (5 arrows for bad) */
.lp-cmp-converg {
  display: flex;
  gap: 6px;
  color: #fca5a5;
  font-size: 1.5rem;
  animation: lp-arr-bounce 1.6s ease-in-out infinite;
  margin-top: 12px;
}
.lp-arr-red-anim { color: #ef4444 !important; }

/* Single arrow */
.lp-cmp-arrow-dn {
  font-size: 1.8rem;
  animation: lp-arr-bounce 1.6s ease-in-out infinite;
}
.lp-adn-red   { color: #fca5a5; }
.lp-adn-brand { color: #818cf8; }
@keyframes lp-arr-bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* Server box */
.lp-cmp-server {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 24px;
  border-radius: 16px;
  text-align: center;
  width: 100%;
  max-width: 220px;
}
.lp-cmp-server i   { font-size: 1.6rem; margin-bottom: 2px; }
.lp-cmp-server strong { font-size: .95rem; }
.lp-cmp-server small  { font-size: .75rem; opacity: .8; }
.lp-srv-shared {
  background: #f1f5f9;
  border: 2px dashed #94a3b8;
  color: #475569;
}
.lp-srv-own {
  background: #e0e7ff;
  border: 2px solid #818cf8;
  color: #3730a3;
  box-shadow: 0 6px 20px rgba(99,102,241,.2);
}

/* Result boxes */
.lp-cmp-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
}
.lp-res-spam {
  background: #fef2f2;
  color: #b91c1c;
  border: 2px solid #fca5a5;
  animation: lp-spam-shake 4.5s ease-in-out infinite;
}
@keyframes lp-spam-shake {
  0%,82%,100% { transform: translateX(0); }
  85% { transform: translateX(-5px) rotate(-1.5deg); }
  88% { transform: translateX(5px)  rotate(1.5deg); }
  91% { transform: translateX(-3px); }
  94% { transform: translateX(3px); }
}
.lp-res-inbox {
  background: #dcfce7;
  color: #166534;
  border: 2px solid #86efac;
  animation: lp-inbox-pop 2.8s ease-in-out infinite alternate;
}
@keyframes lp-inbox-pop {
  from { box-shadow: 0 0 0 0 rgba(22,163,74,.2); }
  to   { box-shadow: 0 0 0 10px rgba(22,163,74,0); }
}

/* ---------- Feature list ---------- */
.lp-cmp-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lp-cmp-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: .95rem;
  font-weight: 500;
  color: #374151;
}
.lp-ico-red   { color: #dc2626; font-size: 1rem; flex-shrink: 0; }
.lp-ico-green { color: #16a34a; font-size: 1rem; flex-shrink: 0; }

/* ---------- VS divider ---------- */
.lp-cmp-vs {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-vs-circle {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand-2));
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(99,102,241,.4);
  font-family: 'Plus Jakarta Sans', sans-serif;
  flex-shrink: 0;
  animation: lp-vs-pulse 3s ease-in-out infinite alternate;
}
@keyframes lp-vs-pulse {
  from { box-shadow: 0 10px 28px rgba(99,102,241,.35); }
  to   { box-shadow: 0 10px 36px rgba(139,92,246,.55); }
}

/* ---------- Journey track ---------- */
.lp-journey {
  padding: 40px 52px;
  background: #fff;
  border-radius: 26px;
  border: 1.5px solid var(--lp-line);
  box-shadow: var(--lp-shadow-sm);
  position: relative;
  overflow: hidden;
}
.lp-journey::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lp-brand), var(--lp-brand-2), #a78bfa);
}
.lp-journey-title {
  font-weight: 700;
  color: var(--lp-ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  margin: 0;
}
.lp-journey-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.lp-journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  cursor: default;
}
.lp-journey-icon {
  width: 58px; height: 58px;
  border-radius: 17px;
  background: #f6f7fb;
  border: 2px solid var(--lp-line);
  display: grid; place-items: center;
  font-size: 1.35rem;
  color: var(--lp-ink-soft);
  transition: all .45s cubic-bezier(.34,1.56,.64,1);
}
.lp-journey-step span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--lp-ink-soft);
  text-align: center;
  max-width: 80px;
  transition: color .3s;
}
.lp-journey-step.lp-step-active .lp-journey-icon,
.lp-journey-step:hover .lp-journey-icon {
  background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand-2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 28px rgba(99,102,241,.4);
  transform: translateY(-7px) scale(1.08);
}
.lp-journey-step.lp-step-active span,
.lp-journey-step:hover span { color: var(--lp-brand); }

/* CSS-only fallback: activate all steps with staggered delay when journey enters view */
.lp-journey:hover .lp-journey-step .lp-journey-icon {
  background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand-2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 28px rgba(99,102,241,.35);
  transform: translateY(-5px) scale(1.05);
}
.lp-journey:hover .lp-journey-step span { color: var(--lp-brand); }
.lp-journey:hover .lp-journey-step:nth-child(1) .lp-journey-icon { transition-delay: 0s; }
.lp-journey:hover .lp-journey-step:nth-child(3) .lp-journey-icon { transition-delay: .1s; }
.lp-journey:hover .lp-journey-step:nth-child(5) .lp-journey-icon { transition-delay: .2s; }
.lp-journey:hover .lp-journey-step:nth-child(7) .lp-journey-icon { transition-delay: .3s; }
.lp-journey:hover .lp-journey-step:nth-child(9) .lp-journey-icon { transition-delay: .4s; }

.lp-journey-line {
  flex: 1;
  height: 3px;
  background: var(--lp-line);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  margin-top: 27px;
  margin-bottom: 34px;
}
.lp-journey-pulse {
  position: absolute;
  top: 0; left: -55%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--lp-brand), var(--lp-brand-2), transparent);
  animation: lp-pulse-travel 1.8s linear infinite;
}
@keyframes lp-pulse-travel {
  0%   { left: -55%; }
  100% { left: 155%; }
}

/* ---------- Responsive why section ---------- */
@media (max-width: 991px) {
  .lp-cmp-wrap {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .lp-cmp-vs { padding: 12px 0; }
  .lp-vs-circle { width: 50px; height: 50px; font-size: .9rem; }
  .lp-journey { padding: 28px 20px; }
  .lp-journey-track { flex-wrap: wrap; gap: 14px; justify-content: center; }
  .lp-journey-line { display: none; }
}
