:root {
  --bg: #0f1115;
  --bg-soft: #15191f;
  --bg-elevated: rgba(20, 24, 31, 0.94);
  --surface: rgba(17, 21, 27, 0.84);
  --surface-strong: rgba(22, 27, 34, 0.96);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --surface-border: rgba(255, 255, 255, 0.1);
  --surface-border-strong: rgba(255, 255, 255, 0.16);
  --text: #eff4ff;
  --muted: #98a6c3;
  --subtle: #6f7b97;
  --gold: #f6c86b;
  --gold-deep: #ba8c36;
  --blue: #69b8ff;
  --blue-deep: #225e9d;
  --silver: #e8edf8;
  --silver-deep: #9aa8c6;
  --danger: #ff6d6d;
  --success: #7ef0b8;
  --basic: #f1994b;
  --classic: #cad4e6;
  --vip: #f4c26a;
  --royal: #67b3ff;
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.42);
  --shadow-md: 0 18px 42px rgba(0, 0, 0, 0.28);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;

}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, sans-serif;
  color: #F5F5F5;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.025) 20%, transparent 44%),
    radial-gradient(circle at 86% 20%, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.02) 18%, transparent 40%),
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.018) 0%, transparent 34%),
    radial-gradient(circle at 50% 42%, #171a1f 0%, #12151a 42%, #0f1115 72%),
    linear-gradient(180deg, rgba(4, 6, 9, 0.22), rgba(4, 6, 9, 0.5)),
    #0F1115;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at center, transparent 40%, rgba(6, 8, 12, 0.16) 72%, rgba(3, 4, 7, 0.34) 100%);
}

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

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

img {
  max-width: 100%;
  display: block;
}

.hidden {
  display: none !important;
}

.shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.promotion-shell {
  width: min(1740px, calc(100% - 8px));
  margin-left: 8px;
  margin-right: 0;
  margin-top: -12px;
}

.page-main {
  padding: 118px 0 88px;
}

/* Admin Dashboard Overhaul */
.admin-full-shell {
  width: 100%;
  max-width: 100%;
  padding: 80px 0 0;
  min-height: 100vh;
  display: flex;
}

.admin-content-area {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
}

.admin-nav-sidebar {
  width: 280px;
  background: var(--surface);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--surface-border);
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
}

.admin-nav-item {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  color: var(--muted);
  font-weight: 500;
  transition: all 0.3s ease;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.admin-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.admin-nav-item.is-active {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #000;
  box-shadow: 0 10px 20px rgba(246, 200, 107, 0.2);
}

.admin-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.admin-tab-pane {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.admin-tab-pane.is-active {
  display: block;
}

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

.pricing-editor-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--surface-border);
  align-items: center;
}

.pricing-editor-row input {
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--surface-border);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}


body[data-page="promotion"] .page-main {
  padding-top: 0;
}

.site-header {
  position: sticky;
  top: 48px; /* Height of the sticky offer bar */
  z-index: 40;
  backdrop-filter: blur(20px);
  background:
    linear-gradient(180deg, rgba(18, 22, 28, 0.95), rgba(13, 16, 21, 0.9));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.22),
    0 0 28px rgba(255, 255, 255, 0.025);
}

.header-shell {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 8px;
}

.promotion-header-shell {
  width: calc(100% - 8px);
  max-width: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  padding: 6px 0;
}

