:root {
  --bg: #080807;
  --bg-soft: #10100e;
  --surface: rgba(20, 19, 16, 0.88);
  --surface-strong: #161512;
  --line: rgba(226, 182, 90, 0.14);
  --line-strong: rgba(226, 182, 90, 0.28);
  --text: #f6f1e6;
  --muted: #a8a196;
  --accent: #e2b65a;
  --accent-2: #f0d28a;
  --accent-3: #7cb87a;
  --warning: #d9a441;
  --danger: #e07a7a;
  --ink: #16120a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: #020806;
}

.cyber-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 15% -5%, rgba(0, 255, 170, 0.09), transparent 52%),
    radial-gradient(ellipse 45% 40% at 100% 0%, rgba(0, 210, 255, 0.07), transparent 48%),
    radial-gradient(ellipse 55% 45% at 50% 100%, rgba(0, 180, 90, 0.06), transparent 55%),
    linear-gradient(180deg, #030b07 0%, #020806 42%, #010504 100%);
}

.cyber-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 140, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 140, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 95% 85% at 50% 35%, #000 15%, transparent 88%);
}

.cyber-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(0, 0, 0, 0.14) 3px,
      rgba(0, 0, 0, 0.14) 4px
    ),
    radial-gradient(ellipse 100% 100% at 50% 50%, transparent 42%, rgba(0, 0, 0, 0.55) 100%);
  opacity: 0.55;
}

.cyber-sweep {
  position: absolute;
  left: 0;
  right: 0;
  height: 140px;
  top: -140px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(0, 255, 170, 0.02) 35%,
    rgba(0, 255, 170, 0.07) 50%,
    rgba(0, 255, 170, 0.02) 65%,
    transparent
  );
  animation: cyber-sweep 14s ease-in-out infinite;
  filter: blur(1px);
}

@keyframes cyber-sweep {
  0% {
    top: -140px;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cyber-sweep {
    animation: none;
    display: none;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bg-orb,
.noise {
  display: none;
}

.topbar,
main,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(12, 12, 10, 0.78);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 14px;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #050505;
  border: 1px solid rgba(168, 85, 247, 0.38);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.28);
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.brand strong,
.section-head h2,
.hero h1,
.product-card h3,
.step h3,
.side-card h3,
.plan-card h3,
.auth-card h2,
.client-panel-name {
  font-family: var(--font-display);
}

.brand strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
}

.brand span {
  color: var(--muted);
  font-size: 0.8rem;
}

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

.nav-tabs {
  display: flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

#admin-users-list,
#admin-pedidos-list {
  display: grid;
  gap: 14px;
  max-height: 600px;
  overflow-y: auto;
}

#ct-produtos-list,
#admin-grupos-list,
#admin-catalogo-list,
#admin-licenca-produtos-list {
  display: grid;
  gap: 14px;
}

#admin-catalogo-list {
  gap: 22px;
}

.admin-catalog-group {
  display: grid;
  gap: 14px;
}

.admin-catalog-group > h4 {
  margin: 0 0 2px;
}

.admin-scroll-list,
#admin-visitas-list,
#admin-vendas-recentes {
  max-height: min(48vh, 420px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  scrollbar-gutter: stable;
}

.admin-scroll-list::-webkit-scrollbar,
#admin-visitas-list::-webkit-scrollbar,
#admin-vendas-recentes::-webkit-scrollbar {
  width: 8px;
}

.admin-scroll-list::-webkit-scrollbar-thumb,
#admin-visitas-list::-webkit-scrollbar-thumb,
#admin-vendas-recentes::-webkit-scrollbar-thumb {
  background: rgba(226, 182, 90, 0.42);
  border-radius: 99px;
}

#admin-visitas-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

#admin-visitas-list .visit-row {
  margin-top: 0;
}

#admin-produtos-user-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: min(68vh, 720px);
  overflow: auto;
}

.nav-tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 10px;
  padding: 9px 14px;
  cursor: pointer;
  font-weight: 650;
}

.nav-tab.active {
  color: var(--ink);
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
}

.session-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  place-items: center;
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  color: var(--ink);
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  box-shadow: 0 12px 28px rgba(226, 182, 90, 0.18);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

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

.full {
  width: 100%;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 60px;
}

