@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #060609;
  --bg-2: #0a0a11;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f6f5fa;
  --muted: #cbc8db;
  --dim: #9c99ae;
  --acc: #9d7bff;
  --acc-strong: #7c5cff;
  --acc-soft: rgba(124, 92, 255, 0.14);
  --acc-text: #c9b8ff;
  --good: #34d399;
  --warn: #fbbf24;
  --bad: #f87171;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-d: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-b: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-m: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(124, 92, 255, 0.35); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 99px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.22); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.bg-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
  pointer-events: none;
}

.bg-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(38% 30% at 50% 50%, rgba(255, 240, 214, 0.18), transparent 62%),
    radial-gradient(58% 46% at 50% 50%, rgba(255, 176, 84, 0.10), transparent 68%),
    radial-gradient(95% 85% at 50% 50%, rgba(88, 66, 168, 0.14), transparent 74%),
    #000;
  animation: haloBreathe 10s ease-in-out infinite alternate;
}

@keyframes haloBreathe { from { opacity: 0.68; transform: scale(1); } to { opacity: 1; transform: scale(1.03); } }

.bg-frame {
  position: absolute;
  left: -3vw;
  top: -10vh;
  width: 106vw;
  height: 124vh;
  border: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.8s ease;
}

.bg-scene.ready .bg-frame { opacity: 1; }
.bg-scene.ready .bg-fallback { opacity: 0; transition: opacity 1.2s ease; }
.bg-scene.dimmed .bg-frame { opacity: 0.28; transition: opacity 0.7s ease; }

.bg-vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(92% 64% at 50% 32%, rgba(2, 2, 6, 0.55), transparent 64%);
  box-shadow: inset 0 0 190px 40px rgba(0, 0, 0, 0.72);
}

.bg-grain {
  position: fixed;
  inset: -50%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(6) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-3%, -2%); }
  80% { transform: translate(4%, 4%); }
}

.site { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-m);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--acc-text);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--acc);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--font-b);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text);
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--acc-strong);
  color: #fff;
  box-shadow: 0 10px 34px rgba(124, 92, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: skewX(-18deg);
  animation: sheen 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sheen { 0%, 55% { left: -130%; } 80%, 100% { left: 140%; } }

.btn-primary:hover {
  background: #8d70ff;
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(124, 92, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.btn-danger {
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.32);
  color: #fca5a5;
}

.btn-danger:hover { background: rgba(248, 113, 113, 0.2); transform: translateY(-1px); }

.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 8px; }
.btn-lg { height: 52px; padding: 0 30px; font-size: 16px; border-radius: 12px; }

.roblox-mark { flex-shrink: 0; }

.top-stack { display: contents; }

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(7, 7, 11, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.9);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.nav-brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-d); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.nav-brand img { width: 30px; height: 30px; }
.nav-brand .cloud { color: var(--acc-text); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.2s; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--acc); transition: width 0.3s var(--ease); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-user { display: flex; align-items: center; gap: 10px; }
.nav-user .avatar { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); }
.nav-user .name { font-size: 14px; font-weight: 500; }

.topbanner {
  position: relative;
  background: rgba(10, 10, 16, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  animation: bannerIn 0.7s var(--ease);
  overflow: hidden;
}

.topbanner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(157, 123, 255, 0.55), transparent);
}

@keyframes bannerIn { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.topbanner.closing { overflow: hidden; transition: height 0.45s var(--ease), opacity 0.4s; opacity: 0; }

.topbanner-inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 8px 40px; flex-wrap: wrap; }
.topbanner-icon img { width: 18px; height: 18px; }
.topbanner-inner > span:nth-child(2) { color: var(--muted); }
.topbanner-inner strong { color: var(--text); font-weight: 600; }

.topbanner-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 99px;
  color: var(--acc-text);
  font-size: 12.5px;
  font-weight: 500;
  padding: 4px 12px;
  transition: border-color 0.2s, background 0.2s;
}

.topbanner-link:hover { border-color: var(--acc); background: var(--acc-soft); }
.topbanner-link svg { transition: transform 0.25s; }
.topbanner-link:hover svg { transform: translateY(1px); }

.topbanner-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--dim);
  padding: 6px;
  border-radius: 8px;
  display: flex;
  transition: color 0.2s, background 0.2s;
}

