/* ==========================================================================
   Baxia AI - Institutional Buy & Tron Payment Architecture
   ========================================================================== */

.site-header {
  background: rgba(250, 249, 245, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--paper-line);
}
.menu-open .site-header {
  background: var(--ink) !important;
  color: var(--text-inv) !important;
  border-color: var(--ink-line) !important;
}

.buy-page-wrap {
  min-height: calc(100vh - 80px);
  padding-top: calc(var(--header-h, 80px) + clamp(36px, 5vw, 64px));
  padding-bottom: clamp(60px, 8vw, 100px);
  background: radial-gradient(120% 80% at 50% -10%, rgba(255, 91, 20, 0.08) 0%, rgba(11, 13, 16, 0.02) 60%, transparent 100%);
}

.buy-container {
  max-width: 670px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header summary */
.buy-header {
  text-align: center;
  margin-bottom: 32px;
}
.buy-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 12px;
  background: rgba(255, 91, 20, 0.08);
  border: 1px solid rgba(255, 91, 20, 0.2);
  border-radius: 20px;
  margin-bottom: 14px;
}
.buy-header .eyebrow::before {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
}
.buy-header h1 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.buy-header p {
  color: var(--text-2);
  font-size: 14.5px;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Main Layout */
.buy-deck-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Left: Order Summary Card */
.buy-summary-card {
  background: var(--surface);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}
.buy-summary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #FF8A00 100%);
}
.summary-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.summary-title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 6px;
}
.summary-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  margin: 0 0 22px;
}

.summary-price-box {
  background: var(--paper-sub);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-box-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price-box-top .price-label {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-3);
}
.price-tag-pill {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  background: rgba(38, 161, 123, 0.1);
  color: #26A17B;
  border: 1px solid rgba(38, 161, 123, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.price-main-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.usdt-logo-pill {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 8px rgba(38, 161, 123, 0.28));
}
.price-num-group {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price-amount {
  font-family: var(--f-display);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.price-currency-code {
  font-family: var(--f-mono);
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
}
.price-sub-note {
  font-size: 11.5px;
  color: var(--text-3);
  border-top: 1px solid var(--paper-line);
  padding-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.price-sub-note i {
  color: var(--up);
  font-size: 13px;
}
.pay-token-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(38, 161, 123, 0.25));
}
.usdt-amount-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 4px;
  filter: drop-shadow(0 2px 4px rgba(38, 161, 123, 0.2));
}

.summary-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.summary-perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.45;
}
.summary-perks li i {
  color: var(--up);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.summary-guarantees {
  border-top: 1px solid var(--paper-line);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--text-3);
}
.guarantee-item i {
  color: var(--accent);
  font-size: 13px;
}

/* Payment Engine Card */
.buy-payment-card {
  background: var(--surface);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.08);
  position: relative;
  width: 100%;
  max-width: 630px;
  box-sizing: border-box;
}

.pay-gateway-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(31, 169, 113, 0.08);
  border: 1px solid rgba(31, 169, 113, 0.22);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--up);
  letter-spacing: 0.02em;
}
.network-pulse-dot {
  display: none !important;
}
.pay-device-footnote {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--paper-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-3);
}
.pay-device-footnote .footnote-val {
  font-family: var(--f-mono);
  color: var(--text-2);
  font-weight: 600;
}

/* Step Stages Visibility */
.payment-step {
  display: none;
  animation: fadeIn 0.3s ease forwards;
}
.payment-step.is-active {
  display: block;
}

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

/* STEP 1: Ready to Pay View */
.step-ready-view {
  text-align: center;
  padding: 20px 10px;
}
.tron-badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(235, 0, 41, 0.08);
  border: 1px solid rgba(235, 0, 41, 0.22);
  color: #EB0029;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.step-ready-title {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 0 10px;
}
.step-ready-desc {
  font-size: 13.5px;
  color: var(--text-2);
  max-width: 440px;
  margin: 0 auto 28px;
  line-height: 1.55;
}
.tron-device-info {
  background: var(--paper-sub);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 26px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.device-info-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.device-info-lbl {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-3);
}
.device-info-val {
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}
.device-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--up);
  background: rgba(31, 169, 113, 0.1);
  padding: 3px 8px;
  border-radius: 12px;
}