.brand-mark {
  position: relative;
  overflow: visible;
  width: 56px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand-mark::before {
  content: "B";
  position: absolute;
  inset: auto;
  top: 50%;
  left: 48%;
  transform: translate(-59%, -51%);
  color: #eef2f6;
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: 3.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.135em;
  text-shadow: 0 8px 18px rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.brand-mark::after {
  content: "X";
  position: absolute;
  inset: auto;
  top: 50%;
  left: 52%;
  transform: translate(-7%, -34%) rotate(7deg);
  color: #cfa24f;
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: 3.46rem;
  font-weight: 700;
  line-height: 1;
  text-shadow:
    0 8px 20px rgba(207, 162, 79, 0.14),
    0 0 14px rgba(212, 175, 55, 0.06);
  pointer-events: none;
}

.brand-mark-icon {
  display: none;
}

.brand-copy {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-copy::before {
  content: "";
  width: 1px;
  height: 34px;
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(207, 162, 79, 0.06), rgba(207, 162, 79, 0.92), rgba(207, 162, 79, 0.06));
  box-shadow: 0 0 10px rgba(207, 162, 79, 0.1);
}

.brand-name {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  font-size: 0;
}

.brand-name::before,
.brand-name::after {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: clamp(1.12rem, 1rem + 0.48vw, 1.62rem);
  font-weight: 700;
  letter-spacing: 0.095em;
  text-transform: uppercase;
  text-shadow: 0 6px 16px rgba(255, 255, 255, 0.035);
}

.brand-name::before {
  content: "BIGBRAND";
  color: #eef2f6;
}

.brand-name::after {
  content: "X";
  color: #cfa24f;
  text-shadow:
    0 8px 18px rgba(207, 162, 79, 0.14),
    0 0 12px rgba(212, 175, 55, 0.06);
}

.brand-tagline {
  display: none;
}

@media (max-width: 760px) {
  .header-shell {
    min-height: 76px;
    gap: 14px;
    padding: 0 4px;
  }

  .brand {
    gap: 12px;
    padding: 4px 0;
  }

  .brand-mark {
    width: 46px;
    height: 40px;
  }

  .brand-mark::before {
    font-size: 2.8rem;
  }

  .brand-mark::after {
    font-size: 2.55rem;
  }

  .brand-copy {
    gap: 9px;
  }

  .brand-copy::before {
    height: 24px;
  }

  .brand-name {
    font-size: 0;
  }

  .brand-name::before,
  .brand-name::after {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--muted);
  border: 1px solid transparent;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: #eef2f6;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.brand:focus-visible,
.site-nav a:focus-visible,
.header-actions .button:focus-visible {
  outline: 2px solid rgba(207, 162, 79, 0.9);
  outline-offset: 3px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.button {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    filter 180ms ease;
  will-change: transform;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button.small {
  min-height: 40px;
  padding: 0 17px;
  font-size: 0.86rem;
}

.button.full-width {
  width: 100%;
}

.button.primary {
  color: #09101a;
  background: linear-gradient(135deg, #ffe0a1 0%, #f6c86b 44%, #dfa547 100%);
  box-shadow: 0 14px 32px rgba(214, 164, 75, 0.28);
}

.button.secondary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.button.ghost {
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, rgba(246, 200, 107, 0.16), rgba(246, 200, 107, 0.92));
}

.page-subtext {
  margin: 0;
  max-width: 700px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h1,
.section-heading h2,
.section-heading h3 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.04;
}

.section-heading h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.section-heading h2 {
  font-size: clamp(2rem, 3.7vw, 3rem);
}

.section-heading.compact {
  margin-bottom: 24px;
}

.card,
.card-soft {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    var(--surface);
  box-shadow: var(--shadow-md);
}

.card {
  padding: 30px;
}

.card-soft {
  padding: 22px;
}

.hero-section {
  padding-top: 16px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.6rem, 5.2vw, 4.9rem);
  line-height: 0.98;
}

.hero-copy p {
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-metrics {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.04);
}

.metric-card strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 100%;
}

.hero-ribbon {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid rgba(246, 200, 107, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

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

.preview-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(10, 15, 26, 0.74);
}

.preview-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.preview-tag,
.slot-tier-badge,
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 8px 18px rgba(0, 0, 0, 0.14);
}

.preview-tag.basic,
.slot-tier-badge.basic,
.badge.basic {
  color: #2d170a;
  background: linear-gradient(135deg, #f4b16c, #d88735);
}

.preview-tag.local,
.slot-tier-badge.local,
.badge.local {
  color: #2d170a;
  background: linear-gradient(135deg, #f4b16c, #d88735);
}

.preview-tag.classic,
.slot-tier-badge.classic,
.badge.classic {
  color: #121826;
  background: linear-gradient(135deg, #eef2fb, #b8c4de);
}

.preview-tag.vip,
.slot-tier-badge.vip,
.badge.vip {
  color: #2b1d08;
  background: linear-gradient(135deg, #ffe0a1, #d7a24b);
}

.preview-tag.royal,
.slot-tier-badge.royal,
.badge.royal {
  color: #071322;
  background: linear-gradient(135deg, #7dc2ff, #3f86ff);
}

.preview-logo,
.slot-card-mark {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #08121f;
  background: linear-gradient(145deg, #f6c86b, #fff1c4);
}

.preview-logo.classic,
.slot-card-mark.classic {
  color: #10192a;
  background: linear-gradient(145deg, #eff4ff, #c3cfe7);
}

.preview-logo.royal,
.slot-card-mark.royal {
  color: #eef7ff;
  background: linear-gradient(145deg, #64aef9, #2657a4);
}

.preview-logo.basic,
.slot-card-mark.basic {
  color: #fff4eb;
  background: linear-gradient(145deg, #f59f55, #9a4d16);
}

.preview-logo.local,
.slot-card-mark.local {
  color: #fff4eb;
  background: linear-gradient(145deg, #f59f55, #9a4d16);
}

.preview-card h3,
.market-slot h3,
.panel-title,
.auth-title,
.dashboard-header h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
}

.preview-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.spotlight-grid,
.feature-grid,
.plan-grid,
.step-grid,
.info-grid,
.market-preview-grid {
  display: grid;
  gap: 18px;
}

.spotlight-grid,
.feature-grid,
.plan-grid,
.market-preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.feature-card,
.step-card,
.info-card,
.plan-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--surface-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(12, 18, 30, 0.82);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
  will-change: transform;
}

.plan-card:hover,
.info-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.42);
}

.feature-card h3,
.step-card h3,
.info-card h3,
.plan-card h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
}

.feature-card p,
.step-card p,
.info-card p,
.plan-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-card ul,
.plan-card ul,
.bullet-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

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

.cta-banner {
  margin-top: 32px;
  padding: 34px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(246, 200, 107, 0.18);
  background:
    radial-gradient(circle at top right, rgba(246, 200, 107, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(16, 23, 39, 0.94), rgba(11, 17, 30, 0.98));
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.cta-banner h2 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

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

.site-footer {
  padding: 24px 0 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
}

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

.marketplace-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(2, minmax(180px, 0.6fr)) auto;
  gap: 14px;
  align-items: end;
  margin-top: 0;
  padding: 10px 14px;
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(245, 195, 109, 0.18);
  background:
    radial-gradient(circle at top center, rgba(255, 231, 189, 0.08), transparent 46%),
    radial-gradient(circle at left top, rgba(213, 145, 54, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(27, 22, 44, 0.96), rgba(19, 16, 33, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 233, 0.08),
    0 0 0 1px rgba(197, 133, 45, 0.06),
    0 0 26px rgba(195, 125, 36, 0.14),
    0 18px 34px rgba(0, 0, 0, 0.22);
}

.marketplace-toolbar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 243, 219, 0.08), transparent 34%);
  box-shadow:
    inset 0 0 18px rgba(255, 205, 120, 0.05);
}

.toolbar-field label,
.auth-form label,
.checkout-form label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.toolbar-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 100%;
  padding: 0 4px 4px;
}

.toolbar-meta strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  color: #ffe1a8;
  text-shadow: 0 0 18px rgba(226, 163, 68, 0.18);
}

.marketplace-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 16px;
}

.promotion-shell .marketplace-pills {
  grid-column: 1 / -1;
  justify-content: center;
  margin: 0 0 1px;
}

.marketplace-toolbar input,
.marketplace-toolbar select {
  padding: 8px 12px;
  min-height: 38px;
  border-radius: 12px;
  border-color: rgba(245, 195, 109, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 242, 217, 0.035), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 232, 0.05),
    0 0 14px rgba(188, 121, 38, 0.06);
}

.marketplace-toolbar input:focus,
.marketplace-toolbar select:focus {
  border-color: rgba(245, 195, 109, 0.42);
  box-shadow:
    0 0 0 4px rgba(214, 153, 64, 0.14),
    0 0 20px rgba(204, 136, 47, 0.16);
}

.marketplace-toolbar .market-pill {
  min-height: 34px;
  padding: 0 15px;
}

.marketplace-toolbar .toolbar-field label {
  gap: 7px;
  font-size: 0.88rem;
}

.marketplace-toolbar .toolbar-meta {
  padding-bottom: 2px;
}

.market-pill {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #d4dbeb;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.market-pill:hover,
.market-pill.is-active {
  transform: translateY(-1px);
  color: var(--text);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.market-pill.vip.is-active {
  border-color: rgba(244, 194, 106, 0.52);
  background: rgba(244, 194, 106, 0.12);
}

.market-pill.classic.is-active {
  border-color: rgba(210, 220, 240, 0.52);
  background: rgba(210, 220, 240, 0.12);
}

.market-pill.local.is-active {
  border-color: rgba(241, 153, 75, 0.52);
  background: rgba(241, 153, 75, 0.12);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 14px 16px;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(105, 184, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(105, 184, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

select option {
  color: #08111d;
}

.marketplace-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(320px, 24vw, 390px);
  gap: 12px;
  margin-top: 10px;
  align-items: start;
}

.marketplace-testimonials {
  position: sticky;
  top: 94px;
  width: 100%;
  min-width: 0;
  padding: 22px 16px;
  border-radius: 28px;
  min-height: 920px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 36%),
    linear-gradient(180deg, rgba(20, 24, 31, 0.94), rgba(14, 18, 24, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.marketplace-testimonials-head {
  margin-bottom: 14px;
}

.marketplace-testimonials-head .page-subtext {
  font-size: 0.93rem;
  line-height: 1.65;
}

.marketplace-testimonials-empty {
  padding: 16px 0 4px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.testimonials-marquee {
  position: relative;
  height: 780px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
}

.testimonials-track {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: testimonialFloat 20s linear infinite;
  will-change: transform;
}

.testimonials-marquee:hover .testimonials-track,
.testimonials-marquee:focus-within .testimonials-track,
.testimonials-track.is-static {
  animation-play-state: running;
}

.testimonials-track.is-static {
  transform: none;
}

.testimonial-card {
  padding: 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.testimonial-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.testimonial-avatar,
.testimonial-avatar-image,
.testimonial-avatar-fallback {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  flex-shrink: 0;
}

.testimonial-avatar {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.testimonial-avatar-image {
  object-fit: cover;
}

.testimonial-avatar-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(207, 162, 79, 0.18), rgba(207, 162, 79, 0.07));
  color: #f0d69f;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.testimonial-identity {
  min-width: 0;
}

.testimonial-identity strong {
  display: block;
  color: #eef2f6;
  font-size: 0.95rem;
}

.testimonial-stars {
  display: inline-flex;
  gap: 2px;
  margin-bottom: 10px;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
}

.testimonial-stars .is-filled {
  color: #cfa24f;
}

.testimonial-stars .is-muted {
  color: rgba(255, 255, 255, 0.18);
}

.testimonial-message {
  margin: 0;
  color: #d9e2ef;
  font-size: 0.92rem;
  line-height: 1.68;
}

@keyframes testimonialFloat {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}

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

.marketplace-frame {
  margin-top: 10px;
  padding: 18px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 24%),
    radial-gradient(circle at 12% 90%, rgba(255, 255, 255, 0.03), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(255, 255, 255, 0.025), transparent 22%),
    linear-gradient(180deg, rgba(19, 23, 29, 0.98), rgba(13, 16, 21, 0.99));
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 22px 50px rgba(0, 0, 0, 0.28),
    0 0 40px rgba(255, 255, 255, 0.025);
}

.promotion-shell .marketplace-frame {
  margin-top: -10px;
  padding: 48px 32px 34px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.showcase-grid.is-transitioning-next {
  animation: marketplaceGridNext 1.08s cubic-bezier(0.2, 0.78, 0.22, 1) both;
}

.showcase-grid.is-transitioning-prev {
  animation: marketplaceGridPrev 1.08s cubic-bezier(0.2, 0.78, 0.22, 1) both;
}

.showcase-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
  transform-origin: center center;
  will-change: transform;
}

.showcase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 34%);
  pointer-events: none;
  opacity: 0.5;
}

.showcase-card::after {
  content: "";
  position: absolute;
  top: -34px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.11;
  pointer-events: none;
  z-index: 0;
}

.showcase-top,
.showcase-bottom {
  overflow: hidden;
}

.showcase-top::before,
.showcase-bottom::before {
  content: "";
  position: absolute;
  top: -24%;
  left: -46%;
  width: 44%;
  height: 165%;
  transform: rotate(16deg) translateX(-155%);
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.16) 48%, transparent 100%);
  opacity: 0.34;
  pointer-events: none;
  z-index: 1;
  animation: showcaseShimmer 7.8s ease-in-out infinite;
}

.showcase-bottom::before {
  top: -38%;
  left: -50%;
  width: 40%;
  height: 178%;
  opacity: 0.24;
  animation-duration: 9.2s;
  animation-delay: 1.1s;
}

.showcase-card.is-live {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 42px rgba(0, 0, 0, 0.28);
}

.showcase-card.is-open {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 16px 30px rgba(0, 0, 0, 0.22);
}

.showcase-card-vip {
  border-color: rgba(150, 44, 64, 0.34);
  box-shadow:
    0 0 0 1px rgba(98, 22, 38, 0.12),
    0 18px 36px rgba(0, 0, 0, 0.24),
    0 0 32px rgba(138, 34, 57, 0.18);
}

.showcase-card-vip::after {
  background: radial-gradient(circle, rgba(155, 38, 66, 0.88), transparent 70%);
}

.showcase-card-classic {
  border-color: rgba(214, 174, 82, 0.36);
  box-shadow:
    0 0 0 1px rgba(142, 102, 24, 0.14),
    0 18px 36px rgba(0, 0, 0, 0.24),
    0 0 32px rgba(194, 150, 48, 0.2);
}

.showcase-card-classic::after {
  background: radial-gradient(circle, rgba(215, 172, 63, 0.9), transparent 70%);
}

.showcase-card-local {
  border-color: rgba(182, 194, 213, 0.34);
  box-shadow:
    0 0 0 1px rgba(102, 116, 142, 0.12),
    0 18px 36px rgba(0, 0, 0, 0.24),
    0 0 30px rgba(166, 179, 199, 0.18);
}

.showcase-card-local::after {
  background: radial-gradient(circle, rgba(191, 201, 218, 0.88), transparent 70%);
}

.showcase-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.42);
}

.showcase-card:hover .showcase-top::before,
.showcase-card:hover .showcase-bottom::before {
  opacity: 0.56;
  animation-duration: 4.8s;
}

.showcase-card-vip:hover {
  box-shadow:
    0 0 0 1px rgba(184, 78, 99, 0.16),
    0 24px 44px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(138, 34, 57, 0.22);
}

.showcase-card-classic:hover {
  box-shadow:
    0 0 0 1px rgba(238, 203, 122, 0.18),
    0 24px 44px rgba(0, 0, 0, 0.3),
    0 0 38px rgba(194, 150, 48, 0.24);
}

.showcase-card-local:hover {
  box-shadow:
    0 0 0 1px rgba(210, 220, 236, 0.16),
    0 24px 44px rgba(0, 0, 0, 0.3),
    0 0 36px rgba(166, 179, 199, 0.22);
}

.showcase-card.is-clickable {
  cursor: pointer;
}

.showcase-top {
  min-height: 172px;
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.showcase-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 30%);
  pointer-events: none;
}

.showcase-top::before {
  content: "";
  position: absolute;
  top: -24%;
  left: -46%;
  width: 44%;
  height: 165%;
  transform: rotate(16deg) translateX(-155%);
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.16) 48%, transparent 100%);
  opacity: 0.34;
  pointer-events: none;
  z-index: 1;
  animation: showcaseShimmer 7.8s ease-in-out infinite;
}

.executive-card,
.showcase-top.vip {
  background:
    linear-gradient(135deg, #5E1424, #8F2439);
  box-shadow:
    inset 0 1px 0 rgba(255, 228, 234, 0.08),
    inset 0 -18px 28px rgba(208, 111, 134, 0.03),
    0 0 22px rgba(138, 34, 57, 0.14);
}

.premium-card,
.showcase-top.classic {
  background:
    linear-gradient(135deg, #8A6518, #D9B34D);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 223, 0.12),
    inset 0 -18px 28px rgba(248, 229, 176, 0.04),
    0 0 24px rgba(194, 150, 48, 0.16);
}

.economical-card,
.showcase-top.local {
  background:
    linear-gradient(135deg, #8E99AE, #C8D0DE);
  box-shadow:
    inset 0 1px 0 rgba(245, 248, 253, 0.12),
    inset 0 -18px 28px rgba(216, 223, 235, 0.04),
    0 0 22px rgba(166, 179, 199, 0.14);
}

.showcase-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.showcase-state {
  color: rgba(255, 248, 236, 0.92);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(8, 10, 18, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-card.is-live .showcase-state {
  color: #fdf5e6;
  background: rgba(29, 89, 54, 0.22);
  border-color: rgba(118, 234, 176, 0.18);
  box-shadow: 0 0 16px rgba(74, 205, 129, 0.08);
}

.showcase-card.is-open .showcase-state {
  color: #fff2db;
  background: rgba(112, 67, 21, 0.18);
  border-color: rgba(255, 197, 110, 0.16);
}

.showcase-card-local.is-open .showcase-state,
.showcase-card-local.is-live .showcase-state {
  color: rgba(31, 43, 61, 0.88);
}

.showcase-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
  min-height: 106px;
}

.showcase-logo,
.showcase-logo-image {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  flex-shrink: 0;
}

.showcase-logo {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff6eb;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.showcase-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 42%);
  pointer-events: none;
}

.showcase-logo.vip {
  background: linear-gradient(145deg, rgba(198, 115, 135, 0.38), rgba(108, 24, 42, 0.58));
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 240, 0.1),
    0 0 16px rgba(138, 34, 57, 0.14);
}

.showcase-logo.classic {
  background: linear-gradient(145deg, rgba(249, 233, 186, 0.44), rgba(162, 118, 28, 0.62));
  box-shadow:
    inset 0 1px 0 rgba(255, 251, 235, 0.14),
    0 0 18px rgba(194, 150, 48, 0.16);
}

.showcase-logo.local {
  background: linear-gradient(145deg, rgba(228, 234, 243, 0.44), rgba(118, 129, 151, 0.58));
  box-shadow:
    inset 0 1px 0 rgba(249, 251, 255, 0.14),
    0 0 16px rgba(166, 179, 199, 0.14);
  color: #223246;
}

.showcase-logo-image {
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 18px rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

.showcase-copy h3 {
  margin: 0;
  color: #fff8f0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.14rem;
  line-height: 1.2;
  letter-spacing: 0.015em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
  font-weight: 800;
}

.showcase-card-vip .showcase-copy h3 {
  color: #fff4f6;
}

.showcase-card-classic .showcase-copy h3 {
  color: #fff5da;
}

.showcase-card-local .showcase-copy h3 {
  color: #1f2b3d;
}

.showcase-card-local .showcase-copy p {
  color: rgba(31, 43, 61, 0.8);
}

.showcase-copy p {
  margin: 6px 0 0;
  color: rgba(255, 244, 232, 0.76);
  line-height: 1.5;
  font-size: 0.8rem;
  font-weight: 500;
  max-width: 220px;
}

.showcase-bottom {
  display: grid;
  gap: 10px;
  padding: 12px 16px 14px;
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.03)),
    rgba(24, 28, 34, 0.9);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.showcase-bottom::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.14) 48%, transparent 100%);
}

