/* Liontek Leads — design system.
   Laws of UX applied throughout: aesthetic-usability (polish), Jakob's law
   (familiar SaaS patterns), Fitts (large targets), von Restorff (one amber
   highlight per view), proximity/common-region (cards), Hick (one primary
   CTA per screen). */

:root {
  --bg: #0b1118;
  --bg2: #0e1620;
  --card: #131c26;
  --card2: #18222e;
  --ink: #e8eef4;
  --mut: #93a1b0;
  --line: #223140;
  --line2: #2c3d4f;
  --go: #3cb44b;          /* primary action */
  --go-ink: #06270f;
  --amber: #f5a623;       /* brand highlight / exclusive */
  --amber-ink: #2b1d02;
  --link: #6cb6ff;
  --r: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display { font-family: Sora, Inter, system-ui, sans-serif; letter-spacing: -.02em; }
h1 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.08; margin: .2em 0 .4em; }
h2 { font-size: clamp(22px, 3vw, 32px); line-height: 1.15; margin: .2em 0 .5em; }
h3 { font-size: 18px; margin: .2em 0 .4em; }
p { margin: .4em 0 .9em; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.muted { color: var(--mut); }
.small { font-size: 13.5px; }
.amber { color: var(--amber); }

/* ---- nav ---------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; gap: 22px;
  padding: 14px 28px;
  background: rgba(11, 17, 24, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .sp { flex: 1; }
.nav a { color: var(--ink); font-weight: 500; font-size: 15px; }
.nav a:hover { color: #fff; text-decoration: none; }
.nav .muted { font-weight: 400; }
.brand { display: flex; align-items: center; gap: 10px; font-family: Sora, sans-serif;
         font-weight: 700; font-size: 19px; color: var(--ink) !important; }
.brand svg { display: block; }
.brand:hover { text-decoration: none; }

/* ---- buttons (Fitts: generous hit areas) -------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--go); color: var(--go-ink);
  border: 0; border-radius: 10px;
  padding: 13px 22px; font-size: 15.5px; font-weight: 700;
  font-family: Inter, sans-serif; cursor: pointer;
  transition: transform .06s ease, filter .15s ease, box-shadow .15s ease;
  box-shadow: 0 4px 14px rgba(60, 180, 75, .25);
}
.btn:hover { filter: brightness(1.08); text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.big { padding: 16px 28px; font-size: 17px; border-radius: 12px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line2);
             box-shadow: none; font-weight: 600; }
.btn.ghost:hover { border-color: var(--mut); background: rgba(255,255,255,.03); }
.btn.amber { background: var(--amber); color: var(--amber-ink);
             box-shadow: 0 4px 14px rgba(245, 166, 35, .25); }
.btn.full { width: 100%; }

/* ---- layout ------------------------------------------------------------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 28px 24px; }
.wrap.tight { max-width: 560px; }
.grid { display: grid; gap: 18px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .grid.c2, .grid.c3 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
}
.card.pad { padding: 30px; }

/* ---- feedback ----------------------------------------------------------- */
.err { background: #3a1d1d; border: 1px solid #6e2b2b; color: #ffb4b4;
       padding: 12px 14px; border-radius: 10px; margin: 12px 0; font-size: 14.5px; }
.ok  { background: #15331f; border: 1px solid #2c6a40; color: #9be8b4;
       padding: 12px 14px; border-radius: 10px; margin: 12px 0; font-size: 14.5px; }

/* ---- forms (proximity: label tight to its field) ------------------------ */
label { display: block; margin: 16px 0 6px; font-size: 13.5px; font-weight: 600;
        color: var(--mut); letter-spacing: .01em; }
input, select {
  width: 100%; background: var(--bg2); color: var(--ink);
  border: 1px solid var(--line2); border-radius: 10px;
  padding: 13px 14px; font-size: 15.5px; font-family: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus { outline: none; border-color: var(--go);
  box-shadow: 0 0 0 3px rgba(60, 180, 75, .18); }
.hint { font-size: 12.5px; color: var(--mut); margin-top: 5px; }
fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 6px 18px 18px;
           margin: 18px 0 0; }
legend { font-size: 13px; font-weight: 700; color: var(--mut); padding: 0 8px;
         text-transform: uppercase; letter-spacing: .06em; }

/* ---- hero ---------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px;
        align-items: center; padding: 64px 0 48px; }
@media (max-width: 940px) { .hero { grid-template-columns: 1fr; padding-top: 36px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 14px; }
.hero .sub { font-size: 18.5px; color: var(--mut); max-width: 52ch; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; border-radius: 18px; display: block;
  border: 1px solid var(--line2); box-shadow: var(--shadow); }
.float-card {
  position: absolute; left: -18px; bottom: 26px;
  background: var(--card2); border: 1px solid var(--line2); border-radius: 12px;
  padding: 14px 16px; box-shadow: var(--shadow); max-width: 290px; font-size: 13.5px;
}
@media (max-width: 940px) { .float-card { position: static; margin-top: -40px;
  margin-left: 14px; margin-right: 14px; } }
.float-card .who { font-weight: 700; font-size: 15px; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 20px;
  font-size: 11.5px; font-weight: 700; }
.badge.hot { background: #1f5132; color: #9be8b4; }
.badge.warm { background: #5c4317; color: #ffd98a; }
.badge.excl { background: rgba(245,166,35,.15); color: var(--amber);
  border: 1px solid rgba(245,166,35,.4); }

/* ---- sections ------------------------------------------------------------ */
.section { padding: 44px 0; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--go); margin-bottom: 8px; }

