/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.wfx-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 18px;
  padding: 40px;
  border: 1px solid var(--wfx-border);
  border-radius: 28px;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--wfx-p) 8%, transparent),
    color-mix(in srgb, var(--wfx-card) 82%, transparent) 45%,
    color-mix(in srgb, var(--wfx-p) 4%, transparent)
  );
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.wfx-hero::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -170px;
  top: -170px;
  border-radius: 50%;
  background: var(--wfx-p);
  filter: blur(80px);
  opacity: 0.15;
}

.wfx-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 70px;
  min-height: 420px;
}

.wfx-hero-copy {
  position: relative;
  z-index: 2;
}

.wfx-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--wfx-p);
  font-size: 12px;
  font-weight: 800;
}

.wfx-hero-title {
  margin: 17px 0 16px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.3;
  letter-spacing: -2px;
  font-weight: 900;
}

.neon-text-primary {
  color: var(--wfx-p);
}

.wfx-hero-subtitle {
  max-width: 600px;
  margin: 0;
  color: var(--wfx-muted);
  font-size: 15px;
  line-height: 2;
}

.wfx-hero-actions {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
  margin-top: 27px;
}

.wfx-hero-actions .wfx-btn {
  width: auto;
  min-height: 49px;
  padding: 0 21px;
}

.wfx-hero-proof {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
  color: var(--wfx-muted);
  font-size: 11px;
  font-weight: 700;
}

.wfx-hero-proof span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wfx-hero-proof i {
  color: var(--wfx-p);
}

/* ── Hero Visual ── */
.wfx-hero-visual {
  position: relative;
  min-height: 350px;
  display: grid;
  place-items: center;
}

.wfx-hero-visual::before {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: var(--wfx-p);
  filter: blur(70px);
  opacity: 0.15;
}

/* ── Order Preview Card ── */
.wfx-order-preview {
  position: relative;
  width: min(100%, 375px);
  padding: 21px;
  border: 1px solid var(--wfx-border);
  border-radius: 23px;
  background: linear-gradient(165deg, color-mix(in srgb, var(--wfx-card2) 98%, transparent), color-mix(in srgb, var(--wfx-card) 98%, transparent));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  transform: rotate(-1deg);
}

.wfx-order-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--wfx-border);
}

.wfx-order-preview-head span,
.wfx-order-product span {
  display: grid;
  gap: 3px;
}

.wfx-order-preview small {
  font-size: 10px;
  color: var(--wfx-muted);
}

.wfx-order-preview b {
  font-size: 13px;
}

.wfx-order-preview-head > i {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wfx-p);
  color: var(--wfx-bg);
}

.wfx-order-product {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 19px 0;
}

.wfx-order-product > i {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--wfx-p) 25%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--wfx-p) 12%, transparent);
  color: var(--wfx-p);
  font-size: 21px;
}

.wfx-order-product strong {
  font-size: 18px;
}

.wfx-order-product strong small {
  font-size: 9px;
}

/* ── Activation Preview ── */
.wfx-activation-preview {
  padding: 15px;
  border: 1px solid color-mix(in srgb, var(--wfx-p) 17%, transparent);
  border-radius: 15px;
  background: color-mix(in srgb, var(--wfx-p) 5%, transparent);
}

.wfx-activation-preview > span,
.wfx-activation-preview > small {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
}

.wfx-activation-preview > span {
  color: var(--wfx-txt);
}

.wfx-activation-preview > small {
  color: var(--wfx-muted);
}

.wfx-code-dots {
  display: flex;
  direction: ltr;
  gap: 5px;
  margin: 14px 0;
}

.wfx-code-dots i {
  width: 22px;
  height: 8px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--wfx-p) 25%, transparent);
}

.wfx-order-preview > a {
  min-height: 43px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 11px;
  background: var(--wfx-p);
  color: var(--wfx-txt);
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
}

/* ══════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════ */
.wfx-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid var(--wfx-border);
  border-radius: 20px;
  background: var(--wfx-card);
}

.wfx-stat {
  min-height: 94px;
  padding: 20px;
  display: grid;
  align-content: center;
  gap: 5px;
  border-left: 1px solid var(--wfx-border);
}