.btn-ready-pay {
  width: 100%;
  height: 52px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

/* STEP 2: Live Payment Screen (QR + 60s countdown) */
.step-pay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--paper-line);
}
.pay-token-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pay-token-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #26A17B;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(38, 161, 123, 0.3);
}
.pay-token-name {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
}
.pay-token-network {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--text-3);
  font-weight: 600;
}

/* 60-Second Timer Box */
.pay-timer-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 91, 20, 0.08);
  border: 1px solid rgba(255, 91, 20, 0.25);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
}
.pay-timer-box.timer-warning {
  background: rgba(229, 72, 77, 0.1);
  border-color: rgba(229, 72, 77, 0.35);
  color: var(--down);
}
.timer-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulseDot 1s infinite alternate;
}
@keyframes pulseDot {
  from { opacity: 0.5; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1.15); }
}
.timer-lbl {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
}
.timer-seconds {
  font-family: var(--f-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  min-width: 42px;
}

/* Linear Countdown Progress Bar */
.pay-progress-rail {
  width: 100%;
  height: 4px;
  background: var(--paper-line);
  border-radius: 2px;
  margin-bottom: 22px;
  overflow: hidden;
}
.pay-progress-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, #FF8A00 100%);
  transition: width 1s linear;
}

/* QR Code & Transfer Details Area */
.pay-qr-deck {
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  background: var(--paper-sub);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 20px;
  box-sizing: border-box;
  width: 100%;
}
@media (max-width: 580px) {
  .pay-qr-deck {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.qr-box-wrap {
  width: 154px;
  height: 154px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 2px solid var(--paper-line);
  border-radius: var(--radius-sm);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  flex-shrink: 0;
  box-sizing: border-box;
}
.qr-canvas-holder {
  width: 136px;
  height: 136px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.qr-canvas-holder img,
.qr-canvas-holder canvas,
.qr-canvas-holder svg {
  width: 100% !important;
  height: 100% !important;
  max-width: 136px !important;
  max-height: 136px !important;
  display: block;
}

.pay-transfer-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.pay-field-unit {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.pay-field-label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-3);
}
.pay-amount-highlight {
  font-family: var(--f-mono);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}
.pay-amount-highlight small {
  font-size: 12px;
  color: var(--accent);
}
.pay-rule-pill {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
}
.pay-rule-pill strong {
  color: var(--down);
}

.wallet-copy-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-sm);
  padding: 4px 6px 4px 10px;
  gap: 8px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.wallet-address-text {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1 auto;
  min-width: 0;
  letter-spacing: -0.01em;
}
.btn-copy-address {
  background: var(--paper-sub);
  border: 1px solid var(--paper-line);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-copy-address:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Blockchain Live Monitor Bar */
.blockchain-listener-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(31, 169, 113, 0.06);
  border: 1px solid rgba(31, 169, 113, 0.25);
  border-radius: var(--radius);
  margin-bottom: 18px;
}
.listener-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text);
}
.listener-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(31, 169, 113, 0.2);
  border-top-color: var(--up);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.sim-payment-panel {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-sim-pay {
  background: var(--surface);
  border: 1px solid var(--paper-line);
  color: var(--text-2);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-sim-pay:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* 5-Minute Countdown Timer & Window */
.pay-timer-monitor-wrap {
  margin-bottom: 18px;
}
.pay-timer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.pay-timer-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
}
.pay-timer-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
}
.pay-timer-val.is-expiring {
  color: var(--down);
  animation: pulse-danger 1s ease infinite alternate;
}
@keyframes pulse-danger {
  from { opacity: 0.75; }
  to { opacity: 1; }
}
.pay-timer-progress {
  width: 100%;
  height: 4px;
  background: var(--ink-line, rgba(255, 255, 255, 0.08));
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
}
.pay-timer-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #ff8a3d);
  transition: width 1s linear;
}
.pay-timer-bar.is-expiring {
  background: var(--down);
}