.step { position: relative; }
.step .n { display: inline-flex; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(60,180,75,.12); color: var(--go); font-weight: 800;
  align-items: center; justify-content: center; font-size: 15px; margin-bottom: 12px;
  border: 1px solid rgba(60,180,75,.35); }

.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .ico { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px;
  background: rgba(108,182,255,.1); border: 1px solid rgba(108,182,255,.25);
  display: flex; align-items: center; justify-content: center; color: var(--link); }
.feature h3 { margin: 2px 0 2px; font-size: 16px; }
.feature p { margin: 0; font-size: 14px; color: var(--mut); }

.band { border-radius: 18px; overflow: hidden; position: relative;
  border: 1px solid var(--line2); }
.band .bg { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; }
.band .scrim { position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,17,24,.93) 30%, rgba(11,17,24,.55)); }
.band .inner { position: relative; padding: 46px 40px; max-width: 640px; }
@media (max-width: 700px) { .band .inner { padding: 30px 22px; } }

/* ---- pricing ------------------------------------------------------------- */
.plan { position: relative; display: flex; flex-direction: column; }
.plan .price { font-size: 42px; font-weight: 800; font-family: Sora, sans-serif;
  letter-spacing: -.03em; }
.plan .per { font-size: 15px; color: var(--mut); font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: 14px 0 18px; }
.plan li { padding: 7px 0 7px 30px; position: relative; font-size: 14.5px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 9px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(60,180,75,.14) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%233cb44b" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/11px no-repeat; }
.plan .cta { margin-top: auto; }
.plan.popular { border-color: var(--go); box-shadow: 0 0 0 1px var(--go), var(--shadow); }
.pop-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--go); color: var(--go-ink); font-size: 12px; font-weight: 800;
  padding: 4px 14px; border-radius: 20px; letter-spacing: .03em; white-space: nowrap; }
.excl-row { margin-top: 14px; padding: 12px 14px; border-radius: 10px;
  background: rgba(245,166,35,.07); border: 1px solid rgba(245,166,35,.25);
  font-size: 13.5px; }

/* FAQ (Hick: progressive disclosure) */
details { border: 1px solid var(--line); border-radius: 12px; padding: 0 18px;
  margin: 10px 0; background: var(--card); }
summary { cursor: pointer; font-weight: 600; padding: 15px 0; list-style: none;
  display: flex; align-items: center; }
summary::after { content: "+"; margin-left: auto; color: var(--mut); font-size: 20px;
  transition: transform .15s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--mut); margin-top: 0; }

/* ---- app (dashboard) ------------------------------------------------------ */
.appnav { display: flex; align-items: center; gap: 18px; padding: 12px 22px;
  border-bottom: 1px solid var(--line); background: var(--bg2); flex-wrap: wrap; }
.appnav .sp { flex: 1; }
.appnav a { color: var(--ink); font-size: 14.5px; font-weight: 500; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px;
  border-radius: 20px; background: var(--card2); border: 1px solid var(--line2);
  font-size: 13px; color: var(--mut); white-space: nowrap; }
.chip b { color: var(--ink); }

.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 14px;
  background: var(--card); }
table.leads { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.leads th { text-align: left; padding: 11px 12px; font-size: 12px;
  text-transform: uppercase; letter-spacing: .05em; color: var(--mut);
  position: sticky; top: 0; background: var(--card2); z-index: 5;
  border-bottom: 1px solid var(--line2); }
table.leads td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.leads tbody tr:hover { background: rgba(108,182,255,.05); }
table.leads tbody tr:last-child td { border-bottom: 0; }

.doctag { display: inline-block; margin: 2px 3px 2px 0; padding: 2px 8px;
  border-radius: 6px; font-size: 11.5px; font-weight: 600;
  background: rgba(108,182,255,.1); border: 1px solid rgba(108,182,255,.25);
  color: var(--link); white-space: nowrap; }
.doctag:hover { text-decoration: none; background: rgba(108,182,255,.18); }
.leaflet-popup-content .doctag { color: var(--link); }

.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px;
  color: var(--mut); align-items: center; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  margin-right: 5px; vertical-align: -1px; border: 1px solid rgba(0,0,0,.4); }

/* leaflet dark-theme harmony */
.leaflet-container { background: #0d141c; border-radius: 14px; }
.leaflet-popup-content-wrapper { background: var(--card2); color: var(--ink);
  border: 1px solid var(--line2); border-radius: 10px; }
.leaflet-popup-tip { background: var(--card2); }
.leaflet-popup-content a { color: var(--link); }
.leaflet-bar a { background: var(--card2); color: var(--ink);
  border-bottom-color: var(--line2); }
.leaflet-bar a:hover { background: var(--card); }
.map-frame { border: 1px solid var(--line2); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); }

/* ---- footer --------------------------------------------------------------- */
footer.site { border-top: 1px solid var(--line); margin-top: 40px;
  padding: 28px 24px; color: var(--mut); font-size: 13.5px;
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
footer.site .sp { flex: 1; }