.showcase-bottom::after {
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  pointer-events: none;
}

.showcase-action-row {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  z-index: 1;
}

.showcase-cta-link {
  min-height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  will-change: transform;
}

.showcase-cta-link.primary {
  color: #f5f7fb;
  background: linear-gradient(135deg, rgba(238, 242, 247, 0.22), rgba(144, 153, 166, 0.2));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 22px rgba(214, 222, 235, 0.14),
    0 10px 18px rgba(26, 34, 46, 0.24);
  border-color: rgba(255, 255, 255, 0.18);
}

.showcase-cta-link.secondary {
  color: #EAEAEA;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 10px 18px rgba(0, 0, 0, 0.18);
}

.showcase-cta-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.showcase-cta-link:active {
  transform: translateY(0) scale(0.98);
}

.showcase-meta {
  display: grid;
  justify-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  color: #9CA3AF;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 12px 12px 11px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 24px rgba(0, 0, 0, 0.22);
}

.showcase-meta strong {
  color: #EAEAEA;
  font-size: 1rem;
  font-family: Inter, system-ui, sans-serif;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.showcase-card-classic .showcase-meta strong {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05));
}

.showcase-card-local .showcase-meta strong {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  color: #EAEAEA;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.showcase-price-label {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.66rem;
  font-weight: 800;
  color: #f7d79a;
}

.showcase-price-old {
  position: relative;
  min-width: 0;
  text-align: center;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(214, 43, 43, 0.9);
}

.showcase-trial-line {
  color: #169b58;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 0 12px rgba(37, 191, 106, 0.16);
}

.showcase-topbar .slot-tier-badge {
  min-height: 24px;
  padding: 0 9px;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.showcase-card-vip .slot-tier-badge {
  color: #5f1220;
  background: linear-gradient(135deg, #ffd4da, #f07285);
  border-color: rgba(255, 221, 227, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 244, 0.3),
    0 10px 18px rgba(196, 49, 73, 0.18);
}

.showcase-card-classic .slot-tier-badge {
  color: #4d3604;
  background: linear-gradient(135deg, #f6e2a2, #d0a532);
  border-color: rgba(250, 236, 191, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 252, 238, 0.32),
    0 10px 18px rgba(194, 150, 48, 0.2);
}

.showcase-card-local .slot-tier-badge {
  color: #334155;
  background: linear-gradient(135deg, #eef2f8, #b7c1d4);
  border-color: rgba(232, 238, 247, 0.44);
  box-shadow:
    inset 0 1px 0 rgba(251, 253, 255, 0.32),
    0 10px 18px rgba(166, 179, 199, 0.18);
}

.showcase-bottom .button.secondary {
  background: rgba(11, 16, 30, 0.08);
  border-color: rgba(17, 26, 42, 0.14);
  color: #152037;
}

.showcase-bottom .button {
  min-height: 30px;
  border-radius: 3px;
  font-size: 0.66rem;
  padding: 0 12px;
}

.marketplace-hero-copy {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 28px;
  text-align: center;
}

.marketplace-hero-offer {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ecfdf3;
  text-shadow: 0 0 24px rgba(72, 226, 139, 0.24);
}

.marketplace-page-topic {
  margin: 0;
  min-height: 1.4em;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffdfb4;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.marketplace-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
}

.pagination-button {
  min-width: 30px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.pagination-button:hover:not(:disabled),
.pagination-button.is-active {
  color: #211307;
  background: linear-gradient(135deg, #f8d899, #d89d43);
  border-color: rgba(244, 194, 106, 0.5);
}

.pagination-button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.pagination-button.is-active {
  animation: paginationPulse 800ms cubic-bezier(0.22, 0.9, 0.28, 1);
}

@keyframes marketplaceGridNext {
  0% {
    opacity: 0.24;
    transform: translate3d(34px, 0, 0) rotateY(-2.2deg) scale(0.992);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateY(0deg) scale(1);
  }
}

@keyframes marketplaceGridPrev {
  0% {
    opacity: 0.24;
    transform: translate3d(-34px, 0, 0) rotateY(2.2deg) scale(0.992);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateY(0deg) scale(1);
  }
}

@keyframes paginationPulse {
  0% {
    transform: translateY(0) scale(0.92) rotateX(0deg);
  }
  60% {
    transform: translateY(-2px) scale(1.08) rotateX(8deg);
  }
  100% {
    transform: translateY(0) scale(1) rotateX(0deg);
  }
}

@media (pointer: coarse), (max-width: 900px) {
  .showcase-grid {
    perspective: none;
  }

  .showcase-grid.is-transitioning-next,
  .showcase-grid.is-transitioning-prev {
    animation-duration: 560ms;
  }

  .showcase-card {
    transform: none;
    transition:
      border-color 180ms ease,
      box-shadow 180ms ease,
      background 180ms ease,
      opacity 180ms ease;
  }

  .showcase-card:hover {
    transform: none;
  }

  .plan-card:hover,
  .info-card:hover,
  .market-slot:hover,
  .market-slot.is-selected {
    transform: none;
  }

  .showcase-card::before,
  .showcase-card::after {
    opacity: 0.72;
  }
}

.market-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 320px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--surface-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(12, 18, 31, 0.88);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  cursor: pointer;
  will-change: transform;
}

.market-slot:hover,
.market-slot.is-selected {
  transform: translateY(-6px) scale(1.01);
}

.market-slot.is-selected {
  border-color: rgba(255, 255, 255, 0.24);
}

.market-slot-basic {
  box-shadow: 0 18px 42px rgba(165, 88, 23, 0.18);
}

.market-slot-classic {
  box-shadow: 0 18px 42px rgba(189, 203, 233, 0.12);
}

.market-slot-vip {
  box-shadow: 0 18px 44px rgba(244, 194, 106, 0.18);
}

.market-slot-royal {
  box-shadow: 0 20px 48px rgba(84, 153, 255, 0.2);
}

.market-slot-basic:hover,
.market-slot-basic.is-selected {
  border-color: rgba(241, 153, 75, 0.56);
  box-shadow: 0 24px 54px rgba(177, 101, 39, 0.28);
}

.market-slot-classic:hover,
.market-slot-classic.is-selected {
  border-color: rgba(226, 233, 247, 0.5);
  box-shadow: 0 24px 54px rgba(178, 192, 220, 0.2);
}

.market-slot-vip:hover,
.market-slot-vip.is-selected {
  border-color: rgba(244, 194, 106, 0.58);
  box-shadow: 0 24px 56px rgba(194, 150, 67, 0.22);
}

.market-slot-royal:hover,
.market-slot-royal.is-selected {
  border-color: rgba(103, 179, 255, 0.62);
  box-shadow: 0 26px 58px rgba(68, 139, 255, 0.26);
}

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

.slot-status {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.slot-logo-box {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.slot-card-logo {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.slot-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.slot-meta {
  margin-top: auto;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.slot-meta div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.slot-meta strong {
  color: var(--text);
}

.marketplace-sidebar {
  position: sticky;
  top: 102px;
}

.sidebar-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar-panel h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.7rem;
}

.sidebar-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.sidebar-details {
  display: grid;
  gap: 12px;
}

.sidebar-details div {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sidebar-details span {
  color: var(--muted);
}

.sidebar-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.inline-message {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--gold);
  font-weight: 600;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.auth-layout-single {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.signup-page-shell {
  gap: 28px;
}

.signup-single-shell {
  width: min(760px, calc(100% - 28px));
  margin: 0 auto;
}

.auth-panel {
  padding: 34px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--surface-border);
  background:
    radial-gradient(circle at top right, rgba(105, 184, 255, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(17, 24, 40, 0.94), rgba(10, 16, 28, 0.98));
  box-shadow: var(--shadow-lg);
}

.signup-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(246, 200, 107, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(105, 184, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(20, 27, 44, 0.96), rgba(10, 16, 28, 0.99));
}

.signup-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 34%);
  pointer-events: none;
}

.auth-panel .panel-title {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 12px;
}

.auth-panel .bullet-list {
  margin-top: 24px;
}

.signup-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.signup-chip {
  min-height: 30px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 219, 167, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #f4d7a0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signup-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.signup-mini-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 28px rgba(0, 0, 0, 0.18);
}

.signup-mini-card strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  color: #fff7e6;
}

.signup-mini-card span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.auth-page,
.dashboard-shell,
.checkout-shell,
.admin-shell {
  padding-top: 18px;
}

.dashboard-shell {
  padding-top: 18px;
}

.dashboard-shell {
  position: relative;
  overflow: hidden;
}

.dashboard-shell > .shell {
  width: min(1680px, calc(100% - 24px));
}

.auth-card,
.dashboard-card {
  min-height: auto;
}

.auth-card-large {
  padding: 34px;
}

.auth-card-centered {
  width: min(760px, 100%);
}

.login-focus-card {
  max-width: 760px;
  margin: 0 auto;
}

.profile-card {
  width: min(1100px, 100%);
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px;
}

.profile-page-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 24px;
}

.compact-profile-head {
  text-align: left;
  max-width: none;
  margin: 0 0 18px;
}

.compact-profile-head .panel-title {
  margin: 0;
  font-size: 1.9rem;
}

.profile-settings-layout {
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  width: 100%;
}

.profile-summary-panel,
.profile-edit-panel {
  position: static;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  align-self: start;
}

.profile-avatar-shell {
  margin: 0;
  padding: 18px;
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.profile-avatar-frame {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  border: 1px solid rgba(246, 200, 107, 0.24);
  background:
    radial-gradient(circle at top left, rgba(244, 194, 106, 0.22), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 22px 34px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.profile-avatar-image,
.profile-avatar-fallback {
  width: 100%;
  height: 100%;
}

.profile-avatar-image {
  object-fit: cover;
}

.profile-avatar-fallback {
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff1d6;
  letter-spacing: 0.08em;
}

.profile-avatar-copy {
  display: grid;
  gap: 6px;
}

.profile-avatar-copy strong {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.96rem;
  color: #fff3dd;
}

.profile-avatar-copy span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.profile-upload-button {
  position: relative;
  overflow: hidden;
}

.profile-summary-compact {
  margin-top: 14px;
}

.profile-summary-compact div,
.profile-summary-compact strong,
.profile-summary-compact span {
  min-width: 0;
}

.profile-summary-compact div {
  display: grid;
  gap: 4px;
}

.profile-summary-compact strong {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.88rem;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.compact-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 14px;
  width: 100%;
}

.compact-profile-grid label {
  gap: 6px;
  min-width: 0;
}

.compact-profile-grid label,
.profile-advanced-grid label {
  display: grid;
  color: rgba(245, 245, 245, 0.84);
  font-size: 0.82rem;
  font-weight: 600;
}

.compact-profile-grid input,
.profile-advanced-grid input {
  width: 100%;
  max-width: 100%;
  min-height: 42px;
  padding: 11px 13px;
  border-radius: 12px;
}

.profile-edit-panel {
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.profile-edit-panel .auth-form,
.profile-edit-panel .auth-form-grid,
.profile-edit-panel .full-row,
.profile-message {
  width: 100%;
  max-width: 100%;
}

.profile-advanced-details {
  grid-column: 1 / -1;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 0;
  overflow: hidden;
}

.profile-advanced-details summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff0d8;
}

.profile-advanced-details summary::-webkit-details-marker {
  display: none;
}

.profile-advanced-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0 16px 16px;
  width: 100%;
}

.profile-form-grid label.full-row {
  grid-column: 1 / -1;
}

.profile-page-actions {
  grid-column: 1 / -1;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 4px;
}

@media (max-width: 980px) {
  .profile-card {
    width: min(100%, 100%);
    padding: 20px;
  }

  .profile-settings-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .compact-profile-grid,
  .profile-advanced-grid {
    grid-template-columns: 1fr;
  }
}

.auth-card-glow {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(244, 194, 106, 0.09), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    var(--surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 28px 56px rgba(0, 0, 0, 0.26);
}

.auth-card-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 30%);
  pointer-events: none;
}

.signup-focus-card {
  max-width: 760px;
  margin: 0 auto;
}

.auth-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 10px;
}

.auth-form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

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

.auth-form-grid button,
.auth-form-grid .inline-message,
.auth-form-grid .full-row {
  grid-column: 1 / -1;
}

.auth-form-grid label:last-of-type {
  grid-column: 1 / -1;
}

.signup-form-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 6px;
}

.signup-form-note strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  color: #fff1d4;
}

.signup-form-note span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.field-note {
  display: block;
  margin-top: 8px;
  color: rgba(194, 204, 225, 0.76);
  font-size: 0.82rem;
  line-height: 1.55;
}

.field-status {
  display: block;
  min-height: 20px;
  margin-top: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--muted);
}

.field-status.success {
  color: var(--success);
}

.field-status.error {
  color: #ffb0b0;
}

.field-status.muted {
  color: var(--muted);
}

.password-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: -4px;
}

.password-rule {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(221, 229, 244, 0.84);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.password-rule::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 230, 175, 0.95), rgba(240, 175, 70, 0.95));
  box-shadow: 0 0 14px rgba(240, 182, 80, 0.28);
}