.wfx-stat:last-child {
  border-left: 0;
}

.wfx-stat-val {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--wfx-txt);
  font-size: 18px;
  font-weight: 900;
}

.wfx-stat-val i {
  color: var(--wfx-p);
}

.wfx-stat-lbl {
  color: var(--wfx-muted);
  font-size: 10px;
  font-weight: 700;
}

/* ══════════════════════════════════════════
   CARDS
══════════════════════════════════════════ */
.wfx-card,
.card {
  padding: 25px;
  border: 1px solid var(--wfx-border);
  border-radius: 22px;
  background: var(--wfx-card);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.15);
}

.wfx-card h2,
.card h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  font-size: 20px;
}

.wfx-card h2 i,
.card h2 i {
  color: var(--wfx-p);
}

/* ══════════════════════════════════════════
   PRODUCTS GRID
══════════════════════════════════════════ */
.wfx-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
  align-items: stretch;
}

.wfx-product {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--wfx-border);
  border-radius: 20px;
  background: var(--wfx-card2);
  transition: 0.25s;
}

.wfx-product::before {
  content: "";
  position: absolute;
  left: -80px;
  top: -100px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--wfx-p);
  filter: blur(60px);
  opacity: 0.1;
}

.wfx-product:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--wfx-p) 34%, transparent);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
}

/* ── Product Visual ── */
.wfx-product-visual {
  position: relative;
  height: 178px;
  min-height: 178px;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.wfx-product-icon {
  width: 86px;
  height: 86px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--wfx-p) 24%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--wfx-p) 10%, transparent);
  color: var(--wfx-p);
  font-size: 29px;
}

.wfx-product-img {
  display: block;
  width: min(100%, 140px);
  height: 140px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 18px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--wfx-border);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.wfx-product-image-frame {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  min-width: 0;
}

.wfx-product-img-fallback {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--wfx-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--wfx-muted);
  font-size: 28px;
}

.wfx-mask-icon {
  width: 32px;
  height: 32px;
  background: currentColor;
  mask: var(--icon-url) center / contain no-repeat;
  -webkit-mask: var(--icon-url) center / contain no-repeat;
}

.wfx-product-custom-icon .wfx-mask-icon {
  width: 48px;
  height: 48px;
}

/* ── Product Body ── */
.wfx-product-body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 20px 20px;
  min-width: 0;
}

.wfx-product-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.wfx-product-head > div:first-child {
  min-width: 0;
  flex: 1;
}

.wfx-product-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.55;
  min-height: 53px;
  word-break: break-word;
}

/* ── Badge ── */
.wfx-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 4px 9px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 900;
}

.wfx-badge.good,
.wfx-badge.warn,
.wfx-badge.bad {
  color: var(--wfx-p);
  background: color-mix(in srgb, var(--wfx-p) 10%, transparent);
}

/* ── Product Bottom ── */
.wfx-desc-btn {
  width: auto !important;
  align-self: flex-start;
  margin-top: 12px;
  padding: 0 12px !important;
  min-height: 34px !important;
}

.wfx-product-bottom {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid var(--wfx-border);
}

.wfx-product-price {
  font-size: 25px;
  font-weight: 900;
}

.wfx-product-price span {
  font-size: 10px;
  color: var(--wfx-muted);
}

.wfx-product-buy {
  width: auto !important;
  padding-inline: 15px !important;
  min-height: 42px !important;
  max-width: 100%;
  white-space: nowrap;
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.wfx-btn,
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--wfx-border);
  border-radius: 12px;
  color: var(--wfx-txt);
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s;
}

.wfx-btn:hover,
.btn:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--wfx-p) 34%, transparent);
}

.wfx-btn.primary,
.btn.primary,
.wfx-btn.premium-primary {
  color: var(--wfx-txt) !important;
  background: var(--wfx-p) !important;
  border-color: transparent !important;
  box-shadow: 0 13px 34px var(--wfx-glow) !important;
}

.wfx-btn.success {
  color: var(--wfx-bg);
  background: var(--wfx-p);
  border: 0;
}

.wfx-btn.ghost {
  background: rgba(255, 255, 255, 0.035);
}

