/* ============================================================
   Vellum site — styles.css
   Dark-first design system with optional light theme.
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

::selection { background: rgba(168, 120, 242, .4); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #07080c; }
::-webkit-scrollbar-thumb { background: #1d2029; border-radius: 6px; border: 2px solid #07080c; }
::-webkit-scrollbar-thumb:hover { background: #2b3040; }
[hidden] { display: none !important; }

:root {
  --radius: 12px;
  --radius-lg: 18px;
}

html[data-theme="dark"] {
  --bg: #05060a;
  --bg-soft: #08090e;
  --panel: #0d0f16;
  --panel-2: #12141d;
  --border: #1e2130;
  --text: #f5f5f7;
  --muted: #939aa9;
  --muted-2: #6f7480;
  --accent: #c8a4f0;
  --accent-strong: #b98ee6;
  --accent-ink: #241436;
  --accent-soft: rgba(200, 164, 240, .14);
  --pill-bg: rgba(13, 14, 20, .72);
  --pill-bg-solid: rgba(10, 11, 16, .92);
  --pill-border: rgba(255, 255, 255, .08);
  --shadow-panel: 0 30px 70px rgba(0, 0, 0, .4);
}

html[data-theme="light"] {
  --bg: #f7f7f9;
  --bg-soft: #f1f1f4;
  --panel: #ffffff;
  --panel-2: #f3f3f7;
  --border: #e4e4ea;
  --text: #17181d;
  --muted: #5d6470;
  --muted-2: #8a8f9a;
  --accent: #8f5fe0;
  --accent-strong: #7d4bd0;
  --accent-ink: #ffffff;
  --accent-soft: rgba(143, 95, 224, .1);
  --pill-bg: rgba(255, 255, 255, .78);
  --pill-bg-solid: rgba(255, 255, 255, .94);
  --pill-border: rgba(20, 20, 30, .08);
  --shadow-panel: 0 30px 70px rgba(30, 30, 60, .12);
}

html { scroll-behavior: smooth; scroll-padding-top: 104px; }

body {
  font-family: "Onest", "SF Pro Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .25s ease, color .25s ease;
}

/* плёночное зерно — убирает «плоский ИИ-вид» */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 2000;
  pointer-events: none;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: rgba(200, 164, 240, .3); }

a { color: inherit; }
button { font-family: inherit; }

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

/* ---------- layout helpers ---------- */

.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.wrap.narrow { width: min(780px, 100% - 48px); }

