/* ═══════════════════════════════════════════
   RBX Sniper · Pricing
   ═══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #050b18;
  --bg2:       #0a1424;
  --surface:   #0f1c33;
  --surface2:  #15243f;
  --border:    #1f3358;
  --border2:   #2a4476;

  --blue:      #00A2FF;
  --blue-2:    #5cc4ff;
  --blue-glow: rgba(0,162,255,0.18);
  --purple:    #a855ff;
  --purple-2:  #c084fc;
  --green:     #00d084;
  --danger:    #ff3b5c;

  --text:      #ffffff;
  --text-2:    #a8bdd6;
  --text-3:    #6e8aac;

  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { position: relative; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

.bg-glow {
  position: fixed; pointer-events: none; z-index: 0;
  width: 720px; height: 720px; border-radius: 50%; filter: blur(120px); opacity: .35;
}
.bg-glow-1 { top: -200px; left: -200px; background: radial-gradient(circle, var(--blue), transparent 70%); }
.bg-glow-2 { bottom: -200px; right: -200px; background: radial-gradient(circle, var(--purple), transparent 70%); opacity: .3; }

/* ── Header ── */
.px-header {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px clamp(20px, 5vw, 56px);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.px-brand { display: flex; align-items: center; gap: 12px; }
.px-brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: grid; place-items: center;
  font-weight: 800; font-size: 17px; color: #fff;
  box-shadow: 0 6px 22px var(--blue-glow);
}
.px-brand-name { font-weight: 700; letter-spacing: .01em; }
.px-back {
  font-size: 13px; color: var(--text-2);
  padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border);
  transition: .15s;
}
.px-back:hover { color: var(--text); border-color: var(--border2); background: var(--surface); }

/* ── Main ── */
.px-main {
  position: relative; z-index: 1;
  max-width: 1140px; margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) clamp(20px, 5vw, 40px) 40px;
}

/* ── Hero ── */
.px-hero { text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.px-eyebrow {
  display: inline-block; padding: 6px 14px; margin-bottom: 18px;
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue-2);
  border-radius: 99px; border: 1px solid var(--border2);
  background: var(--blue-glow);
}
.px-title {
  font-size: clamp(36px, 5.5vw, 56px); font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(135deg, #fff 30%, #a8bdd6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 16px;
}
.px-sub { color: var(--text-2); max-width: 580px; margin: 0 auto; font-size: 16px; }

/* ── Tier cards ── */
.px-tiers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2vw, 28px);
  margin-bottom: clamp(60px, 8vw, 96px);
}
@media (max-width: 820px) { .px-tiers { grid-template-columns: 1fr; } }

.px-tier {
  position: relative;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 36px);
  display: flex; flex-direction: column;
  transition: transform .25s, border-color .25s;
}
.px-tier:hover { border-color: var(--border2); transform: translateY(-2px); }

.px-tier-pro {
  border-color: var(--purple);
  background:
    radial-gradient(circle at top right, rgba(168,85,255,0.18), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg2) 100%);
  box-shadow: 0 30px 80px rgba(168,85,255,0.18);
}
.px-tier-pro:hover { transform: translateY(-4px); }
.px-tier-glow {
  position: absolute; inset: -1px; border-radius: var(--radius-lg);
  pointer-events: none; opacity: .55;
  background: linear-gradient(135deg, transparent, rgba(168,85,255,0.35), transparent);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px;
}
.px-tier-ribbon {
  position: absolute; top: -1px; right: 28px;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 99px;
  box-shadow: 0 8px 24px rgba(168,85,255,0.5);
}