.wfx-btn.sm {
  min-height: 36px;
  padding: 0 12px;
  font-size: 10px;
}

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

/* ══════════════════════════════════════════
   PAYMENT GRID
══════════════════════════════════════════ */
.wfx-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.wfx-pay-item {
  min-height: 115px;
  padding: 17px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid var(--wfx-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.wfx-pay-item i    { font-size: 26px; color: var(--wfx-p); }
.wfx-pay-item b    { font-size: 12px; }
.wfx-pay-item small{ font-size: 9px; color: var(--wfx-muted); }

/* ══════════════════════════════════════════
   FORM FIELDS
══════════════════════════════════════════ */
.wfx-field {
  display: grid;
  gap: 7px;
  margin-bottom: 13px;
}

.wfx-label {
  color: var(--wfx-muted);
  font-size: 11px;
  font-weight: 800;
}

.wfx-input,
.wfx-input.wfx,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid var(--wfx-border) !important;
  border-radius: 12px !important;
  outline: 0;
  color: var(--wfx-txt) !important;
  background: color-mix(in srgb, var(--wfx-bg) 55%, transparent) !important;
  font-size: 12px !important;
  transition: 0.2s;
}

.wfx-input:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: color-mix(in srgb, var(--wfx-p) 58%, transparent) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--wfx-p) 9%, transparent) !important;
}

.wfx-note,
.wfx-status {
  padding: 14px;
  border: 1px solid var(--wfx-border);
  border-radius: 13px;
  color: var(--wfx-muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 11px;
  line-height: 1.9;
}

/* ══════════════════════════════════════════
   TABLE
══════════════════════════════════════════ */
.wfx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.wfx-table th,
.wfx-table td {
  padding: 12px 10px;
  text-align: right;
  border-bottom: 1px solid var(--wfx-border);
}

.wfx-table th {
  color: var(--wfx-muted);
  font-size: 9px;
  font-weight: 800;
}

.wfx-table td {
  color: var(--wfx-txt);
}

.wfx-table tr:hover td {
  background: color-mix(in srgb, var(--wfx-p) 3%, transparent);
}

/* ══════════════════════════════════════════
   MODAL
══════════════════════════════════════════ */
.wfx-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 4, 9, 0.76);
  backdrop-filter: blur(9px);
}

.wfx-modal-card {
  position: relative;
  width: min(100%, 480px);
  padding: 27px;
  border: 1px solid var(--wfx-border);
  border-radius: 22px;
  background: var(--wfx-card);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.6);
}

.wfx-modal-close {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--wfx-border);
  border-radius: 10px;
  color: var(--wfx-muted);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.wfx-modal-card h3 {
  margin: 0 0 14px;
  padding-left: 38px;
  font-size: 18px;
}

.wfx-modal-card p {
  margin: 0;
  color: var(--wfx-muted);
  font-size: 12px;
  line-height: 2;
  white-space: pre-wrap;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .wfx-hero {
    padding: 32px;
  }

  .wfx-hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .wfx-hero-visual {
    min-height: 320px;
  }

  .wfx-stats,
  .wfx-pay-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .wfx-hero {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .wfx-hero-title {
    font-size: clamp(32px, 11vw, 44px);
  }

  .wfx-hero-visual {
    min-height: 300px;
  }

  .wfx-order-preview {
    transform: none;
  }

  .wfx-stats,
  .wfx-pay-grid {
    grid-template-columns: 1fr;
  }

  .wfx-stat {
    min-height: 82px;
    border-bottom: 1px solid var(--wfx-border);
    border-left: 0;
  }

  .wfx-stat:last-child {
    border-bottom: 0;
  }

  .wfx-card,
  .card {
    padding: 18px;
  }

  .wfx-product-body {
    padding: 0 16px 16px;
  }

  .wfx-product-bottom {
    padding-top: 14px;
  }

  .wfx-product-buy {
    width: 100% !important;
  }

  .wfx-btn,
  .btn {
    width: 100%;
  }

  .wfx-hero-actions .wfx-btn {
    flex: 1 1 170px;
  }

  .wfx-modal {
    padding: 12px;
  }

  .wfx-modal-card {
    padding: 20px;
  }
}
