.persistence-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: linear-gradient(90deg, rgba(255, 60, 40, 0.08), rgba(255, 60, 40, 0.02));
  border: 1px solid rgba(255, 60, 40, 0.25);
  border-radius: 14px;
  color: var(--accent-soft);
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.persistence-banner svg {
  flex-shrink: 0;
  color: var(--accent-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}
.stat-card {
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(255, 60, 40, 0.1), transparent 60%),
    var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px) saturate(180%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}
.stat-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-mute);
  font-weight: 600;
}
.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #ffffff, var(--accent-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}
.stat-meta {
  font-size: 0.82rem;
  color: var(--fg-mute);
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  margin-bottom: 32px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(20px) saturate(180%);
  overflow-x: auto;
}
.admin-tab {
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--fg-dim);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s var(--ease);
}
.admin-tab:hover,
.admin-tab.active {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.06);
}

.admin-section-title {
  font-size: 1.4rem;
  margin: 48px 0 18px;
  scroll-margin-top: 100px;
}
.admin-section-title .eyebrow {
  margin: 0 0 6px;
  display: block;
}

.sales-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
}
.sales-table th,
.sales-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.sales-table th {
  color: var(--fg-mute);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(0, 0, 0, 0.2);
}
.sales-table tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
.sales-table tbody tr:last-child td { border-bottom: 0; }

.pricing-editor-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.pricing-editor-card {
  padding: 28px 30px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px) saturate(180%);
  position: relative;
}
.pricing-editor-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}
.pricing-editor-card.is-featured {
  border-color: rgba(255, 60, 40, 0.35);
  background:
    radial-gradient(circle at top right, rgba(255, 60, 40, 0.08), transparent 60%),
    var(--glass);
}
.pricing-editor-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.pricing-editor-head h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
  color: var(--accent-light);
  letter-spacing: -0.015em;
}
.pricing-editor-head .pill {
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
}
.pricing-editor-grid {
  display: grid;
  gap: 18px;
}
.pricing-editor-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.pricing-editor-card .field {
  gap: 8px;
}
.pricing-editor-card label {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-mute);
}
.pricing-editor-card input,
.pricing-editor-card textarea {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
  color: var(--fg);
  font-family: inherit;
  font-size: 0.93rem;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
}
.pricing-editor-card input:focus,
.pricing-editor-card textarea:focus {
  outline: none;
  border-color: var(--accent-light);
  background: rgba(0, 0, 0, 0.55);
}
.pricing-editor-card textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
}
.pricing-editor-card .pricing-editor-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--fg-dim);
  cursor: pointer;
  width: fit-content;
}
.pricing-editor-card .pricing-editor-toggle input { width: auto; }