.screen {
  display: none;
  animation: fadeIn 0.25s ease;
}

.screen.active {
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: stretch;
  padding: 18px 0 8px;
}

.topbar-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(88, 101, 242, 0.4);
  background: rgba(88, 101, 242, 0.16);
  color: #dfe2ff;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.topbar-discord svg {
  width: 16px;
  height: 16px;
}

.topbar-discord:hover {
  background: rgba(88, 101, 242, 0.28);
  border-color: rgba(88, 101, 242, 0.7);
}

.discord-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin: 10px 0 18px;
  padding: 22px 24px;
  border-radius: 22px;
  border: 1px solid rgba(88, 101, 242, 0.32);
  background:
    radial-gradient(circle at 0% 50%, rgba(88, 101, 242, 0.22), transparent 46%),
    radial-gradient(circle at 100% 0%, rgba(226, 182, 90, 0.12), transparent 38%),
    linear-gradient(135deg, rgba(22, 21, 18, 0.96), rgba(12, 12, 10, 0.92));
  box-shadow: var(--shadow);
}

.discord-banner-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #5865f2;
  box-shadow: 0 12px 28px rgba(88, 101, 242, 0.38);
}

.discord-banner-icon svg {
  width: 30px;
  height: 30px;
}

.discord-banner-copy h2 {
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.discord-banner-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 46ch;
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #5865f2;
  border-color: #5865f2;
  text-decoration: none;
  white-space: nowrap;
}

.discord-btn:hover {
  background: #4752c4;
  border-color: #4752c4;
  transform: translateY(-1px);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 22px;
  padding: 18px 20px;
  border: 1px solid rgba(0, 255, 140, 0.12);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(8, 18, 12, 0.92), rgba(10, 12, 10, 0.88));
  box-shadow: var(--shadow);
}

.trust-strip--compact {
  margin-top: 8px;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.trust-strip-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-strip-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.trust-strip-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #6dffb0;
  background:
    linear-gradient(145deg, rgba(0, 255, 140, 0.14), rgba(0, 255, 140, 0.04)),
    rgba(8, 14, 11, 0.9);
  border: 1px solid rgba(0, 255, 140, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 22px rgba(0, 0, 0, 0.28);
}

.trust-strip-icon--gold {
  color: var(--accent-2);
  background:
    linear-gradient(145deg, rgba(226, 182, 90, 0.16), rgba(226, 182, 90, 0.05)),
    rgba(12, 11, 8, 0.92);
  border-color: rgba(226, 182, 90, 0.28);
}

.trust-strip-icon--discord {
  color: #9eb0ff;
  background:
    linear-gradient(145deg, rgba(88, 101, 242, 0.2), rgba(88, 101, 242, 0.06)),
    rgba(10, 11, 18, 0.92);
  border-color: rgba(88, 101, 242, 0.34);
}

.trust-strip-icon svg {
  width: 28px;
  height: 28px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-strip-icon--discord svg circle {
  fill: currentColor;
  stroke: none;
}

.trust-strip-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 2px;
}

.trust-strip-item strong a {
  color: inherit;
  text-decoration: none;
}

.trust-strip-item strong a:hover {
  color: var(--accent-2);
}

.trust-strip-item span {
  display: block;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}

.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.18);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.compare-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.compare-table td {
  font-size: 0.9rem;
  color: var(--text);
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table tbody tr:hover {
  background: rgba(0, 255, 140, 0.04);
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 60;
  width: min(720px, calc(100% - 24px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(12, 12, 10, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
}

.cookie-banner a {
  color: var(--accent-2);
}

.cookie-banner .btn {
  flex-shrink: 0;
  padding: 10px 16px;
  font-size: 0.86rem;
}

.footer-col {
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 120px;
}

.footer-col strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 2px;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--text);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--accent-2);
}

.legal-page {
  width: min(820px, calc(100% - 32px));
  margin: 24px auto 48px;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(22, 21, 18, 0.96), rgba(12, 12, 10, 0.92));
  box-shadow: var(--shadow);
}

.legal-page h1 {
  font-family: var(--font-display);
  margin: 0 0 8px;
}

.legal-page .legal-lead {
  color: var(--muted);
  margin: 0 0 28px;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 28px 0 10px;
  scroll-margin-top: 90px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-page ul {
  padding-left: 1.2rem;
}

.legal-top {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
}

.legal-top a {
  color: var(--accent-2);
  text-decoration: none;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-2);
}

