/* GROK — xAI aesthetic */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #000;
  color: #ededed;
  font-family: 'Inter Tight', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: #fff; color: #000; }

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* ============ AUTH MODAL ============ */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.modal-backdrop.show { display: flex; opacity: 1; }
.modal {
  width: 100%; max-width: 440px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 36px 32px 32px;
  position: relative;
  box-shadow: 0 30px 80px -10px rgba(0,0,0,0.8), 0 0 60px rgba(255,255,255,0.04);
  transform: translateY(8px);
  transition: transform 0.18s ease;
}
.modal-backdrop.show .modal { transform: translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 8px;
  background: transparent; border: 1px solid rgba(255,255,255,0.1);
  color: #888; font-size: 16px; cursor: pointer;
  display: grid; place-items: center;
  transition: all 0.15s;
}
.modal-close:hover { color: #fff; border-color: #fff; }
.modal-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 17px; color: #fff;
  margin-bottom: 18px;
}
.modal-brand .brand-glyph { width: 28px; height: 28px; border-radius: 7px; background: #fff; color: #000; display: grid; place-items: center; padding: 4px; }
.modal-brand .brand-glyph svg { width: 100%; height: 100%; display: block; }
.modal h3 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.modal-sub { color: #999; font-size: 14.5px; margin-bottom: 24px; }

.oauth-stack { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.oauth-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
  color: #fff; font-size: 14.5px; font-weight: 500;
  cursor: pointer;
  width: 100%;
  font-family: inherit;
  transition: all 0.15s;
}
.oauth-btn:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.25); }
.oauth-btn .icon {
  width: 20px; height: 20px;
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700; font-size: 14px;
}
.oauth-google .icon { background: #fff; color: #000; border-radius: 4px; }
.oauth-x .icon { color: #fff; font-size: 18px; }

.divider {
  display: flex; align-items: center; gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: #555;
  margin: 16px 0 18px;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px;
  background: rgba(255,255,255,0.08);
}

.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: #888;
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  transition: all 0.15s;
}
.field input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
}
.field-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 4px;
  font-size: 13px;
}
.field-row a { color: #aaa; }
.field-row a:hover { color: #fff; }

.modal-submit {
  width: 100%;
  padding: 13px;
  background: #fff; color: #000;
  border: 0; border-radius: 10px;
  font-size: 14.5px; font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  margin-top: 8px;
  transition: all 0.15s;
}
.modal-submit:hover { background: #e5e5e5; }

.modal-switch {
  text-align: center;
  margin-top: 20px;
  font-size: 13.5px;
  color: #888;
}
.modal-switch a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 1px; cursor: pointer; }

/* ============ AVATAR DROPDOWN ============ */
.user-menu { position: relative; }
.user-trigger {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 6px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  transition: all 0.15s;
}
.user-trigger:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.06); }
.user-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700; font-size: 12px;
  color: #000;
}
.user-trigger .chev { color: #888; font-size: 10px; }
.user-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 220px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.8);
  display: none;
  z-index: 200;
}
.user-dropdown.show { display: block; }
.user-dropdown .head {
  padding: 10px 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 6px;
}
.user-dropdown .head .name { color: #fff; font-size: 14px; font-weight: 500; }
.user-dropdown .head .email { color: #777; font-size: 12px; font-family: 'JetBrains Mono', monospace; margin-top: 2px; word-break: break-all; }
.user-dropdown a, .user-dropdown button {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 9px 12px;
  font-size: 13.5px;
  color: #c8c8c8;
  border-radius: 8px;
  background: transparent; border: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.user-dropdown a:hover, .user-dropdown button:hover { background: rgba(255,255,255,0.06); color: #fff; }
.user-dropdown .sep { height: 1px; background: rgba(255,255,255,0.06); margin: 6px 4px; }
.user-dropdown .icon-glyph {
  width: 18px; opacity: 0.6; font-family: 'JetBrains Mono', monospace; font-size: 13px;
}

/* ============ REFERRAL DASHBOARD ============ */
.dash-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding: 48px 0 96px;
}
.dash-side {
  align-self: start;
  position: sticky; top: 80px;
}
.dash-side h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: #777;
  margin: 0 0 12px;
  font-weight: 500;
}
.dash-side ul { list-style: none; }
.dash-side li a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  margin-left: -12px;
  font-size: 14px;
  color: #aaa;
  border-radius: 8px;
}
.dash-side li a:hover { background: rgba(255,255,255,0.04); color: #fff; }
.dash-side li a.active { background: rgba(255,255,255,0.07); color: #fff; }
.dash-side li a .ic { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #888; width: 16px; }

.dash-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 32px;
  gap: 24px;
  flex-wrap: wrap;
}
.dash-head h1 { font-size: 38px; font-weight: 600; letter-spacing: -0.025em; }
.dash-head p { color: #999; font-size: 15px; margin-top: 6px; }

.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.stat-card {
  padding: 22px 22px 20px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, transparent 100%);
}
.stat-card .stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.stat-card .stat-label .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #4ade80;
}
.stat-card .stat-val {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #fff;
}
.stat-card .stat-sub {
  margin-top: 10px;
  font-size: 12px;
  color: #888;
  font-family: 'JetBrains Mono', monospace;
}
.stat-card .stat-sub .up { color: #4ade80; }
.stat-card .stat-sub .down { color: #f87171; }
@media (max-width: 900px) { .stat-cards { grid-template-columns: repeat(2, 1fr); } }

.ref-link-card {
  padding: 28px 28px 26px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,0.06) 0%, transparent 60%),
    rgba(255,255,255,0.02);
  margin-bottom: 32px;
}
.ref-link-card .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.ref-link-row {
  display: flex; gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
}
.ref-link-input {
  flex: 1; min-width: 240px;
  display: flex; align-items: center;
  padding: 14px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  background: #000;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #fff;
}
.copy-btn {
  padding: 0 22px;
  background: #fff; color: #000;
  border-radius: 10px; border: 0;
  font-family: inherit; font-size: 14px; font-weight: 500;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.15s;
}
.copy-btn:hover { background: #e5e5e5; }
.copy-btn.copied { background: #4ade80; }
.share-row {
  margin-top: 16px;
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.share-row .share-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.08em;
  color: #666; text-transform: uppercase;
}
.share-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px; font-weight: 700;
  transition: all 0.15s;
  text-decoration: none;
}
.share-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); transform: translateY(-1px); }

.dash-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
@media (max-width: 1000px) {
  .dash-row { grid-template-columns: 1fr; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-side { position: static; }
}

.dash-panel {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.015);
  overflow: hidden;
}
.dash-panel .head {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between;
}
.dash-panel .head h3 { font-size: 16px; font-weight: 500; }
.dash-panel .head .pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #aaa;
  background: rgba(255,255,255,0.05);
  padding: 4px 10px; border-radius: 100px;
}

