/* Crubs Visuals site — dark glass with the periwinkle accent of the client menu */
:root {
  --bg: #0b0c10;
  --bg-2: #0e0f14;
  --card: rgba(255, 255, 255, .035);
  --card-2: rgba(255, 255, 255, .06);
  --stroke: rgba(255, 255, 255, .08);
  --stroke-2: rgba(255, 255, 255, .14);
  --text: #e9eaf1;
  --text-2: #b4b6c2;
  --muted: #8d8f9b;
  --faint: #555762;
  --accent: #8c9eff;
  --accent-2: #b69cff;
  --grad: linear-gradient(135deg, #b69cff 0%, #8c9eff 100%);
  --glow: rgba(140, 158, 255, .35);
  --ok: #5dd39e;
  --danger: #ff6b7a;
  --radius: 18px;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: rgba(140, 158, 255, .35); }

/* backdrop: soft accent glows and drifting dots */
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.backdrop::before, .backdrop::after {
  content: ""; position: absolute; width: 900px; height: 900px; border-radius: 50%; filter: blur(120px); opacity: .22;
}
.backdrop::before { background: #6f7fe0; top: -420px; left: 50%; transform: translateX(-50%); }
.backdrop::after { background: #b69cff; bottom: -600px; right: -300px; opacity: .10; }
#dots { position: absolute; inset: 0; width: 100%; height: 100%; }

.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px) saturate(1.2);
  background: rgba(11, 12, 16, .62); border-bottom: 1px solid var(--stroke);
}
.header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 30px; height: 30px; filter: drop-shadow(0 0 10px rgba(80, 200, 240, .35)); }
.brand b { font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 4px; margin: 0 auto; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--stroke); }
.nav a { padding: 7px 16px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: 14px; transition: .2s; }
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); background: rgba(140, 158, 255, .16); box-shadow: inset 0 0 0 1px rgba(140, 158, 255, .35); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn.menu-btn { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px;
  border-radius: 999px; border: 1px solid var(--stroke-2); background: var(--card-2); cursor: pointer;
  font-weight: 600; font-size: 14px; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; white-space: nowrap;
}
.btn:hover { border-color: rgba(140, 158, 255, .5); background: rgba(140, 158, 255, .12); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--grad); color: #0b0c10; border: 0; box-shadow: 0 10px 30px -8px var(--glow); }
.btn.primary:hover { box-shadow: 0 14px 38px -8px rgba(140, 158, 255, .6); filter: brightness(1.05); }
.btn.small { height: 36px; padding: 0 16px; font-size: 13px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; }

/* ---------- common blocks ---------- */
.section { padding: 96px 0 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 13px; color: var(--text-2);
  background: var(--card); border: 1px solid var(--stroke); }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.1; }
h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
.accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--text-2); font-size: 17px; max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.card {
  background: var(--card); border: 1px solid var(--stroke); border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

/* ---------- hero ---------- */
.hero { padding: 84px 0 0; text-align: center; }
.hero h1 { margin: 22px auto 18px; max-width: 900px; }
.hero .lead { margin: 0 auto; }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.shot-frame {
  position: relative; margin: 56px auto 0; max-width: 1060px; border-radius: 22px; padding: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02)); border: 1px solid var(--stroke);
  box-shadow: 0 40px 120px -40px rgba(140, 158, 255, .45), 0 20px 60px rgba(0, 0, 0, .5);
}
.shot-frame > img { border-radius: 16px; width: 100%; }
.shot-frame::after { content: ""; position: absolute; inset: auto 10% -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; }
.stat { padding: 22px; text-align: center; }
.stat b { display: block; font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- advantages ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.adv { padding: 26px; position: relative; overflow: hidden; transition: border-color .25s, transform .25s; }
.adv:hover { border-color: rgba(140, 158, 255, .35); transform: translateY(-3px); }
.adv .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(140, 158, 255, .12); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(140, 158, 255, .3); }
.adv .ico svg { width: 22px; height: 22px; }
.adv p { color: var(--muted); margin: 8px 0 0; }

/* ---------- compare slider ---------- */
.compare { position: relative; margin: 44px auto 0; max-width: 1060px; border-radius: 22px; overflow: hidden; user-select: none;
  border: 1px solid var(--stroke); box-shadow: 0 30px 90px -30px rgba(140, 158, 255, .4); aspect-ratio: 2000 / 827; cursor: ew-resize; touch-action: pan-y; }
