/* ============================================
   Landing Page — full animasi, responsive, smooth
   ============================================ */
:root {
  --lp-primary: #2563eb;
  --lp-primary-dark: #1e40af;
  --lp-accent: #7c3aed;
  --lp-cyan: #06b6d4;
  --lp-ink: #0f172a;
  --lp-muted: #55637a;
  --lp-bg: #ffffff;
  --lp-soft: #f4f7fe;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.lp-body {
  margin: 0; font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--lp-ink); background: var(--lp-bg); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.lp-container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- NAVBAR ---------- */
.lp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 18px 0;
  transition: all .35s ease;
}
.lp-nav.scrolled {
  padding: 10px 0; background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px -12px rgba(15, 23, 42, .18); border-bottom: 1px solid rgba(226, 232, 240, .7);
}
.lp-nav-inner { display: flex; align-items: center; gap: 22px; }
.lp-brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 17px; color: var(--lp-ink); letter-spacing: -.01em; }
.lp-brand img { width: 38px; height: 38px; border-radius: 10px; transition: transform .35s; }
.lp-brand:hover img { transform: rotate(-8deg) scale(1.07); }
.lp-nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.lp-nav-links a { color: #3b475c; font-weight: 600; font-size: 14px; position: relative; padding: 4px 0; transition: color .2s; }
.lp-nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2.5px; width: 0;
  border-radius: 3px; background: linear-gradient(90deg, var(--lp-primary), var(--lp-accent));
  transition: width .3s cubic-bezier(.4, 0, .2, 1);
}
.lp-nav-links a:hover { color: var(--lp-primary); }
.lp-nav-links a:hover::after { width: 100%; }
.lp-nav .btn-login {
  padding: 9px 22px; border-radius: 12px; font-weight: 700; font-size: 13.5px;
  background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent)); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(37, 99, 235, .55); transition: transform .22s, box-shadow .22s;
  display: inline-flex; align-items: center; gap: 8px;
}
.lp-nav .btn-login:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(37, 99, 235, .65); }
.lp-burger { display: none; margin-left: auto; background: none; border: none; cursor: pointer; padding: 8px; border-radius: 10px; }
.lp-burger svg { width: 26px; height: 26px; color: var(--lp-ink); display: block; }

@media (max-width: 860px) {
  .lp-nav-links {
    position: fixed; top: 64px; right: 16px; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-radius: 16px; box-shadow: 0 24px 60px -18px rgba(15, 23, 42, .3);
    padding: 10px; min-width: 220px; transform: scale(.9); opacity: 0; pointer-events: none;
    transform-origin: top right; transition: all .25s cubic-bezier(.4, 0, .2, 1);
  }
  .lp-nav-links.open { transform: scale(1); opacity: 1; pointer-events: auto; }
  .lp-nav-links a { padding: 12px 14px; border-radius: 10px; }
  .lp-nav-links a::after { display: none; }
  .lp-nav-links a:hover { background: var(--lp-soft); color: var(--lp-primary); }
  .lp-nav-links .btn-login { justify-content: center; margin-top: 6px; }
  .lp-burger { display: block; }
}

/* ---------- HERO ---------- */
.lp-hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 130px 0 90px; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(124, 58, 237, .09), transparent 60%),
    radial-gradient(900px 600px at -10% 40%, rgba(37, 99, 235, .10), transparent 60%),
    linear-gradient(180deg, #f7faff 0%, #fff 100%);
}
/* animated grid background */
.lp-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(37, 99, 235, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 40%, transparent 75%);
  animation: grid-drift 22s linear infinite;
}
@keyframes grid-drift { from { background-position: 0 0; } to { background-position: 44px 44px; } }

.lp-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; z-index: 2; }
@media (max-width: 960px) { .lp-hero-grid { grid-template-columns: 1fr; gap: 44px; } }

