*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: #08040f;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(180, 122, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 122, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 70%);
}

.store-header {
  position: sticky;
  top: 16px;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  margin: 16px clamp(16px, 4vw, 48px) 0;
  border-radius: 16px;
}

.store-sub {
  margin: 4px 0 0;
  font-size: 12px;
}

.store-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}

main {
  flex: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px) 80px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(72px, 14vw, 140px) 0 clamp(64px, 10vw, 100px);
}

.hero h1 {
  margin: 0 0 40px;
  font-family: "Syne", sans-serif;
  font-size: clamp(3.5rem, 14vw, 7rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 0%, #c4b5fd 55%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-cta {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 12px 32px rgba(124, 58, 237, 0.35);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 16px 40px rgba(124, 58, 237, 0.45);
}

.hero-cta:active {
  transform: translateY(0);
}

.store-section {
  padding-top: 56px;
}

.section-title {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8b7aa8;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(180, 122, 255, 0.12);
  border: 1px solid rgba(180, 122, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
}

.stat-card {
  padding: 28px 16px;
  text-align: center;
  background: rgba(12, 7, 24, 0.92);
}

.stat-val {
  display: block;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  color: #f3ecff;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  color: #8b7aa8;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 20px 20px;
  background: rgba(14, 8, 28, 0.85);
  border: 1px solid rgba(180, 122, 255, 0.14);
  border-radius: 16px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.plan-card:hover {
  border-color: rgba(180, 122, 255, 0.32);
  background: rgba(18, 10, 36, 0.95);
}

.plan-card.featured {
  border-color: rgba(168, 85, 247, 0.65);
  background: linear-gradient(165deg, rgba(28, 14, 52, 0.98), rgba(18, 10, 36, 0.95));
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.28),
    0 0 56px rgba(124, 58, 237, 0.28),
    0 24px 48px rgba(0, 0, 0, 0.35);
  transform: scale(1.04);
  z-index: 1;
}

.plan-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

.plan-top {
  flex: 1;
  margin-bottom: 18px;
}

.plan-days {
  font-size: 14px;
  font-weight: 600;
  color: #9d8bb8;
  margin-bottom: 6px;
}

.plan-price {
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #f3ecff;
}

.plan-buy {
  appearance: none;
  width: 100%;
  border: 1px solid rgba(180, 122, 255, 0.25);
  border-radius: 10px;
  background: rgba(180, 122, 255, 0.08);
  color: #ede9fe;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 12px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.plan-buy:hover {
  background: rgba(180, 122, 255, 0.16);
  border-color: rgba(180, 122, 255, 0.4);
}

.plan-card.featured .plan-price {
  color: #e9d5ff;
}

.plan-card.featured .plan-buy {
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  border-color: transparent;
  color: #fff;
}

.plan-card.featured .plan-buy:hover {
  filter: brightness(1.08);
}

.store-footer {
  padding: 32px 16px 40px;
  text-align: center;
  color: #6b5f80;
  font-size: 12px;
  font-weight: 500;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.store-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
}

.store-footer-links a {
  color: #9d8bb8;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.store-footer-links a:hover {
  color: #e9d5ff;
}

.about-grid,
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.about-card,
.guarantee-card {
  padding: 22px 20px;
  border-radius: 16px;
}

.about-card h3,
.guarantee-card h3 {
  margin: 0 0 10px;
  font-family: "Syne", sans-serif;
  font-size: 18px;
  color: #f3ecff;
}

.about-card p,
.guarantee-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #c4b5fd;
}

.about-card strong,
.guarantee-card strong {
  color: #f3ecff;
}

.about-card-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #c4b5fd;
  transition: color 0.15s ease;
}

.about-card-link:hover {
  color: #f3ecff;
}

.brud-guide {
  padding: 28px 24px;
  border-radius: 18px;
  text-align: left;
}

.brud-guide-lead {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.7;
  color: #ddd6fe;
}