.jar-upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 22px;
}
.jar-plugin-block {
  padding: 26px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px) saturate(180%);
  position: relative;
}
.jar-plugin-block::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}
.jar-plugin-block h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 4px;
  letter-spacing: -0.015em;
}
.jar-plugin-block > .muted {
  color: var(--fg-mute);
  font-size: 0.86rem;
  margin: 0 0 18px;
}
.jar-slot {
  padding: 18px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
}
.jar-slot:last-child { margin-bottom: 0; }
.jar-slot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.jar-slot-head h4 {
  font-size: 0.98rem;
  font-weight: 600;
  margin: 0;
}
.jar-slot-head code {
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
  color: var(--accent-light);
  background: rgba(255, 60, 40, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
}
.jar-slot-status {
  font-size: 0.82rem;
  color: var(--fg-mute);
  margin: 0 0 12px;
}
.jar-slot-form {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.jar-slot-form input[type=file] {
  flex: 1 1 200px;
  padding: 9px 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--fg);
  font-size: 0.85rem;
}
.jar-slot.has-file {
  border-color: rgba(255, 60, 40, 0.3);
  background: rgba(255, 60, 40, 0.04);
}

.user-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.user-actions form { margin: 0; }
.user-edit-row td {
  background: rgba(255, 60, 40, 0.04);
  border-top: 1px solid var(--border);
}
.user-edit-form {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 14px 0;
}

.fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}
.fab > * { pointer-events: auto; }
.fab-toggle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 60, 40, 0.4);
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #04040a;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(255, 60, 40, 0.45),
    0 14px 38px -12px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease);
}
.fab-toggle:hover { transform: translateY(-2px) scale(1.04); }
.fab-toggle:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 4px; }
.fab.open .fab-toggle { transform: rotate(45deg); }
.fab-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  background: rgba(8, 8, 14, 0.85);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7);
  min-width: 200px;
  animation: fab-pop 0.28s var(--ease);
}
.fab.open .fab-menu { display: flex; }
.fab-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--fg-dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}
.fab-menu a:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(-2px);
}
.fab-menu hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 4px 0;
}
.fab-back-top {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(8, 8, 14, 0.85);
  border: 1px solid var(--border);
  color: var(--fg);
  font-size: 1rem;
  cursor: pointer;
  backdrop-filter: blur(20px);
  display: none;
  align-items: center;
  justify-content: center;
}
.fab.show-top .fab-back-top { display: flex; }
@keyframes fab-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.nav-hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--fg);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
@media (max-width: 820px) {
  .nav-hamburger { display: inline-flex; }
  .nav-cta { display: none; }
}
.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(4, 4, 10, 0.7);
  backdrop-filter: blur(8px);
  display: none;
}
.nav-drawer-backdrop.open { display: block; }
.nav-drawer {
  position: fixed;
  top: 0; right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  z-index: 200;
  background: rgba(8, 8, 14, 0.96);
  border-left: 1px solid var(--border);
  padding: 80px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
  backdrop-filter: blur(28px) saturate(180%);
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  color: var(--fg-dim);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}
.nav-drawer a:hover, .nav-drawer a.active {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.05);
}
.nav-drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--fg);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-drawer hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 10px 0;
}
.nav-drawer .btn { margin-top: 8px; }

.plugin-card {
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}

.plugin-grid .plugin-card-link {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease);
}
.plugin-grid .plugin-card-link[data-reveal-pending] {
  opacity: 0;
  transform: translateY(28px);
}
.plugin-grid .plugin-card-link.revealed {
  opacity: 1;
  transform: translateY(0);
}
.plugin-grid .plugin-card-link:nth-child(2).revealed { transition-delay: 0.08s; }
.plugin-grid .plugin-card-link:nth-child(3).revealed { transition-delay: 0.16s; }
.plugin-grid .plugin-card-link:nth-child(4).revealed { transition-delay: 0.24s; }
.plugin-grid .plugin-card-link:nth-child(5).revealed { transition-delay: 0.32s; }
.plugin-grid .plugin-card-link:nth-child(6).revealed { transition-delay: 0.4s; }

.stat-card .stat-value { transition: opacity 0.5s; }

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

.ticket-item {
  padding: 18px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.ticket-item:hover { border-color: var(--border-strong); }
.ticket-item[open] { border-color: rgba(255, 60, 40, 0.3); }
.ticket-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  gap: 14px;
  align-items: center;
}
.ticket-item summary::-webkit-details-marker { display: none; }
.ticket-item summary::after {
  content: "▾";
  color: var(--accent-light);
  font-size: 0.8rem;
  transition: transform 0.3s var(--ease);
}
.ticket-item[open] summary::after { transform: rotate(180deg); }

.ticket-item-link {
  text-decoration: none;
  color: inherit;
}
.ticket-item-link.is-unread {
  border-color: rgba(255, 60, 40, 0.4);
  background: rgba(255, 60, 40, 0.05);
}