.hero-copy,
.hero-card,
.section,
.panel,
.side-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(22, 21, 18, 0.94), rgba(12, 12, 10, 0.9));
  box-shadow: var(--shadow);
}

.hero-copy {
  border-radius: 24px;
  padding: 36px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.hero-logo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 0 10px;
  background: #050505;
  border: 1px solid rgba(168, 85, 247, 0.42);
  box-shadow:
    0 0 0 4px rgba(139, 92, 246, 0.08),
    0 12px 32px rgba(109, 40, 217, 0.32);
}

.hero-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.eyebrow,
.section-kicker,
.tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(226, 182, 90, 0.08);
  color: var(--accent-2);
  border: 1px solid var(--line-strong);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.92;
  margin: 10px 0 8px;
  letter-spacing: -0.06em;
}

.hero-credit {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin: 2px 0 12px;
  padding: 8px 16px 8px 14px;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(226, 182, 90, 0.5);
  background:
    linear-gradient(135deg, rgba(226, 182, 90, 0.22), rgba(226, 182, 90, 0.06));
  box-shadow: 0 10px 28px rgba(226, 182, 90, 0.16);
}

.hero-credit span {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-2);
}

.hero-credit strong {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff6de;
}

.lead {
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 8px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 6px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.hero-badges span,
.pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #ece4d4;
  border: 1px solid var(--line);
  font-size: 0.86rem;
}

.hero-screenshot {
  margin-top: 18px;
  max-width: 260px;
  width: 100%;
}

.hero-screenshot-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 413 / 724;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0c0c0a;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
  perspective: 1600px;
}

.hero-screenshot-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  opacity: 0;
  pointer-events: none;
  transform-origin: left center;
  transform: rotateY(0deg);
  backface-visibility: hidden;
  z-index: 0;
  will-change: transform, opacity, box-shadow;
}

.hero-screenshot-frame img.is-active {
  opacity: 1;
  z-index: 2;
  transform: rotateY(0deg);
}

.hero-screenshot-frame img.is-under {
  opacity: 1;
  z-index: 1;
  transform: rotateY(0deg);
}

.hero-screenshot-frame img.is-leaving {
  opacity: 0;
  z-index: 4;
  transform: rotateY(-112deg);
  box-shadow:
    22px 0 48px rgba(0, 0, 0, 0.6),
    inset -22px 0 32px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.95s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.95s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.28s linear 0.68s;
}

