/* ALL-N-ONE License Management System */
:root {
  --lm-bg: #0a0a0c; --lm-panel: #111114; --lm-panel2: #16161b; --lm-line: rgba(255,255,255,.08); --lm-line2: rgba(255,255,255,.14);
  --lm-text: #e8e8ec; --lm-muted: #9a9aa4; --lm-dim: #6e6e78;
  --lm-gold: #f5c451; --lm-gold2: #e9b024; --lm-green: #22c55e; --lm-red: #ef4444; --lm-amber: #f59e0b; --lm-blue: #3b82f6; --lm-purple: #a855f7;
}
body { background: var(--lm-bg); }
.lm-wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.lm-main { padding: 96px 0 48px; min-height: 70vh; }

/* nav */
.lm-nav { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(10,10,12,.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--lm-line); }
.lm-nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.lm-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lm-brand img { height: 36px; width: auto; }
.lm-brand span { display: flex; flex-direction: column; line-height: 1; }
.lm-brand b { font-family: Montserrat, sans-serif; font-weight: 900; font-size: .98rem; letter-spacing: .05em; color: #fff; }
.lm-brand small { font-family: Montserrat, sans-serif; font-weight: 700; font-size: .5rem; letter-spacing: .26em; text-transform: uppercase; color: var(--lm-gold); margin-top: 4px; }
.lm-menu { position: relative; }
.lm-burger { display: none; background: none; border: 0; cursor: pointer; }
.lm-links { display: flex; align-items: center; gap: 2px; }
.lm-links a { position: relative; padding: 8px 12px; border-radius: 8px; font-size: .86rem; font-weight: 500; color: #c7c7cf; text-decoration: none; white-space: nowrap; }
.lm-links a:hover { color: #fff; background: rgba(255,255,255,.05); }
.lm-links a.on { color: #fff; background: rgba(245,196,81,.10); box-shadow: inset 0 -2px 0 var(--lm-gold); }
.lm-links .lm-switch { color: var(--lm-gold); }
.lm-links .lm-muted { color: var(--lm-muted); }
.lm-sep { width: 1px; height: 22px; background: var(--lm-line2); margin: 0 6px; }
.lm-dot { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px; border-radius: 9px; background: var(--lm-red); color: #fff; font-size: 11px; font-weight: 700; }
@media (max-width: 980px) {
  .lm-burger { display: grid; gap: 4px; padding: 10px; }
  .lm-burger span { display: block; width: 22px; height: 2px; background: #ddd; border-radius: 2px; }
  .lm-links { display: none; }
  .lm-menu.open .lm-links { display: flex; flex-direction: column; align-items: stretch; position: absolute; right: 0; top: 52px; min-width: 220px; padding: 8px; background: #111114; border: 1px solid var(--lm-line2); border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,.6); }
  .lm-sep { width: auto; height: 1px; margin: 6px 0; }
}

/* type & layout */
.lm-h1 { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 1.6rem; color: #fff; letter-spacing: -.01em; margin: 0; }
.lm-h2 { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 1.05rem; color: #fff; margin: 0; }
.lm-sub { color: var(--lm-muted); font-size: .9rem; margin-top: 4px; }
.lm-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.lm-grid { display: grid; gap: 16px; }
.lm-g2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.lm-g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.lm-g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.lm-g6 { grid-template-columns: repeat(6, minmax(0,1fr)); }
@media (max-width: 1100px) { .lm-g6 { grid-template-columns: repeat(3, minmax(0,1fr)); } .lm-g4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 760px) { .lm-g2, .lm-g3, .lm-g4, .lm-g6 { grid-template-columns: minmax(0,1fr); } }
.lm-mt { margin-top: 18px; } .lm-mt2 { margin-top: 28px; }
.lm-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lm-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* surfaces */
.lm-card { background: var(--lm-panel); border: 1px solid var(--lm-line); border-radius: 14px; padding: 18px; }
.lm-card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.lm-stat { background: var(--lm-panel); border: 1px solid var(--lm-line); border-radius: 12px; padding: 14px 16px; }
.lm-stat .k { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--lm-dim); font-weight: 600; }
.lm-stat .v { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 1.5rem; color: #fff; margin-top: 6px; line-height: 1.1; }
.lm-stat .s { font-size: .78rem; color: var(--lm-muted); margin-top: 4px; }
.lm-stat.gold .v { color: var(--lm-gold); } .lm-stat.green .v { color: var(--lm-green); } .lm-stat.red .v { color: var(--lm-red); } .lm-stat.amber .v { color: var(--lm-amber); }

/* badges */
.lm-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; border: 1px solid transparent; }
.lm-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.lm-ok   { color: #4ade80; background: rgba(34,197,94,.10);  border-color: rgba(34,197,94,.30); }
.lm-warn { color: #fbbf24; background: rgba(245,158,11,.10); border-color: rgba(245,158,11,.30); }
.lm-bad  { color: #f87171; background: rgba(239,68,68,.10);  border-color: rgba(239,68,68,.30); }
.lm-mute { color: #a1a1aa; background: rgba(255,255,255,.05); border-color: var(--lm-line2); }
.lm-live::before { box-shadow: 0 0 0 3px rgba(34,197,94,.25); animation: lmPulse 2s infinite; }
@keyframes lmPulse { 50% { opacity: .35; } }

/* buttons & forms */
.lm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 16px; border-radius: 9px; font-size: .86rem; font-weight: 600; cursor: pointer; border: 1px solid var(--lm-line2); background: rgba(255,255,255,.04); color: #fff; text-decoration: none; transition: filter .15s, background .15s; white-space: nowrap; }
.lm-btn:hover { background: rgba(255,255,255,.08); }
.lm-btn-gold { background: linear-gradient(180deg,#f8cf6b,#e9b024 60%,#d19a1c); color: #1a1206; border-color: transparent; font-weight: 700; }
.lm-btn-gold:hover { filter: brightness(1.06); background: linear-gradient(180deg,#f8cf6b,#e9b024 60%,#d19a1c); }
.lm-btn-green { background: rgba(34,197,94,.14); border-color: rgba(34,197,94,.45); color: #4ade80; }
.lm-btn-red { background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.45); color: #f87171; }
.lm-btn-sm { padding: 6px 11px; font-size: .78rem; border-radius: 8px; }
.lm-btn[disabled] { opacity: .45; cursor: not-allowed; }
.lm-label { display: block; font-size: .76rem; font-weight: 600; color: var(--lm-muted); margin-bottom: 6px; }
.lm-input, .lm-select, .lm-textarea { width: 100%; background: #0c0c0f; border: 1px solid var(--lm-line2); border-radius: 9px; color: #fff; padding: 9px 12px; font-size: .9rem; font-family: inherit; }
.lm-input:focus, .lm-select:focus, .lm-textarea:focus { outline: none; border-color: rgba(245,196,81,.6); box-shadow: 0 0 0 3px rgba(245,196,81,.12); }
.lm-select option { background: #111114; }
.lm-textarea { min-height: 90px; resize: vertical; }
.lm-help { font-size: .76rem; color: var(--lm-dim); margin-top: 5px; }
.lm-field { margin-bottom: 14px; }

/* tables */
.lm-table-wrap { overflow-x: auto; border: 1px solid var(--lm-line); border-radius: 12px; }
.lm-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.lm-table th { text-align: left; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--lm-dim); font-weight: 700; padding: 11px 14px; background: #0e0e11; border-bottom: 1px solid var(--lm-line); white-space: nowrap; }
.lm-table td { padding: 11px 14px; border-bottom: 1px solid var(--lm-line); color: var(--lm-text); vertical-align: middle; }
.lm-table tr:last-child td { border-bottom: 0; }
.lm-table tr:hover td { background: rgba(255,255,255,.02); }
.lm-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lm-pos { color: #4ade80; } .lm-neg { color: #f87171; }
.lm-mono { font-family: Consolas, 'SFMono-Regular', monospace; font-size: .8rem; }
.lm-empty { padding: 34px; text-align: center; color: var(--lm-muted); }

/* flashes */
.lm-flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: .9rem; border: 1px solid; }
.lm-flash-ok { color: #bbf7d0; background: rgba(34,197,94,.08); border-color: rgba(34,197,94,.3); }
.lm-flash-err { color: #fecaca; background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.3); }
.lm-flash-info { color: #fde68a; background: rgba(245,196,81,.08); border-color: rgba(245,196,81,.3); }

/* license card (client) */
.lm-lic { display: grid; grid-template-columns: 176px minmax(0,1fr); gap: 18px; }
.lm-lic img { width: 176px; height: 110px; object-fit: cover; border-radius: 12px; border: 1px solid var(--lm-line); background: #0c0c0f; }
@media (max-width: 640px) { .lm-lic { grid-template-columns: minmax(0,1fr); } .lm-lic img { width: 100%; height: auto; aspect-ratio: 16/10; } }
.lm-kv { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-top: 12px; }
@media (max-width: 900px) { .lm-kv { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.lm-kv div { background: var(--lm-panel2); border: 1px solid var(--lm-line); border-radius: 10px; padding: 9px 12px; }
.lm-kv small { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lm-dim); font-weight: 700; }
.lm-kv b { display: block; margin-top: 3px; color: #fff; font-size: .9rem; }
.lm-acct { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border: 1px solid var(--lm-line); border-radius: 10px; background: #0e0e11; }

/* pricing (store) */
.lm-plans { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
@media (max-width: 1000px) { .lm-plans { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .lm-plans { grid-template-columns: minmax(0,1fr); } }
.lm-plan { position: relative; display: flex; flex-direction: column; background: var(--lm-panel); border: 1px solid var(--lm-line2); border-radius: 16px; padding: 22px 18px 18px; }
.lm-plan.featured { border-color: rgba(245,196,81,.55); box-shadow: 0 0 0 1px rgba(245,196,81,.25), 0 20px 50px -20px rgba(245,196,81,.35); }
.lm-plan .ribbon { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 3px 12px; border-radius: 999px; background: var(--lm-gold2); color: #1a1206; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.lm-plan .tier { font-family: Montserrat, sans-serif; font-weight: 800; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--lm-gold); }
.lm-plan .term { color: #fff; font-weight: 600; margin-top: 4px; }
.lm-plan .price { font-family: Montserrat, sans-serif; font-weight: 900; font-size: 2.3rem; color: #fff; margin-top: 12px; line-height: 1; }
.lm-plan .reg { color: var(--lm-dim); text-decoration: line-through; font-size: .95rem; margin-left: 6px; font-weight: 600; }
.lm-plan .per { color: var(--lm-muted); font-size: .84rem; margin-top: 6px; }
.lm-plan .save { display: inline-flex; margin-top: 12px; padding: 5px 10px; border-radius: 8px; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.35); color: #4ade80; font-size: .82rem; font-weight: 700; align-self: flex-start; }
.lm-plan .save.none { background: rgba(255,255,255,.04); border-color: var(--lm-line2); color: var(--lm-muted); font-weight: 600; }
.lm-plan .grow { flex: 1; }
.lm-plan .lm-btn { margin-top: 18px; width: 100%; }

/* crypto */
.lm-addr { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: #0c0c0f; border: 1px solid var(--lm-line2); }
.lm-addr code { flex: 1; min-width: 0; overflow-wrap: anywhere; font-family: Consolas, monospace; font-size: .86rem; color: #fff; }
.lm-tabs { display: inline-flex; padding: 4px; border-radius: 11px; background: #0c0c0f; border: 1px solid var(--lm-line2); }
.lm-tabs button { padding: 8px 16px; border-radius: 8px; border: 0; background: none; color: var(--lm-muted); font-weight: 600; cursor: pointer; font-size: .86rem; }
.lm-tabs button.on { background: rgba(245,196,81,.14); color: var(--lm-gold); }

/* chooser */
.lm-choose { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; max-width: 920px; margin: 0 auto; }
@media (max-width: 760px) { .lm-choose { grid-template-columns: minmax(0,1fr); } }
.lm-choice { display: block; text-decoration: none; padding: 30px 26px; border-radius: 18px; background: var(--lm-panel); border: 1px solid var(--lm-line2); transition: transform .2s, border-color .2s, box-shadow .2s; }
.lm-choice:hover { transform: translateY(-3px); border-color: rgba(245,196,81,.55); box-shadow: 0 24px 60px -30px rgba(245,196,81,.45); }
.lm-choice .ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: rgba(245,196,81,.10); border: 1px solid rgba(245,196,81,.35); color: var(--lm-gold); }
.lm-choice h3 { font-family: Montserrat, sans-serif; font-weight: 800; color: #fff; font-size: 1.15rem; margin: 18px 0 8px; }
.lm-choice p { color: var(--lm-muted); font-size: .9rem; line-height: 1.6; margin: 0; }
.lm-choice .go { display: inline-flex; margin-top: 18px; color: var(--lm-gold); font-weight: 700; font-size: .9rem; }

.lm-foot { border-top: 1px solid var(--lm-line); padding: 20px 0; color: var(--lm-dim); font-size: .8rem; }
.lm-foot a { color: var(--lm-muted); }
.lm-chart { position: relative; height: 280px; }
.lm-chart.sm { height: 220px; }
.lm-shot { max-width: 100%; max-height: 520px; border-radius: 10px; border: 1px solid var(--lm-line2); }