.otp-form-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 214, 154, 0.14);
  background:
    radial-gradient(circle at top left, rgba(244, 194, 106, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.03);
}

.auth-alt {
  margin-top: 18px;
}

.auth-alt a {
  color: var(--gold);
}

.security-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.auth-chip-row {
  margin-top: 16px;
  margin-bottom: 8px;
}

.security-chip {
  min-height: 34px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(244, 194, 106, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.025);
  color: #f6d59b;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.forgot-divider {
  position: relative;
  margin: 22px 0 18px;
  text-align: center;
}

.forgot-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.forgot-divider span {
  position: relative;
  padding: 0 14px;
  background: var(--surface);
  color: rgba(222, 230, 245, 0.8);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-login-block {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.social-login-block-top {
  margin-top: 20px;
}

.google-login-shell {
  display: flex;
  justify-content: center;
  width: 100%;
}

.google-login-shell > div {
  min-height: 40px;
  width: min(360px, 100%);
}

.google-login-fallback {
  width: 100%;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #dadce0;
  border-radius: 999px;
  background: #ffffff;
  color: #1f1f1f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.96rem;
  font-weight: 600;
  font-family: "Outfit", sans-serif;
  box-shadow: 0 10px 26px rgba(15, 20, 32, 0.18);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  cursor: pointer;
}

.google-login-fallback:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(15, 20, 32, 0.22);
  border-color: #c8ccd1;
}

.google-login-fallback:focus-visible {
  outline: none;
  border-color: #ffab46;
  box-shadow: 0 0 0 3px rgba(255, 171, 70, 0.24), 0 10px 26px rgba(15, 20, 32, 0.18);
}

.google-login-fallback-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.google-login-fallback-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.security-block {
  margin-top: 8px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(126, 183, 255, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
}

.security-title {
  margin: 8px 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.28rem;
  color: #fff5e5;
}

.captcha-shell {
  min-height: 68px;
  padding: 12px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
  display: grid;
  place-items: center;
}

.captcha-shell.hidden {
  display: none;
}

.captcha-shell > div {
  max-width: 100%;
}

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

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

.dashboard-card .stats-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mini-stat {
  padding: 24px;
  min-height: 146px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mini-stat span {
  color: var(--muted);
}

.mini-stat strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
}

.admin-analytics-shell {
  margin-top: 22px;
  padding: 24px;
  display: grid;
  gap: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(126, 183, 255, 0.08), transparent 28%),
    radial-gradient(circle at bottom left, rgba(244, 194, 106, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    rgba(8, 12, 20, 0.82);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.admin-analytics-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.range-pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.range-pill {
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.range-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(246, 200, 107, 0.28);
  color: #fff2d7;
}

.range-pill.is-active {
  color: #1f1508;
  border-color: rgba(255, 224, 161, 0.62);
  background: linear-gradient(135deg, rgba(255, 228, 176, 0.98), rgba(236, 169, 65, 0.94));
  box-shadow: 0 14px 28px rgba(233, 171, 69, 0.18);
}

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

.analytics-grid-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-card {
  min-height: 146px;
  padding: 20px 18px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.025);
}

.metric-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.metric-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.75rem, 2vw, 2.35rem);
  color: #fff5e5;
  line-height: 1;
}

.metric-card small {
  color: rgba(222, 230, 245, 0.72);
  font-size: 0.84rem;
  line-height: 1.45;
}

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

.analytics-panel {
  min-height: 310px;
  padding: 20px;
  display: grid;
  align-content: start;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at top left, rgba(244, 194, 106, 0.04), transparent 28%),
    rgba(255, 255, 255, 0.02);
}

.analytics-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.analytics-panel-head h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.02rem;
  color: #fff2dc;
}

.analytics-panel-head span {
  color: rgba(222, 230, 245, 0.68);
  font-size: 0.8rem;
}

.mini-bars {
  min-height: 220px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
  align-items: end;
  gap: 12px;
}

.mini-bar-item {
  min-width: 0;
  display: grid;
  gap: 10px;
  align-items: end;
}

.mini-bar-track {
  min-height: 178px;
  padding: 10px 8px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(9, 13, 22, 0.74);
}