.topbanner-close:hover { color: var(--text); background: var(--surface-2); }

.products-pop {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(0.98);
  width: 320px;
  background: #0d0d15;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  z-index: 60;
}

.products-pop.open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0) scale(1); }

.product-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; transition: background 0.2s; }
.product-item:hover { background: var(--surface-2); }
.product-item.current { background: var(--acc-soft); }
.product-glyph { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; background: var(--surface-2); color: var(--acc-text); flex-shrink: 0; }
.product-item.current .product-glyph { background: rgba(124, 92, 255, 0.25); color: #fff; }
.product-name { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.product-sub { display: block; font-size: 12px; color: var(--dim); }

.hero {
  min-height: calc(100svh - 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 110px 24px 110px;
}

.hero-copy { max-width: 880px; display: flex; flex-direction: column; align-items: center; }

.hero h1 {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(46px, 7.4vw, 96px);
  line-height: 1.01;
  letter-spacing: -0.035em;
  margin: 26px 0 28px;
  text-shadow: 0 4px 60px rgba(0, 0, 0, 0.9);
  color: #fff;
}

.hero h1 .hm {
  background: linear-gradient(92deg, #c5b2ff 0%, #efe9ff 55%, #c5b2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 30px rgba(124, 92, 255, 0.35));
}

.rise-line { display: block; overflow: hidden; }
.rise-line > span { display: block; transform: translateY(112%); transition: transform 1.1s var(--ease); }
body.loaded .rise-line > span { transform: translateY(0); }
.rise-line:nth-child(2) > span { transition-delay: 0.12s; }

.lede {
  font-size: 19px;
  color: #d9d6e8;
  max-width: 660px;
  line-height: 1.68;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.95), 0 0 90px rgba(0, 0, 0, 0.6);
}

.hero-ctas { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; justify-content: center; }

.hero-note { margin-top: 20px; font-size: 13.5px; color: #a7a4b8; }

.hero-trust { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }
.t-item { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-m); font-size: 12.5px; letter-spacing: 0.04em; color: #a7a4b8; }
.t-item svg { color: var(--acc-text); }
.roblox-mark { color: currentColor; }

.hero-console {
  width: min(620px, 100%);
  margin-top: 62px;
  border-radius: 16px;
  background: rgba(12, 12, 19, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.65), 0 0 90px rgba(124, 92, 255, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-align: left;
  overflow: hidden;
  animation: consoleFloat 7s ease-in-out infinite;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.6s;
}

.hero-console:hover { transform: translateY(-4px); border-color: rgba(157, 123, 255, 0.45); box-shadow: 0 50px 130px rgba(0, 0, 0, 0.7), 0 0 120px rgba(124, 92, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08); }

@keyframes consoleFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.hc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.hc-dots { display: inline-flex; gap: 6px; }
.hc-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.hc-dots i:first-child { background: rgba(248, 113, 113, 0.75); }
.hc-dots i:nth-child(2) { background: rgba(251, 191, 36, 0.75); }
.hc-dots i:last-child { background: rgba(52, 211, 153, 0.75); }

.hc-title { font-family: var(--font-m); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #a7a4b8; }

.hc-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-m); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #6ee7b7; }

.hc-body { padding: 16px 18px 18px; font-family: var(--font-m); font-size: 13px; line-height: 1.75; min-height: 158px; }

.hc-line { display: block; opacity: 0; transform: translateY(6px); animation: hcIn 0.45s var(--ease) forwards; white-space: pre-wrap; word-break: break-word; }

@keyframes hcIn { to { opacity: 1; transform: none; } }

.hc-cursor { display: inline-block; width: 8px; height: 15px; background: var(--acc); vertical-align: -2px; margin-left: 2px; animation: cursorBlink 1.05s steps(2) infinite; }

@keyframes cursorBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.hc-prompt { color: var(--acc-text); }
.hc-ok { color: #6ee7b7; }
.hc-out { color: #d9d6e8; }
.hc-dim { color: #8d8a9e; }

.fade-item { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
body.loaded .fade-item { opacity: 1; transform: none; }
body.loaded .fade-item.d1 { transition-delay: 0.35s; }
body.loaded .fade-item.d2 { transition-delay: 0.5s; }
body.loaded .fade-item.d3 { transition-delay: 0.65s; }

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--dim);
  font-family: var(--font-m);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.scroll-cue .line { width: 1px; height: 46px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-cue .line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--acc); animation: cueDrop 2.2s var(--ease) infinite; }

@keyframes cueDrop { 0% { top: -50%; } 60%, 100% { top: 110%; } }

.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(8, 8, 13, 0.6); backdrop-filter: blur(12px); overflow: hidden; position: relative; }

.ticker-track { display: flex; width: max-content; animation: ticker 42s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-item { display: inline-flex; align-items: center; gap: 26px; padding: 15px 13px; font-family: var(--font-m); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: #9c99ae; white-space: nowrap; transition: color 0.3s; }
.ticker:hover .ticker-item { color: #c5c2d4; }
.ticker-item::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--acc); opacity: 0.7; }

@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.stats-band { background: rgba(8, 8, 13, 0.66); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }

.stat-cell { padding: 38px 20px; text-align: center; border-left: 1px solid var(--line); }
.stat-cell:first-child { border-left: none; }

.stat-cell .num {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(180deg, #ffffff 20%, #beb3e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-cell .num em { font-style: normal; font-size: 0.55em; color: var(--acc-text); margin-left: 4px; }
.stat-cell .lbl { margin-top: 6px; font-family: var(--font-m); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }

.section { position: relative; padding: 118px 0; }

.section-tint {
  background: rgba(8, 8, 13, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head { max-width: 680px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

.section-head h2 {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 54px);
  letter-spacing: -0.028em;
  line-height: 1.06;
  margin: 20px 0 18px;
}

.section-head h2 .grad {
  background: linear-gradient(92deg, #c5b2ff 0%, #efe9ff 55%, #c5b2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head p { font-size: 17.5px; color: #c7c4d8; line-height: 1.7; }

[data-reveal] { opacity: 0; transform: translateY(30px); filter: blur(7px); transition: opacity 0.95s var(--ease), transform 0.95s var(--ease), filter 0.95s var(--ease); transition-delay: var(--rd, 0s); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }

.feature-card {
  grid-column: span 4;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s, box-shadow 0.4s;
}

.feature-card.wide { grid-column: span 8; }

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 200px at 20% 0%, rgba(124, 92, 255, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.feature-card:hover { transform: translateY(-5px); border-color: rgba(157, 123, 255, 0.4); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--acc-soft);
  border: 1px solid rgba(157, 123, 255, 0.3);
  color: var(--acc-text);
  margin-bottom: 20px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.feature-card:hover .feature-icon { transform: translateY(-2px) scale(1.05); box-shadow: 0 8px 28px rgba(124, 92, 255, 0.45); }

.feature-card h3 { font-family: var(--font-d); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }

.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }

.plan-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

.plan-card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5); }

.plan-card.popular {
  border-color: rgba(157, 123, 255, 0.55);
  background: rgba(124, 92, 255, 0.07);
  box-shadow: 0 0 0 1px rgba(157, 123, 255, 0.25), 0 24px 70px rgba(124, 92, 255, 0.16);
}

.plan-card.popular::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(115deg, rgba(173, 143, 255, 0.85), rgba(255, 255, 255, 0.05) 32%, rgba(157, 123, 255, 0.12) 58%, rgba(173, 143, 255, 0.85));
  background-size: 320% 320%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderFlow 7s linear infinite;
  pointer-events: none;
}

@keyframes borderFlow { 0% { background-position: 0% 0%; } 100% { background-position: 320% 0%; } }

.plan-card.popular:hover { box-shadow: 0 0 0 1px rgba(157, 123, 255, 0.4), 0 30px 80px rgba(124, 92, 255, 0.24); }

.plan-flag { position: absolute; top: -13px; left: 28px; }

.plan-name { font-family: var(--font-m); font-size: 12.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--dim); }

.plan-price { font-family: var(--font-d); font-weight: 700; font-size: 42px; letter-spacing: -0.03em; margin: 14px 0 6px; line-height: 1; }
.plan-price small { display: block; font-family: var(--font-m); font-weight: 400; font-size: 12px; letter-spacing: 0.08em; color: var(--dim); margin-top: 8px; text-transform: uppercase; }

.plan-desc { font-size: 14.5px; color: var(--muted); margin: 14px 0 22px; line-height: 1.65; }

.plan-specs { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; flex: 1; }
.plan-specs li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); }
.plan-specs svg { color: var(--acc); flex-shrink: 0; margin-top: 4px; }
.plan-specs strong { color: var(--text); font-weight: 600; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.step { position: relative; padding-top: 26px; border-top: 1px solid var(--line); }
.step .n { font-family: var(--font-m); font-size: 13px; color: var(--acc); letter-spacing: 0.14em; margin-bottom: 16px; display: block; }
.step h3 { font-family: var(--font-d); font-size: 21px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }

.faq { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 24px 4px;
  transition: color 0.25s;
}

.faq-q:hover { color: var(--acc-text); }
.faq-q .chev { flex-shrink: 0; color: var(--dim); transition: transform 0.35s var(--ease), color 0.25s; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); color: var(--acc); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-a > div { padding: 0 4px 26px; font-size: 15px; color: var(--muted); line-height: 1.75; max-width: 700px; }

.cta-band { text-align: center; padding: 30px 0 10px; }
.cta-band h2 { font-family: var(--font-d); font-weight: 700; font-size: clamp(34px, 5vw, 60px); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 16px; }
.cta-band p { font-size: 17px; color: var(--muted); margin-bottom: 34px; }

.footer { border-top: 1px solid var(--line); background: rgba(7, 7, 11, 0.82); backdrop-filter: blur(16px); padding: 64px 0 34px; }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 52px; }

.footer-brand img { width: 46px; height: 46px; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; color: var(--dim); line-height: 1.7; max-width: 300px; }

.footer-col h4 { font-family: var(--font-m); font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; font-weight: 500; }
.footer-col a { display: block; font-size: 14.5px; color: var(--muted); margin-bottom: 12px; transition: color 0.2s, transform 0.2s; width: fit-content; }
.footer-col a:hover { color: var(--acc-text); transform: translateX(3px); }

.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 26px; font-size: 12.5px; color: var(--dim); }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--text); }

.auth-wrap {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 60px;
  position: relative;
  z-index: 2;
}

.auth-card {
  width: 100%;
  max-width: 430px;
  background: rgba(11, 11, 17, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line-2);
  border-radius: 22px;
  padding: 42px 38px;
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.6);
  animation: cardIn 0.8s var(--ease);
}

@keyframes cardIn { from { opacity: 0; transform: translateY(26px) scale(0.98); } to { opacity: 1; transform: none; } }

.logo-lg { width: 64px; height: 64px; margin: 0 auto 22px; filter: drop-shadow(0 8px 30px rgba(124, 92, 255, 0.45)); }

.auth-card h1 { font-family: var(--font-d); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; text-align: center; margin-bottom: 10px; }
.auth-card .sub { font-size: 14.5px; color: var(--muted); text-align: center; margin-bottom: 28px; line-height: 1.6; }

.divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--dim); font-family: var(--font-m); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.auth-error { display: none; margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.32); color: #fca5a5; font-size: 13.5px; line-height: 1.5; }
.auth-error.show { display: block; animation: shake 0.4s; }

@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

.auth-legal { margin-top: 24px; font-size: 12.5px; color: var(--dim); line-height: 1.65; text-align: center; }
.auth-legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.auth-legal a:hover { color: var(--acc-text); }

.field { margin-bottom: 16px; }

.flabel { display: block; font-family: var(--font-m); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }

.input {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 15px;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.input::placeholder { color: var(--dim); }
.input:hover { border-color: var(--line-2); }
.input:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.22); background: rgba(0, 0, 0, 0.5); }

select.input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23817e90' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 38px;
  cursor: pointer;
}