/* Payment Window Expired View */
.pay-expired-view {
  background: rgba(229, 72, 77, 0.06);
  border: 1px solid rgba(229, 72, 77, 0.25);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-align: center;
  margin-bottom: 18px;
}
.pay-expired-icon {
  font-size: 28px;
  color: var(--down);
  margin-bottom: 6px;
}
.pay-expired-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px 0;
}
.pay-expired-desc {
  font-size: 12px;
  color: var(--text-2);
  margin: 0 0 14px 0;
  line-height: 1.5;
}
.btn-retry-pay {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}
.btn-retry-pay:hover {
  background: var(--accent-hover, #e84e0b);
}

/* Alert Notification */
.pay-alert-msg {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.45;
  margin-bottom: 14px;
  display: none;
}
.pay-alert-msg.alert-error {
  display: block;
  background: rgba(229, 72, 77, 0.1);
  border: 1px solid rgba(229, 72, 77, 0.3);
  color: var(--down);
}
.pay-alert-msg.alert-info {
  display: block;
  background: rgba(255, 91, 20, 0.08);
  border: 1px solid rgba(255, 91, 20, 0.25);
  color: var(--accent);
}

/* STEP 3: Green Tick Animated Screen */
.step-tick-view {
  text-align: center;
  padding: 40px 10px;
}
.tick-hero-circle {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(31, 169, 113, 0.12);
  border: 2px solid rgba(31, 169, 113, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 36px rgba(31, 169, 113, 0.35);
  animation: tickPop 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}
@keyframes tickPop {
  0% { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.tick-svg-icon {
  width: 54px;
  height: 54px;
}
.tick-svg-path {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: drawTick 0.65s 0.25s ease forwards;
}
@keyframes drawTick {
  to { stroke-dashoffset: 0; }
}

.tick-title {
  font-family: var(--f-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--up);
  margin: 0 0 8px;
}
.tick-subtitle {
  font-size: 14px;
  color: var(--text-2);
  max-width: 420px;
  margin: 0 auto;
}

/* STEP 4: Email & WhatsApp Form */
.step-form-view {
  padding: 10px 0;
}
.form-view-head {
  margin-bottom: 24px;
}
.form-view-badge {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--up);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}
.form-view-head h3 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 6px;
}
.form-view-head p {
  font-size: 13px;
  color: var(--text-2);
  margin: 0;
}

.delivery-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.del-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.del-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.del-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.del-input-wrap i {
  position: absolute;
  left: 14px;
  font-size: 18px;
  color: var(--text-3);
  pointer-events: none;
}
.del-field input {
  width: 100%;
  height: 48px;
  padding: 0 14px 0 42px;
  background: var(--paper-sub);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  font-family: var(--f-body);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.del-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 91, 20, 0.12);
}
.del-hint {
  font-size: 11px;
  color: var(--text-3);
}

.btn-submit-delivery {
  height: 50px;
  font-size: 14.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

/* STEP 5: License Key Revealed & Setup Details */
.step-key-view {
  padding: 10px 0;
}
.key-view-head {
  text-align: center;
  margin-bottom: 24px;
}
.key-view-head h3 {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 0 6px;
}
.key-view-head p {
  font-size: 13.5px;
  color: var(--text-2);
  max-width: 440px;
  margin: 0 auto;
}

.license-key-card {
  background: var(--paper-sub);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 26px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(255, 91, 20, 0.1);
  position: relative;
}
.key-card-label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 10px;
}
.key-display-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  margin-bottom: 14px;
}
.key-code-string {
  font-family: var(--f-mono);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .05em;
  color: var(--ink);
}
.btn-copy-key {
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}
.btn-copy-key:hover {
  opacity: 0.9;
}
.key-meta-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--text-3);
}

.setup-guide-box {
  background: var(--paper-sub);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}