.ticket-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 12px;
  max-height: 480px;
  overflow-y: auto;
}
.ticket-msg {
  max-width: 80%;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.55;
}
.ticket-msg-user {
  align-self: flex-end;
  background: rgba(255, 60, 40, 0.1);
  border: 1px solid rgba(255, 60, 40, 0.25);
  border-bottom-right-radius: 4px;
}
.ticket-msg-admin {
  align-self: flex-start;
  background: rgba(96, 165, 250, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-bottom-left-radius: 4px;
}
.ticket-msg-meta {
  font-size: 0.74rem;
  color: var(--fg-mute);
  margin-bottom: 6px;
}
.ticket-msg-body {
  white-space: pre-wrap;
  color: var(--fg);
  word-break: break-word;
}

.docs-content h1 { font-size: 2rem; margin: 32px 0 14px; font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.03em; }
.docs-content h2 { font-size: 1.5rem; margin: 28px 0 12px; padding-top: 8px; border-top: 1px solid var(--border); }
.docs-content h3 { font-size: 1.2rem; margin: 22px 0 10px; color: var(--accent-light); }
.docs-content h4 { font-size: 1rem; margin: 18px 0 8px; }
.docs-content p { color: var(--fg-dim); line-height: 1.65; margin: 0 0 14px; }
.docs-content ul { color: var(--fg-dim); padding-left: 24px; margin: 0 0 16px; line-height: 1.65; }
.docs-content li { margin-bottom: 6px; }
.docs-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  padding: 2px 7px;
  background: rgba(255, 60, 40, 0.08);
  border: 1px solid rgba(255, 60, 40, 0.18);
  border-radius: 6px;
  color: var(--accent-light);
}
.docs-content pre.docs-code {
  padding: 18px 22px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow-x: auto;
  margin: 14px 0;
  position: relative;
}
.docs-content pre.docs-code code {
  font-size: 0.85rem;
  line-height: 1.55;
  background: transparent;
  border: none;
  padding: 0;
  color: var(--fg);
  white-space: pre;
}
.docs-content pre.docs-code code::before {
  content: attr(data-lang);
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-mute);
  margin: -4px 0 12px;
}
.docs-content a {
  color: var(--accent-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 60, 40, 0.3);
  transition: border-color 0.2s;
}
.docs-content a:hover { border-color: var(--accent-light); }
.docs-content table.docs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 14px 0;
  font-size: 0.9rem;
}
.docs-content table.docs-table th,
.docs-content table.docs-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.docs-content table.docs-table th {
  background: rgba(0, 0, 0, 0.3);
  color: var(--fg-mute);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.docs-content hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
.docs-content strong { color: var(--fg); }

.surface-1 {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.surface-2 {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.5);
}
.surface-3 {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  backdrop-filter: blur(28px) saturate(220%);
  -webkit-backdrop-filter: blur(28px) saturate(220%);
  box-shadow:
    0 30px 80px -25px rgba(255, 60, 40, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-title {
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
  font-feature-settings: "ss01", "cv11";
}
.hero-sub {
  text-wrap: pretty;
  max-width: 64ch;
}

.field input,
.field textarea,
.field select {
  padding: 13px 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0)),
    rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 2px 8px rgba(0, 0, 0, 0.28);
  color: var(--fg);
  font: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field input:hover,
.field textarea:hover,
.field select:hover { border-color: rgba(255, 255, 255, 0.22); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent-light);
  background: rgba(0, 0, 0, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 4px rgba(255, 60, 40, 0.18);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.32); }

:where(.btn, .nav-link, .nav-drawer a, .fab-menu a, .ticket-item,
       .admin-tab, .footer a, .pill, .hero-cta a):focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: 12px;
}
:focus { outline: none; }