select.input option { background: #101018; color: var(--text); }

.notice { padding: 13px 16px; border-radius: 12px; font-size: 14px; line-height: 1.6; border: 1px solid; margin-bottom: 14px; }
.notice a { text-decoration: underline; text-underline-offset: 3px; }
.notice-info { background: var(--acc-soft); border-color: rgba(157, 123, 255, 0.32); color: var(--acc-text); }
.notice-warn { background: rgba(251, 191, 36, 0.09); border-color: rgba(251, 191, 36, 0.3); color: #fcd34d; }
.notice-bad { background: rgba(248, 113, 113, 0.09); border-color: rgba(248, 113, 113, 0.3); color: #fca5a5; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}

.badge-ember { background: var(--acc-soft); border-color: rgba(157, 123, 255, 0.4); color: var(--acc-text); }
.badge-amber { background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.32); color: #fcd34d; }
.badge-good { background: rgba(52, 211, 153, 0.1); border-color: rgba(52, 211, 153, 0.32); color: #6ee7b7; }
.badge-warn { background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.32); color: #fcd34d; }
.badge-bad { background: rgba(248, 113, 113, 0.1); border-color: rgba(248, 113, 113, 0.32); color: #fca5a5; }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.dot-good { background: var(--good); }
.dot-warn { background: var(--warn); }
.dot-bad { background: var(--bad); }
.dot-idle { background: var(--dim); }

.pulse { animation: pulse 2.2s ease-out infinite; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.app-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--bg);
}

.app-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 480px at 50% -10%, rgba(124, 92, 255, 0.13), transparent 65%);
}

.app-shell {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: calc(100vh - 72px);
}

.app-side {
  width: 232px;
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  background: rgba(8, 8, 13, 0.5);
}

.side-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: none;
  background: none;
  color: var(--dim);
  font-size: 14.5px;
  font-weight: 500;
  text-align: left;
  transition: background 0.2s, color 0.2s;
}

.side-item svg { flex-shrink: 0; }
.side-item:hover { background: var(--surface); color: var(--text); }
.side-item.active { background: var(--acc-soft); color: var(--acc-text); }

.side-spacer { flex: 1; }

.app-main { flex: 1; min-width: 0; padding: 30px 26px 90px; max-width: 1080px; }

#adminWrap { position: relative; z-index: 2; }
#adminWrap .app-main { padding-top: 96px; max-width: 1240px; }

.app-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin: 8px 0 26px; flex-wrap: wrap; }
.app-head h1 { font-family: var(--font-d); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.app-head .sub { font-size: 14px; color: var(--dim); margin-top: 5px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.panel {
  background: rgba(13, 13, 19, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 22px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-family: var(--font-d); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.panel-body { padding: 22px; }

.kv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }

.kv { background: rgba(0, 0, 0, 0.28); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.kv .k { font-family: var(--font-m); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.kv .v { font-size: 15.5px; font-weight: 600; overflow-wrap: anywhere; }

.console { background: #09090f; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }

.console-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--line); font-family: var(--font-m); font-size: 12px; color: var(--dim); }

.console-body { padding: 14px; height: 340px; overflow-y: auto; font-family: var(--font-m); font-size: 13px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; color: #d8d5e4; }

.t-dim { color: var(--dim); }
.t-sys { color: var(--acc-text); }
.t-err { color: #fca5a5; }

.exec-row { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--line); }
.exec-row input { flex: 1; background: rgba(0, 0, 0, 0.45); border: 1px solid var(--line); border-radius: 9px; padding: 10px 13px; color: var(--text); font-family: var(--font-m); font-size: 13px; transition: border-color 0.25s, box-shadow 0.25s; }
.exec-row input:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.2); }

.table-wrap { overflow-x: auto; }

.tbl { width: 100%; border-collapse: collapse; min-width: 720px; }
.tbl th { font-family: var(--font-m); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); text-align: left; font-weight: 500; padding: 13px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 14px; vertical-align: middle; }
.tbl tbody tr { transition: background 0.2s; }
.tbl tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.tbl tbody tr:last-child td { border-bottom: none; }

.mono { font-family: var(--font-m); font-size: 12.5px; }
.strong { font-weight: 600; }

.uchip { display: flex; align-items: center; gap: 11px; }
.uchip img { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); }

.actions { display: flex; gap: 8px; flex-wrap: wrap; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }

.tab { background: none; border: none; border-bottom: 2px solid transparent; color: var(--dim); font-size: 14.5px; font-weight: 500; padding: 11px 18px; margin-bottom: -1px; transition: color 0.2s, border-color 0.2s; white-space: nowrap; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); border-bottom-color: var(--acc); }