.setup-guide-box h4 {
  font-size: 13.5px;
  font-weight: 700;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
.setup-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.setup-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text);
}
.setup-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-launch-term {
  height: 52px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

/* ==========================================================================
   Mobile Responsive Architecture for Buy / Payment Page
   ========================================================================== */
@media (max-width: 860px) {
  .buy-deck-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 640px) {
  .buy-page-wrap {
    padding-top: calc(var(--header-h, 80px) + 20px);
    padding-bottom: 50px;
  }
  .buy-container {
    padding: 0 14px;
  }
  .buy-header {
    margin-bottom: 24px;
  }
  .crumbs {
    font-size: 9.5px;
    margin-bottom: 14px !important;
  }
  .buy-header .eyebrow {
    font-size: 10px;
    padding: 4px 10px;
    margin-bottom: 12px;
  }
  .buy-header h1 {
    font-size: clamp(1.65rem, 6.5vw, 2.15rem);
    line-height: 1.15;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
    word-break: break-word;
  }
  .buy-header p {
    font-size: 13px;
    line-height: 1.5;
    padding: 0;
    max-width: 100%;
  }

  /* Summary Card */
  .buy-summary-card {
    padding: 20px 16px;
    border-radius: var(--radius);
  }
  .summary-plan-badge {
    font-size: 9.5px;
    margin-bottom: 8px;
  }
  .summary-title {
    font-size: 1.35rem;
    margin: 0 0 6px;
  }
  .summary-desc {
    font-size: 12px;
    line-height: 1.45;
    margin: 0 0 18px;
  }
  .summary-price-box {
    padding: 14px 14px;
    margin-bottom: 18px;
    gap: 8px;
  }
  .price-box-top .price-label {
    font-size: 10px;
  }
  .price-tag-pill {
    font-size: 9.5px;
    padding: 2px 6px;
  }
  .price-main-row {
    gap: 10px;
  }
  .usdt-logo-pill {
    width: 30px;
    height: 30px;
  }
  .price-amount {
    font-size: 2.1rem;
  }
  .price-currency-code {
    font-size: 14px;
  }
  .price-sub-note {
    font-size: 10.5px;
    padding-top: 6px;
  }
  .summary-perks {
    gap: 10px;
    margin-bottom: 18px;
  }
  .summary-perks li {
    font-size: 12px;
    line-height: 1.45;
    gap: 8px;
  }
  .summary-perks li i {
    font-size: 15px;
    margin-top: 1px;
  }
  .summary-guarantees {
    padding-top: 14px;
    gap: 6px;
  }
  .guarantee-item {
    font-size: 10px;
    gap: 6px;
  }

  /* Payment Card */
  .buy-payment-card {
    padding: 20px 16px;
    border-radius: var(--radius);
    min-height: auto;
  }
  .tron-badge-hero {
    font-size: 10.5px;
    padding: 5px 12px;
    margin-bottom: 14px;
  }
  .step-ready-title {
    font-size: 1.35rem;
    margin-bottom: 8px;
  }
  .step-ready-desc {
    font-size: 12.5px;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  .tron-device-info {
    padding: 10px 12px;
    margin-bottom: 20px;
  }
  .device-info-val {
    font-size: 11.5px;
  }
  .btn-ready-pay {
    height: 48px;
    font-size: 14px;
  }

  /* Step 2 Pay Screen */
  .step-pay-head {
    margin-bottom: 16px;
    padding-bottom: 12px;
  }
  .pay-token-title {
    gap: 8px;
  }
  .pay-token-img {
    width: 30px;
    height: 30px;
  }
  .pay-token-name {
    font-size: 1.05rem;
  }
  .pay-token-network {
    font-size: 9.5px;
  }
  .pay-timer-box {
    padding: 4px 10px;
    gap: 6px;
  }
  .timer-lbl {
    font-size: 10px;
  }
  .timer-seconds {
    font-size: 12.5px;
    min-width: 36px;
  }
  .pay-progress-rail {
    margin-bottom: 16px;
  }
  .pay-qr-deck {
    padding: 14px;
    gap: 16px;
    margin-bottom: 16px;
  }
  .qr-box-wrap {
    width: 154px;
    height: 154px;
    padding: 6px;
    box-sizing: border-box;
  }
  .qr-canvas-holder,
  .qr-canvas-holder img,
  .qr-canvas-holder canvas {
    width: 136px !important;
    height: 136px !important;
  }
  .pay-amount-highlight {
    font-size: 17px;
  }
  .pay-amount-highlight small {
    font-size: 11px;
  }
  .wallet-copy-wrap {
    padding: 4px 6px 4px 8px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .wallet-address-text {
    font-size: 11px;
    min-width: 0;
  }
  .btn-copy-address {
    padding: 5px 8px;
    font-size: 10px;
    flex-shrink: 0;
  }
  .blockchain-listener-bar {
    padding: 10px 12px;
    gap: 10px;
    margin-bottom: 14px;
  }
  .listener-status {
    font-size: 11px;
    width: 100%;
  }
  .sim-payment-panel {
    width: 100%;
    gap: 6px;
  }
  .btn-sim-pay {
    flex: 1 1 calc(50% - 6px);
    font-size: 9.5px;
    padding: 6px 4px;
    text-align: center;
  }

  /* Step 4 Form */
  .form-view-head h3 {
    font-size: 1.25rem;
  }
  .form-view-head p {
    font-size: 12px;
  }
  .del-field label {
    font-size: 11.5px;
  }
  .del-field input {
    height: 44px;
    font-size: 13.5px;
  }
  .btn-submit-delivery {
    height: 46px;
    font-size: 13.5px;
  }

  /* Step 5 Key */
  .key-view-head h3 {
    font-size: 1.35rem;
  }
  .license-key-card {
    padding: 16px 12px;
    margin-bottom: 18px;
  }
  .key-display-box {
    padding: 10px 8px;
  }
  .key-code-string {
    font-size: 14.5px;
    letter-spacing: .02em;
  }
  .btn-copy-key {
    width: 100%;
    justify-content: center;
    padding: 10px;
    font-size: 13px;
  }
  .setup-guide-box {
    padding: 14px;
    margin-bottom: 18px;
  }
  .btn-launch-term {
    height: 48px;
    font-size: 14px;
  }
}

/* ==========================================================================
   OFFICIAL WHATSAPP ACTIVATION DESK & POST-PAYMENT CLAIM STYLES
   ========================================================================== */
.whatsapp-claim-card {
  background: var(--surface);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  margin-bottom: 22px;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.08);
}

.claim-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #25D366;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.claim-card-title {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
}

.claim-card-desc {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0 0 20px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.btn--whatsapp-claim {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  background: #25D366;
  color: #FFFFFF !important;
  border: 1px solid #20BA5A;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.28);
}

.btn--whatsapp-claim:hover {
  background: #20BA5A;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.36);
  color: #FFFFFF !important;
}

.btn--whatsapp-claim i {
  font-size: 22px;
}

/* Verified Registration Details Box */
.verified-details-box {
  background: var(--paper-sub);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-align: left;
}

.details-box-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-3);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--paper-line);
}