.brud-guide-block {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(180, 122, 255, 0.1);
}

.brud-guide-block--last {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.brud-guide-block h3 {
  margin: 0 0 12px;
  font-family: "Syne", sans-serif;
  font-size: 17px;
  color: #f3ecff;
}

.brud-guide-block p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.65;
  color: #c4b5fd;
}

.brud-guide-block p:last-child {
  margin-bottom: 0;
}

.brud-guide-list {
  margin: 0;
  padding-left: 20px;
  color: #c4b5fd;
  font-size: 14px;
  line-height: 1.65;
}

.brud-guide-list li + li {
  margin-top: 8px;
}

.brud-guide-list strong {
  color: #f3ecff;
}

.brud-guide-note {
  margin-top: 14px !important;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(180, 122, 255, 0.06);
  border: 1px solid rgba(180, 122, 255, 0.12);
  font-size: 13px !important;
}

.brud-detect-grid,
.brud-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.brud-detect-card,
.brud-mode-card {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(180, 122, 255, 0.12);
}

.brud-detect-card strong,
.brud-mode-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #f3ecff;
}

.brud-mode-card span {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8b7aa8;
}

.brud-detect-card p,
.brud-mode-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.brud-detect-card code,
.brud-guide code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
  font-size: 12px;
  color: #e9d5ff;
}

.brud-copy-table-wrap {
  overflow-x: auto;
  margin: 14px 0;
}

.brud-copy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.brud-copy-table th,
.brud-copy-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(180, 122, 255, 0.1);
  color: #c4b5fd;
}

.brud-copy-table th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b7aa8;
}

.brud-copy-table td:first-child {
  font-weight: 600;
  color: #f3ecff;
  white-space: nowrap;
}

.brud-formula-grid {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.brud-formula-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(180, 122, 255, 0.1);
  font-size: 13px;
  color: #c4b5fd;
}

.brud-formula-row strong {
  color: #f3ecff;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.brud-formula-row--accent {
  border-color: rgba(74, 222, 128, 0.25);
  background: rgba(74, 222, 128, 0.06);
}

.brud-formula-row--accent strong {
  color: #4ade80;
}

.brud-workflow {
  margin: 0;
  padding-left: 22px;
  color: #c4b5fd;
  font-size: 14px;
  line-height: 1.7;
}

.brud-workflow li + li {
  margin-top: 6px;
}

@media (max-width: 640px) {
  .brud-detect-grid,
  .brud-mode-grid {
    grid-template-columns: 1fr;
  }

  .brud-formula-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .brud-formula-row strong {
    text-align: left;
  }
}

.store-section--legal {
  padding-bottom: 24px;
}

.legal-prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 24px;
  border-radius: 18px;
  text-align: left;
}

.legal-prose h3 {
  margin: 24px 0 8px;
  font-family: "Syne", sans-serif;
  font-size: 16px;
  color: #f3ecff;
}

.legal-prose h3:first-of-type {
  margin-top: 0;
}

.legal-prose p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: #c4b5fd;
}

.legal-lead {
  font-size: 15px !important;
  color: #e9d5ff !important;
}

.legal-note {
  margin-top: 20px !important;
  font-size: 12px !important;
}

.checkout-legal {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.checkout-legal a {
  color: #c4b5fd;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkout-legal a:hover {
  color: #f3ecff;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal[hidden] {
  display: none !important;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 2, 10, 0.8);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  width: min(440px, 100%);
  max-height: calc(100vh - 32px);
  overflow: hidden;
  padding: 24px 22px 20px;
  z-index: 1;
  border-radius: 22px;
}

.modal-card--pay {
  width: min(460px, 100%);
}

.modal-card h3 {
  margin: 0 0 20px;
  font-family: "Syne", sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(180, 122, 255, 0.15);
  border-radius: 8px;
  color: #9d8bb8;
  font-size: 18px;
  cursor: pointer;
}

