/* Public landing page — builds on app.css + redesign.css tokens. */
.landing-body { background: var(--surface); }
.lp-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.lp main, main.lp { padding: 0; }

/* nav */
.lp-nav { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid var(--line-soft); }
.lp-nav__inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.lp-nav__links { display: flex; gap: 6px; margin-inline-start: 12px; }
.lp-nav__links a { padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--text-muted); transition: background .15s, color .15s; }
.lp-nav__links a:hover { background: var(--surface-2); color: var(--text); }
.lp-nav__actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.lp-burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; place-items: center; }

/* hero */
.lp-hero { position: relative; overflow: hidden; padding: 72px 0 88px; background:
    radial-gradient(60% 55% at 85% 0%, color-mix(in srgb, var(--red) 12%, transparent), transparent 70%),
    radial-gradient(45% 45% at 0% 100%, color-mix(in srgb, var(--info) 9%, transparent), transparent 70%),
    var(--surface); }
.lp-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--text) 9%, transparent) 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); pointer-events: none; }
.lp-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.lp-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb, var(--red) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--red) 20%, transparent); color: var(--red); font-weight: 700; font-size: 13px; }
.lp-chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 20%, transparent); }
.lp-hero h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; margin: 20px 0 18px; }
.lp-grad { background: linear-gradient(120deg, var(--red), color-mix(in srgb, var(--red) 40%, var(--gold))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lead { font-size: 18px; line-height: 1.8; color: var(--text-muted); max-width: 54ch; margin: 0 0 30px; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-btn-lg { padding: 14px 26px; font-size: 15.5px; border-radius: 14px; }
.lp-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; color: var(--text-muted); font-size: 13.5px; font-weight: 600; }
.lp-trust li { display: inline-flex; align-items: center; gap: 7px; }
.lp-trust svg { color: var(--ok); }

/* hero mock */
.lp-hero__visual { position: relative; padding: 24px 12px; }
.lp-mock { border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-pop), 0 40px 80px -30px color-mix(in srgb, var(--red) 28%, transparent); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
html[dir="ltr"] .lp-mock { transform: perspective(1400px) rotateY(6deg) rotateX(2deg); }
.lp-mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.lp-mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); }
.lp-mock__bar i:first-child { background: #ff6159; } .lp-mock__bar i:nth-child(2) { background: #ffbd2e; } .lp-mock__bar i:nth-child(3) { background: #28c940; }
.lp-mock__bar span { margin-inline-start: 10px; font-size: 12px; font-weight: 700; color: var(--text-dim); }
.lp-mock__body { display: grid; grid-template-columns: 58px 1fr; min-height: 300px; }
.lp-mock__side { padding: 16px 12px; border-inline-end: 1px solid var(--line-soft); display: grid; align-content: start; gap: 10px; }
.lp-mock__side b { height: 30px; border-radius: 9px; background: var(--surface-2); }
.lp-mock__side b.on { background: color-mix(in srgb, var(--red) 14%, transparent); }
.lp-mock__main { padding: 18px; display: grid; gap: 14px; align-content: start; }
.lp-mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lp-mock__kpis div { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.lp-mock__kpis small { display: block; font-size: 11px; color: var(--text-dim); font-weight: 600; }
.lp-mock__kpis strong { font-size: 20px; font-weight: 800; }
.lp-mock__kpis div:first-child strong { color: var(--ok); }
.lp-mock__chart { display: flex; align-items: flex-end; gap: 9px; height: 120px; padding: 12px; border-radius: 12px; background: var(--surface-2); }
.lp-mock__chart span { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--red), color-mix(in srgb, var(--red) 40%, transparent)); }
.lp-mock__rows { display: grid; gap: 8px; }
.lp-mock__rows i { height: 12px; border-radius: 6px; background: var(--surface-3); }
.lp-mock__rows i:nth-child(2) { width: 78%; } .lp-mock__rows i:nth-child(3) { width: 56%; }
.lp-float { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-pop); font-weight: 700; font-size: 13.5px; animation: lp-bob 6s ease-in-out infinite; }
.lp-float svg { color: var(--ok); }
.lp-float--a { inset-block-start: 0; inset-inline-start: -8px; }
.lp-float--b { inset-block-end: 6px; inset-inline-end: -8px; animation-delay: -3s; }
.lp-float--b svg { color: var(--red); }
@keyframes lp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* sections */
.lp-section { padding: 88px 0; }
.lp-section--alt { background: var(--ink); border-block: 1px solid var(--line-soft); }
.lp-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.lp-kicker { display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: .06em; color: var(--red); margin-bottom: 10px; }
.lp-head h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 12px; }
.lp-head p { color: var(--text-muted); font-size: 17px; margin: 0; }