.compare > img, .compare .top > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.compare .tag { z-index: 2; }
.compare .bar { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; transform: translateX(-1px); box-shadow: 0 0 18px rgba(255, 255, 255, .6); }
.compare .knob { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; border-radius: 50%; transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, .9); color: #0b0c10; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .4); }
.compare .tag { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(11, 12, 16, .7); backdrop-filter: blur(8px); border: 1px solid var(--stroke-2); }
.compare .tag.l { left: 16px; color: var(--accent); }
.compare .tag.r { right: 16px; color: var(--text-2); }

/* ---------- in-game HUD (js/hud.js) ---------- */
/* a scene is laid out in its screenshot's pixels and scaled to the frame width (--s from a ResizeObserver) */
.hud-layer { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: scale(var(--s, .5)); pointer-events: none;
  font-family: "Inter", system-ui, sans-serif; color: #eceef5; font-size: 12px; line-height: 1.25; text-align: left; }
.hud-layer[data-w="2000"] { width: 2000px; height: 827px; }
.hud-layer[data-w="1600"] { width: 1600px; height: 900px; }
.hud-el { position: absolute; scale: var(--sc, 1); transform-origin: 0 0; filter: blur(var(--blur, 0)); opacity: var(--o, 1);
  translate: calc(var(--mx, 0) * var(--d, 0) * 1px) calc(var(--my, 0) * var(--d, 0) * 1px); transition: translate .9s cubic-bezier(.2, .7, .2, 1); }
.hud-el.o-tr { transform-origin: 100% 0; } .hud-el.o-bl { transform-origin: 0 100%; } .hud-el.o-br { transform-origin: 100% 100%; }
/* centred on x: the inner box moves back by half its own width */
.hud-el.o-bc { transform-origin: 0 100%; } .hud-el.o-tc { transform-origin: 0 0; }
.hud-el.o-bc > .h-in, .hud-el.o-tc > .h-in { position: relative; left: -50%; }
.reveal .h-in { opacity: 0; transform: translateY(16px) scale(.94); transition: opacity .7s ease, transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(.25s + var(--delay)); }
.reveal.in .h-in { opacity: 1; transform: none; }
.h-float { animation: hFloat var(--ft) ease-in-out calc(var(--delay) * -3) infinite; }
@keyframes hFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.compare .h-float { animation: none; }

.h-panel { position: relative; background: rgba(17, 18, 24, .74); border: 1px solid rgba(255, 255, 255, .075); border-radius: 7px;
  backdrop-filter: blur(8px) saturate(1.25); -webkit-backdrop-filter: blur(8px) saturate(1.25);
  box-shadow: 0 6px 22px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .05); font-weight: 600; white-space: nowrap; }
