/* Public download page for LMS Desktop (Views/Download/Index.cshtml). Standalone: no Bootstrap. */
:root {
    --ink: #0f172a; --ink-2: #334155; --muted: #64748b; --line: #e2e8f0; --bg: #ffffff; --tint: #f5f6ff;
    --brand: #4f46e5; --brand-2: #7c3aed; --brand-50: #eef2ff; --ok: #16a34a;
    --radius: 16px; --shadow: 0 10px 30px rgba(15, 23, 42, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
code, pre { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .82rem; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 12px; font-weight: 700; font-size: .95rem; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; cursor: pointer; white-space: nowrap; }
.btn small { font-weight: 500; opacity: .8; margin-left: 4px; }
.btn--primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 8px 20px rgba(79, 70, 229, .3); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(79, 70, 229, .38); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--light { background: #fff; color: var(--brand); }
.btn--lg { padding: 14px 24px; font-size: 1.02rem; border-radius: 14px; }
.btn--block { display: flex; width: 100%; margin-top: 10px; white-space: normal; text-align: center; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .85); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.1rem; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand b { color: var(--brand); }
.nav__links { display: flex; gap: 22px; margin-left: 12px; }
.nav__links a { color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.nav__links a:hover { color: var(--brand); }
.nav__cta { display: flex; gap: 10px; margin-left: auto; }
.nav__burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; font-size: 1.4rem; padding: 4px 10px; color: var(--ink); }

/* hero */
.hero { background: radial-gradient(1000px 500px at 85% -10%, #e0e7ff 0, transparent 60%), radial-gradient(800px 400px at -10% 10%, #f3e8ff 0, transparent 55%); padding: 72px 0 56px; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .82rem; font-weight: 600; color: var(--brand); box-shadow: var(--shadow); }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; margin: 18px 0 16px; }
.grad { background: linear-gradient(135deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.hero__os { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.hero__os li { display: flex; align-items: center; gap: 6px; }
.hero__os li.muted { font-weight: 500; }

/* app window mockup */
.hero__art { position: relative; }
.window { background: #fff; border-radius: 18px; box-shadow: 0 30px 60px rgba(30, 27, 75, .18), 0 0 0 1px rgba(15, 23, 42, .05); overflow: hidden; transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); }
.window__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f8fafc; border-bottom: 1px solid var(--line); }
.window__bar span { width: 11px; height: 11px; border-radius: 50%; background: #f87171; }
.window__bar span:nth-child(2) { background: #fbbf24; } .window__bar span:nth-child(3) { background: #34d399; }
.window__bar em { font-style: normal; font-size: .78rem; color: var(--muted); margin-left: 10px; font-weight: 600; }
.window__body { display: grid; grid-template-columns: 74px 1fr; min-height: 330px; }
.window aside { background: #fafbff; border-right: 1px solid var(--line); padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; }
.window aside i { display: block; height: 10px; border-radius: 6px; background: #e5e7eb; }
.window aside i.on { background: var(--brand); }
.w-logo { height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); margin-bottom: 8px; }
.window main { padding: 16px; display: flex; flex-direction: column; gap: 14px; background: #f8f9ff; }
.w-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.w-tiles div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.w-tiles b { display: block; font-size: 1.15rem; color: var(--brand); }
.w-tiles small { color: var(--muted); font-size: .7rem; }
.w-chart { background: #fff; border: 1px solid var(--line); border-radius: 12px; height: 120px; padding: 14px; display: flex; align-items: flex-end; gap: 10px; }
.w-chart span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #818cf8, var(--brand)); }
.w-rows { display: grid; gap: 8px; }
.w-rows i { display: block; height: 18px; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.float { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); font-size: .85rem; }
.float i { font-size: 1.3rem; color: var(--brand); }
.float small { display: block; color: var(--muted); font-size: .72rem; }
.float--a { left: -18px; bottom: 26px; }
.float--b { right: -10px; top: 40px; }
.float--b i { color: var(--ok); }

/* strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 18px 20px; }
.strip__in div { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; color: var(--ink-2); font-size: .92rem; }
.strip__in i { color: var(--brand); font-size: 1.15rem; }

/* sections */
.section { padding: 84px 0; }
.section--tint { background: var(--tint); }
.head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.head h2, .split h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
.head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: 10px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c7d2fe; }
.feature__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); font-size: 1.3rem; margin-bottom: 14px; }
.feature h3 { font-size: 1.02rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .9rem; margin: 0; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 16px; }
.checks li { display: flex; gap: 12px; color: var(--ink-2); }
.checks i { color: var(--ok); font-size: 1.2rem; margin-top: 2px; }
.steps { display: grid; gap: 16px; }
.step { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.step > span { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.step p { color: var(--muted); font-size: .92rem; margin: 2px 0 0; }

/* download cards */
.notice { display: flex; align-items: center; gap: 10px; justify-content: center; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; border-radius: 12px; padding: 14px 18px; margin-bottom: 24px; }
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.platform { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; transition: box-shadow .2s, border-color .2s; }
.platform.is-you { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50), var(--shadow); }
.platform__head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.platform__head > i { font-size: 2rem; color: var(--ink); width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); }
.platform__head h3 { margin: 0; font-size: 1.25rem; }
.platform__head small { color: var(--muted); }
.platform__badge { display: none; position: absolute; top: -12px; right: 18px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; border-radius: 999px; padding: 4px 10px; }
.platform.is-you .platform__badge { display: inline-block; }
.platform__soon { margin-top: 14px; padding: 12px; border-radius: 12px; background: var(--tint); color: var(--muted); text-align: center; font-weight: 600; }
.platform__more { margin-top: 14px; font-size: .88rem; color: var(--ink-2); }
.platform__more summary { cursor: pointer; color: var(--brand); font-weight: 600; }
.platform__more p { margin: 10px 0; }
.platform__more pre { background: #0f172a; color: #e2e8f0; padding: 10px 12px; border-radius: 10px; overflow-x: auto; white-space: pre; }
.sha { margin-top: 8px; font-size: .75rem; }
.sha span { display: block; color: var(--muted); }
.sha code { display: block; word-break: break-all; color: var(--ink-2); }
.first-login { text-align: center; color: var(--muted); margin-top: 26px; font-size: .92rem; }
.first-login code { background: var(--tint); padding: 2px 6px; border-radius: 6px; color: var(--ink); }

.reqs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.reqs div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.reqs i { font-size: 1.6rem; color: var(--brand); margin-bottom: 6px; }
.reqs span { color: var(--muted); font-size: .92rem; }

.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; font-weight: 700; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--brand); transition: transform .2s; }
.faq[open] summary i { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 14px; margin: 0; }

.cta { padding: 0 0 84px; }
.cta__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border-radius: 24px; padding: 44px 48px; box-shadow: 0 20px 40px rgba(79, 70, 229, .3); }
.cta__in h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 6px; }
.cta__in p { margin: 0; opacity: .9; }
.foot { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: .9rem; }
.foot__in { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.foot__in span:first-child { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.foot img { width: 24px; height: 24px; border-radius: 6px; }

/* responsive */
@media (max-width: 1040px) {
    .features { grid-template-columns: repeat(3, 1fr); }
    .hero__in { grid-template-columns: 1fr; }
    .hero__art { max-width: 620px; margin: 0 auto; width: 100%; }
    .window { transform: none; }
}
@media (max-width: 860px) {
    .nav__links, .nav__cta { display: none; }
    .nav__burger { display: block; }
    body.menu-open .nav__links { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); margin: 0; padding: 8px 20px 16px; box-shadow: var(--shadow); }
    body.menu-open .nav__links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .features { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; gap: 32px; }
    .platforms, .reqs { grid-template-columns: 1fr; }
    .strip__in { grid-template-columns: repeat(2, 1fr); }
    .cta__in { flex-direction: column; text-align: center; padding: 36px 24px; }
    .section { padding: 60px 0; }
}
@media (max-width: 520px) {
    .hero { padding: 44px 0 36px; }
    .features { grid-template-columns: 1fr; }
    .strip__in { grid-template-columns: 1fr 1fr; font-size: .85rem; }
    .hero__actions .btn { width: 100%; }
    .float--a { left: 6px; bottom: 10px; } .float--b { right: 6px; top: 50px; }
    .window__body { grid-template-columns: 50px 1fr; min-height: 260px; }
    .w-tiles b { font-size: .95rem; }
}