.mini-bar-fill {
  width: 100%;
  max-width: 28px;
  display: block;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffdca5 0%, #f0a13d 100%);
  box-shadow:
    0 10px 20px rgba(240, 161, 61, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: height 0.4s ease;
}

.mini-bars.danger .mini-bar-fill {
  background: linear-gradient(180deg, #ffad8c 0%, #d74d2a 100%);
  box-shadow:
    0 10px 20px rgba(215, 77, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.mini-bar-label {
  color: rgba(222, 230, 245, 0.78);
  font-size: 0.76rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
}

.analytics-list,
.analytics-feed {
  display: grid;
  gap: 10px;
}

.analytics-table {
  display: grid;
  gap: 10px;
}

.analytics-table-head,
.analytics-table-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1.6fr) 110px 110px 120px;
  gap: 12px;
  align-items: center;
}

.analytics-table-head {
  padding: 0 8px 8px;
  color: rgba(222, 230, 245, 0.6);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.analytics-table-row {
  min-height: 60px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.016);
}

.analytics-table-row span,
.analytics-table-row strong {
  min-width: 0;
  word-break: break-word;
}

.analytics-table-row strong {
  font-family: "Space Grotesk", sans-serif;
  color: #fff1d6;
  font-size: 0.94rem;
}

.analytics-list-row,
.analytics-feed-row {
  min-height: 60px;
  padding: 14px 16px;
  display: grid;
  gap: 4px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.016);
}

.analytics-list-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.analytics-list-row span,
.analytics-feed-row span {
  min-width: 0;
  color: rgba(231, 236, 247, 0.88);
  font-size: 0.92rem;
  line-height: 1.45;
  word-break: break-word;
}

.analytics-list-row strong,
.analytics-feed-row strong {
  font-family: "Space Grotesk", sans-serif;
  color: #fff1d6;
  font-size: 0.96rem;
}

.analytics-feed-row small {
  color: rgba(222, 230, 245, 0.62);
  font-size: 0.78rem;
}

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

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(190px, 228px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.dashboard-workspace {
  min-width: 0;
  height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 320px);
  gap: 28px;
  align-items: start;
  justify-content: start;
}

.dashboard-stage {
  width: 100%;
  margin-left: 0;
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.dashboard-rail {
  position: sticky;
  top: 86px;
  padding: 14px 0 6px;
  display: grid;
  gap: 10px;
  align-content: start;
  align-self: start;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(246, 200, 107, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.022));
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 32px rgba(0, 0, 0, 0.18);
}

.dashboard-rail-brand {
  display: grid;
  gap: 10px;
  padding: 0 16px;
}

.dashboard-rail-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.dashboard-rail-logo-mark {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(207, 162, 79, 0.95), rgba(164, 124, 48, 0.92));
  color: #101318;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 18px rgba(207, 162, 79, 0.16);
}

.dashboard-rail-logo-text {
  color: #f2eadb;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.dashboard-identity {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  align-self: start;
}

.dashboard-identity-avatar {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(246, 200, 107, 0.22);
  background:
    radial-gradient(circle at top left, rgba(244, 194, 106, 0.18), transparent 44%),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
}

.dashboard-identity-photo,
.dashboard-identity-fallback {
  width: 100%;
  height: 100%;
}

.dashboard-identity-photo {
  object-fit: cover;
}

.dashboard-identity-fallback {
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff0d4;
}

.dashboard-identity-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.dashboard-profile-name {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  color: #fff4de;
}

.dashboard-profile-company {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.dashboard-rail-links {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 0 16px 2px;
}

.dashboard-rail-links a,
.dashboard-rail-logout {
  min-height: 46px;
  width: 100%;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.018);
  color: rgba(240, 242, 247, 0.88);
  font-size: 0.89rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.dashboard-rail-links a.is-current {
  border-color: rgba(246, 200, 107, 0.18);
  background:
    linear-gradient(180deg, rgba(246, 200, 107, 0.14), rgba(246, 200, 107, 0.05)),
    rgba(255, 255, 255, 0.02);
  color: #fff1d8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 10px 18px rgba(0, 0, 0, 0.14);
}

.dashboard-rail-links a:hover,
.dashboard-rail-logout:hover {
  transform: translateY(-1px);
  border-color: rgba(246, 200, 107, 0.14);
  background:
    linear-gradient(180deg, rgba(246, 200, 107, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.02);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.14);
}

.auth-form .button {
  width: 100%;
  justify-content: center;
}

.auth-card .inline-message {
  margin-top: 2px;
}

.dashboard-rail-logout {
  justify-content: flex-start;
}

.dashboard-rail-links a:focus-visible,
.dashboard-rail-logout:focus-visible {
  outline: 2px solid rgba(246, 200, 107, 0.55);
  outline-offset: 2px;
}

.dashboard-rail-links .feedback-link::before {
  content: "★";
  display: inline-block;
  margin-right: 10px;
  color: #cfa24f;
  font-size: 0.78rem;
  transform: translateY(-1px);
}

.dashboard-main-content {
  min-width: 0;
  position: relative;
  overflow: hidden;
  max-width: none;
  width: 100%;
}

.dashboard-main-content.dashboard-card {
  min-height: auto;
  height: auto;
}

.feedback-main-content {
  min-width: 0;
  display: grid;
  gap: 22px;
  align-content: start;
}

.feedback-header-panel {
  display: grid;
  gap: 8px;
}

.feedback-form-shell {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(246, 200, 107, 0.08), transparent 34%),
    radial-gradient(circle at bottom left, rgba(105, 184, 255, 0.045), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.022));
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 34px rgba(0, 0, 0, 0.18);
}

.feedback-form {
  display: grid;
  gap: 0;
}

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

.feedback-form-grid .full-row {
  grid-column: 1 / -1;
}

.feedback-rating-block {
  display: grid;
  gap: 12px;
}

.feedback-rating-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.feedback-rating-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.62);
}

.feedback-rating-copy strong {
  color: #fff2d9;
  font-size: 0.95rem;
}

.feedback-stars {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.feedback-star {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.28);
  font-size: 1.5rem;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.feedback-star:hover,
.feedback-star:focus-visible {
  transform: translateY(-2px);
  color: rgba(207, 162, 79, 0.82);
  border-color: rgba(207, 162, 79, 0.18);
  background: rgba(207, 162, 79, 0.08);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
  outline: none;
}

.feedback-star.is-active {
  color: #cfa24f;
  border-color: rgba(207, 162, 79, 0.2);
  background:
    linear-gradient(180deg, rgba(207, 162, 79, 0.14), rgba(207, 162, 79, 0.06)),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 24px rgba(0, 0, 0, 0.18);
}

.feedback-form textarea {
  min-height: 140px;
  resize: vertical;
}

.feedback-consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.feedback-consent-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #cfa24f;
  flex-shrink: 0;
}

.feedback-consent-row span {
  display: block;
}

.feedback-actions {
  justify-content: flex-start;
}

.feedback-why-section {
  display: grid;
  gap: 14px;
}

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

.feedback-why-card {
  min-width: 0;
  min-height: 148px;
  padding: 20px;
  display: grid;
  align-content: start;
  gap: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(246, 200, 107, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.024));
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 30px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.feedback-why-card:hover {
  transform: translateY(-3px);
  border-color: rgba(246, 200, 107, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 36px rgba(0, 0, 0, 0.2);
}

.feedback-why-card strong {
  color: #fff2da;
  font-size: 1rem;
}

.feedback-why-card span {
  color: rgba(245, 245, 245, 0.68);
  font-size: 0.88rem;
  line-height: 1.6;
}

.dashboard-header-panel {
  margin-bottom: 24px;
}

.dashboard-profile-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 0;
}

.dashboard-profile-head > div {
  min-width: 0;
}

.dashboard-title {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1.85rem, 2.6vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff6e8;
}

.dashboard-primary-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dashboard-card .stats-row {
  gap: 16px;
  margin-bottom: 26px;
}

.dashboard-card .mini-stat {
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.dashboard-card .mini-stat span {
  display: block;
  margin-bottom: 10px;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.62);
}

.dashboard-card .mini-stat strong {
  display: block;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  font-weight: 800;
  line-height: 1;
  color: #fff7eb;
}

.dashboard-quick-section {
  margin-bottom: 26px;
}

.compact-heading {
  margin-bottom: 14px;
}

.compact-heading h2 {
  margin: 0;
}

.dashboard-quick-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-action-card {
  min-width: 0;
  min-height: 132px;
  padding: 18px 18px 16px;
  display: grid;
  align-content: start;
  gap: 8px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.025));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-action-card strong {
  color: #fff4de;
  font-size: 0.95rem;
  font-weight: 700;
}

.dashboard-action-card span {
  color: rgba(245, 245, 245, 0.66);
  font-size: 0.83rem;
  line-height: 1.5;
}

.dashboard-action-card:hover {
  transform: translateY(-3px);
  border-color: rgba(246, 200, 107, 0.18);
  background: linear-gradient(180deg, rgba(246, 200, 107, 0.07), rgba(255, 255, 255, 0.03));
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
}

.dashboard-secondary-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  margin-bottom: 22px;
}

.trial-status-card,
.account-details-card {
  padding: 20px;
}

.trial-status-block {
  display: grid;
  gap: 14px;
}

.trial-status-meter {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.trial-status-meter-fill {
  display: block;
  width: 34%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(246, 200, 107, 0.96), rgba(255, 169, 77, 0.92));
  box-shadow: 0 0 16px rgba(246, 200, 107, 0.18);
}

.dashboard-inline-actions {
  margin-top: 16px;
  flex-wrap: wrap;
}

.profile-summary-list {
  display: grid;
  gap: 12px;
}

.profile-summary-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-summary-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.profile-summary-list span {
  color: var(--muted);
  font-size: 0.84rem;
}

.profile-summary-list strong {
  text-align: right;
  color: #fff3dd;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
}

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

.policy-grid article {
  min-width: 0;
  padding: 18px;
  border-radius: 18px;
}

.policy-grid h3 {
  margin: 0 0 8px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.98rem;
  color: #fff2d9;
}

.dashboard-main-content::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.04), transparent 26%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.025), transparent 22%);
  pointer-events: none;
}

.dashboard-home-cta {
  margin-top: 24px;
  padding: 30px 28px;
  text-align: center;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(246, 200, 107, 0.16);
  background:
    radial-gradient(circle at top center, rgba(244, 194, 106, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
}

.dashboard-home-cta h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #fff4dd;
}

.dashboard-home-cta .page-subtext {
  max-width: 640px;
  margin: 0 auto;
}

.dashboard-home-cta-actions {
  justify-content: center;
  margin-top: 6px;
}

.dashboard-terms-panel {
  margin-top: 22px;
  padding: 24px 26px;
  border: 1px solid rgba(246, 200, 107, 0.12);
}

.dashboard-cta {
  margin: 22px 0 8px;
}

.dashboard-nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 18px;
}

.dashboard-nav-pills a {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.dashboard-nav-pills a:hover {
  color: var(--text);
  border-color: rgba(246, 200, 107, 0.26);
  background: rgba(246, 200, 107, 0.08);
}

.dashboard-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 18px;
}