.pay-method-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid rgba(180, 122, 255, 0.18);
  background: rgba(168, 85, 247, 0.08);
  color: #d8ccf0;
  font-size: 13px;
}

.pay-method-badge strong {
  color: #f3ecff;
}

.pay-method-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #e9d5ff;
  font-size: 14px;
  font-weight: 800;
}

.crypto-pick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.crypto-btn {
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(180, 122, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  color: #e9e0ff;
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
  font-family: inherit;
}

.crypto-btn.active {
  border-color: rgba(168, 85, 247, 0.5);
  background: rgba(168, 85, 247, 0.15);
}

.pay-line {
  margin: 0 0 8px;
  font-size: 14px;
}

.pay-order-id-row {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.pay-order-id {
  display: block;
  width: 100%;
  padding: 10px 14px;
  margin: 0;
  text-align: left;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #e9d5ff;
  font-family: ui-monospace, monospace;
}

.pay-summary {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.pay-summary-row {
  display: grid;
  gap: 8px;
}

.pay-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8b7aa8;
  font-weight: 700;
}

.pay-tap-hint {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: #6f6288;
}

.license-tap-hint {
  margin: 0 0 8px;
  font-size: 11px;
  text-align: center;
}

.pay-amount {
  display: block;
  width: 100%;
  padding: 12px 14px;
  margin: 0;
  text-align: left;
  font-size: 20px;
  color: #f3ecff;
  letter-spacing: 0.02em;
  font-family: inherit;
  font-weight: 700;
}

.pay-copy-target {
  cursor: pointer;
  border: 1px solid rgba(180, 122, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease,
    color 0.15s ease;
}

.pay-copy-target:hover {
  border-color: rgba(168, 85, 247, 0.38);
  background: rgba(168, 85, 247, 0.08);
}

.pay-copy-target:focus-visible {
  outline: 2px solid rgba(192, 132, 252, 0.55);
  outline-offset: 2px;
}

.pay-copy-target.copied {
  border-color: rgba(74, 222, 128, 0.55);
  background: rgba(74, 222, 128, 0.08);
  color: #bbf7d0;
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.15);
}

.pay-address {
  padding: 14px;
  margin: 0;
  word-break: break-all;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  line-height: 1.55;
  color: #d8ccf0;
  text-align: left;
}

.pay-qr-wrap {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin: 6px 0 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(180, 122, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
}

.pay-qr-image,
#payQrCanvas {
  display: block;
  width: 168px;
  height: 168px;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  object-fit: contain;
}

#payQrCanvas[hidden],
.pay-qr-image[hidden] {
  display: none !important;
}

.pay-qr-hint {
  margin: 0;
  font-size: 12px;
  color: #8b7aa8;
  text-align: center;
}

.pay-steps {
  display: grid;
  gap: 6px;
  margin-top: 2px;
}

.pay-step {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 8px;
  align-items: start;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(180, 122, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
  opacity: 0.45;
  transition: opacity 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.pay-step strong {
  display: block;
  font-size: 12px;
  color: #ece4ff;
  margin-bottom: 0;
}

.pay-step p {
  margin: 0;
  font-size: 10px;
  line-height: 1.35;
  color: #8b7aa8;
}

.pay-step.is-active p {
  display: block;
}

.pay-step.is-done p,
.pay-step:not(.is-active) p {
  display: none;
}

.pay-step-dot {
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 999px;
  background: rgba(180, 122, 255, 0.35);
  box-shadow: 0 0 0 4px rgba(180, 122, 255, 0.08);
}

.pay-step.is-active {
  opacity: 1;
  border-color: rgba(168, 85, 247, 0.35);
  background: rgba(168, 85, 247, 0.08);
}

.pay-step.is-active .pay-step-dot {
  background: #c084fc;
  box-shadow: 0 0 0 4px rgba(192, 132, 252, 0.18);
  animation: payPulse 1.4s ease-in-out infinite;
}

.pay-step.is-done {
  opacity: 0.82;
}

.pay-step.is-done .pay-step-dot {
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.15);
}

.pay-step.is-hidden,
.pay-step.is-future {
  display: none;
}

@keyframes payPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

.pay-status {
  margin-top: 14px;
  font-size: 13px;
  color: #8b7aa8;
}

.pay-status[hidden] {
  display: none;
}

.pay-panel-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
  text-decoration: none;
}

#panelReveal {
  margin-bottom: 14px;
}

.license-box {
  display: block;
  width: 100%;
  padding: 16px;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #f3ecff;
  font-family: ui-monospace, monospace;
  text-align: center;
  word-break: break-all;
}

.success-msg {
  margin: 0 0 6px;
  color: #4ade80;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.field-hint {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #8b7aa8;
}

.field-optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: #6f6288;
}