.empty { text-align: center; padding: 54px 24px; color: var(--dim); }
.empty svg { margin: 0 auto 16px; opacity: 0.6; }
.empty h3 { font-family: var(--font-d); font-size: 19px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.empty p { font-size: 14px; max-width: 420px; margin: 0 auto; line-height: 1.65; }
.empty form { margin-top: 26px; }

.checkline { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); line-height: 1.55; cursor: pointer; }
.checkline input { accent-color: var(--acc-strong); width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; cursor: pointer; }
.checkline a { color: var(--acc-text); text-decoration: underline; text-underline-offset: 3px; }

.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(4, 4, 8, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.modal-mask.show { opacity: 1; visibility: visible; }

.modal {
  width: 100%;
  max-width: 580px;
  background: #0d0d15;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 50px 130px rgba(0, 0, 0, 0.7);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.4s var(--ease);
  max-height: 88vh;
  overflow-y: auto;
}

.modal-mask.show .modal { transform: none; }
.modal h3 { font-family: var(--font-d); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.modal p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; flex-wrap: wrap; }

.terms-box { background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; max-height: 250px; overflow-y: auto; margin: 18px 0; }
.terms-box h4 { font-family: var(--font-m); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--acc-text); margin: 12px 0 8px; font-weight: 500; }
.terms-box h4:first-child { margin-top: 0; }
.terms-box ul { padding-left: 18px; }
.terms-box li { font-size: 13.5px; color: var(--muted); margin: 6px 0; line-height: 1.55; }