.i {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.badge {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; font-weight: 500; letter-spacing: 2.4px; text-transform: uppercase;
  color: #9aa2b5;
}
.badge::before {
  content: ''; width: 26px; height: 1px; flex: none;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.badge svg { display: none; }
.badge-hero::before { background: linear-gradient(90deg, transparent, #FF8AE2, transparent); width: 40px; }
.badge-hero::after { content: ''; width: 40px; height: 1px; background: linear-gradient(90deg, transparent, #FF8AE2); }

h1, h2, h3 {
  font-family: "Unbounded", "Onest", "SF Pro Display", sans-serif;
  font-weight: 700;
  letter-spacing: -.01em;
}
.brand span { font-family: "Unbounded", "Onest", sans-serif; font-weight: 600; font-size: 14.5px; letter-spacing: .04em; }
.price, .pf-days { font-family: "Unbounded", "Onest", sans-serif; }
.feat h3 { font-size: 15px; }
.feat p { margin-top: 8px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.feat-num {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; font-weight: 500;
  color: var(--accent); opacity: .75;
  margin-bottom: 12px;
}
.hero-content h1 .grad {
  background: linear-gradient(115deg, #C9A2F2 5%, #FF8AE2 55%, #EDE6FF 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  text-shadow: none;
}
.feat-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; color: var(--accent);
  opacity: .85;
}

h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 14px 0 18px;
}

.lead {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 480px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15px; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }

.btn-white  { background: #ffffff; color: #101114; border-color: #ffffff; }
.btn-white:hover { background: #e7e7ec; border-color: #e7e7ec; }

.btn-slate  { background: rgba(44, 52, 70, .72); color: #eef1f7; border-color: rgba(255, 255, 255, .07); }
.btn-slate:hover { background: rgba(54, 63, 84, .85); }

.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-strong); }

.btn-dark { background: var(--panel-2); color: var(--text); border-color: var(--border); }
.btn-dark:hover { border-color: var(--muted-2); }

.btn-block { width: 100%; }

/* ============================================================
   NAVBAR
   ============================================================ */

.nav {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 60;
  display: flex; flex-direction: column; align-items: center;
  pointer-events: none;
}
.nav-inner {
  position: relative;
  pointer-events: auto;
  width: min(1120px, calc(100% - 28px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--pill-bg);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--pill-border);
  border-radius: 18px;
  padding: 9px 10px 9px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  transition: background .25s ease;
}
.nav.is-scrolled .nav-inner { background: var(--pill-bg-solid); }

.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font-weight: 600; font-size: 16.5px;
}
.logo-img { width: 26px; height: 26px; filter: drop-shadow(0 0 8px rgba(200, 164, 240, .45)); }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 11px;
  color: var(--muted); text-decoration: none;
  font-size: 14.5px; font-weight: 500;
  transition: color .15s ease, background .15s ease;
}
.nav-links a .i { width: 16px; height: 16px; }
.nav-links a:hover { color: var(--text); background: rgba(127, 127, 127, .09); }
.nav-links a.is-active { color: var(--text); }

.nav-right { display: flex; align-items: center; gap: 8px; }

.theme-toggle {
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--pill-border);
  background: rgba(127, 127, 127, .09);
  color: var(--text); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.theme-toggle:hover { background: rgba(127, 127, 127, .16); }
.theme-toggle .i { width: 17px; height: 17px; }
html[data-theme="dark"] .theme-toggle .sun { display: none; }
html[data-theme="light"] .theme-toggle .moon { display: none; }

.btn-signin { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn-signin .i { width: 15px; height: 15px; }
.btn-signin.is-user { color: #FF8AE2; border-color: rgba(255, 122, 224, .35); }

.profile-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 264px;
  background: rgba(22, 24, 32, .97);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 30px rgba(255, 90, 200, .08);
  z-index: 80;
  opacity: 0; transform: scale(.95) translateY(-8px);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s cubic-bezier(.22, .9, .34, 1);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.profile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.pm-top { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.pm-avatar {
  width: 46px; height: 46px; border-radius: 12px; object-fit: cover;
  box-shadow: 0 0 0 2px rgba(200, 164, 240, .35), 0 0 20px rgba(200, 164, 240, .25);
  transition: transform .2s ease;
}
.pm-avatar:hover { transform: scale(1.06) rotate(-2deg); }
.pm-id b { display: block; color: #fff; font-size: 14.5px; }
.pm-id .pm-role { font-size: 10px; }
.pm-ids { display: flex; gap: 8px; margin-bottom: 8px; }
.pm-ids > div {
  flex: 1; background: rgba(255, 255, 255, .04);
  border-radius: 10px; padding: 8px 10px;
}
.pm-ids span { display: block; font-size: 9.5px; color: #8d93a3; letter-spacing: .4px; text-transform: uppercase; }
.pm-ids b { font-size: 13px; color: #fff; }
.pm-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding-bottom: 10px; margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.pm-head b { color: #fff; font-size: 14px; }
.pm-role {
  font-size: 10px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  color: #FF8AE2; background: rgba(255, 122, 224, .14);
  padding: 3px 9px; border-radius: 999px;
}
.pm-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: #B9A8D6; padding: 5px 4px;
}
.pm-row b { color: #fff; font-weight: 600; }
.pm-link {
  display: flex; align-items: center; width: 100%;
  background: none; border: none; text-align: left;
  color: #e6e9f0; font-family: inherit; font-size: 13px; font-weight: 500;
  padding: 9px 10px; border-radius: 8px;
  cursor: pointer; text-decoration: none; margin-top: 2px;
  transition: background .15s ease;
}
.pm-link:hover { background: rgba(255, 255, 255, .07); }
.pm-logout { color: #ff9a9a; margin-top: 6px; }
.pm-logout:hover { background: rgba(255, 90, 90, .1); }

.hamburger {
  display: none;
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--pill-border);
  background: rgba(127, 127, 127, .09);
  color: var(--text); cursor: pointer;
  align-items: center; justify-content: center;
}
.hamburger .ic-close { display: none; }
.nav.is-open .hamburger .ic-open { display: none; }
.nav.is-open .hamburger .ic-close { display: block; }

.mobile-menu {
  pointer-events: auto;
  width: min(1120px, calc(100% - 28px));
  margin-top: 8px;
  background: var(--pill-bg-solid);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--pill-border);
  border-radius: 16px;
  padding: 0;
  max-height: 0; opacity: 0; overflow: hidden;
  display: flex; flex-direction: column;
  transition: max-height .28s ease, opacity .28s ease, padding .28s ease;
}
.nav.is-open .mobile-menu { max-height: 300px; opacity: 1; padding: 8px; }
.mobile-menu a {
  padding: 13px 14px; border-radius: 10px;
  color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500;
}
.mobile-menu a:hover { background: rgba(127, 127, 127, .09); }

/* ============================================================
   HERO — night scene
   ============================================================ */

.hero {
  position: relative;
  min-height: max(660px, 94svh);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.scene {
  position: absolute; inset: 0;
  background: #0b0a14;
}
.scene-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 22%;
  opacity: .6; transform: scale(1.07);
}
.scene-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 9, 20, .42) 0%, rgba(12, 10, 24, .62) 52%, #0a0a0b 100%),
    radial-gradient(85% 65% at 50% 42%, transparent 32%, rgba(7, 6, 14, .5) 100%);
}

/* --- 3D V (scroll-driven rotation) --- */
.v3d {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  perspective: 1400px;
  pointer-events: none;
}
.v3d::before {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: min(88vmin, 760px); aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(143, 95, 224, .4), rgba(118, 69, 213, .14) 46%, transparent 74%);
  filter: blur(34px);
}
.v3d-spin {
  position: relative;
  width: min(76vw, 430px); aspect-ratio: 1 / 1.06;
  transform-style: preserve-3d;
  will-change: transform;
}
.v3d-float {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  animation: v3d-bob 7s ease-in-out infinite;
}
.v3d-layer {
  position: absolute; inset: 0;
  clip-path: polygon(0% 0%, 26% 0%, 50% 72%, 74% 0%, 100% 0%, 62% 100%, 38% 100%);
}
.v3d-front { opacity: .97; }
@keyframes v3d-bob { 0%, 100% { transform: translateY(-9px); } 50% { transform: translateY(10px); } }

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 150px 24px 130px;
}
.hero-content h1 {
  font-size: clamp(2.75rem, 7.5vw, 5.25rem);
  line-height: 1.04;
  letter-spacing: -.03em;
  color: #ffffff;
  text-shadow: 0 6px 44px rgba(5, 3, 12, .8), 0 2px 14px rgba(5, 3, 12, .55);
}
.badge-hero { color: #f0f3fa; }
.badge-hero .i { color: #f0f3fa; }
.sub {
  color: #b9c2d4;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  max-width: 560px;
  margin: 22px auto 30px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   SECTIONS
   ============================================================ */

.section-dark { background: var(--bg); }
.features { padding: 130px 0 110px; }
.guisection { padding: 130px 0 110px; }
.pricing  { padding: 130px 0 100px; }
.documents { padding: 130px 0 140px; }

.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- features: minimal grid ---------- */

.feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-top: 52px;
}
.feat {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 24px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .25s ease;
}
.feat:hover {
  transform: translateY(-4px);
  border-color: var(--muted-2);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .22);
}
.feat-ico {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feat-ico .i { width: 19px; height: 19px; }
.feat h3 { font-size: 16px; letter-spacing: -.01em; }
.feat p { margin-top: 8px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* ---------- socials ---------- */

.socials { display: flex; gap: 10px; justify-content: center; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--panel); border: 1px solid var(--border);
  color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .15s ease, border-color .15s ease;
}
.icon-btn:hover { transform: translateY(-2px); border-color: var(--muted-2); }

/* ============================================================
   PRICING
   ============================================================ */

.tabs {
  display: flex; gap: 22px;
  margin: 28px 0 30px;
  border-bottom: 1px solid var(--border);
}
.tab {
  display: flex; align-items: center; gap: 8px;
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 15px; font-weight: 500;
  padding: 12px 2px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .15s ease, border-color .15s ease;
}
.tab .i { width: 16px; height: 16px; color: var(--accent); }
.tab:hover { color: var(--text); }
.tab.is-active { color: var(--text); border-color: var(--accent); }

.tabpanel[hidden] { display: none !important; }

.plans-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px; align-items: stretch;
}
.plan-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 10px 10px 14px;
  display: flex; flex-direction: column;
}
.plan-card.is-recommended {
  border-color: rgba(200, 164, 240, .55);
  box-shadow: 0 0 0 1px rgba(200, 164, 240, .22), var(--shadow-panel);
}
.ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: #e9d7fb; color: #3d2168;
  font-size: 12px; font-weight: 600;
  padding: 5px 14px; border-radius: 999px;
  z-index: 2; white-space: nowrap;
}
.plan-art {
  position: relative;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
}
.plan-art img { display: block; width: 100%; height: 118px; object-fit: cover; object-position: 50% 40%; }
.pa-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 8, 14, .5) 100%); }

.plan-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 10px; padding: 16px 8px 12px;
}
.plan-head h3 { font-size: 22px; letter-spacing: -.01em; }
.ver { color: var(--muted); font-size: 13px; margin-top: 4px; }
.plan-price { text-align: right; display: flex; flex-direction: column; gap: 2px; }
.per-day { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.per-day .save { color: var(--accent); font-style: normal; }
.price { font-size: 21px; font-weight: 700; letter-spacing: .02em; }

.plan-list {
  list-style: none;
  border-top: 1px dashed var(--border);
  padding: 14px 8px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.plan-list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text); opacity: .88; }
.plan-list .i { width: 16px; height: 16px; color: var(--accent); }

.plan-card .btn-block { margin-top: auto; }

.addons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.support-card {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.sc-note { font-size: 12px; color: var(--muted-2); margin-bottom: 10px; }
.sc-text { display: flex; flex-direction: column; }
.sc-text .plan-head { padding: 4px 0 10px; }
.sc-text .plan-list { padding: 12px 0 16px; }
.sc-text .btn { margin-top: auto; }
.sc-art { display: flex; flex-direction: column; gap: 12px; }
.sc-art img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); display: block; }

/* ============================================================
   DOCUMENTS / FAQ
   ============================================================ */

.faq { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item.is-open { border-color: var(--muted-2); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: none; border: none; cursor: pointer;
  color: var(--text); font-size: 15.5px; font-weight: 500;
  padding: 18px; text-align: left;
}
.faq-q .chev { width: 18px; height: 18px; color: var(--muted); transition: transform .25s ease; flex: none; }
.faq-item.is-open .chev { transform: rotate(180deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq-item.is-open .faq-a { max-height: 320px; }
.faq-a-inner { overflow: hidden; min-height: 0; padding: 0 18px 18px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.faq-a-inner code {
  background: var(--panel-2); border: 1px solid var(--border);
  border-radius: 5px; padding: 1px 6px; font-size: 13px;
}

/* ============================================================
   GUI REPLICA — the Vellum in-game menu
   ============================================================ */

.cg-stage {
  position: relative;
  margin: 54px auto 0;
  width: min(1180px, 100% - 48px);
  min-height: 470px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .5), 0 0 90px rgba(255, 90, 200, .08);
}
.cg-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 18%;
  filter: blur(5px) saturate(1.05) brightness(.85);
  transform: scale(1.06);
}
.cg-tint {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14, 10, 26, .5) 0%, rgba(12, 9, 22, .66) 60%, rgba(8, 6, 16, .82) 100%);
}
.cg-glow {
  position: absolute; left: 50%; top: 54%;
  width: min(62%, 780px); height: 400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 90, 200, .17), rgba(168, 90, 230, .1) 55%, transparent 75%);
  filter: blur(34px);
}
.cg-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(110% 90% at 50% 45%, transparent 40%, rgba(5, 4, 10, .72) 100%);
}

