/* ───────── Landing ───────── */
#app.landing .sidebar, #app.landing .topbar, #app.landing .bottomnav { display: none; }
#app.landing .shell { margin-left: 0; padding-bottom: 0; }
.main.lp { background: radial-gradient(1100px 600px at 70% -10%, rgba(var(--primary-rgb), .08), transparent 60%), #17191c; }
.lp-bg { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 0; }
.lp > section, .lp > footer { position: relative; z-index: 1; }
.lp-nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; padding: 0 max(24px, calc((100% - 1180px) / 2)); transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.lp-nav.scrolled { background: rgba(28,31,34,.85); backdrop-filter: blur(14px); border-color: var(--border); }
.lp-links { display: flex; gap: 4px; }
.lp-links button, .lp-links a { position: relative; padding: 8px 12px; font-size: 13px; color: var(--text-2); font-weight: 500; }
.lp-links button:hover, .lp-links a:hover { color: var(--text); }
.lp-links button.on { color: var(--primary); }
.lp-links a.lp-x { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; margin-left: 6px; border-radius: 50%; border: 1px solid var(--border-2); color: var(--text); transition: border-color .15s, color .15s, background .15s; }
.lp-links a.lp-x:hover { border-color: var(--primary); color: var(--primary); background: rgba(var(--primary-rgb), .08); }
.lp-links button.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--primary); border-radius: 2px; }
.lp-progress { position: fixed; top: 0; left: 0; height: 2px; background: linear-gradient(90deg, var(--primary-deep), var(--primary)); z-index: 60; width: 0; }
.lp-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 20px; border: 1px solid rgba(var(--primary-rgb), .3); background: rgba(var(--primary-rgb), .07); color: var(--primary); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.lp-hero { min-height: calc(100vh - 64px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px 20px 40px; }
.lp-h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(46px, 8.4vw, 118px); line-height: .95; letter-spacing: -.035em; margin: 26px 0; display: flex; flex-direction: column; background: linear-gradient(180deg, #dcfce7 0%, #4ade80 55%, #16a34a 120%); -webkit-background-clip: text; background-clip: text; color: transparent; animation: rise .8s cubic-bezier(.2,.8,.2,1); }
.lp-sub { color: var(--text-2); max-width: 540px; font-size: 16px; margin: 0 0 36px; }
.lp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: min(760px, 100%); margin-bottom: 40px; }
.lp-stats div { display: flex; flex-direction: column; gap: 4px; }
.lp-stats b { font-size: clamp(22px, 3vw, 30px); color: var(--primary); font-weight: 600; }
.lp-stats span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.lp-cta { height: 52px; padding: 0 28px; border-radius: 28px; font-size: 15px; }
.btn-primary.lp-cta { box-shadow: 0 0 40px rgba(var(--primary-rgb), .3); }
.lp-ghost { border: 1px solid var(--border-3); color: var(--text); background: rgba(255,255,255,.02); }
.lp-ghost:hover { border-color: var(--primary); color: var(--primary); }
.lp-ticker { margin-top: 56px; width: min(1100px, 100%); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.lp-tick-track { display: flex; gap: 34px; width: max-content; animation: marquee 40s linear infinite; }
.lp-tick { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
.lp-sec { padding: 110px max(24px, calc((100% - 1180px) / 2)); }
.lp-center { text-align: center; }
.lp-h2 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.02; letter-spacing: -.025em; margin: 18px 0 20px; text-align: center; }
.lp-how { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; margin-top: 50px; }
.lp-preview { border: 1px solid rgba(var(--primary-rgb), .25); border-radius: 16px; background: #202327; box-shadow: 0 0 80px rgba(var(--primary-rgb), .1), 0 30px 60px rgba(0,0,0,.5); overflow: hidden; }
.lp-preview-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.lp-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; max-height: 470px; overflow: hidden; }
.lp-preview-grid .comp-card { padding: 12px; zoom: .78; }
.lp-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; }
.lp-feat { display: flex; gap: 12px; }
.lp-feat b { font-size: 15px; }
.lp-feat p, .lp-card p, .lp-step p { color: var(--text-3); font-size: 13px; margin: 4px 0 0; }
.lp-ic { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--border-2); display: grid; place-items: center; color: var(--primary); flex-shrink: 0; background: rgba(var(--primary-rgb), .05); }
.lp-ic.lg { width: 50px; height: 50px; border-radius: 12px; }
.lp-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.lp-reveal.in { opacity: 1; transform: none; }
.lp-proto { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; margin-top: 40px; }
.lp-steps { display: flex; flex-direction: column; gap: 34px; position: relative; }
.lp-steps::before { content: ""; position: absolute; left: 15px; top: 20px; bottom: 20px; width: 1px; background: var(--border-2); }
.lp-step { display: flex; gap: 18px; opacity: .35; transition: opacity .4s; }
.lp-step.on { opacity: 1; }
.lp-step b { text-transform: uppercase; font-family: var(--font-display); font-size: 15px; letter-spacing: .02em; }
.lp-num { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; background: #353a3f; color: var(--text-2); font-weight: 700; font-size: 13px; flex-shrink: 0; position: relative; transition: all .4s; }
.lp-step.on .lp-num { background: var(--primary); color: var(--on-accent); box-shadow: 0 0 20px rgba(var(--primary-rgb), .5); }
.lp-stack { display: flex; flex-direction: column; gap: 14px; }
.lp-card { display: flex; gap: 18px; align-items: center; padding: 20px 22px; border-radius: 14px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(46,50,55,.9), rgba(36,39,43,.9)); transition: border-color .2s, transform .2s; }
.lp-card.in:hover { border-color: rgba(var(--primary-rgb), .4); transform: translateX(-4px); }
.lp-card b { text-transform: uppercase; font-family: var(--font-display); letter-spacing: .02em; }
.lp-tag { font-size: 9.5px; padding: 3px 7px; border: 1px solid rgba(var(--primary-rgb), .35); color: var(--primary); border-radius: 5px; align-self: flex-start; }
.lp-season { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 30px; }
.lp-season::-webkit-scrollbar { display: none; }
.lp-scard { scroll-snap-align: start; display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; padding: 26px; border-radius: 16px; border: 1px solid var(--border); background: linear-gradient(180deg, #25282c, #212428); }
.lp-matrix { display: flex; flex-direction: column; gap: 10px; }
.lp-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--border); background: rgba(0,0,0,.25); font-size: 13.5px; }
.lp-row.lp-hl { border-color: rgba(var(--primary-rgb), .35); background: rgba(var(--primary-rgb), .06); }
.lp-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lp-3 > div { padding: 16px; border-radius: 10px; border: 1px solid var(--border); background: rgba(0,0,0,.25); text-align: center; display: flex; flex-direction: column; gap: 6px; }
.lp-3 b { font-size: 17px; font-family: var(--font-display); }
.lp-mult { display: flex; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 9px; margin-bottom: 8px; border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); background: color-mix(in srgb, var(--c) 8%, transparent); color: var(--c); font-weight: 600; font-size: 13px; }
.lp-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.lp-tier { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 10px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); background: color-mix(in srgb, var(--c) 6%, transparent); text-align: center; }
.lp-tier small { color: var(--text-2); font-size: 11.5px; margin-top: 6px; }
.lp-gem { width: 34px; height: 34px; transform: rotate(45deg); border-radius: 6px; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 30%, #000)); box-shadow: 0 0 22px color-mix(in srgb, var(--c) 50%, transparent); margin-bottom: 10px; }
.lp-dot { width: 8px; height: 8px; border-radius: 8px; background: #42474d; transition: all .2s; }
.lp-dot.on { width: 26px; background: var(--primary); }
.lp-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 50px; align-items: start; }
.lp-q { border: 1px solid var(--border); border-radius: 12px; background: rgba(42,45,50,.85); overflow: hidden; transition: border-color .2s, opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.lp-q:hover, .lp-q.open { border-color: rgba(var(--primary-rgb), .35); }
.lp-q > button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; text-align: left; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 13.5px; letter-spacing: .02em; }
.lp-q i { color: var(--text-3); transition: transform .25s, color .2s; display: grid; }
.lp-q.open i { transform: rotate(45deg); color: var(--primary); }
.lp-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.lp-a > p { overflow: hidden; margin: 0; padding: 0 20px; color: var(--text-2); font-size: 13.5px; }
.lp-q.open .lp-a { grid-template-rows: 1fr; }
.lp-q.open .lp-a > p { padding-bottom: 18px; }
.lp-final { text-align: center; padding-top: 60px; }
.lp-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px max(24px, calc((100% - 1180px) / 2)); border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-2); }
.lp-foot a:hover { color: var(--primary); }
@media (max-width: 960px) {
  .lp-how, .lp-proto, .lp-scard { grid-template-columns: 1fr; }
  .lp-faq { grid-template-columns: 1fr; }
  .lp-stats { grid-template-columns: repeat(2, 1fr); }
  .lp-tiers { grid-template-columns: repeat(2, 1fr); }
  .lp-sec { padding-top: 70px; padding-bottom: 70px; }
  .lp-feats { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  #app.landing .main { overflow-y: auto; height: 100dvh; }
}