.dashboard-shortcuts a {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(246, 200, 107, 0.2);
  background: rgba(246, 200, 107, 0.08);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.account-section {
  padding: 18px;
  margin: 0 0 18px;
}

.trial-status-note {
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(246, 200, 107, 0.18);
  background: rgba(246, 200, 107, 0.08);
  color: var(--text);
  display: grid;
  gap: 4px;
}

.trial-status-note strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.trial-status-note span {
  color: var(--muted);
  line-height: 1.6;
}

.pricing-table-shell {
  margin-top: 28px;
}

.pricing-comparison {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.03);
}

.pricing-comparison th,
.pricing-comparison td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.pricing-comparison th {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.pricing-comparison td:first-child {
  font-weight: 700;
}

.pricing-comparison tr:last-child td {
  border-bottom: 0;
}

.pricing-comparison .trial-cell {
  color: var(--gold);
  font-weight: 700;
}

.terms-panel {
  padding: 24px 26px;
  border: 1px solid rgba(246, 200, 107, 0.12);
}

.terms-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.terms-grid article {
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.02);
}

.terms-grid h3 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  color: #fff2d9;
}

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

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

.account-summary-grid article {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 8px;
}

.account-summary-grid span {
  color: var(--subtle);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.account-summary-grid strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.analytics-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.2fr);
  gap: 18px;
  margin-bottom: 14px;
}

.analytics-card {
  padding: 22px;
  border-radius: 24px;
}

.analytics-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.analytics-card-head h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.28rem;
}

.chart-filter-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.chart-filter {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 10px 16px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.chart-filter:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.chart-filter.active {
  color: #fff8ea;
  background: linear-gradient(135deg, rgba(244, 194, 106, 0.22), rgba(113, 166, 255, 0.18));
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.portfolio-head {
  margin: 8px 0 0;
}

.analytics-donut-shell {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}


.donut-chart {
  display: flex;
  align-items: center;
  justify-content: center;
}

.donut-ring {
  width: 156px;
  height: 156px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 40px rgba(0, 0, 0, 0.24);
}

.donut-hole {
  width: 94px;
  height: 94px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-align: center;
  background: #101621;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.donut-hole strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
}

.donut-hole span {
  color: var(--muted);
  font-size: 0.78rem;
}

.analytics-legend {
  display: grid;
  gap: 12px;
}

.analytics-legend-item {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.analytics-legend-item strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}

.analytics-legend-item span {
  color: var(--muted);
  font-size: 0.84rem;
}

.analytics-swatch {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  margin-top: 5px;
}

.analytics-swatch.total {
  background: #d8dde7;
}

.analytics-swatch.unique {
  background: #7eb7ff;
}

.analytics-swatch.repeat {
  background: #f4c26a;
}

.bar-chart {
  height: 268px;
  position: relative;
  padding: 10px 6px 2px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    radial-gradient(circle at top, rgba(244, 194, 106, 0.12), transparent 48%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 22px 40px rgba(0, 0, 0, 0.16);
}

.bar-chart canvas {
  width: 100% !important;
  height: 100% !important;
}

.bar-chart::after {
  content: "";
  position: absolute;
  inset: auto 14px 12px;
  height: 56%;
  border-radius: 18px 18px 28px 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(7, 10, 17, 0.02));
  pointer-events: none;
  z-index: 0;
}

.bar-chart > canvas {
  position: relative;
  z-index: 1;
}

.portfolio-section {
  margin-top: 18px;
}

.campaign-manager-head {
  margin-top: 8px;
  margin-bottom: 22px;
}

.campaign-trust-strip {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.campaign-trust-strip p {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(245, 245, 245, 0.72);
  font-size: 0.84rem;
  line-height: 1.5;
}

.campaign-manager-shell {
  margin-top: 0;
}

.campaign-table-head {
  align-items: flex-start;
  gap: 16px;
}

.campaign-manager-list {
  margin-top: 18px;
}

.campaign-empty-state {
  padding: 34px 26px;
  text-align: center;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.14);
}

.campaign-empty-state h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: #fff4de;
}

.campaign-empty-state p {
  margin: 0 0 16px;
  color: var(--muted);
}

.campaign-empty-actions {
  justify-content: center;
}

.campaign-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.campaign-table thead th {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.52);
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.campaign-table tbody td {
  padding: 18px 16px;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.campaign-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.campaign-cell-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.campaign-cell-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.campaign-cell-copy {
  min-width: 0;
}

.campaign-name {
  display: block;
  color: #fff4de;
  font-weight: 700;
  font-size: 0.96rem;
}

.campaign-subline {
  margin-top: 4px;
  color: rgba(245, 245, 245, 0.64);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.campaign-plan {
  font-weight: 700;
  color: #fff0d8;
}

.campaign-date {
  color: rgba(245, 245, 245, 0.78);
  font-size: 0.84rem;
  white-space: nowrap;
}

.campaign-kpi {
  display: grid;
  gap: 4px;
}

.campaign-kpi strong {
  font-size: 0.96rem;
  color: #fff7ea;
}

.campaign-kpi span {
  font-size: 0.76rem;
  color: rgba(245, 245, 245, 0.56);
}

.status-badge,
.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #fff3dd;
}

.status-badge::before,
.review-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.9;
}

.status-badge.live,
.status-badge.approved,
.review-badge.approved {
  color: #86efb7;
  background: rgba(27, 122, 67, 0.18);
}

.status-badge.pending,
.status-badge.pending-review,
.review-badge.pending {
  color: #ffd48b;
  background: rgba(152, 95, 21, 0.18);
}

.status-badge.expired,
.review-badge.expired {
  color: #c8d0e3;
  background: rgba(91, 102, 128, 0.2);
}

.status-badge.needs-changes,
.review-badge.needs-changes {
  color: #ffb996;
  background: rgba(132, 61, 31, 0.2);
}

.status-badge.draft,
.review-badge.draft {
  color: #e4d5ff;
  background: rgba(78, 47, 114, 0.24);
}

.campaign-actions {
  display: grid;
  gap: 8px;
}

.campaign-action-link {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(245, 245, 245, 0.86);
  font-size: 0.78rem;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.campaign-action-link:hover {
  transform: translateY(-1px);
  border-color: rgba(246, 200, 107, 0.18);
  background: rgba(246, 200, 107, 0.07);
}

.campaign-mobile-cards {
  display: none;
  gap: 14px;
}

.campaign-mobile-card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.campaign-mobile-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.campaign-mobile-summary {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.campaign-mobile-summary div {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.campaign-mobile-summary span {
  display: block;
  font-size: 0.72rem;
  color: rgba(245, 245, 245, 0.56);
}

.campaign-mobile-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 0.86rem;
  color: #fff6e8;
}

.campaign-mobile-actions {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.app-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}

.app-modal.hidden {
  display: none !important;
}

.app-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 14, 0.75);
  backdrop-filter: blur(8px);
}

.app-modal-panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(22, 26, 33, 0.98), rgba(13, 16, 21, 0.98));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

.app-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.campaign-modal-body {
  display: grid;
  gap: 18px;
}

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

.campaign-detail-card {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.campaign-detail-card span {
  display: block;
  font-size: 0.74rem;
  color: rgba(245, 245, 245, 0.56);
}

.campaign-detail-card strong,
.campaign-detail-card p {
  display: block;
  margin-top: 6px;
  color: #fff5e3;
  line-height: 1.5;
}

.campaign-edit-form {
  display: grid;
  gap: 16px;
}

.campaign-edit-warning {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(246, 200, 107, 0.14);
  background: rgba(246, 200, 107, 0.08);
  color: #fff0d6;
  font-size: 0.84rem;
  line-height: 1.5;
}

.campaign-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(245, 245, 245, 0.72);
  font-size: 0.82rem;
  line-height: 1.5;
}

.ad-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.ad-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  border-radius: 22px;
}