.discord-connect-box {
  display: grid;
  gap: 8px;
}

.discord-btn {
  background: #5865f2;
  border-color: rgba(88, 101, 242, 0.65);
  color: #fff;
  font-weight: 700;
}

.discord-btn:hover {
  background: #4752c4;
  border-color: rgba(71, 82, 196, 0.85);
}

.discord-linked-box {
  margin-top: 2px;
}

.discord-linked-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(88, 101, 242, 0.35);
  background: rgba(88, 101, 242, 0.1);
  color: #ece4ff;
  font-size: 14px;
  font-weight: 600;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8b7aa8;
  font-weight: 700;
}

.brud-choice {
  margin: 14px 0 12px;
}

.brud-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.brud-card {
  position: relative;
  display: block;
  cursor: pointer;
  min-width: 0;
}

.brud-radio-input {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: none !important;
  pointer-events: none;
}

.brud-card-shell {
  display: grid;
  gap: 4px;
  height: 100%;
  padding: 12px 12px 10px;
  border-radius: 12px;
  border: 1px solid rgba(180, 122, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.brud-card:hover .brud-card-shell {
  border-color: rgba(168, 85, 247, 0.32);
}

.brud-card:has(.brud-radio-input:checked) .brud-card-shell {
  border-color: rgba(168, 85, 247, 0.55);
  background: linear-gradient(160deg, rgba(168, 85, 247, 0.14), rgba(0, 0, 0, 0.22));
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.12);
}

.brud-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brud-check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(180, 122, 255, 0.35);
  background: transparent;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.brud-card:has(.brud-radio-input:checked) .brud-check {
  border-color: #c084fc;
  background: radial-gradient(circle at center, #c084fc 38%, transparent 40%);
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.35);
}

.brud-card-head strong {
  font-size: 13px;
  line-height: 1.25;
  color: #f3ecff;
}

.brud-card-desc {
  padding-left: 24px;
  font-size: 11px;
  line-height: 1.35;
  color: #8b7aa8;
}

.brud-card-price {
  padding-left: 24px;
  margin-top: 6px;
  font-size: 17px;
  font-weight: 800;
  color: #e9d5ff;
  letter-spacing: -0.02em;
}

.checkout-total-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(180, 122, 255, 0.16);
  background: rgba(168, 85, 247, 0.06);
}

.checkout-total-bar > span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8b7aa8;
  font-weight: 700;
}

.checkout-total-bar strong {
  font-size: 20px;
  font-weight: 800;
  color: #f3ecff;
}

.checkout-total-values {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.checkout-total-before {
  font-size: 14px;
  font-weight: 600;
  color: #8b7aa8;
  text-decoration: line-through;
}

.checkout-discount-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: -6px 0 14px;
  padding: 0 14px;
  font-size: 12px;
  color: #a78bfa;
}

.checkout-discount-row strong {
  color: #c4b5fd;
  font-size: 13px;
}

.discount-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.discount-input-wrap {
  flex: 1;
}

.field-hint-ok {
  color: #a78bfa !important;
}