.h-ico { width: 12px; height: 12px; flex: none; color: var(--accent); }
.h-tex, .h-face { image-rendering: pixelated; width: 14px; height: 14px; flex: none; }
.acc { color: var(--accent); }
.h-panel .dim { color: #9a9daa; font-weight: 500; }
.h-head { display: flex; align-items: center; gap: 8px; padding: 8px 11px 7px; border-bottom: 1px solid rgba(255, 255, 255, .06); margin-bottom: 3px; }
.h-list { min-width: 158px; padding-bottom: 4px; }
.h-row { display: flex; align-items: center; gap: 8px; padding: 4px 11px; font-weight: 500; }
.h-row span { flex: 1; }
.h-row em { font-style: normal; color: #b9bccb; font-variant-numeric: tabular-nums; margin-left: 14px; }
.h-row em.key { color: var(--accent); font-weight: 600; }
.h-cd .h-row em { color: var(--accent); }

.h-wm { display: flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 9px; font-size: 12px; }
.h-wm .h-logo { width: 20px; height: 20px; margin-right: 2px; filter: drop-shadow(0 0 6px rgba(80, 200, 240, .45)); }
.h-wm i { width: 1px; height: 12px; background: rgba(255, 255, 255, .14); margin: 0 4px; }
.h-wm small { color: #6f7280; font-weight: 500; font-size: 10px; margin-left: -2px; }
.h-wm b { font-variant-numeric: tabular-nums; }

.h-keys { display: grid; grid-template-columns: repeat(6, 14.5px); gap: 5px; }
.h-keys b { grid-column: span 2; display: grid; place-items: center; height: 34px; border-radius: 7px; background: rgba(17, 18, 24, .74);
  border: 1px solid rgba(255, 255, 255, .075); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .12s, color .12s, transform .12s, box-shadow .12s; font-size: 12px; }
.h-keys b.on { background: rgba(140, 158, 255, .42); border-color: rgba(170, 182, 255, .6); transform: scale(.93); box-shadow: 0 0 16px rgba(140, 158, 255, .45); }
.h-keys .w { grid-column: 3 / span 2; }
.h-keys [data-k="a"] { grid-column: 1 / span 2; }
.h-keys .wide { grid-column: span 3; font-size: 11px; display: flex; align-items: center; justify-content: center; gap: 3px; }
.h-keys .space { grid-column: 1 / -1; height: 16px; }
.h-keys .space i { width: 26px; height: 2px; border-radius: 2px; background: #c9ccd8; }

.h-coords { padding: 8px 12px; display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.h-coords > div:first-child { display: flex; gap: 6px; }
.h-coords > div:first-child b:not(:first-child) { margin-left: 10px; }
.h-coords .dim { display: flex; align-items: center; gap: 6px; font-size: 11px; }

.h-armor { display: flex; gap: 10px; padding: 7px 10px 6px; }
.h-armor > div { display: grid; justify-items: center; gap: 2px; font-size: 10px; }
.h-armor .h-tex { width: 18px; height: 18px; }

.h-target { display: flex; gap: 10px; padding: 9px; width: 210px; }
.h-target .h-face { width: 38px; height: 38px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.h-target > div { flex: 1; display: grid; gap: 3px; }
.h-tt { display: flex; justify-content: space-between; align-items: center; }
.h-tt small { display: flex; align-items: center; gap: 4px; color: #6f7280; font-weight: 500; font-size: 10px; }
.h-tt small .h-ico { width: 10px; height: 10px; color: #6f7280; }
.h-bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.h-bar i { display: block; height: 100%; width: 100%; border-radius: 4px; background: linear-gradient(90deg, #b69cff, #8c9eff); transition: width .1s linear; }

.h-note { display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 12px; min-width: 190px; overflow: hidden; }
.h-note::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 3px; border-radius: 3px; background: var(--grad); }
.h-note .h-ico { width: 15px; height: 15px; margin-left: 4px; }
.h-note .dim { font-size: 11px; margin-top: 1px; }
/* comparison: the notification pops in, waits and leaves, over and over */
.h-cycle .h-panel { animation: hNote 7s cubic-bezier(.2, .8, .2, 1) 1.5s infinite both; }
@keyframes hNote { 0% { transform: translateX(120%); opacity: 0; } 8%, 70% { transform: none; opacity: 1; } 80%, 100% { transform: translateX(120%); opacity: 0; } }

/* ---------- menu showcase (hero) ---------- */
.show { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #0a0a10; isolation: isolate; }
.show-glow { position: absolute; inset: 0;
  background: radial-gradient(520px 340px at 50% 46%, rgba(120, 110, 255, .30), transparent 70%),
    radial-gradient(420px 260px at 18% 92%, rgba(182, 156, 255, .16), transparent 70%),
    radial-gradient(460px 300px at 88% 10%, rgba(140, 158, 255, .14), transparent 70%); }
.show-glow::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1.4px); background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(closest-side, transparent 40%, #000); mask-image: radial-gradient(closest-side, transparent 40%, #000); }
/* the outer ring of HUD dissolves into the frame edges */
.show-far { position: absolute; inset: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 13%, #000 87%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 13%, #000 87%, transparent);
  mask-composite: intersect; }
.show-gui { position: absolute; left: 300px; top: 150px; width: 1001px; height: 608px;
  transform: perspective(1800px) rotateY(calc(var(--mx, 0) * 2.5deg)) rotateX(calc(var(--my, 0) * -2.5deg)); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.show-gui img { width: 100%; height: 100%; border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), 0 50px 120px -20px rgba(0, 0, 0, .8), 0 0 140px -20px rgba(120, 110, 255, .45); }
.reveal .show-gui img { opacity: 0; transform: scale(.97); transition: opacity .8s ease .15s, transform 1s cubic-bezier(.2, .8, .2, 1) .15s; }
.reveal.in .show-gui img { opacity: 1; transform: none; }
/* on the dark stage the glass needs more body than over a game frame */
.show .h-panel, .show .h-keys b { background: rgba(30, 31, 44, .8); border-color: rgba(255, 255, 255, .09); }
.show .h-keys b.on { background: rgba(140, 158, 255, .42); }
.show-near .hud-el .h-panel { box-shadow: 0 18px 50px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06); background: rgba(19, 20, 28, .82); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.gallery figure { margin: 0; padding: 6px; border-radius: 16px; background: var(--card); border: 1px solid var(--stroke); }
.gallery img { border-radius: 11px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.gallery figcaption { padding: 10px 8px 6px; color: var(--text-2); font-size: 14px; }

/* ---------- CTA ---------- */
.cta { margin: 96px 0 0; padding: 56px 24px; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: -40% 20% auto; height: 300px; background: radial-gradient(closest-side, rgba(140, 158, 255, .35), transparent); }
.cta > * { position: relative; }
.cta .hero-cta { margin-top: 24px; }

/* ---------- features page ---------- */
.page-head { padding: 72px 0 0; }
.toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: 34px; flex-wrap: wrap; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--stroke); background: var(--card); cursor: pointer; color: var(--muted); font-weight: 600; font-size: 14px; }
.chip.on { color: var(--text); border-color: rgba(140, 158, 255, .45); background: rgba(140, 158, 255, .14); }
.chip small { color: var(--faint); font-weight: 500; margin-left: 4px; }
.search { position: relative; width: min(320px, 100%); }
.search input { width: 100%; height: 40px; padding: 0 16px 0 40px; border-radius: 999px; border: 1px solid var(--stroke); background: var(--card); outline: none; transition: border-color .2s; }
.search input:focus { border-color: rgba(140, 158, 255, .55); box-shadow: 0 0 0 4px rgba(140, 158, 255, .12); }
.search svg { position: absolute; left: 14px; top: 11px; width: 18px; height: 18px; color: var(--muted); }
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.mod { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.mod-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mod b { font-size: 15px; }
.mod p { margin: 0; color: var(--muted); font-size: 14px; }
.badge { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px;
  color: var(--accent); background: rgba(140, 158, 255, .12); }
.empty { color: var(--muted); text-align: center; padding: 60px 0; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; align-items: stretch; }
.plan { padding: 30px 26px; display: flex; flex-direction: column; position: relative; text-align: center; }
.plan.best { border-color: rgba(140, 158, 255, .5); background: linear-gradient(180deg, rgba(140, 158, 255, .14), rgba(140, 158, 255, .03));
  box-shadow: 0 30px 80px -30px rgba(140, 158, 255, .5); }
.plan .ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; background: var(--grad); color: #0b0c10; font-size: 12px; font-weight: 800; }
.plan h3 { font-size: 26px; }
.plan .price { font-size: 46px; font-weight: 800; letter-spacing: -.03em; margin: 18px 0 2px; }
.plan .price small { font-size: 18px; color: var(--muted); font-weight: 600; }
.plan .per-day { color: var(--muted); font-size: 14px; }
.plan .note { color: var(--text-2); margin: 16px 0 20px; min-height: 48px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; text-align: left; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; color: var(--text-2); font-size: 14px; }
.plan li svg { flex: none; width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.plan .btn { margin-top: auto; }
.faq { max-width: 760px; margin: 72px auto 0; display: grid; gap: 10px; }
.faq details { padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* ---------- auth ---------- */
.auth { max-width: 440px; margin: 72px auto 0; padding: 34px 30px; }
.auth h2 { font-size: 30px; text-align: center; }
.auth .sub { text-align: center; color: var(--muted); margin: 8px 0 24px; }
.launcher-auth .launcher-logo { width: 64px; height: 64px; margin: 0 auto 18px; filter: drop-shadow(0 0 18px rgba(80, 200, 240, .35)); }
.launcher-auth .sub b { color: var(--text); }
.launcher-auth .rows { margin-bottom: 22px; }
.launcher-auth .btn + .btn { margin-top: 10px; }
.launcher-auth .error { margin: 12px 0 0; text-align: center; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--stroke); margin-bottom: 20px; }
.tabs button { height: 38px; border: 0; background: none; border-radius: 999px; cursor: pointer; color: var(--muted); font-weight: 600; }
.tabs button.on { background: rgba(140, 158, 255, .18); color: var(--text); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; color: var(--text-2); }
.field input { height: 46px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--stroke); background: rgba(255, 255, 255, .03); outline: none; transition: .2s; }
.field input:focus { border-color: rgba(140, 158, 255, .6); box-shadow: 0 0 0 4px rgba(140, 158, 255, .12); }
.hint { font-size: 12px; color: var(--faint); }
.or { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 13px; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--stroke); }
.google { background: #fff; color: #1f1f1f; border: 0; }
.google:hover { background: #f1f1f4; }
.error { color: var(--danger); font-size: 14px; min-height: 20px; margin: 4px 0 10px; }
.demo-note { margin-top: 18px; padding: 12px 14px; border-radius: 12px; font-size: 13px; color: var(--text-2); background: rgba(255, 200, 87, .08); border: 1px solid rgba(255, 200, 87, .25); }

/* ---------- profile ---------- */
.profile { display: grid; grid-template-columns: 250px 1fr; gap: 28px; margin-top: 56px; align-items: start; }
.side { padding: 12px; position: sticky; top: 88px; }
.side .me { display: flex; gap: 12px; align-items: center; padding: 10px 10px 16px; border-bottom: 1px solid var(--stroke); margin-bottom: 8px; }
.avatar { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: var(--grad); color: #0b0c10; flex: none; }
.side .me b { display: block; }
.side .me span { color: var(--muted); font-size: 13px; }
.side a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--muted); font-weight: 500; transition: .15s; }
.side a svg { width: 19px; height: 19px; }
.side a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.side a.on { color: var(--text); background: rgba(140, 158, 255, .14); }
.side button.out { width: 100%; margin-top: 8px; }
.panel { padding: 30px; }
.panel h2 { font-size: 30px; margin-bottom: 6px; }
.panel .sub { color: var(--muted); margin: 0 0 26px; }
.rows { display: grid; }
.rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--stroke); }
.rows > div:last-child { border-bottom: 0; }
.rows span { color: var(--muted); }
.rows b { font-weight: 600; text-align: right; word-break: break-all; }
.status-on { color: var(--ok); }
.status-off { color: var(--muted); }
.dl { display: flex; gap: 18px; align-items: center; padding: 22px; margin-bottom: 18px; flex-wrap: wrap; }
.dl img { width: 56px; height: 56px; }
.dl .grow { flex: 1; min-width: 180px; }
.dl .grow span { color: var(--muted); font-size: 14px; }
.steps { display: grid; gap: 12px; margin-top: 26px; }
.steps .card { padding: 18px 20px; display: flex; gap: 14px; }
.steps i { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-weight: 800; color: var(--accent); background: rgba(140, 158, 255, .12); }
.steps p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- modal & toast ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(5, 6, 10, .7); backdrop-filter: blur(6px); animation: fade .2s; }
.modal .card { width: min(440px, 100%); padding: 28px; background: #121318; }
.modal h3 { font-size: 22px; margin-bottom: 8px; }
.modal p { color: var(--muted); }
.modal .actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 60; padding: 12px 20px; border-radius: 999px; background: #1a1b22; border: 1px solid rgba(140, 158, 255, .4); box-shadow: 0 12px 40px rgba(0, 0, 0, .5); animation: up .25s; font-size: 14px; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { opacity: 0; transform: translate(-50%, 10px); } }

/* ---------- footer ---------- */
.footer { margin-top: 110px; border-top: 1px solid var(--stroke); padding: 34px 0 40px; color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 20px; }
.footer a:hover { color: var(--text); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- small screens ---------- */
@media (max-width: 920px) {
  .grid3, .gallery, .modules, .plans { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .profile { grid-template-columns: 1fr; }
  .side { position: static; }
}
@media (max-width: 720px) {
  .nav { display: none; position: absolute; top: 68px; left: 16px; right: 16px; flex-direction: column; border-radius: 16px; background: #121318; }
  .nav.open { display: flex; }
  .btn.menu-btn { display: inline-flex; margin-left: auto; }
  .header-actions .btn.login-btn span { display: none; }
  .grid3, .gallery, .modules, .plans { grid-template-columns: 1fr; }
  .section { padding-top: 72px; }
  .compare { border-radius: 14px; }
  .compare .tag { top: 8px; padding: 3px 8px; font-size: 10.5px; }
  .compare .tag.l { left: 8px; } .compare .tag.r { right: 8px; }
  .compare .knob { width: 32px; height: 32px; }
  .shot-frame { padding: 5px; border-radius: 16px; }
  .show { border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