.stat-card { position: relative; overflow: hidden; }
.stat-card::after {
  content: "";
  position: absolute;
  top: -50%; right: -30%;
  width: 240px; height: 240px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  opacity: 0.45;
  filter: blur(40px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.stat-card:hover::after { opacity: 0.75; }

:root { --fg-mute: rgba(255, 255, 255, 0.62); }

.plugin-card {
  box-shadow:
    0 10px 30px -20px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.plugin-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 20px 50px -25px rgba(255, 60, 40, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent-light), var(--accent));
  border-color: var(--accent-dark);
  color: #001b13;
  font-weight: 600;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 10px 24px -10px rgba(255, 60, 40, 0.6);
}
.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 14px 28px -10px rgba(255, 60, 40, 0.7);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

.plugin-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.plugin-grid .plugin-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  transition: transform .25s var(--ease);

  height: 100%;
}
.plugin-grid .plugin-card-link:hover { transform: translateY(-3px); }
.plugin-grid .plugin-card-link:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 4px;
}
.plugin-grid .plugin-card {
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  height: 100%;
  display: flex;
  flex-direction: column;
  display: flex;
  flex-direction: column;
}
.plugin-grid .plugin-card::before,
.plugin-grid .plugin-card::after { display: none; }
.plugin-grid .plugin-card:hover {
  border-color: rgba(255, 60, 40, 0.4);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 25px 60px -25px rgba(255, 60, 40, 0.3);
  transform: none;
}
.plugin-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 60, 40, 0.12), rgba(255, 166, 0, 0.10));
  border-bottom: 1px solid var(--border);
}
.plugin-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease);
}
.plugin-grid .plugin-card-link:hover .plugin-card-image { transform: scale(1.03); }
.plugin-card-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.plugin-card-image-placeholder .plugin-icon {
  width: 72px; height: 72px;
  margin: 0;
}
.plugin-card-price {
  position: absolute;
  top: 16px; right: 16px;
  padding: 6px 14px;
  background: rgba(4, 4, 10, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--fg);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}
.plugin-card-price.is-free {
  background: rgba(255, 60, 40, 0.85);
  border-color: rgba(255, 166, 0, 0.6);
  color: #001b13;
}
.plugin-card-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.plugin-card-body .eyebrow {
  margin: 0;
  font-size: 0.7rem;
}
.plugin-card-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}
.plugin-card-body p {
  color: var(--fg-dim);
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
}
.plugin-card-body .plugin-card-mini-pills { margin: 6px 0 0; }
.plugin-card-cta {
  margin-top: auto;
  padding-top: 14px;
  color: var(--accent-light);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s var(--ease);
}
.plugin-grid .plugin-card-link:hover .plugin-card-cta { gap: 10px; }

.plugin-detail-cover {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  max-height: 460px;
  background: linear-gradient(135deg, rgba(255, 60, 40, 0.12), rgba(255, 166, 0, 0.10));
}
.plugin-detail-cover .plugin-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 21 / 9;
}
.plugin-detail-cover .plugin-hero-image-placeholder {
  aspect-ratio: 21 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plugin-detail-grid-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
}
@media (max-width: 880px) {
  .plugin-detail-grid-v2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.plugin-detail-main {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.plugin-detail-block h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.plugin-detail-block p {
  color: var(--fg-dim);
  margin: 0 0 18px;
  line-height: 1.65;
}
.plugin-detail-block-sub {
  font-size: 0.94rem;
  margin-bottom: 18px !important;
}
.plugin-detail-block .feature-list,
.plugin-detail-block ul.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.plugin-detail-block .feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg-dim);
  font-size: 0.95rem;
}
.plugin-detail-block .feature-list li::before {
  content: "";
  width: 18px; height: 18px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><circle cx='9' cy='9' r='8' fill='%23ff5e00' fill-opacity='0.15' stroke='%23ff5e00' stroke-opacity='0.45'/><path d='M5.5 9l2.5 2.5 4.5-5' stroke='%23ff5e00' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: contain;
}
.plugin-detail-aside {
  position: sticky;
  top: 96px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.plugin-detail-aside .buy-block { margin: 0; }

.section.section-tight { padding-top: 24px; padding-bottom: 24px; }

.hero-title { font-size: clamp(2rem, 5vw, 4.2rem); }
.hero.hero-compact .hero-title { font-size: clamp(1.8rem, 3.8vw, 3.2rem); }
.section { padding-top: 80px; padding-bottom: 80px; }
@media (max-width: 720px) {
  .section { padding-top: 56px; padding-bottom: 56px; }
}

.glass {
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  background: rgba(255, 255, 255, 0.03);
}

.section-header h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  letter-spacing: -0.025em;
}