.cg-hud { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.cg-watermark {
  position: absolute; top: 14px; left: 16px;
  display: flex; align-items: center; gap: 7px;
  padding: 7px 11px;
  background: rgba(14, 10, 20, .72);
  border: 1px solid rgba(255, 122, 224, .35);
  border-radius: 11px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 0 22px rgba(255, 90, 200, .22);
}
.cg-watermark img { width: 18px; height: 18px; filter: drop-shadow(0 0 6px rgba(255, 90, 200, .5)); }
.cg-watermark b { font-size: 12px; font-weight: 700; color: #fff; }
.cg-wm-ver { font-size: 10px; font-weight: 700; color: #FF8AE2; }
.cg-wm-role {
  font-size: 10px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #FF7BE0, #A878F2);
  padding: 1px 7px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .4px;
}
.cg-wm-fps { font-size: 10px; font-weight: 600; color: rgba(255, 255, 255, .55); }

.cg-arraylist {
  position: absolute; top: 14px; right: 16px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 1px;
}
.cg-arraylist span {
  font-size: 10.5px; font-weight: 700; color: #FF8AE2;
  text-shadow: 0 0 12px rgba(255, 90, 200, .55);
  padding: 1.5px 7px 1.5px 9px;
  border-right: 2px solid rgba(255, 122, 224, .8);
  background: rgba(14, 10, 20, .45);
  border-radius: 3px 0 0 3px;
}

.cg-coords {
  position: absolute; left: 16px; bottom: 14px;
  font-size: 10.5px; font-weight: 600; color: rgba(255, 255, 255, .6);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .8);
}

.cg-panels {
  position: relative; z-index: 2;
  display: flex; gap: 12px;
  justify-content: flex-start; align-items: flex-start;
  padding: 66px 150px 70px 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cg-panels::-webkit-scrollbar { height: 0; }
.cg-panel {
  flex: none; width: 208px;
  background: linear-gradient(180deg, rgba(32, 24, 46, .86), rgba(20, 15, 32, .9));
  border: 1px solid rgba(255, 255, 255, .1);
  border-top-color: rgba(255, 255, 255, .18);
  border-radius: 14px;
  -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15);
  padding: 8px 7px 7px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.cg-panel:hover { transform: translateY(-4px); box-shadow: 0 42px 75px rgba(0, 0, 0, .6), 0 0 44px rgba(255, 90, 200, .1); }
.cg-panel:nth-child(2) { margin-top: 16px; }
.cg-panel:nth-child(3) { margin-top: 6px; }
.cg-panel:nth-child(4) { margin-top: 24px; }
.cg-panel:nth-child(5) { margin-top: 10px; }
.cg-head { display: flex; align-items: center; gap: 7px; padding: 3px 5px 8px; }
.cg-hicon {
  width: 22px; height: 22px; flex: none;
  border-radius: 7px;
  background: rgba(255, 122, 224, .14);
  display: inline-flex; align-items: center; justify-content: center;
  color: #FF8AE2;
}
.cg-hicon svg { width: 12px; height: 12px; }
.cg-htitle { flex: 1; font-size: 10px; font-weight: 700; letter-spacing: 1.4px; color: #C7B8E0; white-space: nowrap; }
.cg-count { font-size: 9px; font-weight: 600; color: rgba(255, 255, 255, .35); }

.cg-row {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 6px; border-radius: 8px;
  transition: background .15s ease, opacity .2s ease;
  flex-wrap: wrap;
}
.cg-row:hover { background: rgba(255, 255, 255, .05); }
.cg-row.on {
  background: linear-gradient(90deg, rgba(255, 122, 224, .15), rgba(190, 80, 200, .08));
  box-shadow: inset 2px 0 0 #FF7BE0;
}
.cg-row.dim { opacity: .22; }
.cg-name {
  flex: 1; min-width: 0;
  font-size: 11px; font-weight: 600; color: #EAE6F2;
  cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cg-row.on .cg-name { color: #FF8AE2; }
.cg-chev { background: none; border: none; cursor: pointer; padding: 2px; color: #8d7cae; display: flex; }
.cg-chev svg { width: 9px; height: 9px; transition: transform .2s ease; }
.cg-row.open .cg-chev svg { transform: rotate(180deg); }
.cg-tog {
  position: relative; width: 30px; height: 16px; flex: none;
  border-radius: 8px; background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .08);
  cursor: pointer; padding: 0;
  transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cg-tog::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: 11px; height: 11px; border-radius: 6px;
  background: #948CA1;
  transition: left .22s cubic-bezier(.34, 1.56, .64, 1), background .2s ease;
}
.cg-tog:active::after { width: 14px; }
.cg-tog.on {
  background: linear-gradient(135deg, #FF7BE0, #E14FC0);
  border-color: rgba(255, 255, 255, .25);
  box-shadow: 0 0 14px rgba(255, 90, 200, .55);
}
.cg-tog.on::after { left: 16px; background: #fff; }
.cg-set { width: 100%; overflow: hidden; max-height: 0; transition: max-height .25s ease; }
.cg-row.open .cg-set { max-height: 64px; }
.cg-set-inner { padding: 2px 2px 6px; display: flex; flex-direction: column; gap: 6px; }
.cg-chips { display: flex; gap: 4px; flex-wrap: wrap; }
.cg-chip {
  height: 16px; padding: 0 7px; border-radius: 8px;
  border: none; cursor: pointer;
  background: rgba(255, 255, 255, .07);
  color: #B9A8D6; font-family: inherit; font-weight: 600; font-size: 8.5px;
  transition: background .15s ease, color .15s ease;
}
.cg-chip:hover { background: rgba(255, 255, 255, .13); }
.cg-chip.sel { background: linear-gradient(135deg, #FF7BE0, #E14FC0); color: #fff; box-shadow: 0 0 8px rgba(255, 90, 200, .4); }
.cg-slider { position: relative; height: 3px; border-radius: 2px; background: #241C31; cursor: pointer; touch-action: none; }
.cg-slider .cg-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 50%; border-radius: 2px; background: linear-gradient(90deg, #FF7BE0, #E14FC0); }
.cg-slider .cg-knob { position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 0 8px rgba(255, 90, 200, .8); }

.cg-search {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  z-index: 3;
  display: flex; align-items: center; gap: 8px;
  width: 250px; height: 30px;
  padding: 0 12px;
  background: rgba(16, 12, 24, .82);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 15px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cg-search:focus-within { border-color: rgba(255, 122, 224, .55); box-shadow: 0 0 16px rgba(255, 90, 200, .25); }
.cg-search svg { width: 12px; height: 12px; color: #B9A8D6; }
.cg-search input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: #fff; font-family: inherit; font-weight: 500; font-size: 11px; }
.cg-search input::placeholder { color: rgba(255, 255, 255, .4); }

@media (max-width: 1080px) {
  .cg-panels { padding: 66px 24px 70px; }
}
@media (max-width: 640px) {
  .cg-stage { min-height: 480px; }
  .cg-panel { width: 190px; }
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer { border-top: 1px solid var(--border); padding: 56px 0 28px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .6fr .6fr; gap: 40px; }
.f-brand p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 14px 0 18px; max-width: 320px; }
.f-brand .socials { justify-content: flex-start; }
.f-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.f-col h4 { font-size: 13px; color: var(--muted-2); font-weight: 600; margin-bottom: 4px; }
.f-col a { color: var(--text); opacity: .85; text-decoration: none; font-size: 14px; }
.f-col a:hover { opacity: 1; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted-2); font-size: 12.5px;
}

/* ============================================================
   AUTH PAGE (login.html)
   ============================================================ */

body.auth { min-height: 100svh; }

.auth-bg { position: fixed; inset: 0; z-index: 0; }
.auth-bg .scene { position: absolute; }
.auth-overlay { position: fixed; inset: 0; background: rgba(6, 8, 14, .86); z-index: 1; }

.auth-wrap {
  position: relative; z-index: 2;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 140px 24px 60px;
}
.auth-badge {
  display: inline-flex; align-items: center; gap: 9px;
  color: #eef1f7; font-size: 13.5px; font-weight: 600;
}
.auth-badge .i { width: 16px; height: 16px; color: #c8a4f0; }
.auth-title {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  letter-spacing: -.03em;
  color: #ffffff;
  margin: 10px 0 30px;
  text-align: center;
}
.auth-form { width: min(370px, 100%); display: flex; flex-direction: column; }

.field-label {
  display: flex; align-items: center; gap: 7px;
  color: #c3c9d6; font-size: 13.5px; font-weight: 500;
  margin: 10px 0 6px;
}
.field-label .i { width: 15px; height: 15px; }

.input-wrap { position: relative; }
.input {
  width: 100%; height: 48px;
  background: rgba(22, 24, 30, .8);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px;
  color: #f5f5f7; font-size: 15px;
  padding: 0 44px 0 14px;
  outline: none;
  transition: border-color .15s ease;
}
.input:focus { border-color: rgba(200, 164, 240, .6); }
.eye-btn {
  position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px;
  background: none; border: none; cursor: pointer;
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
}
.eye-btn .i { width: 17px; height: 17px; }
.eye-btn .ic-eye-off { display: none; }

.forgot {
  align-self: flex-end;
  display: flex; align-items: center; gap: 6px;
  color: var(--muted); font-size: 13.5px; text-decoration: none;
  margin: 10px 0 4px;
}
.forgot:hover { color: #f5f5f7; }
.forgot .i { width: 14px; height: 14px; }

.captcha {
  position: relative;
  margin-top: 16px;
  background: rgba(22, 24, 30, .7);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  padding: 14px 16px;
}
.captcha.error { border-color: rgba(229, 90, 90, .75); animation: shake .3s ease; }
.captcha.ok { border-color: rgba(159, 216, 178, .55); }
.cap-row { display: flex; align-items: center; gap: 10px; }
.cap-title { font-size: 13.5px; color: #d6d9e2; flex: 1; }
.cap-mark { font-size: 16px; font-weight: 700; line-height: 1; }
.cap-mark.ok { color: #9fd8b2; text-shadow: 0 0 10px rgba(159, 216, 178, .5); }
.cap-mark.bad { color: #ff9a9a; text-shadow: 0 0 10px rgba(255, 90, 90, .5); }
.cap-btn {
  width: 100%; height: 40px; margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  color: #e6e9f0;
  font-family: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.cap-btn:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); }
.cap-status { font-size: 12px; color: #8d93a3; }
.cap-status.ok { color: #9fd8b2; font-weight: 600; }
.cap-progress {
  height: 4px; border-radius: 2px;
  background: #1a1c24; overflow: hidden; margin-top: 10px;
}
.cap-progress b {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, #FF7BE0, #A878F2);
  transition: width .15s ease;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.divider {
  display: flex; align-items: center; gap: 10px;
  color: var(--muted); font-size: 13px;
  margin: 18px 0;
}
.divider::before, .divider::after {
  content: ''; flex: 1;
  border-top: 1.5px dashed rgba(255, 255, 255, .16);
}

.btn-submit {
  height: 50px; border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .09);
  color: #e8eaf0; font-size: 15px; font-weight: 500;
  cursor: pointer;
  transition: background .18s ease;
}
.btn-submit:hover { background: rgba(255, 255, 255, .13); }

.alt-box {
  margin-top: 14px;
  text-align: center;
  background: rgba(22, 24, 30, .55);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 12px;
  padding: 17px;
  font-size: 14px; color: var(--muted);
}
.alt-box a { color: #f5f5f7; font-weight: 500; }

.form-note {
  display: none;
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: #9fd8b2;
}
.form-note.show { display: block; }
.form-note.err { color: #ff9a9a; }

.pw-hint {
  margin: -2px 0 4px;
  font-size: 12px;
  color: #8d93a3;
}
.pw-hint::before {
  content: 'ⓘ ';
  color: #A582EC;
}

/* ---------- admin panel ---------- */
.admin-panel { width: min(980px, 100%); }
.adm-title { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 22px; }
.adm-controls { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.adm-search { flex: 1; min-width: 180px; }
.adm-table-wrap {
  overflow-x: auto;
  background: rgba(22, 24, 30, .78);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
}
.adm-table { width: 100%; border-collapse: collapse; font-size: 13px; color: #e8eaf0; }
.adm-table th, .adm-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.adm-table th { color: #8d93a3; font-weight: 600; font-size: 11px; letter-spacing: .4px; }
.adm-sel {
  background: #1a1c24; color: #fff; border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px; padding: 5px 8px; font: inherit;
}
.adm-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.btn-xs { height: 30px; padding: 0 10px; font-size: 12px; }
.adm-ban { color: #ff9a9a; font-weight: 600; }
.adm-acts { display: flex; flex-wrap: wrap; gap: 4px; max-width: 300px; }
.adm-danger { color: #ff9a9a !important; border-color: rgba(229, 90, 90, .45) !important; }
.adm-danger:hover { border-color: rgba(229, 90, 90, .8) !important; color: #ff7b7b !important; }

/* ============================================================
   ANIMATIONS & RESPONSIVE
   ============================================================ */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .v3d-float { animation: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 1020px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

@media (max-width: 900px) {
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .addons-grid { grid-template-columns: 1fr; }
  .support-card { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 36px); }
  .hero-content { padding: 130px 20px 100px; }
  .feat-grid { grid-template-columns: 1fr; }
  .features, .guisection, .pricing, .documents { padding-top: 90px; }
  .btn { height: 44px; padding: 0 18px; font-size: 14.5px; }
}

/* ============================================================
   PROFILE PAGE (account dashboard)
   ============================================================ */

.pf-wrap {
  position: relative; z-index: 2;
  min-height: 100svh;
  display: grid; grid-template-columns: 300px 1fr; gap: 22px;
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
  padding: 130px 0 80px;
  align-items: start;
}
.pf-side, .pf-card {
  background: rgba(22, 24, 30, .8);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 18px;
  -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.pf-side { padding: 24px; position: sticky; top: 104px; }
.pf-id { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.pf-avatar {
  width: 54px; height: 54px; border-radius: 14px; object-fit: cover; flex: none;
  box-shadow: 0 0 0 2px rgba(200, 164, 240, .35), 0 0 26px rgba(200, 164, 240, .25);
  transition: transform .25s cubic-bezier(.22, .9, .34, 1);
}
.pf-avatar:hover { transform: scale(1.07) rotate(-3deg); }
.pf-id-text b { display: block; color: #fff; font-size: 16px; }
.pf-pill {
  display: inline-block; margin-top: 4px;
  font-size: 10px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  color: #FF8AE2; background: rgba(255, 122, 224, .14);
  padding: 2px 8px; border-radius: 999px;
}
.pf-uid { display: block; font-size: 12px; color: #8d93a3; margin-top: 4px; }
.pf-nav { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.pf-nav-btn {
  display: flex; align-items: center; gap: 10px;
  height: 38px; padding: 0 12px;
  border: none; border-radius: 10px;
  background: transparent; color: #B9A8D6;
  font-family: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer; text-align: left;
  transition: background .15s ease, color .15s ease;
}
.pf-nav-btn .i { width: 15px; height: 15px; }
.pf-nav-btn:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.pf-nav-btn.is-active { background: rgba(255, 122, 224, .14); color: #FF8AE2; }
.pf-help { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); }
.pf-help b { display: block; color: #fff; font-size: 13.5px; }
.pf-help span { display: block; color: #8d93a3; font-size: 12px; margin: 4px 0 12px; }
.pf-help-btns { display: flex; gap: 8px; }

.pf-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.pf-two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.pf-card { padding: 24px; }
.pf-card-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.pf-card-head h3 { font-size: 16.5px; }
.pf-sub { color: #8d93a3; font-size: 12.5px; margin-top: 3px; }
.pf-chip {
  width: 38px; height: 38px; flex: none;
  border-radius: 11px;
  background: rgba(255, 122, 224, .13);
  color: #FF8AE2;
  display: inline-flex; align-items: center; justify-content: center;
}
.pf-chip .i { width: 17px; height: 17px; }
.pf-chip.sm { width: 30px; height: 30px; border-radius: 9px; }
.pf-chip.sm .i { width: 14px; height: 14px; }
.pf-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.pf-row:last-of-type { border-bottom: none; }

/* ---------- анимированный логотип (WebP с альфой) ---------- */
.hero-anim {
  width: 220px; height: 220px;
  display: block; margin: 0 auto 18px;
  filter: drop-shadow(0 0 28px rgba(190, 130, 255, .22));
}
.auth-anim {
  width: 96px; height: 96px;
  display: block; margin: 0 auto 14px;
}
.loader-anim {
  width: 30px; height: 30px;
  display: block;
}
@media (max-width: 700px) {
  .hero-anim { width: 160px; height: 160px; }
}
.pf-row-l { display: flex; align-items: center; gap: 12px; }
.pf-row-l b { display: block; color: #f0f1f5; font-size: 13.5px; font-weight: 600; }
/* div > span, чтобы не задевать плашку-иконку (.pf-chip тоже span внутри .pf-row-l) */
.pf-row-l div > span { display: block; color: #8d93a3; font-size: 11.5px; margin-top: 1px; }
.pf-grid3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .06);
}
.pf-info b { display: block; color: #8d93a3; font-size: 11px; font-weight: 600; letter-spacing: .3px; }
.pf-val { display: block; color: #f0f1f5; font-size: 13.5px; margin-top: 3px; overflow-wrap: anywhere; }

.pf-sub-state { margin: 6px 0 4px; }
.pf-days {
  font-family: "Unbounded", "Onest", sans-serif;
  font-size: 26px; font-weight: 700; color: #fff;
}
.pf-badge {
  display: inline-block; margin-left: 10px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .4px;
  padding: 3px 10px; border-radius: 999px;
}
.pf-badge.pf-ok { background: rgba(159, 216, 178, .16); color: #9fd8b2; }
.pf-badge.pf-bad { background: rgba(255, 138, 138, .14); color: #ff9a9a; }
.pf-until { color: #8d93a3; font-size: 12px; margin-top: 6px; }
.pf-lic { margin-top: 18px; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, .12); }
.pf-lic b { display: block; color: #e6e9f0; font-size: 12.5px; margin-bottom: 8px; }
.pf-lic-row { display: flex; gap: 8px; }
.pf-lic-row .input { flex: 1; height: 38px; font-size: 12.5px; text-transform: uppercase; }
.pf-lic-row .btn { height: 38px; font-size: 12.5px; }
.pf-client-text { color: #b9bfc9; font-size: 13px; }
.pf-client-text b { color: #fff; }
.pf-ver-state {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.pf-ver-state b {
  display: block; color: #fff; font-size: 13.5px; font-family: "Onest", sans-serif;
}
.pf-ver-state span { display: block; color: #8d93a3; font-size: 11.5px; margin-top: 3px; }
.pf-mini { color: #6f7480; font-size: 11.5px; margin-top: 10px; text-align: center; }
.pf-mini a { color: #A582EC; }
.pf-accent { color: #FF8AE2; }
.pf-pass-fields { padding: 4px 0 8px; }
.pf-pass-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: center; }
.pf-pass-grid .btn { height: 44px; }
.pf-hint { color: #8d93a3; font-size: 11.5px; margin-top: 8px; }
.pf-email-in { height: 34px; font-size: 12px; margin-top: 6px; max-width: 220px; }

/* entrance animations (tasteful) */
.pf-anim { animation: fadeUp .55s cubic-bezier(.22, .9, .34, 1) both; }
.pf-anim.d2 { animation-delay: .09s; }
.pf-anim.d3 { animation-delay: .18s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* admin keys block */
.adm-keys {
  margin-top: 22px;
  background: rgba(22, 24, 30, .78);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px;
  padding: 18px;
}
.adm-keys-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.adm-keys-head h3 { font-size: 15px; }
.adm-keys-controls { display: flex; gap: 8px; align-items: center; }
.adm-keys-controls .adm-sel { height: 32px; padding: 0 10px; }
.adm-keys-list { display: flex; flex-direction: column; gap: 6px; }
.adm-key-row {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 10px; padding: 8px 12px;
  font-size: 12.5px; color: #e6e9f0;
}
.adm-key-row code { font-family: "JetBrains Mono", Consolas, monospace; color: #FF8AE2; letter-spacing: .5px; }
.adm-key-row span { color: #8d93a3; font-size: 11.5px; }
.adm-key-free { color: #9fd8b2; }
.adm-key-used { color: #ff9a9a; }
.adm-email { color: #9aa0ab; font-size: 12px; }

@media (max-width: 1020px) {
  .pf-wrap { grid-template-columns: 1fr; }
  .pf-side { position: static; }
  .pf-two { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 36px); }
  .hero-content { padding: 130px 20px 100px; }
  .feat-grid { grid-template-columns: 1fr; }
  .features, .guisection, .pricing, .documents { padding-top: 90px; }
  .btn { height: 44px; padding: 0 18px; font-size: 14.5px; }
  .pf-pass-grid { grid-template-columns: 1fr; }
  .adm-actions { flex-direction: column; align-items: stretch; }
}