.legal-page { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; padding: 130px 24px 90px; }
.legal-page h1 { font-family: var(--font-d); font-size: clamp(34px, 5vw, 50px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 14px; }
.legal-page .updated { font-family: var(--font-m); font-size: 12.5px; color: var(--dim); letter-spacing: 0.04em; margin-bottom: 40px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.legal-page h2 { font-family: var(--font-d); font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin: 42px 0 12px; }
.legal-page p { font-size: 15.5px; color: var(--muted); line-height: 1.78; margin: 12px 0; }
.legal-page ul { margin: 14px 0; }
.legal-page li { font-size: 15px; color: var(--muted); line-height: 1.75; margin: 9px 0 9px 4px; padding-left: 20px; position: relative; list-style: none; }
.legal-page li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); opacity: 0.75; }
.legal-page a { color: var(--acc-text); text-decoration: underline; text-underline-offset: 3px; }
.legal-page strong { color: var(--text); }

.legal-callout { background: var(--acc-soft); border: 1px solid rgba(157, 123, 255, 0.3); border-left: 3px solid var(--acc-strong); border-radius: 4px 14px 14px 4px; padding: 16px 20px; margin: 18px 0; }

.notfound { position: relative; z-index: 2; min-height: 74vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; }
.notfound .code { font-family: var(--font-m); font-size: 13px; letter-spacing: 0.34em; color: var(--acc); margin-bottom: 18px; }
.notfound h1 { font-family: var(--font-d); font-size: clamp(34px, 5.4vw, 58px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 14px; }
.notfound p { color: var(--muted); font-size: 16px; margin-bottom: 30px; }

.page-fade { animation: pageFade 0.7s var(--ease); }

@keyframes pageFade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1020px) {
  .feature-card, .feature-card.wide { grid-column: span 6; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .plans-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan-card.popular { transform: none; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .app-shell { flex-direction: column; }
  .app-side { width: 100%; position: static; height: auto; flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--line); padding: 10px 14px; }
  .side-item { width: auto; white-space: nowrap; }
  .side-spacer { display: none; }
  .app-main { padding: 22px 16px 70px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(3) { border-left: none; }
  .stat-cell:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .feature-card, .feature-card.wide { grid-column: span 12; }
  .hero { padding-top: 110px; }
  .hero-ctas { flex-direction: column; width: 100%; max-width: 320px; }
  .hero-ctas .btn { width: 100%; }
  .section { padding: 84px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .auth-card { padding: 34px 26px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .kv-grid { grid-template-columns: 1fr 1fr; }
  .topbanner-inner { font-size: 12.5px; padding: 8px 44px 8px 16px; justify-content: flex-start; }
  .scroll-cue { display: none; }
  .hero-console { margin-top: 42px; }
  .hc-body { min-height: 0; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal], .fade-item, .rise-line > span { opacity: 1 !important; transform: none !important; filter: none !important; }
  .bg-grain { animation: none; }
}