@media (max-width: 480px) {
  .brud-cards {
    grid-template-columns: 1fr;
  }
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(12px);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(20, 10, 35, 0.92);
  border: 1px solid rgba(180, 122, 255, 0.35);
  color: #f0e4ff;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 9999;
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.field-error {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.4;
  color: #fda4af;
}

.field-error[hidden] {
  display: none;
}

.input-wrap.is-invalid input {
  border-color: rgba(251, 113, 133, 0.55);
}

.input-wrap.is-invalid:focus-within::after {
  opacity: 1;
  background: linear-gradient(90deg, rgba(251, 113, 133, 0.7), rgba(244, 114, 182, 0.45));
}

.muted {
  color: #8b7aa8;
}

.chat-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(180, 122, 255, 0.25);
  background: rgba(14, 8, 28, 0.95);
  color: #c4b5fd;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}

.chat-fab:hover {
  transform: scale(1.06);
  color: #f3ecff;
}

.chat-fab[hidden] {
  display: none !important;
}

.chat-widget {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 55;
  width: min(340px, calc(100vw - 40px));
  height: min(420px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(180, 122, 255, 0.18);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  background: rgba(10, 6, 20, 0.98);
}

.chat-widget[hidden] {
  display: none !important;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(180, 122, 255, 0.1);
  font-weight: 700;
  font-size: 13px;
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.support-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.support-dot.online {
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

.support-dot.offline {
  background: #6b5f80;
}

.support-status-text {
  font-size: 11px;
  font-weight: 600;
  color: #8b7aa8;
}

.support-status-text.online {
  color: #86efac;
}

.chat-header button {
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  color: #8b7aa8;
  font-size: 20px;
  cursor: pointer;
}

.chat-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-msg {
  max-width: 85%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  word-break: break-word;
  color: #f3ecff;
}

.chat-msg.visitor {
  align-self: flex-end;
  background: rgba(168, 85, 247, 0.28);
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.chat-msg.admin {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(180, 122, 255, 0.15);
}

.chat-msg time {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: #a894c8;
  font-weight: 500;
}

.chat-empty {
  margin: auto;
  text-align: center;
  color: #8b7aa8;
  font-size: 13px;
  padding: 24px 12px;
}

.chat-closed-bar {
  padding: 14px 16px;
  border-top: 1px solid rgba(180, 122, 255, 0.1);
  text-align: center;
}

.chat-closed-bar p {
  margin: 0 0 10px;
  font-size: 13px;
  color: #8b7aa8;
}

.chat-new-ticket {
  appearance: none;
  border: 1px solid rgba(180, 122, 255, 0.35);
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.15);
  color: #e9d5ff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  cursor: pointer;
}

.chat-form.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.chat-system {
  align-self: center;
  font-size: 12px;
  color: #8b7aa8;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.chat-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(180, 122, 255, 0.1);
}

.chat-form input {
  flex: 1;
  min-width: 0;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(180, 122, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: #f3ecff;
  padding: 0 12px;
  font-family: inherit;
  font-size: 13px;
}

.changelog-section {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 8px;
}

.changelog-title {
  margin: 0 0 8px;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.changelog-lead {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.5;
}

.changelog-list {
  display: grid;
  gap: 14px;
}

.changelog-day {
  padding: 18px 20px;
  border-radius: 16px;
}

.changelog-day-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: #e9d5ff;
  text-transform: capitalize;
}

.changelog-items {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.changelog-items li {
  color: #ddd6fe;
  font-size: 14px;
  line-height: 1.45;
}

.changelog-items li::marker {
  color: #a855f7;
}

.changelog-loading,
.changelog-empty {
  text-align: center;
  padding: 32px 16px;
}

@media (max-width: 900px) {
  .stats-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-header {
    flex-direction: column;
    align-items: stretch;
  }

  .store-header-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .plan-card.featured {
    transform: none;
  }

  .hero h1 {
    margin-bottom: 32px;
  }
}