.lp-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: #eef4ff; border: 1px solid #d7e5ff; color: var(--lp-primary-dark);
  font-size: 12.5px; font-weight: 700; letter-spacing: .02em; margin-bottom: 22px;
  animation: rise .6s both;
}
.lp-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: blink 1.8s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.75); } }

.lp-hero h1 {
  font-size: clamp(38px, 5.4vw, 62px); line-height: 1.08; font-weight: 800; letter-spacing: -.035em;
  margin: 0 0 20px; animation: rise .6s .08s both;
}
.grad-text {
  background: linear-gradient(92deg, var(--lp-primary) 10%, var(--lp-accent) 55%, var(--lp-cyan) 100%);
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: grad-slide 5s linear infinite;
}
@keyframes grad-slide { to { background-position: 220% center; } }

.lp-hero p.lead { font-size: 17px; color: var(--lp-muted); line-height: 1.75; max-width: 540px; margin: 0 0 32px; animation: rise .6s .16s both; }
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; animation: rise .6s .24s both; }

.lp-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 14px;
  font-weight: 700; font-size: 15px; cursor: pointer; border: none; text-decoration: none;
  transition: transform .22s, box-shadow .22s, background .2s;
}
.lp-btn svg { width: 18px; height: 18px; transition: transform .22s; }
.lp-btn:hover svg { transform: translateX(4px); }
.lp-btn-primary {
  background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent)); color: #fff;
  box-shadow: 0 14px 34px -12px rgba(37, 99, 235, .6);
}
.lp-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(37, 99, 235, .7); color: #fff; }
.lp-btn-ghost { background: #fff; color: var(--lp-ink); border: 1.5px solid #dbe4f3; }
.lp-btn-ghost:hover { transform: translateY(-3px); border-color: var(--lp-primary); color: var(--lp-primary); box-shadow: 0 14px 30px -14px rgba(15, 23, 42, .25); }

.lp-hero-stats { display: flex; gap: 38px; margin-top: 44px; flex-wrap: wrap; animation: rise .6s .32s both; }
.lp-stat .num { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.lp-stat .lbl { font-size: 12.5px; color: var(--lp-muted); font-weight: 600; margin-top: 2px; }

/* Hero mockup */
.hero-mockup { position: relative; animation: rise .8s .2s both; }
.mockup-card {
  background: #fff; border-radius: 22px; box-shadow: 0 40px 90px -30px rgba(15, 23, 42, .35);
  border: 1px solid #eef2f9; overflow: hidden; transform: rotate(1.5deg);
  animation: mockup-float 6s ease-in-out infinite;
}
@keyframes mockup-float {
  0%, 100% { transform: rotate(1.5deg) translateY(0); }
  50% { transform: rotate(.6deg) translateY(-12px); }
}
.mockup-topbar { display: flex; gap: 7px; padding: 14px 18px; border-bottom: 1px solid #eef2f9; align-items: center; }
.mockup-topbar .dot { width: 11px; height: 11px; border-radius: 50%; }
.mockup-topbar .url { margin-left: 12px; background: #f1f5f9; border-radius: 8px; padding: 5px 14px; font-size: 11px; color: #94a3b8; flex: 1; }
.mockup-body { display: flex; }
.mockup-side { width: 64px; background: #0f1e3d; padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 13px; }
.mockup-side .sdot { width: 30px; height: 30px; border-radius: 9px; background: rgba(255, 255, 255, .1); }
.mockup-side .sdot.on { background: linear-gradient(135deg, var(--lp-primary), #3b82f6); }
.mockup-main { flex: 1; padding: 18px; }
.mockup-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.ms-card { border-radius: 12px; padding: 11px; }
.ms-card .ms-num { font-size: 15px; font-weight: 800; }
.ms-card .ms-lbl { font-size: 9.5px; color: #64748b; font-weight: 600; }
.ms-1 { background: #eff6ff; } .ms-2 { background: #f0fdf4; } .ms-3 { background: #faf5ff; }
.mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding: 14px; background: #f8fafc; border-radius: 12px; }
.mock-chart .bar {
  flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #60a5fa, #2563eb);
  animation: bar-grow 1.6s cubic-bezier(.2, .8, .3, 1) both; transform-origin: bottom;
}
.mock-chart .bar:nth-child(2n) { background: linear-gradient(180deg, #c4b5fd, #8b5cf6); }
@keyframes bar-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.mock-rows { margin-top: 14px; display: grid; gap: 9px; }
.mock-row { display: flex; align-items: center; gap: 10px; background: #f8fafc; border-radius: 10px; padding: 9px 12px; }
.mock-row .mav { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #93c5fd, #818cf8); flex-shrink: 0; }
.mock-row .mline { height: 8px; border-radius: 99px; background: #e2e8f0; }
.mock-row .m1 { width: 45%; } .mock-row .m2 { width: 26%; }

/* floating badges around mockup */
.float-badge {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: 0 18px 44px -14px rgba(15, 23, 42, .3);
  padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700;
  animation: float-y 4.5s ease-in-out infinite; z-index: 3;
}
.float-badge .fb-ico { width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.float-badge svg { width: 16px; height: 16px; }
.fb-1 { top: 6%; left: -34px; animation-delay: -1s; }
.fb-2 { bottom: 12%; right: -26px; animation-delay: -2.4s; }
.fb-3 { bottom: -20px; left: 16%; animation-delay: -3.6s; }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
@media (max-width: 1100px) { .fb-1 { left: -10px; } .fb-2 { right: -8px; } }

/* scroll hint */
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px; color: #94a3b8; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; z-index: 2;
}
.mouse { width: 24px; height: 38px; border: 2px solid #b6c2d6; border-radius: 14px; position: relative; }
.mouse::after { content: ''; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 3px; background: #64748b; animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all .7s cubic-bezier(.2, .7, .3, 1); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all .7s cubic-bezier(.2, .7, .3, 1); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.lp-section { padding: 96px 0; position: relative; }
.lp-section.alt { background: linear-gradient(180deg, #f7faff, #fff); }

.lp-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.lp-kicker {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--lp-primary); background: #eef4ff; border-radius: 999px; padding: 6px 16px; margin-bottom: 16px;
}
.lp-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.03em; margin: 0 0 14px; }
.lp-head p { color: var(--lp-muted); font-size: 16px; line-height: 1.75; margin: 0; }

/* Workflow */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 991px) { .flow-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .flow-grid { grid-template-columns: 1fr; } }
.flow-card {
  background: #fff; border: 1px solid #eef2f9; border-radius: 20px; padding: 28px 22px;
  position: relative; transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden;
}
.flow-card::before {
  content: ''; position: absolute; inset: auto -40% -70% auto; width: 170px; height: 170px; border-radius: 50%;
  background: var(--fc, var(--lp-primary)); opacity: 0; filter: blur(46px); transition: opacity .45s;
}
.flow-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -24px rgba(15, 23, 42, .22); border-color: transparent; }
.flow-card:hover::before { opacity: .14; }
.flow-num {
  position: absolute; top: 16px; right: 20px; font-size: 46px; font-weight: 800; color: #eef2f9; letter-spacing: -.05em;
  transition: color .3s, transform .3s; z-index: 0;
}
.flow-card:hover .flow-num { color: #dbe7ff; transform: scale(1.12) rotate(-4deg); }
.flow-ico {
  width: 52px; height: 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center;
  background: var(--fc-soft); color: var(--fc); margin-bottom: 18px; position: relative; z-index: 1;
  transition: transform .3s;
}
.flow-card:hover .flow-ico { transform: scale(1.1) rotate(-6deg); }
.flow-ico svg { width: 24px; height: 24px; }
.flow-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; position: relative; z-index: 1; }
.flow-card p { color: var(--lp-muted); font-size: 13.5px; line-height: 1.7; margin: 0; position: relative; z-index: 1; }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 991px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feat-grid { grid-template-columns: 1fr; } }
.feat-card {
  display: flex; gap: 16px; padding: 22px; border-radius: 18px; background: #fff;
  border: 1px solid #eef2f9; transition: transform .3s, box-shadow .3s;
}
.feat-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(15, 23, 42, .18); }
.feat-ico {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; background: linear-gradient(135deg, var(--fi1, var(--lp-primary)), var(--fi2, var(--lp-accent)));
  box-shadow: 0 10px 22px -10px var(--fi1, var(--lp-primary));
}
.feat-ico svg { width: 21px; height: 21px; }
.feat-card h3 { font-size: 15.5px; font-weight: 700; margin: 2px 0 6px; }
.feat-card p { color: var(--lp-muted); font-size: 13px; line-height: 1.65; margin: 0; }

/* Roles strip */
.roles-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.role-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 999px;
  background: #fff; border: 1px solid #e4ebf6; font-weight: 600; font-size: 13.5px; color: #33415c;
  transition: all .25s;
}
.role-pill:hover { border-color: var(--lp-primary); color: var(--lp-primary); transform: translateY(-3px); box-shadow: 0 12px 26px -12px rgba(37, 99, 235, .35); }
.role-pill .rp-dot { width: 9px; height: 9px; border-radius: 50%; }

/* CTA */
.lp-cta {
  position: relative; overflow: hidden; border-radius: 28px; padding: 70px 40px; text-align: center;
  background: linear-gradient(120deg, #101d42 0%, #16266b 50%, #251a66 100%); color: #fff;
}
.lp-cta::before {
  content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, .35), transparent 65%);
  top: -220px; right: -120px; animation: float-y 7s ease-in-out infinite;
}
.lp-cta::after {
  content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, .32), transparent 65%);
  bottom: -180px; left: -100px; animation: float-y 8s ease-in-out -3s infinite;
}
.lp-cta h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.025em; margin: 0 0 14px; position: relative; z-index: 1; }
.lp-cta p { color: #a9b9e0; font-size: 15.5px; margin: 0 auto 30px; max-width: 520px; line-height: 1.7; position: relative; z-index: 1; }
.lp-cta .lp-btn { position: relative; z-index: 1; }
.cta-glow { background: #fff; color: var(--lp-primary-dark); box-shadow: 0 16px 40px -12px rgba(255, 255, 255, .35); }
.cta-glow:hover { color: var(--lp-primary); transform: translateY(-3px); }

/* PWA section */
.pwa-card {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center;
  background: #fff; border: 1px solid #eef2f9; border-radius: 26px; padding: 44px;
  box-shadow: 0 30px 70px -34px rgba(15, 23, 42, .25);
}
@media (max-width: 900px) { .pwa-card { grid-template-columns: 1fr; padding: 30px 22px; } }
.pwa-points { display: grid; gap: 15px; margin-top: 8px; }
.pwa-point { display: flex; gap: 13px; align-items: flex-start; }
.pwa-point .pp-ico {
  width: 38px; height: 38px; border-radius: 11px; background: #ecfdf5; color: #059669;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pwa-point .pp-ico svg { width: 18px; height: 18px; }
.pwa-point b { display: block; font-size: 14.5px; }
.pwa-point span { font-size: 13px; color: var(--lp-muted); line-height: 1.6; }
.pwa-phone { justify-self: center; }
.pwa-install {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700;
  color: var(--lp-primary-dark); background: #eef4ff; border: 1px solid #d7e5ff; border-radius: 12px;
  padding: 11px 18px; cursor: pointer; transition: all .2s;
}
.pwa-install:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(37, 99, 235, .4); }
.pwa-install svg { width: 16px; height: 16px; }

/* Phone mockup */
.phone {
  width: 230px; border-radius: 36px; background: #0f172a; padding: 12px;
  box-shadow: 0 34px 70px -24px rgba(15, 23, 42, .45); animation: mockup-float 7s ease-in-out infinite;
}
.phone-screen { border-radius: 26px; overflow: hidden; background: #f1f5f9; }
.phone-notch { width: 90px; height: 20px; background: #0f172a; border-radius: 0 0 14px 14px; margin: 0 auto; }
.phone-body { padding: 16px 14px 20px; }
.phone-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.phone-head .ph-title { font-size: 13px; font-weight: 800; }
.phone-bell { position: relative; width: 30px; height: 30px; border-radius: 9px; background: #fff; display: flex; align-items: center; justify-content: center; }
.phone-bell svg { width: 14px; height: 14px; color: #64748b; }
.phone-bell::after { content: ''; position: absolute; top: 5px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: #ef4444; animation: blink 1.6s infinite; }
.phone-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 12px; }
.ps-card { border-radius: 12px; padding: 10px; }
.ps-card .n { font-size: 16px; font-weight: 800; }
.ps-card .l { font-size: 9px; color: #64748b; font-weight: 600; }
.phone-bars { background: #fff; border-radius: 13px; padding: 12px; display: flex; align-items: flex-end; gap: 6px; height: 96px; }
.phone-bars .b { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #818cf8, #2563eb); animation: bar-grow 1.4s cubic-bezier(.2, .8, .3, 1) both; transform-origin: bottom; }

/* Footer */
.lp-footer { background: #0b1226; color: #93a5c8; padding: 56px 0 26px; }
.lp-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
@media (max-width: 760px) { .lp-footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.lp-footer .f-brand { display: flex; align-items: center; gap: 11px; color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 14px; }
.lp-footer .f-brand img { width: 36px; height: 36px; border-radius: 10px; }
.lp-footer p { font-size: 13.5px; line-height: 1.75; margin: 0; }
.lp-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 16px; }
.lp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lp-footer ul a { color: #93a5c8; font-size: 13.5px; transition: color .2s, padding-left .2s; }
.lp-footer ul a:hover { color: #fff; padding-left: 4px; }
.lp-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 22px; font-size: 13px; }
.lp-footer-bottom a { color: #7fb2ff; font-weight: 700; }
.lp-footer-bottom a:hover { text-decoration: underline; }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 14px; border: none;
  background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent)); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -10px rgba(37, 99, 235, .6);
  opacity: 0; transform: translateY(14px); pointer-events: none; transition: all .3s; z-index: 90;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }

/* Toast install */
.install-toast {
  position: fixed; left: 22px; bottom: 22px; z-index: 95; background: #fff; border-radius: 16px;
  box-shadow: 0 24px 60px -18px rgba(15, 23, 42, .4); padding: 16px; display: flex; gap: 13px; align-items: center;
  transform: translateY(120%); transition: transform .45s cubic-bezier(.2, .8, .3, 1); max-width: 340px;
}
.install-toast.show { transform: none; }
.install-toast img { width: 42px; height: 42px; border-radius: 12px; }
.install-toast b { font-size: 14px; display: block; }
.install-toast span { font-size: 12.5px; color: var(--lp-muted); }
.install-toast .it-actions { display: flex; gap: 8px; margin-left: 6px; }
.it-btn { border-radius: 10px; padding: 8px 14px; font-weight: 700; font-size: 12.5px; border: none; cursor: pointer; }
.it-yes { background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent)); color: #fff; }
.it-no { background: #f1f5f9; color: #475569; }

/* Marquee logos */
.marquee { overflow: hidden; position: relative; padding: 10px 0; }
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 110px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, #fff, transparent); }
.marquee-track { display: flex; gap: 54px; width: max-content; animation: marquee 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item { display: flex; align-items: center; gap: 10px; color: #8fa0bb; font-weight: 700; font-size: 15px; white-space: nowrap; }
.marquee-item svg { width: 22px; height: 22px; }

/* counters */
.count-up { display: inline-block; }