.ad-item-logo {
  width: 84px;
  height: 84px;
  border-radius: 18px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ad-item-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.ad-item p {
  margin: 8px 0 0;
  color: var(--muted);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.ad-analytics-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.ad-analytics-chip {
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.ad-analytics-chip span {
  display: block;
  color: var(--subtle);
  font-size: 0.72rem;
  line-height: 1.4;
}

.ad-analytics-chip strong {
  display: block;
  margin-top: 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.badge {
  min-height: 30px;
  padding: 0 11px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.badge.approved {
  color: #082113;
  background: linear-gradient(135deg, #8ff6c1, #5dc98d);
}

.badge.pending {
  color: #241a08;
  background: linear-gradient(135deg, #ffe3a1, #efbe57);
}

.badge.expired {
  color: #240d0d;
  background: linear-gradient(135deg, #ffb1b1, #ff7777);
}

.badge.rejected {
  color: #f3d8d8;
  background: rgba(120, 33, 33, 0.5);
}

.empty-state {
  padding: 34px;
  text-align: center;
  color: var(--muted);
  border-radius: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 22px;
}

.purchase-summary,
.purchase-card {
  padding: 22px;
}

.summary-panel {
  display: grid;
  gap: 14px;
}

.purchase-stepper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.purchase-stepper span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.purchase-stepper span.is-active {
  background: linear-gradient(135deg, rgba(246, 200, 107, 0.28), rgba(255, 171, 70, 0.28));
  border-color: rgba(246, 200, 107, 0.38);
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(246, 200, 107, 0.12), 0 14px 28px rgba(246, 200, 107, 0.15);
}

.order-summary,
.gateway-note {
  display: grid;
  gap: 16px;
}

.summary-list {
  display: grid;
  gap: 12px;
}

.summary-list div {
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.gateway-note {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(246, 200, 107, 0.18);
  background: rgba(246, 200, 107, 0.06);
  color: var(--muted);
}

.checkout-form {
  display: grid;
  gap: 16px;
}

.checkout-step {
  display: none;
  gap: 16px;
  padding: 4px 0;
}

.checkout-step.is-active {
  display: grid;
}

.step-head {
  display: grid;
  gap: 8px;
}

.step-head h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
}

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

.checkout-price-card {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(246, 200, 107, 0.18);
  background: linear-gradient(180deg, rgba(246, 200, 107, 0.1), rgba(255, 255, 255, 0.03));
  display: grid;
  gap: 12px;
}

.checkout-price-card > span {
  color: var(--subtle);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.checkout-price-card > strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
}

.checkout-price-caption {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.checkout-duration-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.checkout-duration-option {
  width: 100%;
  padding: 14px 14px 13px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 9, 16, 0.5);
  color: var(--text);
  display: grid;
  gap: 7px;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.checkout-duration-option:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 200, 107, 0.28);
}

.checkout-duration-option.is-active {
  border-color: rgba(246, 200, 107, 0.42);
  background: linear-gradient(180deg, rgba(246, 200, 107, 0.18), rgba(255, 255, 255, 0.04));
  box-shadow: 0 16px 28px rgba(8, 10, 18, 0.32);
}

.checkout-duration-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.checkout-duration-top strong {
  font-size: 0.98rem;
}

.checkout-duration-price {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.checkout-duration-meta {
  color: var(--muted);
  font-size: 0.83rem;
}

.checkout-duration-badge {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(246, 200, 107, 0.24);
  background: rgba(246, 200, 107, 0.14);
  color: #ffd98f;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.checkout-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.purchase-note {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 6px;
}

.purchase-note span {
  color: var(--subtle);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.purchase-note strong {
  font-size: 0.98rem;
  line-height: 1.55;
}

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

.admin-action {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  min-height: 40px;
  padding: 0 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.admin-action:hover {
  border-color: rgba(246, 200, 107, 0.34);
}

.admin-action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.feedback-admin-item {
  align-items: start;
}

.feedback-admin-message {
  margin: 14px 0 0;
  color: var(--text);
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.list-panel {
  display: grid;
  gap: 14px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.88rem;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .header-shell {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .hero-grid,
  .auth-layout,
  .marketplace-layout,
  .split-section,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .marketplace-sidebar {
    position: static;
  }

  .marketplace-layout {
    grid-template-columns: 1fr;
  }

  .marketplace-testimonials {
    position: static;
    min-height: 0;
  }

  .testimonials-marquee {
    height: auto;
    mask-image: none;
  }

  .testimonials-track,
  .testimonials-track.is-static {
    animation: none;
    transform: none;
  }

  .spotlight-grid,
  .feature-grid,
  .plan-grid,
  .step-grid,
  .info-grid,
  .market-preview-grid,
  .marketplace-grid,
  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promotion-shell .marketplace-frame {
    padding: 32px 20px;
  }

  .showcase-grid {
    gap: 18px;
  }

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

  .admin-analytics-head,
  .analytics-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .range-pill-row {
    justify-content: flex-start;
  }

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

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

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

  .signup-panel-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-card .stats-row,
  .analytics-grid,
  .analytics-donut-shell,
  .ad-analytics-strip {
    grid-template-columns: 1fr;
  }

  .account-summary-grid,
  .policy-grid,
  .checkout-option-grid {
    grid-template-columns: 1fr;
  }

  .analytics-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .chart-filter-group {
    width: 100%;
    justify-content: flex-start;
  }

  .checkout-price-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .checkout-duration-options {
    grid-template-columns: 1fr;
  }

  .bar-chart {
    overflow-x: auto;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 24px), 100%);
  }

  .page-main {
    padding-top: 132px;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-metrics,
  .spotlight-grid,
  .feature-grid,
  .plan-grid,
  .step-grid,
  .info-grid,
  .market-preview-grid,
  .marketplace-grid,
  .showcase-grid,
  .stats-row,
  .admin-stats {
    grid-template-columns: 1fr;
  }

  .promotion-shell {
    width: calc(100% - 12px);
    margin-left: 6px;
    margin-right: 6px;
  }

  .promotion-shell .marketplace-frame {
    padding: 24px 14px;
  }

  .marketplace-testimonials {
    padding: 20px 16px;
  }

  .showcase-grid {
    gap: 14px;
  }

  .site-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .site-nav a {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .preview-board {
    grid-template-columns: 1fr;
  }

  .marketplace-toolbar {
    grid-template-columns: 1fr;
  }

  .auth-form-grid {
    grid-template-columns: 1fr;
  }

  .password-rules {
    gap: 8px;
  }

  .profile-card {
    padding: 14px;
  }

  .profile-page-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .profile-settings-layout,
  .profile-advanced-grid {
    grid-template-columns: 1fr;
  }

  .profile-summary-panel,
  .profile-edit-panel {
    width: 100%;
  }

  .compact-profile-grid {
    grid-template-columns: 1fr;
  }

  .marketplace-pills {
    justify-content: flex-start;
  }

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

  .dashboard-stage {
    width: 100%;
    margin-left: 0;
  }

  .dashboard-rail {
    position: static;
    padding: 14px 0 10px;
  }

  .dashboard-rail-brand,
  .dashboard-rail-links {
    padding-left: 14px;
    padding-right: 14px;
  }

  .dashboard-rail-logo {
    gap: 8px;
  }

  .dashboard-rail-logo-mark {
    width: 28px;
    height: 28px;
    font-size: 0.76rem;
  }

  .dashboard-rail-logo-text {
    font-size: 0.9rem;
  }

  .dashboard-profile-head,
  .profile-summary-list div {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-primary-actions,
  .dashboard-inline-actions {
    width: 100%;
  }

  .dashboard-primary-actions .button,
  .dashboard-inline-actions .button {
    width: 100%;
    justify-content: center;
  }

  .dashboard-quick-actions,
  .dashboard-secondary-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .feedback-form-grid,
  .feedback-why-grid {
    grid-template-columns: 1fr;
  }

  .feedback-actions .button {
    width: 100%;
    justify-content: center;
  }

  .dashboard-nav-pills {
    gap: 8px;
  }

  .dashboard-shortcuts {
    gap: 8px;
  }

  .bar-chart {
    grid-template-columns: repeat(30, minmax(18px, 1fr));
  }

  .toolbar-meta {
    padding: 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-banner {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

  .ad-item {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .ad-item-logo {
    width: 72px;
    height: 72px;
  }

  .campaign-table {
    display: none;
  }

  .campaign-mobile-cards {
    display: grid;
  }

  .campaign-mobile-summary,
  .campaign-detail-grid {
    grid-template-columns: 1fr;
  }

  .campaign-table-head,
  .app-modal-head {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-analytics-shell {
    padding: 20px;
  }

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

  .range-pill {
    width: 100%;
    justify-content: center;
  }

  .mini-bars {
    grid-template-columns: repeat(auto-fit, minmax(32px, 1fr));
    gap: 10px;
  }

  .mini-bar-track {
    min-height: 156px;
  }

  .analytics-list-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .analytics-table-head {
    display: none;
  }

  .analytics-table-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .card,
  .feature-card,
  .step-card,
  .info-card,
  .plan-card,
  .auth-panel,
  .mini-stat {
    padding: 22px;
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-page-main {
  position: relative;
}

.pricing-page-shell {
  display: grid;
  gap: 22px;
}

.placement-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  contain: layout paint;
  box-sizing: border-box;
  height: 660px;
  max-height: 660px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.14), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)),
    rgba(16, 20, 27, 0.92);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.44);
}

.placement-hero::before,
.placement-hero::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  filter: blur(10px);
}

.placement-hero::before {
  top: -120px;
  right: -90px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.26), rgba(212, 175, 55, 0.02) 62%, transparent 72%);
  animation: none;
  transform: translate3d(0, 0, 0) scale(1);
}

.placement-hero::after {
  bottom: -130px;
  left: -110px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.015) 54%, transparent 72%);
  animation: none;
  transform: translate3d(0, 0, 0) scale(1);
}

.placement-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 28px;
  min-height: 100%;
  max-height: 100%;
  height: 100%;
  align-items: start;
  box-sizing: border-box;
}

.placement-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
  max-height: 100%;
  overflow: hidden;
  flex-shrink: 0;
  box-sizing: border-box;
  padding-top: 10px;
}

.placement-hero-copy h1 {
  max-width: 780px;
  margin-bottom: 18px;
}

.placement-accent-line {
  display: block;
  width: 128px;
  height: 1px;
  margin: 4px 0 22px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0), rgba(212, 175, 55, 0.92), rgba(212, 175, 55, 0));
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.2);
}

.placement-hero-actions {
  margin-top: 30px;
}

.placement-hero,
.placement-planner-board,
.placement-ladder-row,
.placement-hero-metrics article {
  transition: none;
}

.placement-hero .button:hover {
  transform: none;
}

.placement-hero .button:active {
  transform: scale(0.98);
}

.pricing-page-main .button.primary,
.placement-hero-button.button.secondary {
  position: relative;
  overflow: hidden;
}

.pricing-page-main .button.primary::before,
.placement-hero-button.button.secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-130%);
  background: linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.32) 46%, transparent 82%);
  transition: transform 0.55s ease;
}

.pricing-page-main .button.primary:hover::before,
.placement-hero-button.button.secondary:hover::before {
  transform: translateX(130%);
}

.pricing-page-main .button.primary {
  min-height: 52px;
  padding: 0 24px;
  background: linear-gradient(135deg, #f6d58e 0%, #d4af37 48%, #a97828 100%);
  box-shadow:
    0 18px 36px rgba(186, 140, 54, 0.3),
    0 0 26px rgba(212, 175, 55, 0.12);
}

.pricing-page-main .button.primary:hover {
  box-shadow:
    0 24px 44px rgba(186, 140, 54, 0.34),
    0 0 28px rgba(212, 175, 55, 0.16);
}

.placement-hero-button.button.secondary {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.placement-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.placement-trust-pills span {
  min-height: 34px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #e6eaf2;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.placement-hero-panel {
  display: grid;
  gap: 16px;
  align-content: start;
  align-items: start;
  min-width: 0;
  min-height: 100%;
  max-height: 100%;
  overflow: hidden;
  width: 430px;
  max-width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
  padding-top: 8px;
}

.placement-hero-ribbon {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(212, 175, 55, 0.08);
  color: #f6d58e;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.placement-planner-board {
  position: relative;
  overflow: hidden;
  overflow-y: auto;
  resize: none;
  width: 430px;
  max-width: 100%;
  height: 420px;
  min-height: 420px;
  max-height: 420px;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)),
    rgba(11, 15, 21, 0.92);
  box-sizing: border-box;
}

.placement-planner-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.placement-kicker {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.placement-planner-head h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.46rem;
}

.placement-status-pill {
  min-height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(126, 240, 184, 0.1);
  border: 1px solid rgba(126, 240, 184, 0.18);
  color: #aaf4ce;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.placement-ladder {
  display: grid;
  gap: 12px;
  align-content: start;
  grid-auto-rows: 1fr;
}

.placement-ladder-row {
  min-height: 104px;
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.022)),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 20px rgba(0, 0, 0, 0.14);
  box-sizing: border-box;
}

.placement-ladder-row div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
}

.placement-ladder-row strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.placement-ladder-row span {
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
  flex-shrink: 0;
}

.placement-ladder-row p {
  margin: 0;
  color: #d5dbe7;
  line-height: 1.6;
  font-size: 0.92rem;
}

.placement-ladder-row--silver {
  box-shadow: inset 0 0 0 1px rgba(228, 234, 245, 0.08);
}

