:root {
  --bg: #0d0d0d;
  --panel: #0d0d0d;
  --panel2: #0d0d0d;
  --border: rgba(255, 255, 255, 0.066);
  --text: #f7f7f7;
  --dim: #8c8c8c;
  --accent: #404040;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { height: 100%; scroll-behavior: smooth; }

body {
  min-height: 100%;
  background:
    radial-gradient(1100px 500px at 78% -10%, rgba(255, 255, 255, 0.094), transparent 60%),
    radial-gradient(900px 420px at 12% 0%, rgba(52, 52, 52, 0.14), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", -apple-system, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding: 34px 18px 60px;
}

::selection { background: rgba(255, 255, 255, 0.193); color: #fff; }

a { color: #f7f7f7; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; }

.brand { display: flex; align-items: center; gap: 11px; margin-bottom: 26px; }
.brand .logo {
  width: 36px; height: 36px; border-radius: 11px;
  background: linear-gradient(135deg, #efefef, #242424);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px;
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.303);
}
.brand b { font-size: 16px; letter-spacing: .2px; }
.brand small { display: block; color: var(--dim); font-size: 11.5px; font-weight: 400; }

.card {
  background: linear-gradient(160deg, var(--panel2), var(--panel) 60%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

h1 { font-size: 24px; letter-spacing: -.3px; margin-bottom: 6px; }
.sub { color: var(--dim); font-size: 13.5px; line-height: 1.5; }

.tabs { display: flex; gap: 6px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); padding: 5px; border-radius: 12px; margin: 22px 0 18px; }
.tabs button {
  flex: 1; padding: 9px 12px; border: 0; border-radius: 9px; background: transparent;
  color: var(--dim); font: inherit; font-size: 13px; cursor: pointer; transition: .15s;
}
.tabs button.active { background: rgba(255, 255, 255, 0.088); color: #f7f7f7; box-shadow: 0 0 14px rgba(255, 255, 255, 0.099); }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; color: var(--dim); margin-bottom: 6px; }
.field input[type="text"], .field input[type="password"] {
  width: 100%; padding: 12px 14px; border-radius: 11px;
  background: #0d0d0d; border: 1px solid var(--border); color: var(--text);
  font: inherit; font-size: 14px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field input:focus { border-color: rgba(255, 255, 255, 0.275); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.055); }

.check { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #bfbfbf; cursor: pointer; user-select: none; }
.check input { width: 17px; height: 17px; accent-color: #404040; cursor: pointer; }
.check small { color: var(--dim); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; border-radius: 12px; border: 0; cursor: pointer;
  font: inherit; font-size: 13.5px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, #efefef, #303030);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.154);
  transition: transform .12s, box-shadow .2s, background .2s;
}
.btn:hover { background: linear-gradient(135deg, #f7f7f7, #383838); box-shadow: 0 0 26px rgba(255, 255, 255, 0.248); }
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .5; cursor: default; box-shadow: none; }

.btn.ghost { background: transparent; border: 1px solid var(--border); color: var(--text); box-shadow: none; }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.044); border-color: rgba(255, 255, 255, 0.193); }
.btn.small { padding: 8px 12px; font-size: 12px; border-radius: 9px; }
.btn.danger { background: linear-gradient(135deg, #373737, #222222); }

.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.msg { margin-top: 14px; padding: 11px 14px; border-radius: 11px; font-size: 13px; display: none; }
.msg.show { display: block; }
.msg.err { background: rgba(255, 255, 255, 0.055); border: 1px solid rgba(255, 255, 255, 0.193); color: #f7f7f7; }
.msg.ok { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.165); color: #f7f7f7; }

.hidden { display: none !important; }

/* профиль */
.head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.who { display: flex; align-items: center; gap: 14px; }
.ava {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
  background: linear-gradient(135deg, #efefef, #242424);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.193);
}
.who b { font-size: 17px; display: block; }
.who small { color: var(--dim); font-size: 12px; }

.role { font-size: 11px; font-weight: 700; letter-spacing: .4px; padding: 4px 9px; border-radius: 7px; text-transform: uppercase; }
.role.owner { background: rgba(255, 255, 255, 0.099); border: 1px solid rgba(255, 255, 255, 0.275); color: #f7f7f7; }
.role.user { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); color: var(--dim); }

.section { margin-top: 26px; }
.section h2 { font-size: 14px; letter-spacing: .3px; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; font-weight: 600; }

.plugins { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.plugin {
  display: flex; align-items: center; gap: 10px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px;
  font-size: 13px;
}
.plugin.on { border-color: rgba(255, 255, 255, 0.176); background: linear-gradient(100deg, rgba(255, 255, 255, 0.05), var(--panel)); }
.plugin .dot { width: 8px; height: 8px; border-radius: 50%; background: #3c3c3c; flex-shrink: 0; }
.plugin.on .dot { background: #efefef; box-shadow: 0 0 9px rgba(255, 255, 255, 0.495); }
.plugin .nm { flex: 1; }
.plugin .state { font-size: 11px; color: var(--dim); }
.plugin.on .state { color: #f7f7f7; }

.stat {
  display: flex; align-items: baseline; gap: 8px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px;
}
.stat b { font-size: 20px; }
.stat span { color: var(--dim); font-size: 12px; }

table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); vertical-align: middle; }
th { color: var(--dim); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px; }
tr:last-child td { border-bottom: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 8px;
  font-size: 11.5px; color: var(--dim); background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border); cursor: pointer; user-select: none; transition: .12s;
}
.chip.on { color: #f7f7f7; background: rgba(255, 255, 255, 0.088); border-color: rgba(255, 255, 255, 0.248); }
.chip input { display: none; }

.tablewrap { overflow-x: auto; }
.users-table { min-width: 720px; }

.note { color: var(--dim); font-size: 12px; line-height: 1.55; margin-top: 10px; }

.foot { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--dim); font-size: 12px; }

@media (max-width: 760px) {
  .menu > a:not(.btn) { display: none; }
}

@media (max-width: 640px) {
  body { padding: 18px 12px 40px; }
  .card { padding: 20px; border-radius: 16px; }
  h1 { font-size: 21px; }
  .users-table { min-width: 640px; }
}

/* ======================= лендинг ======================= */

body { position: relative; }

.bgfx { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bgfx i {
  position: absolute; display: block; border-radius: 50%; filter: blur(80px); opacity: .35;
}
.bgfx i:nth-child(1) { width: 520px; height: 520px; left: -160px; top: -140px; background: rgba(255, 255, 255, 0.121); }
.bgfx i:nth-child(2) { width: 420px; height: 420px; right: -120px; top: 220px; background: rgba(61, 61, 61, 0.18); }
.bgfx i:nth-child(3) { width: 600px; height: 300px; left: 35%; bottom: -180px; background: rgba(43, 43, 43, 0.16); }
.wrap { position: relative; z-index: 1; }

.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  margin: -14px 0 0; padding: 14px 0;
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.top .brand { margin-bottom: 0; text-decoration: none; color: var(--text); }
.top .brand b { font-size: 15px; }
.top .brand small { font-size: 11px; }

.menu { display: flex; align-items: center; gap: 20px; font-size: 12.5px; }
.menu > a { color: var(--dim); text-decoration: none; transition: color .15s; }
.menu > a:hover { color: #f7f7f7; }
.menu .btn { color: #fff; padding: 8px 15px; font-size: 12px; border-radius: 10px; }

.hero {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 44px; align-items: center;
  padding: 46px 0 26px;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 11px; margin-bottom: 18px; border-radius: 999px;
  font-size: 11.5px; color: #f7f7f7; letter-spacing: .2px;
  background: rgba(255, 255, 255, 0.044); border: 1px solid rgba(255, 255, 255, 0.121);
}
.badge i { width: 6px; height: 6px; border-radius: 50%; background: #efefef; box-shadow: 0 0 8px rgba(255, 255, 255, 0.495); }

.hero h1 { font-size: 46px; line-height: 1.06; letter-spacing: -1.2px; margin: 0 0 18px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #f7f7f7, #f7f7f7 55%, #efefef);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { color: #a9a9a9; font-size: 14.5px; line-height: 1.65; max-width: 500px; margin-bottom: 24px; }

.hero-actions { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
.btn.big { padding: 14px 20px; font-size: 13.5px; border-radius: 13px; }
.btn.big small { font-weight: 500; opacity: .75; font-size: 11px; margin-left: 2px; }

.hero-shot { position: relative; }
.shot-frame {
  position: relative;
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: #0d0d0d;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 50px rgba(255, 255, 255, 0.066);
  transform: perspective(1200px) rotateY(-2.2deg) rotateX(1.2deg);
  transition: transform .4s, box-shadow .5s, border-color .5s;
}
.shot-frame:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.shot-frame.surge {
  border-color: rgba(255, 255, 255, 0.303);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 110px rgba(255, 255, 255, 0.231);
}
.shot-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: #171717; }
.shot-bar i:nth-child(1) { background: #f7f7f7; }
.shot-bar i:nth-child(2) { background: #444444; }
.shot-bar i:nth-child(3) { background: #363636; }
.shot-bar span { margin-left: 8px; font-size: 10.5px; color: #797979; }
.shot-bar .live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 5px;
  font-style: normal; font-size: 9px; letter-spacing: 1px; text-transform: uppercase;
  color: #f7f7f7; padding: 2px 7px 2px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.066); border: 1px solid rgba(255, 255, 255, 0.154);
}
.shot-bar .live i {
  width: 5px; height: 5px; border-radius: 50%; background: #f1f1f1;
  box-shadow: 0 0 8px #f1f1f1; animation: livePulse 1.8s ease-in-out infinite;
}
@keyframes livePulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .3; transform: scale(.65); } }

.shot-note { margin-top: 12px; font-size: 11.5px; color: #6d6d6d; text-align: center; }

/* ---- живая демонстрация в hero ---- */
.shot-stage {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(10px, 1.5vw, 16px);
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(255, 255, 255, 0.094), transparent 62%),
    linear-gradient(165deg, #0d0d0d, #0d0d0d 55%, #0d0d0d);
}
.shot-stage::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(125% 95% at 50% 0%, #000 18%, transparent 76%);
  mask-image: radial-gradient(125% 95% at 50% 0%, #000 18%, transparent 76%);
}
.demo-glow {
  position: absolute; z-index: 0; pointer-events: none;
  inset: -45% -15% auto; height: 130%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.165), transparent 72%);
  filter: blur(28px); opacity: .5;
  animation: demoGlow 7s ease-in-out infinite;
}
@keyframes demoGlow {
  0%, 100% { transform: translate3d(-7%, 0, 0) scale(1); opacity: .42; }
  50% { transform: translate3d(9%, 7%, 0) scale(1.16); opacity: .72; }
}
.demo-scan { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.demo-scan::after {
  content: ""; position: absolute; left: 0; right: 0; height: 26%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.044), transparent);
  animation: demoScan 5s linear infinite;
}
@keyframes demoScan { 0% { top: -30%; } 100% { top: 106%; } }
.shot-stage::after {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 56%, rgba(255, 255, 255, 0.165), transparent 58%);
}
.shot-stage.blast::after { animation: demoBlast .72s ease-out; }
@keyframes demoBlast {
  0% { opacity: 0; transform: scale(.72); }
  32% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.3); }
}

.demo-app { position: relative; z-index: 3; }

.demo-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: clamp(8px, 1.1vw, 12px); }
.demo-title { font-size: clamp(13px, 1.25vw, 16px); font-weight: 700; letter-spacing: -.2px; color: #f7f7f7; }
.demo-sub { margin-top: 3px; font-size: clamp(9px, .82vw, 10.5px); line-height: 1.35; color: #7f7f7f; }
.demo-status {
  display: inline-flex; align-items: center; gap: 5px; flex: none; white-space: nowrap;
  font-size: clamp(8.5px, .78vw, 10px); color: #f7f7f7;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.055); border: 1px solid rgba(255, 255, 255, 0.132);
}
.demo-status i { width: 5px; height: 5px; border-radius: 50%; background: #3f3f3f; box-shadow: 0 0 7px #3f3f3f; }

.demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(5px, .7vw, 8px); }
.demo-card {
  position: relative; overflow: hidden;
  padding: clamp(7px, .85vw, 10px);
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(160deg, rgba(21, 21, 21, 0.92), rgba(12, 12, 12, 0.92));
  opacity: .6;
  transition: opacity .22s, border-color .22s, background .22s, box-shadow .22s, transform .22s;
}
.demo-card.on {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.275);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  background: linear-gradient(160deg, rgba(26, 26, 26, 0.95), rgba(12, 12, 12, 0.95));
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), inset 0 0 0 1px color-mix(in srgb, var(--accent) 14%, transparent);
  transform: translateY(-1px);
}
.demo-top { display: flex; align-items: center; gap: 6px; }
.demo-dot {
  width: 6px; height: 6px; flex: none; border-radius: 50%; background: #1c1c1c;
  transition: background .3s, box-shadow .3s;
}
.demo-card.on .demo-dot { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.demo-top b {
  font-size: clamp(9px, .95vw, 11.5px); font-weight: 600; color: #f7f7f7; letter-spacing: -.1px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.demo-card.on .demo-top b { color: #fff; }
.demo-switch {
  position: relative; flex: none; margin-left: auto;
  width: clamp(18px, 1.85vw, 24px); height: clamp(10px, 1.05vw, 13px);
  border-radius: 999px; background: #101010; border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background .3s, border-color .3s;
}
.demo-switch::after {
  content: ""; position: absolute; top: 1px; left: 1px; width: calc(50% - 2px); height: calc(100% - 4px);
  border-radius: 999px; background: #2b2b2b; transition: left .3s, background .3s;
}
.demo-card.on .demo-switch { background: var(--accent); border-color: var(--accent); }
.demo-card.on .demo-switch::after { left: calc(50% + 1px); background: #fff; }
.demo-card p {
  margin-top: 3px; font-size: clamp(8px, .78vw, 10px); line-height: 1.3; color: #7a7a7a;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.demo-card.on p { color: #f7f7f7; }
.demo-card.pop { animation: demoPop .42s cubic-bezier(.2, 1.3, .35, 1); }
@keyframes demoPop {
  0% { transform: scale(.95); }
  42% { transform: scale(1.045) translateY(-2px); }
  100% { transform: scale(1) translateY(-1px); }
}
.demo-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(112deg, transparent 30%, rgba(255, 255, 255, 0.22) 46%, transparent 62%);
  transform: translateX(-130%);
}
.demo-card.pop::after { animation: demoShine .6s ease-out; }
@keyframes demoShine { from { transform: translateX(-130%); } to { transform: translateX(130%); } }

.demo-foot {
  display: flex; align-items: center; gap: 9px;
  margin-top: clamp(8px, 1.1vw, 12px);
}
.demo-progress { display: flex; flex: 1; gap: 3px; }
.demo-progress i {
  flex: 1; height: 3px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  transition: background .25s, box-shadow .25s;
}
.demo-progress i.on {
  background: linear-gradient(90deg, #474747, #f7f7f7);
  box-shadow: 0 0 9px rgba(255, 255, 255, 0.44);
}

.demo-toast {
  position: absolute; z-index: 6; left: 50%; bottom: clamp(30px, 4vw, 44px);
  display: flex; align-items: center; gap: 6px;
  transform: translate(-50%, 10px); opacity: 0; pointer-events: none;
  padding: 6px 11px; border-radius: 8px; white-space: nowrap;
  font-size: clamp(9px, .82vw, 10.5px); color: #f7f7f7;
  background: rgba(14, 14, 14, 0.84);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  border: 1px solid var(--tone, rgba(255, 255, 255, 0.165));
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5), 0 0 22px -6px var(--tone, #f7f7f7);
  transition: opacity .22s, transform .22s;
}
.demo-toast::before {
  content: ""; width: 5px; height: 5px; flex: none; border-radius: 50%;
  background: var(--tone, #f7f7f7); box-shadow: 0 0 7px var(--tone, #f7f7f7);
}
.demo-toast.show { opacity: 1; transform: translate(-50%, 0); }

.demo-cursor {
  position: absolute; z-index: 8; top: 0; left: 0; width: 18px; height: 18px;
  opacity: 0; pointer-events: none;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.65));
  transition: transform .32s cubic-bezier(.16, 1, .3, 1), opacity .18s;
}
.demo-cursor.show { opacity: 1; }
.demo-cursor svg { display: block; transition: transform .12s; }
.demo-cursor.press svg { transform: scale(.78); }
.demo-cursor .ripple {
  position: absolute; left: -7px; top: -7px; width: 30px; height: 30px;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.75); opacity: 0;
}
.demo-cursor.press .ripple { animation: demoRipple .55s ease-out; }
@keyframes demoRipple {
  0% { opacity: .85; transform: scale(.25); }
  100% { opacity: 0; transform: scale(1.5); }
}

@media (prefers-reduced-motion: reduce) {
  .demo-glow, .demo-scan::after, .shot-bar .live i { animation: none; }
  .demo-cursor { transition: none; }
}

.section { margin-top: 64px; scroll-margin-top: 84px; }
.section-head { margin-bottom: 20px; }
.section-head h2 { font-size: 23px; letter-spacing: -.4px; margin-bottom: 6px; }
.section-head p { color: var(--dim); font-size: 13px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feature {
  background: linear-gradient(160deg, rgba(17, 17, 17, 0.9), rgba(12, 12, 12, 0.9));
  border: 1px solid var(--border); border-radius: 15px; padding: 18px;
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.feature:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.165); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35); }
.fico {
  width: 36px; height: 36px; border-radius: 10px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.055); border: 1px solid rgba(255, 255, 255, 0.11);
}
.feature h3 { font-size: 14px; margin-bottom: 6px; }
.feature p { color: #909090; font-size: 12.5px; line-height: 1.55; }

.plgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.pl {
  background: var(--panel); border: 1px solid var(--border); border-radius: 13px; padding: 15px;
  transition: border-color .18s, background .18s;
}
.pl:hover { border-color: rgba(255, 255, 255, 0.154); background: linear-gradient(150deg, rgba(255, 255, 255, 0.039), var(--panel)); }
.pl-head { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.pldot { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 9px var(--c); }
.pl h3 { font-size: 13px; }
.pl p { color: #909090; font-size: 12px; line-height: 1.55; }
.cmds { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.cmds span {
  font-size: 10.5px; color: #f7f7f7; padding: 3px 7px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.044); border: 1px solid rgba(255, 255, 255, 0.099);
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step {
  position: relative; padding: 20px; border-radius: 15px;
  background: linear-gradient(160deg, rgba(17, 17, 17, 0.9), rgba(10, 10, 10, 0.9));
  border: 1px solid var(--border);
}
.step b {
  display: block; font-size: 26px; letter-spacing: -1px; margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.248);
}
.step h3 { font-size: 14px; margin-bottom: 6px; }
.step p { color: #909090; font-size: 12.5px; line-height: 1.55; }

.download {
  position: relative; overflow: hidden; margin-top: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
  padding: 26px 28px; border-radius: 18px;
  background: linear-gradient(120deg, rgba(40, 40, 40, 0.55), rgba(14, 14, 14, 0.95) 60%);
  border: 1px solid rgba(255, 255, 255, 0.143);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 0 60px rgba(255, 255, 255, 0.033);
}
.download-glow {
  position: absolute; width: 320px; height: 320px; right: -60px; top: -140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.165), transparent 70%); pointer-events: none;
}
.download-copy { position: relative; }
.download-copy h3 { font-size: 20px; letter-spacing: -.3px; margin-bottom: 6px; }
.download-copy p { color: #f7f7f7; font-size: 12.5px; line-height: 1.6; max-width: 560px; }
.download-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; color: #797979; font-size: 11px; }
.download-action { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.dl-link { color: #f3f3f3; font-size: 11.5px; text-decoration: none; border-bottom: 1px dashed rgba(156, 156, 156, 0.4); }
.dl-link:hover { color: #f7f7f7; }

.account-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 18px; align-items: start; }
.account-copy { padding-top: 4px; }
.checks { list-style: none; display: grid; gap: 11px; }
.checks li {
  position: relative; padding-left: 26px; color: #a9a9a9; font-size: 13px; line-height: 1.5;
}
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.077); border: 1px solid rgba(255, 255, 255, 0.22);
}
.checks li::after {
  content: ""; position: absolute; left: 5px; top: 6px; width: 6px; height: 3px;
  border-left: 1.6px solid #f7f7f7; border-bottom: 1.6px solid #f7f7f7; transform: rotate(-45deg);
}
.account-note {
  margin-top: 18px; padding: 13px 15px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border);
  color: var(--dim); font-size: 12px; line-height: 1.6;
}
.auth-card { align-self: start; }

.site-foot {
  margin-top: 56px; padding: 22px 0 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: #6d6d6d; font-size: 12px;
}
.site-foot b { color: #f7f7f7; font-size: 12.5px; }
.site-links { display: flex; gap: 16px; }
.site-links a { color: #7f7f7f; text-decoration: none; }
.site-links a:hover { color: #f7f7f7; }

/* ======================= админка: файлы ======================= */

.file-current {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 16px; border-radius: 13px;
  background: rgba(255, 255, 255, 0.039);
  border: 1px solid rgba(255, 255, 255, 0.121);
}
.file-current-copy b { font-size: 13.5px; }
.file-meta { margin-top: 4px; color: var(--dim); font-size: 11.5px; word-break: break-word; }

.uploader { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drop {
  grid-row: span 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 132px; padding: 18px; border-radius: 14px; cursor: pointer;
  border: 1.5px dashed rgba(255, 255, 255, 0.193);
  background: rgba(255, 255, 255, 0.015);
  text-align: center; transition: border-color .15s, background .15s;
}
.drop:hover, .drop.over { border-color: rgba(255, 255, 255, 0.413); background: rgba(255, 255, 255, 0.039); }
.drop.has-file { border-style: solid; border-color: rgba(255, 255, 255, 0.303); }
.drop-icon {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.088); color: #f7f7f7; font-size: 18px; line-height: 1;
}
.drop b { font-size: 13px; word-break: break-all; }
.drop small { color: var(--dim); font-size: 11.5px; }

.upload-fields { display: flex; flex-direction: column; gap: 8px; }
.upload-fields .field { margin: 0; }
.upload-fields .btn { margin-top: 2px; }

.upload-progress { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; }
.upload-progress .bar {
  flex: 1; height: 7px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.07); overflow: hidden;
}
.upload-progress .bar i {
  display: block; height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, #efefef, #f7f7f7);
  transition: width .2s;
}
.upload-progress span { font-size: 11.5px; color: var(--dim); min-width: 36px; text-align: right; }

.file-chip { margin-left: 4px; font-size: 10px; padding: 2px 7px; }

@media (max-width: 760px) {
  .uploader { grid-template-columns: 1fr; }
  .drop { grid-row: auto; min-height: 110px; }
  .file-current { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .hero h1 { font-size: 38px; }
  .hero-shot { max-width: 640px; margin: 0 auto; width: 100%; }

  .features { grid-template-columns: repeat(2, 1fr); }
  .plgrid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .account-grid { grid-template-columns: 1fr; }

}

@media (max-width: 760px) {
  .menu > a:not(.btn) { display: none; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 31px; }
  .shot-frame { transform: none; }
  .demo-sub { display: none; }
  .demo-card p { white-space: normal; }
  .features, .plgrid { grid-template-columns: 1fr; }
  .download { flex-direction: column; align-items: flex-start; padding: 22px; }
  .download-action { width: 100%; align-items: stretch; }
  .download-action .btn { width: 100%; }
  .dl-link { text-align: center; }
  .site-foot { flex-direction: column; align-items: flex-start; }
}

/* ---------- монохром: чёрно-белая тема ---------- */
:root {
  --bg: #050505;
  --panel: #0e0e0e;
  --panel2: #141414;
  --border: rgba(255, 255, 255, .1);
  --text: #f5f5f5;
  --dim: #9a9a9a;
  --accent: #f5f5f5;
}

body {
  background: #050505;
}

.brand .logo, .ava {
  background: linear-gradient(145deg, #ffffff, #cfcfcf);
  color: #0a0a0a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 8px 22px -10px rgba(0, 0, 0, .9);
}

.btn {
  color: #0a0a0a;
  background: #f5f5f5;
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .8);
}
.btn:hover { background: #fff; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .95), inset 0 1px 0 #fff; }
.btn.ghost { color: var(--text); background: transparent; border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.btn.ghost:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .3); }
.btn.danger { color: var(--text); background: #191919; border: 1px solid rgba(255, 255, 255, .16); }

.check input { accent-color: #f5f5f5; }