.lp-companies { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.lp-co { padding: 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); transition: transform .2s, box-shadow .2s, border-color .2s; }
.lp-co:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); border-color: color-mix(in srgb, var(--company) 40%, var(--line)); }
.lp-co__logo { height: 52px; display: flex; align-items: center; margin-bottom: 18px; }
.lp-co__logo img { max-height: 48px; max-width: 170px; object-fit: contain; }
.lp-co__mark { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--company); color: #fff; font-weight: 800; font-size: 18px; }
.lp-co h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.lp-co p { margin: 0; color: var(--text-muted); font-size: 14px; min-height: 22px; }

.lp-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.lp-feat { padding: 26px 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.lp-feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.lp-feat__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: color-mix(in srgb, var(--red) 10%, transparent); color: var(--red); margin-bottom: 16px; }
.lp-feat h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 6px; }
.lp-feat p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.75; }

.lp-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; counter-reset: s; }
.lp-step { position: relative; padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.lp-step__n { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 16px; }
.lp-step h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.lp-step p { margin: 0; color: var(--text-muted); }

.lp-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 48px 52px; border-radius: 28px; color: #fff; background:
    radial-gradient(60% 90% at 100% 0%, rgba(255,255,255,.2), transparent 60%),
    linear-gradient(135deg, #E0203F, #B30D29 55%, #7D0A1D); box-shadow: 0 30px 60px -28px rgba(200,16,46,.6); }
.lp-band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.lp-band p { margin: 0; color: rgba(255,255,255,.85); font-size: 16.5px; max-width: 52ch; }
.lp-band__contact { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px !important; font-weight: 700; }
.lp-band__contact a { display: inline-flex; align-items: center; gap: 7px; color: #fff; }
.lp-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-btn-light { background: #fff; color: #B30D29; box-shadow: none; }
.lp-btn-light:hover { background: #fff; filter: brightness(.96); }
.lp-btn-line { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); box-shadow: none; }
.lp-btn-line:hover { background: rgba(255,255,255,.12); }

.lp-foot { border-top: 1px solid var(--line-soft); padding: 32px 0; background: var(--surface); }
.lp-foot__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.lp-foot__links { display: flex; gap: 18px; margin-inline-start: auto; font-weight: 600; font-size: 14px; color: var(--text-muted); }
.lp-foot__links a:hover { color: var(--text); }
.lp-foot small { color: var(--text-dim); width: 100%; }

/* reveal (progressive enhancement) */
.lp-anim .lp-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.lp-anim .lp-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .lp-float { animation: none; } .lp-anim .lp-reveal { opacity: 1; transform: none; transition: none; } }

/* responsive */
@media (max-width: 1000px) {
    .lp-hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .lp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-steps { grid-template-columns: 1fr; }
    .lp-mock, html[dir="ltr"] .lp-mock { transform: none; }
}
@media (max-width: 760px) {
    .lp-burger { display: inline-grid; }
    .lp-hide-sm { display: none; }
    .lp-nav__links { position: absolute; inset-inline: 0; top: 68px; flex-direction: column; margin: 0; padding: 12px 16px 16px; background: var(--surface); border-bottom: 1px solid var(--line); display: none; }
    .lp-nav.is-open .lp-nav__links { display: flex; }
    .lp-nav__inner { gap: 12px; }
    .lp-hero { padding: 44px 0 56px; }
    .lp-section { padding: 60px 0; }
    .lp-features { grid-template-columns: 1fr; }
    .lp-band { padding: 32px 24px; border-radius: 22px; }
    .lp-float { display: none; }
}