.placement-ladder-row--gold {
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.12);
}

.placement-ladder-row--ruby {
  box-shadow: inset 0 0 0 1px rgba(164, 47, 70, 0.16);
}

.placement-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
  width: 430px;
  max-width: 100%;
}

.placement-hero-metrics article {
  min-height: 92px;
  padding: 18px 16px;
  display: grid;
  align-content: start;
  gap: 6px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  box-sizing: border-box;
}

.placement-hero-metrics strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.14rem;
  color: #f7f9fd;
}

.placement-hero-metrics span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.placement-signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.placement-signal-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(16, 20, 27, 0.78);
}

.placement-signal-card::after {
  content: "";
  position: absolute;
  inset: auto 20px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.7), transparent);
}

.placement-signal-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.placement-signal-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.16rem;
}

.placement-signal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.placement-plan-stage,
.placement-planner-section,
.placement-policy-section {
  display: grid;
  gap: 18px;
}

.placement-plan-grid {
  gap: 20px;
}

.placement-plan-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.placement-plan-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-xl) - 1px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 24%, transparent 72%, rgba(255, 255, 255, 0.06)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 26%);
  opacity: 0.65;
  pointer-events: none;
}

.placement-plan-card::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -45%;
  width: 62%;
  height: 180%;
  transform: rotate(16deg);
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.13) 48%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.55s ease;
  pointer-events: none;
}

.placement-plan-card:hover::after {
  opacity: 1;
  transform: translateX(170%) rotate(16deg);
}

.placement-plan-card--silver {
  background:
    radial-gradient(circle at top right, rgba(232, 237, 248, 0.12), transparent 28%),
    linear-gradient(160deg, rgba(238, 243, 251, 0.06), rgba(117, 128, 154, 0.03) 42%, rgba(12, 15, 20, 0.92)),
    rgba(16, 20, 27, 0.92);
}

.placement-plan-card--gold {
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.16), transparent 28%),
    linear-gradient(160deg, rgba(255, 230, 171, 0.07), rgba(145, 108, 33, 0.04) 42%, rgba(12, 15, 20, 0.92)),
    rgba(16, 20, 27, 0.92);
}

.placement-plan-card--ruby {
  background:
    radial-gradient(circle at top right, rgba(183, 47, 77, 0.2), transparent 28%),
    linear-gradient(160deg, rgba(160, 33, 56, 0.09), rgba(98, 20, 36, 0.05) 42%, rgba(12, 15, 20, 0.92)),
    rgba(16, 20, 27, 0.92);
}

.placement-plan-card--silver:hover {
  border-color: rgba(226, 232, 245, 0.26);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.42), 0 0 30px rgba(232, 237, 248, 0.08);
}

.placement-plan-card--gold:hover {
  border-color: rgba(212, 175, 55, 0.24);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.42), 0 0 32px rgba(212, 175, 55, 0.1);
}

.placement-plan-card--ruby:hover {
  border-color: rgba(183, 47, 77, 0.26);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.42), 0 0 32px rgba(183, 47, 77, 0.1);
}

.placement-plan-card .slot-tier-badge {
  min-height: 30px;
  padding: 0 12px;
}

.placement-plan-card--silver .slot-tier-badge {
  color: #111722;
  background: linear-gradient(135deg, #eef3fb, #b5bfd6);
}

.placement-plan-card--gold .slot-tier-badge {
  color: #2b1d08;
  background: linear-gradient(135deg, #f8e3aa, #d4af37);
}

.placement-plan-card--ruby .slot-tier-badge {
  color: #fff0f4;
  background: linear-gradient(135deg, #b72f4d, #74162d);
}

.placement-plan-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.placement-plan-fit {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
}

.placement-plan-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: 1.38rem;
  line-height: 1.12;
}

.placement-plan-card p {
  position: relative;
  z-index: 1;
  font-size: 0.94rem;
  line-height: 1.62;
}

.placement-visibility-meter {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 14px;
}

.placement-visibility-meter span {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.28);
}

.placement-plan-card--silver .placement-visibility-meter .is-active {
  background: linear-gradient(90deg, #f7f9fd, #b9c5dc);
}

.placement-plan-card--gold .placement-visibility-meter .is-active {
  background: linear-gradient(90deg, #f7df9f, #d4af37);
}

.placement-plan-card--ruby .placement-visibility-meter .is-active {
  background: linear-gradient(90deg, #ff99ae, #b72f4d);
}

.placement-pricing-stack {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 16px 0 18px;
  padding: 18px 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(9, 12, 17, 0.72);
}

.placement-original-price {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.placement-original-price span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.placement-original-price strong {
  position: relative;
  display: inline-block;
  color: rgba(234, 238, 244, 0.74);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.38rem, 1.85vw, 1.72rem);
  letter-spacing: -0.03em;
}

.placement-original-price strong::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  top: 50%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  transform: scaleX(0.2);
  transform-origin: center;
  animation: strikeSweep 1.05s ease forwards;
}

.placement-discount-badge {
  min-height: 30px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(212, 175, 55, 0.1);
  color: #f6d58e;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.placement-final-price {
  margin: 0;
  color: #fbfcfe;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.96rem, 3.2vw, 2.52rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.placement-final-price span {
  margin-left: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0;
}

.placement-cycle-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.placement-cycle-strip div {
  min-height: 100%;
  padding: 10px 10px 9px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.035);
}

.placement-cycle-strip span,
.placement-cycle-strip small {
  display: block;
}

.placement-cycle-strip span {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.placement-cycle-strip strong {
  display: block;
  margin: 6px 0 3px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  color: #f6f8fc;
}

.placement-cycle-strip small {
  color: var(--gold);
  font-size: 0.72rem;
  line-height: 1.35;
}

.placement-plan-card ul {
  position: relative;
  z-index: 1;
  margin-top: 0;
  line-height: 1.62;
}

.placement-card-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.placement-card-meta span {
  min-height: 30px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: #e8edf8;
  font-size: 0.72rem;
  font-weight: 700;
}

.placement-button {
  width: 100%;
  justify-content: center;
}

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

.placement-compare-card {
  display: grid;
  gap: 12px;
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(16, 20, 27, 0.8);
}

.placement-compare-label {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.placement-compare-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.26rem;
}

.placement-compare-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.placement-compare-bars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.placement-compare-bars span {
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.placement-compare-bars .is-active {
  background: linear-gradient(90deg, #f6d58e, #d4af37);
}

.placement-policy-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.placement-policy-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.placement-policy-card h3 {
  margin-top: 16px;
}

.placement-policy-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(246, 213, 142, 0.26), rgba(212, 175, 55, 0.1));
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: #f6d58e;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

@keyframes placementAurora {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-16px, 20px, 0) scale(1.08);
  }
}

@keyframes strikeSweep {
  0% {
    opacity: 0.35;
    transform: scaleX(0.16);
  }
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes showcaseShimmer {
  0% {
    transform: rotate(16deg) translateX(-155%);
  }
  42% {
    transform: rotate(16deg) translateX(-155%);
  }
  62% {
    transform: rotate(16deg) translateX(255%);
  }
  100% {
    transform: rotate(16deg) translateX(255%);
  }
}

@media (max-width: 1180px) {
  .placement-hero-grid,
  .placement-signal-strip,
  .placement-compare-grid {
    grid-template-columns: 1fr;
  }

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

  .placement-hero {
    height: auto;
    max-height: none;
    max-height: none;
  }

  .placement-hero-grid {
    height: auto;
    align-items: start;
  }

  .placement-hero-panel {
    width: 100%;
    min-height: 0;
    max-height: none;
  }

  .placement-planner-board {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow-y: visible;
  }

  .placement-hero-metrics {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .placement-hero {
    padding: 26px 18px;
    height: auto;
    max-height: none;
  }

  .placement-hero-copy h1 {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .placement-hero-metrics,
  .placement-cycle-strip,
  .placement-policy-grid {
    grid-template-columns: 1fr;
  }

  .placement-plan-head,
  .placement-planner-head,
  .placement-ladder-row div {
    flex-direction: column;
    align-items: flex-start;
  }

  .placement-plan-fit,
  .placement-ladder-row span {
    text-align: left;
  }

  .placement-card-meta {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .placement-hero::before,
  .placement-hero::after,
  .placement-original-price strong::after {
    animation: none;
  }

  .placement-plan-card::after,
  .pricing-page-main .button.primary::before,
  .placement-hero-button.button.secondary::before {
    transition: none;
  }

  .showcase-top::before,
  .showcase-bottom::before {
    animation: none;
  }
}

/* Keep the pricing strip identical across all live-slot tiers, including the green row. */
.showcase-card .showcase-bottom,
.showcase-card .showcase-meta {
  background:
    linear-gradient(180deg, rgba(24, 28, 34, 0.96), rgba(24, 28, 34, 0.9)),
    rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-card .showcase-bottom,
.showcase-card .showcase-meta,
.showcase-card .showcase-price,
.showcase-card .showcase-price strong,
.showcase-card .showcase-meta strong {
  color: #eaeaea;
}

.showcase-card .showcase-price span,
.showcase-card .showcase-meta span,
.showcase-card .showcase-bottom small,
.showcase-card .showcase-meta small {
  color: #9ca3af;
}

.showcase-card.accent-local .showcase-bottom,
.showcase-card.accent-local .showcase-meta,
.showcase-card.accent-local .showcase-price,
.showcase-card.accent-local .showcase-price strong,
.showcase-card.accent-local .showcase-meta strong {
  color: #eaeaea;
}

/* Sticky Offer Bar */
.sticky-offer-bar {
  position: sticky;
  top: 0;
  z-index: 101;
  background: linear-gradient(90deg, #f6c86b, #ffe0a1, #f6c86b);
  color: #000;
  text-align: center;
  padding: 14px 20px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 2px solid #000;
  box-shadow: 0 4px 20px rgba(246, 200, 107, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.sticky-offer-bar a {
  background: #000;
  color: #f6c86b !important;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  transition: transform 0.2s, background 0.2s;
  text-decoration: none;
}

.sticky-offer-bar a:hover {
  transform: scale(1.05);
  background: #222;
}

.sticky-offer-bar .badge-fire {
  font-size: 1.2rem;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@media (max-width: 760px) {
  .sticky-offer-bar {
    font-size: 0.75rem;
    padding: 10px;
    gap: 8px;
    top: 0;
  }
  .site-header {
    top: 42px; /* Adjusted for smaller banner on mobile */
  }
}