.tx-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tx-table th {
  padding: 14px 22px;
  text-align: left;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.1em;
  color: #777; font-weight: 500;
  text-transform: uppercase;
  background: rgba(255,255,255,0.02);
}
.tx-table td {
  padding: 14px 22px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: #c8c8c8;
}
.tx-table tr:hover td { background: rgba(255,255,255,0.02); }
.tx-table .who { color: #fff; }
.tx-table .what { color: #999; }
.tx-table .amt { color: #4ade80; font-family: 'JetBrains Mono', monospace; font-weight: 500; }
.tx-table .date { color: #777; font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.tx-table .status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tx-table .status.paid { background: rgba(74,222,128,0.12); color: #4ade80; }
.tx-table .status.pending { background: rgba(251,191,36,0.12); color: #fbbf24; }

.tier-info {
  padding: 22px;
}
.tier-info .commission {
  font-size: 44px; font-weight: 600; letter-spacing: -0.025em;
  background: linear-gradient(180deg, #fff 0%, #888 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
.tier-info .ci-sub {
  color: #888; font-size: 13.5px; margin-top: 4px; margin-bottom: 22px;
}
.tier-info ul { list-style: none; }
.tier-info li {
  padding: 11px 0;
  font-size: 13.5px;
  color: #c0c0c0;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.tier-info li:last-child { border: 0; }
.tier-info li .v { color: #fff; font-family: 'JetBrains Mono', monospace; font-size: 12.5px; }

.leaderboard { padding: 8px 0; }
.lb-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  padding: 12px 22px;
  gap: 14px;
}
.lb-row + .lb-row { border-top: 1px solid rgba(255,255,255,0.04); }
.lb-rank {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px; color: #888;
  font-weight: 500;
}
.lb-rank.gold { color: #fbbf24; }
.lb-rank.silver { color: #d4d4d8; }
.lb-rank.bronze { color: #d97706; }
.lb-user { display: flex; align-items: center; gap: 10px; }
.lb-user .av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 11px; color: #000; }
.lb-user .nm { font-size: 13.5px; color: #fff; }
.lb-user .hn { font-size: 11.5px; color: #777; font-family: 'JetBrains Mono', monospace; }
.lb-amt { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #4ade80; }
.lb-row.you { background: rgba(255,255,255,0.04); }

.withdraw-card {
  padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.withdraw-card .amt-big {
  font-size: 36px; font-weight: 600; letter-spacing: -0.02em;
}
.withdraw-card .progress {
  height: 6px; border-radius: 100px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.withdraw-card .progress .bar {
  height: 100%;
  background: linear-gradient(90deg, #4ade80, #22c55e);
  border-radius: 100px;
}
.withdraw-card .meta {
  display: flex; justify-content: space-between;
  font-size: 12px; color: #888;
  font-family: 'JetBrains Mono', monospace;
}
.withdraw-card .methods {
  display: flex; gap: 8px;
  margin-top: 4px; flex-wrap: wrap;
}
.withdraw-card .methods span {
  padding: 4px 10px;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  background: rgba(255,255,255,0.05);
  color: #c0c0c0;
}

.copy-toast {
  position: fixed;
  bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #fff; color: #000;
  padding: 12px 20px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  opacity: 0;
  transition: all 0.25s;
  pointer-events: none;
  z-index: 2000;
}
.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============ CHECKOUT ============ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 48px;
  padding: 48px 0 96px;
  align-items: start;
}
@media (max-width: 980px) {
  .checkout-layout { grid-template-columns: 1fr; gap: 24px; }
}

.checkout-main { min-width: 0; }
.checkout-step {
  margin-bottom: 32px;
}
.checkout-step-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff; color: #000;
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 700;
}
.checkout-step-head h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.checkout-card {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  background: rgba(255,255,255,0.015);
  padding: 24px;
}

/* Plan selector */
.plan-options {
  display: flex; flex-direction: column; gap: 10px;
}
.plan-opt {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  cursor: pointer;
  background: rgba(255,255,255,0.01);
  transition: all 0.15s;
  position: relative;
}
.plan-opt:hover { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.04); }
.plan-opt.selected {
  border-color: #fff;
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 1px #fff inset;
}
.plan-opt .radio {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.plan-opt.selected .radio { border-color: #fff; }
.plan-opt.selected .radio::after {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff;
}
.plan-opt .plan-body { flex: 1; min-width: 0; }
.plan-opt .plan-name {
  font-size: 15px; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 4px;
}
.plan-opt .plan-name .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(255,255,255,0.08);
  color: #c0c0c0;
  text-transform: uppercase;
}
.plan-opt .plan-name .tag.save { background: rgba(74,222,128,0.15); color: #4ade80; }
.plan-opt .plan-desc { font-size: 13px; color: #888; }
.plan-opt .plan-price {
  text-align: right;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600; font-size: 18px;
}
.plan-opt .plan-price .strike {
  display: block;
  font-size: 12px; font-weight: 400;
  color: #666; text-decoration: line-through;
}

/* Payment method tabs */
.pay-methods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
@media (max-width: 600px) { .pay-methods { grid-template-columns: repeat(2, 1fr); } }
.pay-method {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 10px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  transition: all 0.15s;
  font-size: 12.5px;
  color: #c0c0c0;
}
.pay-method:hover { border-color: rgba(255,255,255,0.25); color: #fff; }
.pay-method.active {
  border-color: #fff;
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.pay-method .pm-icon {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700; font-size: 18px;
  letter-spacing: -0.02em;
}

/* Card fields */
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) { .field-grid { grid-template-columns: 1fr; } }
.card-field {
  position: relative;
}
.card-field .card-brands {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  display: flex; gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  pointer-events: none;
}
.card-brands span {
  padding: 3px 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  color: #888;
  font-weight: 700;
}

.method-pane { display: none; }
.method-pane.active { display: block; }

/* Express pay */
.express-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
@media (max-width: 600px) { .express-row { grid-template-columns: 1fr; } }
.express-btn {
  height: 48px;
  border-radius: 10px;
  border: 0;
  font-family: inherit;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  display: grid; place-items: center;
  transition: opacity 0.15s;
}
.express-btn:hover { opacity: 0.85; }
.express-apple { background: #fff; color: #000; }
.express-google { background: #fff; color: #1a1a1a; font-weight: 500; }
.express-paypal { background: #ffc439; color: #003087; font-style: italic; font-weight: 700; }

.or-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #555;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.or-divider::before, .or-divider::after {
  content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.08);
}

/* Crypto pane */
.crypto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
@media (max-width: 600px) { .crypto-grid { grid-template-columns: repeat(2, 1fr); } }
.crypto-opt {
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
}
.crypto-opt:hover, .crypto-opt.selected {
  border-color: #fff;
  background: rgba(255,255,255,0.05);
}
.crypto-opt .sym {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700; font-size: 16px;
  margin-bottom: 4px;
}
.crypto-opt .net {
  font-size: 11px; color: #777;
  font-family: 'JetBrains Mono', monospace;
}

/* Sidebar order summary */
.order-summary {
  position: sticky; top: 80px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,0.05) 0%, transparent 60%),
    rgba(255,255,255,0.02);
  overflow: hidden;
}
.order-summary .os-head {
  padding: 22px 26px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.order-summary .os-head h3 {
  font-size: 16px; font-weight: 500;
  margin-bottom: 4px;
}
.order-summary .os-head p {
  font-size: 12.5px; color: #888;
  font-family: 'JetBrains Mono', monospace;
}
.order-product {
  display: flex; gap: 14px;
  padding: 22px 26px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.order-product .thumb {
  width: 56px; height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  border: 1px solid rgba(255,255,255,0.1);
  display: grid; place-items: center;
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700; font-size: 22px;
}
.order-product .thumb.eng { background: linear-gradient(135deg, #2a2a2a, #444); }
.order-product .thumb.mkt { background: linear-gradient(135deg, #1f3a52, #2d5a8a); }
.order-product .thumb.combo {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1a1a1a;
}
.order-product .info { flex: 1; min-width: 0; }
.order-product .info .nm { font-size: 14.5px; font-weight: 500; margin-bottom: 4px; }
.order-product .info .meta {
  font-size: 12px; color: #888;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1.5;
}
.order-product .info .price {
  margin-top: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 14px;
}

.coupon-row {
  display: flex; gap: 8px;
  padding: 18px 26px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.coupon-row input {
  flex: 1;
  padding: 11px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  text-transform: uppercase;
}
.coupon-row input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.4);
}
.coupon-row button {
  padding: 0 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}
.coupon-row button:hover { background: rgba(255,255,255,0.14); }

.order-totals {
  padding: 18px 26px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; gap: 10px;
  font-size: 13.5px;
}
.order-totals .row {
  display: flex; justify-content: space-between;
  color: #c0c0c0;
}
.order-totals .row .v { font-family: 'JetBrains Mono', monospace; }
.order-totals .row.discount .v { color: #4ade80; }
.order-totals .row.total {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 16px;
  color: #fff;
}
.order-totals .row.total .v {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.order-cta {
  padding: 20px 26px 26px;
}
.btn-pay {
  width: 100%;
  padding: 16px;
  background: #fff; color: #000;
  border-radius: 12px; border: 0;
  font-family: inherit;
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all 0.15s;
}
.btn-pay:hover { background: #e5e5e5; transform: translateY(-1px); }
.btn-pay .lock {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}
.order-cta .terms {
  margin-top: 14px;
  font-size: 11.5px;
  color: #777;
  line-height: 1.6;
  text-align: center;
}
.order-cta .terms a { color: #aaa; border-bottom: 1px solid rgba(255,255,255,0.2); }

.checkout-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px 26px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.checkout-trust .item {
  text-align: center;
}
.checkout-trust .item .ic {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  margin-bottom: 4px;
  display: block;
}
.checkout-trust .item .tx {
  font-size: 10.5px;
  color: #aaa;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.checkout-head {
  padding-top: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 8px;
}
.checkout-head h1 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.checkout-head p { color: #999; font-size: 15px; }

.bonus-strip {
  padding: 18px 24px;
  border: 1px solid rgba(74,222,128,0.2);
  background: rgba(74,222,128,0.06);
  border-radius: 12px;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 14px;
  font-size: 13.5px;
  color: #d4f5dc;
}
.bonus-strip .ic {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #4ade80; color: #052e16;
  display: grid; place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}
.bonus-strip strong { color: #4ade80; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; gap: 40px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -0.01em;
  font-size: 17px;
}
.brand-glyph svg { width: 100%; height: 100%; display: block; }
.brand-glyph {
  width: 28px; height: 28px;
  border-radius: 7px;
  padding: 4px;
  background: #fff;
  color: #000;
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700; font-size: 15px;
}
.nav-links { display: flex; gap: 28px; font-size: 14px; color: #a8a8a8; }
.nav-links a:hover { color: #fff; }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 14px; font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: #fff; color: #000;
}
.btn-primary:hover { background: #e5e5e5; transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,0.15);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.04); }
.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: 10px; }

/* ============ LAYOUT ============ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  background: rgba(255,255,255,0.02);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 8px #4ade80;
}

h1, h2, h3 {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
}
h1 { font-size: clamp(48px, 7vw, 88px); }
h2 { font-size: clamp(36px, 4.5vw, 56px); }
h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.25; }

.lede {
  font-size: 19px;
  color: #a0a0a0;
  max-width: 620px;
  line-height: 1.55;
}

/* ============ INSTALL STEPS ============ */
.steps {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
  position: relative;
}
.step .step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 10px; font-size: 20px; }
.step p { color: #999; font-size: 14.5px; margin-bottom: 18px; }
.step pre {
  background: #000;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: #ededed;
  overflow-x: auto;
  margin: 0;
  line-height: 1.5;
}
.step pre .c { color: #666; }
.step pre .g { color: #4ade80; }
.step-arrow {
  position: absolute; top: 50%;
  right: -16px;
  width: 24px; height: 24px;
  background: #000;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; color: #666;
  z-index: 1;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
}

/* ============ SKILLS GRID ============ */
.skills-bar {
  margin-top: 48px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.skill-chip {
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.02);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: #c5c5c5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.skill-chip .marker {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
}
.skill-chip .marker.b { background: #60a5fa; }
.skill-chip .marker.p { background: #c084fc; }
.skill-chip .marker.o { background: #fb923c; }

/* ============ OTHER PRODUCTS ============ */
.other-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.other-card {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.015);
  transition: all 0.2s;
}
.other-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.other-logo {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 22px;
  flex-shrink: 0;
}
.other-card h3 {
  font-size: 19px;
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}
.other-card h3 .ext { font-size: 11px; color: #666; font-family: 'JetBrains Mono', monospace; }
.other-card p { color: #888; font-size: 14px; line-height: 1.55; }
@media (max-width: 900px) { .other-grid { grid-template-columns: 1fr; } }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 90px 0 80px;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  margin-top: 24px;
}
.hero h1 .accent {
  display: inline-block;
  background: linear-gradient(180deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 500;
}
.hero .lede {
  margin: 28px auto 0;
  font-size: 21px;
}
.hero-actions {
  margin-top: 40px;
  display: flex; justify-content: center; gap: 12px;
  flex-wrap: wrap;
}
.hero-trust {
  margin-top: 40px;
  font-size: 13px;
  color: #666;
  display: flex; justify-content: center; align-items: center; gap: 8px;
}
.hero-trust .avatars {
  display: flex;
}
.hero-trust .avatars span {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid #000;
  margin-left: -8px;
  font-size: 10px;
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: #000;
}
.hero-trust .avatars span:first-child { margin-left: 0; }

/* ============ HERO DEMO ============ */
.demo-frame {
  margin: 64px auto 0;
  max-width: 960px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.02),
    0 40px 80px -20px rgba(0,0,0,0.8),
    0 0 80px rgba(255,255,255,0.03);
  overflow: hidden;
}
.demo-titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #666;
}
.demo-titlebar .dots {
  display: flex; gap: 6px;
}
.demo-titlebar .dots i {
  width: 11px; height: 11px; border-radius: 50%;
  background: #2a2a2a;
}
.demo-titlebar .title {
  margin-left: 8px;
}
.demo-body {
  padding: 28px 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  line-height: 1.7;
  text-align: left;
  min-height: 320px;
}
.demo-line { display: block; }
.demo-prompt { color: #666; }
.demo-user { color: #fff; }
.demo-ai { color: #d8d8d8; }
.demo-tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 11px;
  margin-right: 6px;
}
.demo-caret {
  display: inline-block;
  width: 8px; height: 16px;
  background: #fff;
  vertical-align: -3px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ============ PROBLEMS ============ */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.problem-card {
  padding: 36px 32px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
}
.problem-card .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #555;
  margin-bottom: 24px;
}
.problem-card h3 { margin-bottom: 12px; }
.problem-card p { color: #888; font-size: 15px; }

/* ============ STATS ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.stat {
  padding: 48px 32px;
  text-align: left;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat:last-child { border-right: 0; }
.stat .num {
  font-size: 64px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}
.stat .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-top: 12px;
}
.stat p {
  margin-top: 16px;
  font-size: 14px;
  color: #777;
  max-width: 240px;
}

/* ============ PRODUCTS / TIERS ============ */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.tier {
  position: relative;
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, transparent 100%);
}
.tier-popular {
  border-color: rgba(255,255,255,0.4);
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
}
.tier-badge {
  position: absolute; top: -10px; right: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #fff; color: #000;
  padding: 4px 10px;
  border-radius: 100px;
}
.tier h3 {
  font-size: 28px;
  margin-bottom: 8px;
}
.tier-desc {
  color: #888;
  font-size: 15px;
  margin-bottom: 28px;
  min-height: 48px;
}
.tier-price {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 28px;
}
.tier-price .amt { font-size: 48px; font-weight: 600; letter-spacing: -0.03em; color: #fff; }
.tier-price .per { font-size: 14px; color: #888; }
.tier-features { list-style: none; margin-bottom: 32px; }
.tier-features li {
  padding: 10px 0;
  font-size: 14.5px;
  color: #c5c5c5;
  display: flex; align-items: flex-start; gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.tier-features li::before {
  content: "→";
  color: #555;
  font-family: 'JetBrains Mono', monospace;
}
.tier-features li:last-child { border: 0; }
.tier .btn { width: 100%; justify-content: center; }

/* ============ TESTIMONIALS ============ */
.tcols {
  margin-top: 64px;
  columns: 3;
  column-gap: 24px;
}
.testi {
  break-inside: avoid;
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: rgba(255,255,255,0.015);
}
.testi-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.testi-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 14px;
  color: #000;
}
.testi-name { font-weight: 500; font-size: 14px; color: #fff; }
.testi-handle { font-size: 12px; color: #666; font-family: 'JetBrains Mono', monospace; }
.testi-quote { font-size: 14.5px; color: #c5c5c5; line-height: 1.55; }

/* ============ CTA ============ */
.cta-block {
  margin-top: 0;
  padding: 96px 64px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.08) 0%, transparent 60%),
    #050505;
  text-align: center;
}
.cta-block h2 { font-size: clamp(36px, 5vw, 64px); }
.cta-block .lede { margin: 20px auto 0; }
.cta-block .hero-actions { margin-top: 36px; }
.cta-block .trust-row {
  margin-top: 40px;
  display: flex; justify-content: center; gap: 32px;
  flex-wrap: wrap;
  color: #777; font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
}
.cta-block .trust-row span::before {
  content: "✓ ";
  color: #4ade80;
  margin-right: 4px;
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 64px 0 32px;
  margin-top: 80px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 48px;
}
.foot-brand p {
  margin-top: 14px;
  font-size: 14px;
  color: #777;
  max-width: 260px;
}
.foot-socials {
  margin-top: 20px;
  display: flex; gap: 10px;
}
.foot-socials a {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.1);
  color: #888;
  transition: all 0.15s;
}
.foot-socials a:hover { color: #fff; border-color: #fff; }
.foot-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 18px;
  font-weight: 500;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 12px; }
.foot-col a {
  font-size: 14px;
  color: #c5c5c5;
}
.foot-col a:hover { color: #fff; }
.foot-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between;
  font-size: 12.5px; color: #666;
  font-family: 'JetBrains Mono', monospace;
}

/* ============ PAGE: PRICING ============ */
.pricing-table {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
}
.ptier {
  padding: 40px 36px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.ptier:last-child { border-right: 0; }
.ptier-feature { background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 100%); }
.ptier h3 { font-size: 22px; }
.ptier .ptier-sub { color: #888; font-size: 14px; margin: 6px 0 28px; min-height: 40px;}
.ptier-price { display:flex; align-items: baseline; gap: 6px; margin-bottom: 28px; }
.ptier-price .a { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; }
.ptier-price .b { color: #888; font-size: 14px; }
.ptier ul { list-style: none; margin-bottom: 28px; }
.ptier li {
  padding: 9px 0; font-size: 14px; color: #c0c0c0;
  display: flex; gap: 10px; align-items: flex-start;
}
.ptier li::before {
  content: "✓";
  color: #777;
  font-family: 'JetBrains Mono', monospace;
}
.ptier .btn { width: 100%; justify-content: center; }
.ptier-badge {
  position: absolute; top: 16px; right: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 4px 8px; border-radius: 100px;
  text-transform: uppercase;
}

.faq {
  margin-top: 96px;
  max-width: 760px;
  margin-left: auto; margin-right: auto;
}
.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.faq-item h4 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 500;
}
.faq-item p { color: #888; font-size: 15px; }

/* ============ PAGE: DOCS ============ */
.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr 220px;
  gap: 48px;
  padding: 48px 0;
}
.docs-side {
  position: sticky; top: 80px;
  align-self: start;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.docs-side h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #777;
  margin: 24px 0 10px;
  font-weight: 500;
}
.docs-side ul { list-style: none; }
.docs-side li a {
  display: block;
  padding: 6px 12px;
  font-size: 14px;
  color: #999;
  border-radius: 6px;
  margin-left: -12px;
}
.docs-side li a:hover { color: #fff; background: rgba(255,255,255,0.04); }
.docs-side li a.active { color: #fff; background: rgba(255,255,255,0.06); }
.docs-main h1 { font-size: 44px; margin-bottom: 16px; }
.docs-main > p.lede { margin-bottom: 40px; font-size: 18px; }
.docs-main h2 { font-size: 28px; margin: 56px 0 18px; }
.docs-main h3 { font-size: 19px; margin: 32px 0 10px; }
.docs-main p { color: #b8b8b8; margin-bottom: 16px; font-size: 15.5px; line-height: 1.7; }
.docs-main ul, .docs-main ol { color: #b8b8b8; margin: 0 0 18px 24px; font-size: 15.5px; line-height: 1.8; }
.docs-main code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  padding: 2px 6px;
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
  color: #fff;
}
.docs-main pre {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 20px 22px;
  margin: 22px 0;
  overflow-x: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.6;
  color: #d0d0d0;
}
.docs-main pre .k { color: #ffbe6b; }
.docs-main pre .s { color: #9be39b; }
.docs-main pre .c { color: #666; }
.docs-main blockquote {
  border-left: 2px solid rgba(255,255,255,0.2);
  padding: 4px 0 4px 18px;
  margin: 22px 0;
  color: #999;
  font-size: 15px;
}
.docs-toc {
  position: sticky; top: 80px;
  align-self: start;
  font-size: 13px;
}
.docs-toc h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 14px;
  font-weight: 500;
}
.docs-toc ul { list-style: none; }
.docs-toc li { padding: 5px 0; }
.docs-toc a { color: #888; }
.docs-toc a:hover { color: #fff; }

/* ============ PAGE: BLOG ============ */
.blog-hero {
  padding: 80px 0 40px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 64px 0;
}
.post {
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.2s;
}
.post:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.18); }
.post-cover {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}
.post-body { padding: 22px 24px; }
.post-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 12px;
}
.post h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 12px;
}
.post-meta {
  display: flex; justify-content: space-between;
  font-size: 12.5px;
  color: #666;
  font-family: 'JetBrains Mono', monospace;
}
.post.featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
}
.post.featured .post-cover { aspect-ratio: auto; height: 100%; min-height: 360px; }
.post.featured .post-body { padding: 40px 48px; align-self: center; }
.post.featured h3 { font-size: 36px; line-height: 1.15; margin-bottom: 18px; }
.post.featured .post-excerpt { color: #999; font-size: 16px; margin-bottom: 24px; }

/* Cover backgrounds (placeholder graphic patterns) */
.cov-1 { background: radial-gradient(circle at 30% 30%, #1e293b 0%, #000 60%), #000; }
.cov-2 { background: radial-gradient(circle at 70% 70%, #2a1d3a 0%, #000 60%), #000; }
.cov-3 { background: radial-gradient(circle at 50% 50%, #1a2e1a 0%, #000 60%), #000; }
.cov-4 { background: radial-gradient(circle at 20% 80%, #3a2a1d 0%, #000 60%), #000; }
.cov-5 { background: radial-gradient(circle at 80% 20%, #1d2a3a 0%, #000 60%), #000; }
.cov-6 { background: radial-gradient(circle at 50% 50%, #2a2a2a 0%, #000 80%), #000; }
.cov-7 { background: radial-gradient(circle at 60% 40%, #3a1d2a 0%, #000 60%), #000; }
.post-cover::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.post-cover .glyph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 56px; color: rgba(255,255,255,0.25);
  font-weight: 700;
  z-index: 1;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .section { padding: 80px 0; }
  .problems-grid, .stats, .tier-grid, .pricing-table, .blog-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .ptier { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .tcols { columns: 1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-side, .docs-toc { position: static; max-height: none; }
  .post.featured { grid-column: span 1; grid-template-columns: 1fr; }
  .cta-block { padding: 56px 24px; }
}