.admin-content { gap: 0; }
.admin-panel-section { padding: 0; }
.admin-panel-header { margin-bottom: 28px; }
.admin-panel-header h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem) !important;
}
.admin-panel-header p { font-size: 0.92rem; }
.admin-card {
  padding: 22px 24px;
}
.admin-grid { gap: 16px; }
.admin-sidebar {

  padding: 24px 18px;
}
.admin-sidebar h3 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin: 0 0 14px;
}
.admin-sidebar a {
  padding: 9px 12px;
  font-size: 0.92rem;
  border-radius: 10px;
}
.admin-sidebar a.active {
  background: rgba(255, 60, 40, 0.12);
  color: var(--accent-light);
  border-color: transparent;
}
.persistence-banner {
  padding: 14px 18px;
  font-size: 0.9rem;
}
.stats-grid { gap: 16px; }
.stat-card { padding: 20px 22px; }
.stat-card .stat-value { font-size: 1.8rem; }

.hero-pro {
  position: relative;

  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: clamp(96px, 15vh, 150px) 24px clamp(80px, 13vh, 130px);
  overflow: hidden;

  background: transparent;
}

.hero-pro-sm {
  height: auto !important;
  min-height: auto !important;
  padding: clamp(44px, 6vh, 64px) 24px clamp(18px, 2.5vh, 28px) !important;
}
.hero-pro-sm .hero-pro-inner {
  max-width: 880px;
  gap: 18px;
}
.hero-pro-sm .hero-pro-wordmark {
  font-size: clamp(2rem, 6vw, 3.6rem) !important;
  line-height: 1.05 !important;
  margin: 14px 0 12px !important;
}
.hero-pro-sm .hero-pro-tagline {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem) !important;
  margin-bottom: 18px !important;
}
.hero-pro-sm .hero-pro-cta {
  margin-top: 10px;
}
@media (max-width: 767px) {
  .hero-pro-sm {
    min-height: 30vh !important;
    padding: 40px 16px 28px !important;
  }
  .hero-pro-sm .hero-pro-wordmark {
    font-size: clamp(1.6rem, 8vw, 2.4rem) !important;
  }
}

.hero-pro-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.hero-pro-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--fg-dim);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(14px);
  animation: hp-up 0.7s 0.05s var(--ease) forwards;
}
.hero-pro-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: dot-ring-pulse 2.2s ease-in-out infinite;
}
@keyframes hp-up {
  to { opacity: 1; transform: translateY(0); }
}

.hero-pro-wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 2px 0;
  perspective: 900px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--fg);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.5);

  animation: hpw-breathe 5.5s ease-in-out infinite;
  transition: transform .5s var(--ease);
  cursor: default;
}
.hero-pro-wordmark:hover {

  transform: scale(1.015);
}
@keyframes hpw-breathe {
  0%, 100% {
    filter: drop-shadow(0 0 32px rgba(255, 60, 40, 0.18));
  }
  50% {
    filter: drop-shadow(0 0 48px rgba(255, 60, 40, 0.32));
  }
}
.hpw-line {
  display: block;
  white-space: nowrap;
  transition: transform .35s var(--ease);
}

/* ---- Premium Hover Glint & Enchantment Effect ---- */
@keyframes enchanted-glint {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 200%; }
}

.plugin-card:hover, .pricing-card:hover, .stat-card:hover {
  border-color: rgba(255, 166, 0, 0.45) !important;
  box-shadow: 
    0 20px 50px -25px var(--accent-glow),
    0 0 15px 1px rgba(255, 166, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.plugin-card::before, .pricing-card::before, .stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 215, 0, 0.08) 50%, transparent 60%);
  background-size: 250% 250%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: 1;
}

.plugin-card:hover::before, .pricing-card:hover::before, .stat-card:hover::before {
  opacity: 1;
  animation: enchanted-glint 3s linear infinite;
}