.details-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
}

.details-lbl {
  color: var(--text-3);
  font-weight: 500;
}

.details-val {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
}

.details-val--green {
  color: var(--up);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
}

/* Important Cookie Reset Notice Box requested by user */
.key-cookie-warning-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 91, 20, 0.08);
  border: 1px solid rgba(255, 91, 20, 0.35);
  border-radius: var(--radius);
  padding: 14px 18px;
  text-align: left;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.55;
  margin-top: 16px;
  margin-bottom: 20px;
}

.key-cookie-warning-box i {
  font-size: 22px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.key-cookie-warning-box strong {
  color: var(--accent);
  font-weight: 700;
}

/* Promotional Launch Offer & Countdown Elements */
.promo-strike-price {
  font-family: var(--f-display);
  font-size: 1.45rem;
  text-decoration: line-through;
  color: var(--text-3);
  margin-right: 4px;
}

.promo-discount-badge {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 91, 20, 0.12);
  color: var(--accent);
  border: 1px solid rgba(255, 91, 20, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.promo-countdown-pill {
  background: rgba(255, 91, 20, 0.08);
  border: 1px solid rgba(255, 91, 20, 0.22);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-family: var(--f-mono);
}

.baxia-promo-bar {
  background: var(--ink-2);
  border-bottom: 1px solid rgba(255, 91, 20, 0.28);
  padding: 7px 16px;
  font-size: 12px;
  font-family: var(--f-mono);
  color: var(--text-inv);
  position: relative;
  z-index: 100;
}