.hero-screenshot-dots {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.hero-screenshot-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-screenshot-dots span.is-active {
  background: rgba(212, 175, 55, 0.95);
  transform: scale(1.15);
}

@media (prefers-reduced-motion: reduce) {
  .hero-screenshot-frame img,
  .hero-screenshot-frame img.is-leaving {
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
  }
}

.hero-card {
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(124, 184, 122, 0.08);
  border: 1px solid rgba(124, 184, 122, 0.2);
  color: #d8f0d2;
  line-height: 1.4;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 0 6px rgba(124, 184, 122, 0.12);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-metrics div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.hero-metrics strong {
  display: block;
  font-size: 1.55rem;
  font-family: var(--font-display);
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.84rem;
}

.trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.trust-list li {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-list strong {
  display: block;
  color: var(--text);
  margin-bottom: 2px;
  font-family: var(--font-display);
}

.section {
  margin-top: 22px;
  padding: 28px;
  border-radius: 24px;
}

.single-screen {
  margin-top: 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 20px;
}

.section-head.narrow {
  max-width: 640px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  margin: 12px 0 8px;
  letter-spacing: -0.04em;
}

.section-head p {
  color: var(--muted);
  line-height: 1.7;
}

.toolbar {
  display: flex;
  gap: 14px;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.search-box {
  max-width: 460px;
  flex: 1;
}

label {
  display: grid;
  gap: 8px;
  color: #efe8d8;
  font-weight: 700;
  font-size: 0.9rem;
}

input,
select {
  width: 100%;
  border: 1px solid var(--line);
  outline: none;
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--text);
  background: rgba(8, 8, 7, 0.72);
}

input:focus,
select:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 4px rgba(226, 182, 90, 0.1);
}

.catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 22px;
  padding: 12px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(8, 10, 9, 0.72);
  border: 1px solid rgba(226, 182, 90, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 34px rgba(0, 0, 0, 0.28);
}

.catalog-tab {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(30, 29, 25, 0.98), rgba(12, 12, 10, 0.98));
  color: #d3cab8;
  border-radius: 14px;
  padding: 13px 24px;
  min-height: 48px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.catalog-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 28%, rgba(240, 210, 138, 0.22) 50%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.catalog-tab::after {
  content: "";
  position: absolute;
  inset: auto 14px 0;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, rgba(226, 182, 90, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.catalog-tab:hover {
  border-color: rgba(226, 182, 90, 0.42);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(226, 182, 90, 0.1);
}

.catalog-tab:hover::before {
  transform: translateX(130%);
}

.catalog-tab:hover::after {
  opacity: 1;
}

.catalog-tab.active {
  color: var(--ink);
  border-color: rgba(255, 232, 170, 0.72);
  background: linear-gradient(180deg, #f3d995 0%, #e2b65a 52%, #c8943f 100%);
  box-shadow:
    0 16px 34px rgba(226, 182, 90, 0.32),
    0 0 28px rgba(226, 182, 90, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  transform: translateY(-2px);
}

.catalog-tab.active::after {
  opacity: 1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
}

.catalog-tab.active:hover {
  box-shadow:
    0 18px 38px rgba(226, 182, 90, 0.38),
    0 0 32px rgba(226, 182, 90, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.catalog-tab:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(226, 182, 90, 0.24),
    0 14px 30px rgba(0, 0, 0, 0.28);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.product-shelf {
  position: relative;
  display: grid;
  gap: 12px;
}

.product-shelf-scroll {
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-gutter: stable;
}

.product-shelf-scroll::-webkit-scrollbar {
  width: 8px;
}

.product-shelf-scroll::-webkit-scrollbar-thumb {
  background: rgba(226, 182, 90, 0.42);
  border-radius: 99px;
}

.product-shelf.has-more:not(.is-end) .product-shelf-scroll {
  -webkit-mask-image: linear-gradient(#000 0%, #000 78%, transparent 100%);
  mask-image: linear-gradient(#000 0%, #000 78%, transparent 100%);
}

.product-shelf-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px dashed rgba(226, 182, 90, 0.45);
  background: rgba(226, 182, 90, 0.08);
  color: var(--accent-2);
  font-size: 0.92rem;
  cursor: pointer;
}

.product-shelf-hint[hidden] {
  display: none !important;
}

.product-shelf-hint strong {
  color: var(--text);
  font-family: var(--font-display);
}

.product-shelf-arrow {
  display: inline-flex;
  animation: bounceDown 1.2s infinite;
}

.product-card {
  position: relative;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(22, 21, 18, 0.96), rgba(12, 12, 10, 0.92));
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
}

.product-card:hover,
.product-card:focus-within,
.product-card.selected,
.product-card.featured {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.product-card:hover::before,
.product-card.selected::before,
.product-card.featured::before {
  opacity: 1;
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-chip,
.featured-chip {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #cfc6b4;
  border: 1px solid var(--line);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.featured-chip {
  background: rgba(226, 182, 90, 0.12);
  color: var(--accent-2);
  border-color: var(--line-strong);
}

.product-version {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: -0.05em;
  color: var(--accent-2);
  line-height: 1;
}

.product-card h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.product-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.product-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--accent-2);
  letter-spacing: -0.03em;
}

.product-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  flex: 1;
}

.product-features li {
  position: relative;
  padding-left: 16px;
  color: #d9d1c2;
  font-size: 0.86rem;
}

.product-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.product-select-btn {
  margin-top: auto;
  min-height: 46px;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.product-demo-btn {
  margin-top: auto;
  min-height: 42px;
  font-size: 0.8rem;
}

.product-card .product-demo-btn + .product-select-btn {
  margin-top: 8px;
}

.video-demo-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.video-demo-overlay[hidden] {
  display: none !important;
}

body.video-demo-open {
  overflow: hidden;
}

.video-demo-card {
  width: min(920px, 100%);
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(28, 26, 22, 0.98), rgba(12, 12, 11, 0.98));
  padding: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.video-demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.video-demo-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.video-demo-frame-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.video-demo-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.product-card .btn-secondary.product-select-btn {
  border-color: rgba(226, 182, 90, 0.34);
  background: linear-gradient(180deg, rgba(226, 182, 90, 0.16), rgba(226, 182, 90, 0.05));
  color: var(--accent-2);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.product-card .btn-secondary.product-select-btn:hover {
  border-color: rgba(240, 210, 138, 0.62);
  background: linear-gradient(180deg, rgba(226, 182, 90, 0.24), rgba(226, 182, 90, 0.1));
  box-shadow:
    0 14px 28px rgba(226, 182, 90, 0.16),
    0 0 18px rgba(226, 182, 90, 0.12);
}

.product-card .btn-primary.product-select-btn {
  box-shadow:
    0 14px 30px rgba(226, 182, 90, 0.28),
    0 0 22px rgba(226, 182, 90, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.product-card.selected .btn-secondary.product-select-btn,
.product-card:hover .btn-primary.product-select-btn {
  transform: translateY(-2px);
}

.product-selection-bar {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.product-selection-bar.has-selection {
  border-color: rgba(124, 184, 122, 0.28);
}

.selection-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.selection-bar-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.selection-bar-info h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.selection-bar-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  width: 100%;
}

.selection-bar-action {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.plan-grid.is-single {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}

.plan-grid[hidden],
.buy-fixed-box[hidden],
label[hidden] {
  display: none !important;
}

.plan-card {
  position: relative;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  display: grid;
  gap: 10px;
}

.plan-card.active {
  border-color: var(--line-strong);
  box-shadow: 0 16px 40px rgba(226, 182, 90, 0.08);
  transform: translateY(-3px);
}

.plan-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-card h3 {
  margin: 0;
  font-size: 1.3rem;
}

.plan-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.plan-features {
  margin: 0;
  padding-left: 18px;
  color: #d9d1c2;
  line-height: 1.75;
}

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

.step {
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.step span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(226, 182, 90, 0.12);
  color: var(--accent-2);
  font-weight: 800;
  margin-bottom: 12px;
  font-family: var(--font-display);
}

.step h3,
.side-card h3 {
  margin: 0 0 8px;
}

.step p,
.side-card p,
.hint,
.footer p {
  color: var(--muted);
  line-height: 1.7;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 16px;
  align-items: start;
}

.checkout-summary h3 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.checkout-summary p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

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

.panel,
.side-card {
  padding: 24px;
  border-radius: 18px;
}

.panel {
  display: grid;
  gap: 16px;
}

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

.side-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.checklist {
  margin: 0;
  padding-left: 18px;
  color: #d9d1c2;
  line-height: 1.8;
}

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

.pill.ok {
  background: rgba(124, 184, 122, 0.12);
  color: #d8f0d2;
}

.pill.wait {
  background: rgba(217, 164, 65, 0.12);
  color: #f8e7c1;
}

.pill.warn {
  background: rgba(224, 122, 122, 0.12);
  color: #ffd4d4;
}

.status-panel {
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.status-panel strong {
  display: block;
  margin-bottom: 8px;
}

.status-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.accordion {
  display: grid;
  gap: 8px;
}

.accordion-item {
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-weight: 700;
}

.accordion-panel {
  display: none;
  margin-top: -2px;
  padding: 0 18px 16px;
  color: var(--muted);
  line-height: 1.7;
}

.accordion-item[aria-expanded="true"] + .accordion-panel {
  display: block;
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 8px auto 36px;
  padding: 22px 6px 0;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 24px 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(168, 85, 247, 0.32);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.22);
  background: #050505;
}

.auth-shell {
  max-width: 420px;
  margin: 0 auto;
  padding: 28px 8px;
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
}

.auth-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  overflow: hidden;
  background: #050505;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  border: 1px solid rgba(168, 85, 247, 0.38);
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.28);
}

.auth-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.auth-card header {
  text-align: center;
  margin-bottom: 24px;
}

.auth-card h2 {
  margin: 0 0 6px;
  font-size: 1.5rem;
}

.auth-card header p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.field span,
.field-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

.input-wrap {
  position: relative;
}

.input-wrap input {
  padding-right: 44px;
}

.toggle-secret {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
}

.field-hint {
  font-size: 0.75rem;
  color: var(--muted);
}

.auth-extra {
  text-align: right;
  margin-bottom: 16px;
}

.auth-extra a,
.auth-switch a {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
}

.auth-switch {
  text-align: center;
  margin: 16px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

#auth-status {
  margin-top: 16px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.client-logged-area {
  display: grid;
  gap: 20px;
}

.client-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(226, 182, 90, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
}

.client-panel-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.client-avatar,
#client-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--ink);
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
}

.client-panel-name,
#client-display-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.client-panel-email,
#client-display-email {
  color: var(--muted);
  font-size: 0.9rem;
}

.client-tabs,
.admin-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-client-block {
  flex: 0 0 auto;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.admin-client-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px 12px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  background: rgba(226, 182, 90, 0.05);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-client-head:hover {
  background: rgba(226, 182, 90, 0.1);
}

.admin-client-head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.25;
}

.admin-client-email {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.3;
  word-break: break-all;
}

.admin-client-chevron {
  flex-shrink: 0;
  color: var(--accent-2);
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.15s ease;
}

.admin-client-block.is-open .admin-client-chevron {
  transform: rotate(90deg);
}

.admin-client-body {
  display: none;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.16);
}

.admin-client-block.is-open .admin-client-body {
  display: block;
}

.admin-client-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.admin-lic-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-lic-list > span,
.admin-client-store > span {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-lic-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto minmax(90px, 0.7fr) minmax(120px, 1fr);
  gap: 8px 12px;
  align-items: center;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid rgba(226, 182, 90, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.admin-lic-row strong {
  min-width: 0;
  font-size: 0.88rem;
  font-weight: 650;
  word-break: break-word;
}

.admin-lic-row em,
.admin-lic-hwid {
  color: var(--muted);
  font-style: normal;
  font-size: 0.8rem;
}

.admin-lic-hwid {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  word-break: break-all;
}

.admin-client-store {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(226, 182, 90, 0.1);
}

.admin-client-store > span {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-client-store-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.84rem;
}

.admin-client-store-item em {
  color: var(--muted);
  font-style: normal;
}

.admin-swap-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  margin-top: 6px;
}

.admin-swap-row select {
  width: auto;
  flex: 1;
  min-width: 160px;
  padding: 8px 10px;
  font-size: 0.82rem;
}

.admin-swap-row .btn {
  font-size: 0.8rem;
  padding: 8px 12px;
}

.admin-flag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #ece4d4;
  font-size: 0.75rem;
  font-weight: 650;
  white-space: nowrap;
}

.admin-flag-ok {
  background: rgba(124, 184, 122, 0.14);
  border-color: rgba(124, 184, 122, 0.28);
  color: #d8f0d2;
}

.admin-flag-wait {
  background: rgba(217, 164, 65, 0.14);
  border-color: rgba(217, 164, 65, 0.28);
  color: #f8e7c1;
}

.admin-flag-bad {
  background: rgba(224, 122, 122, 0.14);
  border-color: rgba(224, 122, 122, 0.28);
  color: #ffd4d4;
}

.admin-flag-off {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.admin-flag-count {
  background: rgba(226, 182, 90, 0.12);
  border-color: rgba(226, 182, 90, 0.24);
  color: var(--accent-2);
}

@media (max-width: 760px) {
  .admin-lic-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .admin-lic-row em,
  .admin-lic-hwid {
    grid-column: 1 / -1;
  }
}

.client-card,
.admin-card {
  padding: 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.client-card h3,
.admin-card h3 {
  margin: 0;
  font-family: var(--font-display);
}

.client-card p,
.admin-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.client-card-header,
.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.client-info-list {
  display: grid;
}

.client-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}

.client-info-row:last-child {
  border-bottom: 0;
}

.client-info-row span {
  color: var(--muted);
  font-size: 0.88rem;
}

.client-info-row strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  text-align: right;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.admin-header h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-stat {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.admin-stat span {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-stat strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.admin-form-grid,
.admin-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-price-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.check-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 0.9rem;
}

.update-banner {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(226, 182, 90, 0.38);
  background: rgba(226, 182, 90, 0.12);
  color: #f8e7c1;
  font-size: 0.92rem;
  line-height: 1.5;
}

.update-banner strong {
  color: var(--accent-2);
}

.product-update-note {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(226, 182, 90, 0.32);
  background: rgba(226, 182, 90, 0.1);
  color: #f8e7c1;
  font-size: 0.86rem;
}

.coupon-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.coupon-row.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.coupon-plans {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.coupon-plans span {
  width: 100%;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.coupon-plans label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
}

.coupon-sales {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.coupon-sales div {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.coupon-sales span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.coupon-sales strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.coupon-sales em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--muted);
}

.coupon-sales em.partner-pay {
  color: var(--accent-2);
}

.sales-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.sales-kpis-sub {
  margin-top: 10px;
}

.sales-kpi {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.sales-kpi span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.sales-kpi strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.sales-kpi em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  color: var(--accent-2);
  font-size: 1.05rem;
  font-weight: 700;
}

.sales-kpi small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
}

.sales-period-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
}

.sales-period-bar label {
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sales-period-bar select,
.sales-period-bar input[type="date"] {
  min-width: 140px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #1c1b18;
  color: #f5f1e8;
  color-scheme: dark;
}

.sales-period-bar select option {
  color: #14120f;
  background-color: #ffffff;
}

.sales-period-bar input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.85;
}

.sales-period-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
}

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

.sales-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.sales-chart-scroll {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.sales-chart-scroll::-webkit-scrollbar {
  height: 8px;
}

.sales-chart-scroll::-webkit-scrollbar-thumb {
  background: rgba(226, 182, 90, 0.35);
  border-radius: 999px;
}

.sales-chart-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.sales-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 190px;
  min-width: 100%;
  width: max-content;
  padding: 8px 2px 34px;
  box-sizing: border-box;
}

.sales-chart-col {
  flex: 1 0 18px;
  min-width: 18px;
  max-width: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.sales-chart-track {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sales-chart-bar {
  width: 100%;
  max-width: 22px;
  min-height: 3px;
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
}

.sales-chart-col span {
  font-size: 0.62rem;
  color: var(--muted);
  transform: rotate(-50deg);
  transform-origin: top center;
  white-space: nowrap;
}

.sales-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sales-list-row,
.sales-recent-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(226, 182, 90, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.sales-list-row span,
.sales-recent-row em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.82rem;
}

.sales-funil {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.8rem;
}

.sales-recent {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sales-recent-row b {
  color: var(--accent-2);
  font-size: 0.92rem;
}

.visit-row {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(226, 182, 90, 0.1);
  background: rgba(255, 255, 255, 0.03);
  margin-top: 8px;
}

.visit-row strong {
  font-family: var(--font-display);
}

.visit-row span,
.visit-row em {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: normal;
}

.visit-row b {
  font-size: 0.85rem;
  color: var(--accent-2);
  font-weight: 700;
}

.report-text {
  width: 100%;
  min-height: 240px;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.5;
  resize: vertical;
}

@media (max-width: 760px) {
  .coupon-sales {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.buy-card {
  max-width: 720px;
}

.buy-pick-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

.buy-pick-head .btn {
  padding: 6px 12px;
  font-size: 0.8rem;
}

.buy-pick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}

.buy-pick-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-align: left;
  cursor: pointer;
  min-height: 72px;
}

.buy-pick-card strong {
  font-size: 0.86rem;
  font-family: var(--font-display);
  line-height: 1.25;
}

.buy-pick-card span {
  font-size: 0.72rem;
  color: var(--muted);
}

.buy-pick-card.is-on {
  border-color: rgba(217, 164, 65, 0.7);
  background: rgba(217, 164, 65, 0.12);
  box-shadow: inset 0 0 0 1px rgba(217, 164, 65, 0.25);
}

.buy-pick-card.is-locked {
  opacity: 0.55;
  cursor: not-allowed;
}

.buy-pick-card.is-renew {
  border-color: rgba(72, 178, 168, 0.75);
  background: rgba(72, 178, 168, 0.12);
  box-shadow: inset 0 0 0 1px rgba(72, 178, 168, 0.2);
}

.buy-pick-card.is-renew span {
  color: #9ee4dc;
}

.buy-pick-card.is-renew.is-on {
  border-color: rgba(217, 164, 65, 0.7);
  background: rgba(217, 164, 65, 0.12);
  box-shadow: inset 0 0 0 1px rgba(217, 164, 65, 0.25);
}

.buy-pick-card.is-renew.is-on span {
  color: var(--muted);
}

.buy-fixed-box {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(217, 164, 65, 0.35);
  background: rgba(217, 164, 65, 0.08);
}

.buy-fixed-box span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.buy-fixed-box strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent-2);
  letter-spacing: -0.04em;
}

.buy-fixed-box p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.hwid-input {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.buy-renew-note {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(217, 164, 65, 0.28);
  background: rgba(217, 164, 65, 0.08);
  font-size: 0.84rem;
  color: var(--text);
  line-height: 1.45;
}

.buy-renew-note strong {
  color: var(--accent-2);
  font-weight: 600;
}

.buy-pick-hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.buy-total {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(217, 164, 65, 0.08);
  font-size: 0.92rem;
}

.buy-total strong {
  font-family: var(--font-display);
}

#admin-search-users,
#admin-search-pedidos {
  width: 100%;
}

.admin-catalog-group + .admin-catalog-group {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.admin-panel-note {
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

.table-row {
  display: grid;
  grid-template-columns: 0.7fr 1fr 0.9fr 0.9fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.table-row.header {
  border-top: 0;
  padding-top: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.table-row.empty {
  display: block;
  color: var(--muted);
}

.mini-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

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

.captcha-card,
.turnstile-widget,
.auth-layout,
.auth-info,
.auth-panel,
.login-banner,
.mini-note,
.top-actions,
.admin-layout,
.admin-panels,
.table-card,
.download-panel,
.card-actions,
.compact,
.mini-panel,
.admin-stack,
.admin-table,
.admin-row,
.quote,
.split,
.feature-pills,
.loading-card,
.side-note {
  /* leftovers kept compatible */
}

.captcha-card {
  margin-top: 14px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 10px;
}

.turnstile-widget {
  width: 100%;
  min-height: 68px;
  margin: 10px 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.turnstile-widget > div,
.turnstile-widget iframe {
  margin-left: auto;
  margin-right: auto;
}

#auth-turnstile-login-hint,
#auth-turnstile-register-hint,
#auth-turnstile-admin-hint {
  display: block;
  text-align: center;
  margin: 0 0 10px;
}

.admin-login-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 7, 6, 0.78);
  backdrop-filter: blur(10px);
}

.admin-login-overlay.is-open {
  display: flex;
}

.admin-login-card {
  width: min(420px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
}

.admin-login-card .btn.full + .btn.full {
  margin-top: 8px;
}

#admin-login-status {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--muted);
  text-align: center;
}

.buy-confirm-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.buy-confirm-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.buy-confirm-list span {
  color: var(--muted);
}

.buy-confirm-list strong {
  text-align: right;
  font-weight: 700;
  max-width: 62%;
  overflow-wrap: anywhere;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

.selection-arrow {
  display: inline-block;
  animation: bounceDown 1.2s infinite;
}

@media (max-width: 1060px) {
  .hero,
  .checkout-layout,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .admin-stats,
  .admin-form-grid,
  .admin-price-grid,
  .sales-kpis,
  .sales-split {
    grid-template-columns: 1fr 1fr;
  }

  .steps,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar {
    flex-wrap: wrap;
  }

  .nav-tabs {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .nav-tab {
    flex: 1;
  }

  .discord-banner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .discord-btn {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

@media (max-width: 980px) {
  .trust-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .topbar,
  main,
  .footer {
    width: min(100% - 18px, 1180px);
  }

  .hero-copy,
  .hero-card,
  .section {
    padding: 20px;
    border-radius: 18px;
  }

  .hero-metrics,
  .product-grid,
  .steps,
  .form-grid,
  .table-row {
    grid-template-columns: 1fr;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .trust-strip-grid,
  .trust-strip-grid--3 {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-stats {
    grid-template-columns: 1fr 1fr;
  }

  .sales-kpis,
  .sales-split {
    grid-template-columns: 1fr 1fr;
  }

  .sales-chart-col:nth-child(2n) span {
    visibility: hidden;
  }

  .topbar-discord span {
    display: none;
  }

  .discord-banner {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  #backend-pill {
    display: none;
  }

  .search-box {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .screen,
  .btn,
  .product-card,
  .selection-arrow {
    animation: none;
    transition: none;
  }
}