.px-tier-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.px-tier-name { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.px-tier-tag { font-size: 12px; color: var(--text-3); font-weight: 500; }

.px-tier-price {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 4px;
}
.px-price-currency { font-size: 22px; font-weight: 600; color: var(--text-2); margin-top: 8px; }
.px-price-num {
  font-size: 56px; font-weight: 800; letter-spacing: -.04em; line-height: 1;
}
.px-price-suffix { font-size: 14px; color: var(--text-3); margin-left: 8px; font-weight: 600; }
.px-tier-pro .px-price-num {
  background: linear-gradient(135deg, var(--purple-2), var(--blue-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.px-tier-price-sub { font-size: 13px; color: var(--text-3); margin-bottom: 28px; }

/* ── Features list ── */
.px-features { list-style: none; margin-bottom: 28px; flex: 1; }
.px-features li {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 0; font-size: 14px; color: var(--text-2);
  border-bottom: 1px solid rgba(31, 51, 88, 0.4);
}
.px-features li:last-child { border-bottom: none; }
.px-features strong { color: var(--text); font-weight: 600; }
.px-feature-off { opacity: .55; }
.px-feature-off strong, .px-feature-off span { text-decoration: line-through; text-decoration-color: rgba(110,138,172,0.4); }
.px-feature-meta { text-decoration: none !important; }

.px-check {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green); color: #052614;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800;
}
.px-tier-pro .px-check { background: linear-gradient(135deg, var(--purple), var(--blue)); color: #fff; }
.px-x {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(110,138,172,0.15); color: var(--text-3);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
}

/* ── CTA ── */
.px-cta {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  width: 100%; padding: 14px 20px;
  border: none; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: .2s;
}
.px-cta-ghost {
  background: transparent; border: 1px solid var(--border2); color: var(--text);
}
.px-cta-ghost:hover { background: var(--surface2); border-color: var(--text-3); }
.px-cta-primary {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
  box-shadow: 0 14px 40px rgba(168,85,255,0.35);
}
.px-cta-primary:hover { transform: translateY(-1px); box-shadow: 0 18px 50px rgba(168,85,255,0.5); }
.px-cta-primary:disabled,
.px-cta-primary[aria-disabled="true"],
.px-cta-disabled { opacity: .55; cursor: not-allowed; transform: none; }
.px-cta-disabled:hover { transform: none; box-shadow: 0 14px 40px rgba(168,85,255,0.25); }
.px-cta-arrow { transition: transform .2s; }
.px-cta-primary:hover:not([aria-disabled="true"]) .px-cta-arrow { transform: translateX(3px); }

/* ── Form ── */
.px-form { display: flex; flex-direction: column; gap: 10px; }
.px-label { font-size: 12px; font-weight: 600; color: var(--text-2); letter-spacing: .02em; }
.px-input {
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 13px 16px;
  font-family: inherit; font-size: 14px;
  transition: .15s;
}
.px-input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(168,85,255,0.18);
}
.px-input::placeholder { color: var(--text-3); }
.px-form-note { font-size: 12px; color: var(--text-3); text-align: center; margin-top: 4px; }

/* ── Status ── */
.px-status {
  padding: 11px 14px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500;
  text-align: center;
}
.px-status.is-loading { background: rgba(0,162,255,0.1); color: var(--blue-2); border: 1px solid rgba(0,162,255,0.2); }
.px-status.is-success { background: rgba(0,208,132,0.1); color: var(--green); border: 1px solid rgba(0,208,132,0.25); }
.px-status.is-error   { background: rgba(255,59,92,0.1); color: var(--danger); border: 1px solid rgba(255,59,92,0.25); }
.hidden { display: none; }

/* ── Terms checkbox (inline en form) ── */
.px-terms-row {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px;
  background: rgba(168,85,255,0.06);
  border: 1px solid rgba(168,85,255,0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.px-terms-row:hover { background: rgba(168,85,255,0.09); }
.px-checkbox {
  flex-shrink: 0; margin-top: 2px;
  width: 18px; height: 18px;
  cursor: pointer; accent-color: var(--purple);
}
.px-terms-text {
  font-size: 12.5px; line-height: 1.5; color: var(--text-2);
}
.px-terms-text strong { color: var(--text); font-weight: 600; }
.px-terms-link {
  color: var(--purple-2); font-weight: 600; text-decoration: underline;
  text-decoration-color: rgba(192,132,252,0.4);
  text-underline-offset: 2px;
}
.px-terms-link:hover { text-decoration-color: var(--purple-2); }

/* ── Terms section ── */
.px-terms {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  margin-bottom: clamp(48px, 6vw, 72px);
  scroll-margin-top: 100px;
}
.px-terms-head { margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.px-terms-head h2 {
  font-size: 28px; font-weight: 800; letter-spacing: -.02em;
  margin-bottom: 8px;
}
.px-terms-lead { font-size: 15px; color: var(--text-2); }
.px-terms-lead strong { color: var(--purple-2); font-weight: 700; }
.px-terms-body h3 {
  font-size: 16px; font-weight: 700;
  margin: 22px 0 8px;
  color: var(--text);
}
.px-terms-body h3:first-child { margin-top: 0; }
.px-terms-body p {
  font-size: 14px; line-height: 1.7; color: var(--text-2);
  margin-bottom: 4px;
}
.px-terms-body p strong { color: var(--text); font-weight: 600; }
.px-terms-body code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12.5px; padding: 2px 6px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 5px; color: var(--purple-2);
}
.px-terms-body a { color: var(--blue-2); text-decoration: underline; text-underline-offset: 2px; }
.px-terms-body a:hover { color: var(--blue); }
.px-terms-foot {
  margin-top: 28px; padding-top: 18px;
  border-top: 1px solid var(--border);
  font-style: italic; font-size: 13px;
  color: var(--text-3) !important;
}

/* ── FAQ ── */
.px-faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
@media (max-width: 720px) { .px-faq { grid-template-columns: 1fr; } }
.px-faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.px-faq-item h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.px-faq-item p { font-size: 14px; color: var(--text-2); }
.px-faq-item code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12.5px; padding: 2px 6px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 5px; color: var(--purple-2);
}

/* ── Footer ── */
.px-footer {
  position: relative; z-index: 1;
  padding: 28px clamp(20px, 5vw, 56px);
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-3);
}
.px-footer-links a { color: var(--text-2); transition: .15s; }
.px-footer-links a:hover { color: var(--text); }
@media (max-width: 540px) {
  .px-footer { flex-direction: column; gap: 10px; text-align: center; }
}
