/* =========================================================
   Voidcraft — Billing & Payments Infrastructure
   Design system + page styles
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #0a0a0c;
  --bg-elev: #0e0e12;
  --surface-1: #131318;
  --surface-2: #181820;
  --surface-3: #1f1f2a;

  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.13);
  --border-bright: rgba(255, 255, 255, 0.22);

  --text: #f4f4f7;
  --text-soft: rgba(244, 244, 247, 0.78);
  --text-muted: rgba(244, 244, 247, 0.56);
  --text-dim: rgba(244, 244, 247, 0.36);

  --accent: #5b7fff;
  --accent-hover: #7693ff;
  --accent-soft: rgba(91, 127, 255, 0.14);
  --accent-glow: rgba(91, 127, 255, 0.32);
  --accent-line: rgba(91, 127, 255, 0.42);

  --amber: #f4a53a;
  --amber-soft: rgba(244, 165, 58, 0.14);
  --mint: #46dca8;
  --mint-soft: rgba(70, 220, 168, 0.12);
  --rose: #f06e7a;

  --font-sans: "Geist", ui-sans-serif, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "JetBrains Mono", monospace;
  --font-serif: "Instrument Serif", "Times New Roman", serif;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --r-full: 999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-accent: 0 0 0 1px var(--accent-line), 0 12px 40px var(--accent-glow);

  --container: 1180px;
  --container-narrow: 920px;
  --header-h: 64px;
  --topbar-h: 38px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; tab-size: 4; }
body { margin: 0; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }

/* ---------- 3. Base ---------- */
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(91, 127, 255, 0.08), transparent 60%),
    radial-gradient(700px 600px at 100% 0%, rgba(124, 91, 255, 0.05), transparent 60%);
}
body::after {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 50%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 50%, transparent 90%);
}

main, header, footer, section { position: relative; z-index: 1; }

::selection { background: var(--accent-soft); color: var(--text); }

/* ---------- 4. Typography ---------- */
h1, h2, h3, h4 { letter-spacing: -0.022em; font-weight: 500; color: var(--text); }
h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1.04; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); line-height: 1.12; }
h3 { font-size: 1.18rem; line-height: 1.25; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted);
}
.eyebrow .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.serif-italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

/* ---------- 5. Layout utilities ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--container-narrow); }
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .section.tight { padding: 48px 0; }
}

.row { display: flex; align-items: center; gap: 12px; }
.row.wrap { flex-wrap: wrap; }
.row.center { justify-content: center; }
.row.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 12px; }

.divider { height: 1px; background: var(--border); border: 0; margin: 0; }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px;
  border-radius: var(--r-md);
  font-weight: 500; font-size: 14px;
  letter-spacing: -0.005em;
  transition: transform .15s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent); color: #0a0a0c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 6px 20px rgba(91, 127, 255, 0.32);
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 8px 24px rgba(91, 127, 255, 0.42); }
.btn-secondary {
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.btn-secondary:hover { background: var(--surface-3); border-color: var(--border-bright); }
.btn-ghost { color: var(--text-soft); }
.btn-ghost:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.btn-block { width: 100%; }
.btn-lg { height: 46px; padding: 0 22px; font-size: 15px; border-radius: 12px; }

/* ---------- 7. Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px;
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
  border: 1px solid var(--border-strong);
  color: var(--text-soft); background: var(--surface-2);
}
.badge-accent { background: var(--accent-soft); border-color: var(--accent-line); color: #c8d4ff; }
.badge-amber  { background: var(--amber-soft); border-color: rgba(244, 165, 58, 0.34); color: #f6c47e; }
.badge-mint   { background: var(--mint-soft); border-color: rgba(70, 220, 168, 0.32); color: #93e8c7; }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }

/* ---------- 8. Topbar ---------- */
.topbar {
  position: relative; z-index: 30;
  height: var(--topbar-h);
  background: linear-gradient(180deg, rgba(244, 165, 58, 0.08), rgba(244, 165, 58, 0.02)), var(--bg-elev);
  border-bottom: 1px solid var(--border);
  color: var(--text-soft); font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.topbar .container { display: flex; align-items: center; justify-content: center; gap: 18px; position: relative; }
.topbar .pill {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em;
  padding: 3px 8px; border-radius: 4px;
  background: var(--amber); color: #1a120a; font-weight: 600;
}
.topbar .countdown {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text); letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 6px;
}
.topbar .countdown span { color: var(--text-dim); }
.topbar .close {
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); padding: 4px; border-radius: 4px;
}
.topbar .close:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
@media (max-width: 720px) {
  .topbar { font-size: 12px; }
  .topbar .countdown { display: none; }
}

/* ---------- 9. Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 25;
  height: var(--header-h);
  display: flex; align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; letter-spacing: -0.02em; font-size: 16.5px;
}
.brand-mark {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, #6b8cff 0%, #3a5dff 70%, #2a47e0 100%);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 18px rgba(91, 127, 255, 0.45);
}
.brand-mark::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 7px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'><path d='M6 6 L13 20 L20 6' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' stroke-opacity='0.95'/></svg>") center / 22px no-repeat;
}

.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  color: var(--text-muted); font-size: 14px;
  padding: 8px 12px; border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav-actions { display: flex; gap: 8px; align-items: center; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost.signin { display: none; }
}

/* ---------- 10. Hero ---------- */
.hero-intro { padding: 80px 0 24px; text-align: center; }
.hero-intro .eyebrow { margin-bottom: 22px; }
.hero-intro h1 { max-width: 760px; margin: 0 auto 18px; }
.hero-intro p.lead {
  max-width: 580px; margin: 0 auto;
  color: var(--text-muted); font-size: 16.5px; line-height: 1.55;
}

/* Billing toggle */
.billing-toggle {
  display: inline-flex; padding: 4px;
  border-radius: var(--r-full);
  background: var(--surface-1);
  border: 1px solid var(--border-strong);
  margin: 36px auto 0; position: relative;
}
.billing-toggle button {
  position: relative; z-index: 2;
  padding: 8px 18px; font-size: 13.5px;
  color: var(--text-muted);
  border-radius: var(--r-full);
  transition: color .25s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.billing-toggle button[aria-pressed="true"] { color: var(--text); }
.billing-toggle .pill-bg {
  position: absolute; top: 4px; left: 4px;
  height: calc(100% - 8px);
  background: linear-gradient(180deg, var(--surface-3), var(--surface-2));
  border-radius: var(--r-full);
  z-index: 1;
  transition: transform .32s cubic-bezier(.4,.6,.2,1), width .32s cubic-bezier(.4,.6,.2,1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 4px 12px rgba(0,0,0,0.4);
}
.billing-toggle .save-tag {
  font-family: var(--font-mono); font-size: 10px;
  padding: 2px 6px; border-radius: 4px;
  background: var(--mint-soft); color: var(--mint);
  letter-spacing: 0.06em;
}

/* ---------- 11. Pricing cards ---------- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 48px; align-items: stretch;
}
@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

.plan-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface-1), var(--bg-elev));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 26px 26px;
  display: flex; flex-direction: column; gap: 22px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.plan-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.plan-card::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; padding: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent 40%);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.plan-card.featured {
  border-color: var(--accent-line);
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(91,127,255,0.12), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--bg-elev));
  box-shadow: var(--shadow-accent);
}
.plan-card .plan-name { display: flex; align-items: center; justify-content: space-between; }
.plan-card .plan-name h3 { font-size: 1.05rem; font-weight: 500; }
.plan-card .plan-desc { color: var(--text-muted); font-size: 13.5px; line-height: 1.5; }

.plan-price { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-mono); letter-spacing: -0.02em; }
.plan-price .currency { font-size: 22px; color: var(--text-soft); font-weight: 400; }
.plan-price .amount { font-size: 56px; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; line-height: 1; }
.plan-price .period { font-size: 14px; color: var(--text-muted); margin-left: 2px; }
.plan-price .original { font-size: 14px; color: var(--text-dim); text-decoration: line-through; margin-left: 8px; }

.plan-features { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.plan-features li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.8px; color: var(--text-soft);
}
.plan-features li svg { flex-shrink: 0; margin-top: 3px; width: 14px; height: 14px; color: var(--mint); }
.plan-features li.muted { color: var(--text-dim); }
.plan-features li.muted svg { opacity: 0.4; color: var(--text-dim); }
.plan-features li b { color: var(--text); font-weight: 500; }
.plan-card .plan-cta { margin-top: auto; padding-top: 6px; }

/* ---------- 12. Payment strip ---------- */
.payment-strip {
  margin-top: 40px; padding: 22px 28px;
  border-radius: var(--r-lg);
  background: var(--surface-1);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.payment-strip .label {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-muted); font-size: 13.5px;
}
.payment-strip .label svg { width: 16px; height: 16px; color: var(--mint); }
.payment-strip .methods { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.method-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2); font-size: 13px; color: var(--text);
  transition: border-color .2s ease, background .2s ease;
}
.method-chip:hover { border-color: var(--border-bright); background: var(--surface-3); }
.method-chip svg { width: 18px; height: 18px; }

/* ---------- 13. Feature grid ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 56px;
}
@media (max-width: 880px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface-1) 0%, rgba(19, 19, 24, 0.4) 100%);
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .25s ease, transform .25s ease;
}
.feature-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feature-card .icon-tile {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: grid; place-items: center;
  color: var(--accent);
}
.feature-card .icon-tile svg { width: 18px; height: 18px; }
.feature-card h3 { font-size: 1rem; font-weight: 500; }
.feature-card p { color: var(--text-muted); font-size: 13.8px; line-height: 1.6; }

/* ---------- 14. Section heads ---------- */
.section-head { text-align: center; margin-bottom: 14px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { max-width: 580px; margin: 0 auto 12px; }
.section-head p { max-width: 520px; margin: 0 auto; color: var(--text-muted); }

/* ---------- 15. Testimonials ---------- */
.testimonial-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px; margin-top: 48px;
}
@media (max-width: 980px) { .testimonial-grid { grid-template-columns: 1fr; } }

.quote-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 18px;
  transition: border-color .25s ease;
}
.quote-card:hover { border-color: var(--border-strong); }
.quote-card .quote-mark {
  font-family: var(--font-serif);
  font-size: 56px; line-height: 0.6;
  color: var(--accent); height: 22px; font-style: italic;
}
.quote-card blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-soft); }
.quote-card.featured blockquote { font-size: 17px; color: var(--text); }
.quote-card .author { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  font-family: var(--font-mono); font-size: 12px;
  display: grid; place-items: center; color: var(--text);
  background: linear-gradient(135deg, #2a3960, #3e4f8a);
  border: 1px solid var(--border-strong); flex-shrink: 0;
}
.avatar.b { background: linear-gradient(135deg, #5f2a48, #92486d); }
.avatar.c { background: linear-gradient(135deg, #1f4537, #2f7f63); }
.author-meta { line-height: 1.3; }
.author-meta .name { font-size: 13.5px; color: var(--text); }
.author-meta .role { font-size: 12px; color: var(--text-muted); }

/* ---------- 16. FAQ ---------- */
.faq-list { max-width: 720px; margin: 48px auto 0; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 22px 4px; font-size: 15.5px; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono); font-size: 22px;
  color: var(--text-muted); width: 24px; text-align: center;
  transition: transform .25s ease, color .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq-item summary:hover { color: var(--text); }
.faq-body { padding: 0 4px 22px; color: var(--text-muted); font-size: 14.5px; line-height: 1.65; max-width: 620px; }

/* ---------- 17. CTA strip ---------- */
.cta-strip {
  margin: 0 auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-2xl);
  padding: 56px;
  text-align: center;
  background:
    radial-gradient(500px 220px at 50% 0%, rgba(91,127,255,0.16), transparent 70%),
    linear-gradient(180deg, var(--surface-1), var(--bg-elev));
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 80%);
  pointer-events: none;
}
.cta-strip > * { position: relative; }
.cta-strip h2 { max-width: 580px; margin: 12px auto 14px; }
.cta-strip p { color: var(--text-muted); max-width: 460px; margin: 0 auto 24px; }
@media (max-width: 720px) { .cta-strip { padding: 36px 24px; } }

/* ---------- 18. Footer ---------- */
.footer {
  margin-top: 96px;
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  color: var(--text-muted); font-size: 13.5px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 16px; font-weight: 500;
}
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: var(--text-soft); transition: color .15s ease; }
.footer ul li a:hover { color: var(--text); }
.footer-brand p { margin-top: 14px; max-width: 280px; line-height: 1.55; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  color: var(--text-dim); font-size: 12.5px; font-family: var(--font-mono);
}
.footer-bottom .status { display: inline-flex; gap: 8px; align-items: center; }
.footer-bottom .status .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint); box-shadow: 0 0 8px var(--mint);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.85); } }

/* ---------- 19. Support page ---------- */
.support-hero { padding: 80px 0 48px; text-align: center; }
.support-hero h1 { max-width: 600px; margin: 18px auto 18px; }
.support-hero p.lead { max-width: 520px; margin: 0 auto; color: var(--text-muted); font-size: 16px; }

.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin: 36px 0;
}
@media (max-width: 720px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface-1);
  text-align: left;
}
.stat-card .label {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 12px;
}
.stat-card .value {
  font-family: var(--font-mono);
  font-size: 36px; font-weight: 500; color: var(--text);
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1;
}
.stat-card .value .unit { font-size: 18px; color: var(--text-muted); margin-left: 2px; }
.stat-card .delta { margin-top: 10px; font-size: 12.5px; color: var(--mint); display: inline-flex; align-items: center; gap: 6px; }

.channels-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 28px;
}
@media (max-width: 880px) { .channels-grid { grid-template-columns: 1fr; } }
.channel-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface-1);
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .25s ease, transform .25s ease;
}
.channel-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.channel-card .icon-tile {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--surface-3);
  display: grid; place-items: center;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.channel-card .icon-tile svg { width: 20px; height: 20px; }
.channel-card .meta { color: var(--text-muted); font-size: 13.5px; }
.channel-card .link {
  margin-top: auto;
  color: var(--accent); font-size: 13.5px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .2s ease;
}
.channel-card:hover .link { gap: 10px; }

/* Form */
.contact-form {
  max-width: 620px; margin: 48px auto 0;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface-1);
}
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; flex: 1; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim);
}
.field input, .field textarea, .field select {
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 11px 14px;
  font-size: 14px; color: var(--text);
  font-family: inherit;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent-line);
  background: var(--surface-1);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field-row { display: flex; gap: 16px; }
@media (max-width: 560px) { .field-row { flex-direction: column; gap: 0; } }

/* ---------- 20. Redirect page ---------- */
.redirect-shell {
  min-height: 100vh;
  display: grid; place-items: center;
  padding: 24px; position: relative;
}
.redirect-card {
  width: 100%; max-width: 460px;
  padding: 44px 36px 36px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-2xl);
  background:
    radial-gradient(400px 200px at 50% 0%, rgba(91,127,255,0.12), transparent 70%),
    linear-gradient(180deg, var(--surface-1), var(--bg-elev));
  box-shadow: var(--shadow-lg);
  text-align: center; position: relative; overflow: hidden;
}
.redirect-card::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000, transparent 80%);
  pointer-events: none;
}
.redirect-card > * { position: relative; }

.lock-orb {
  width: 76px; height: 76px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #6b8cff, #2a47e0);
  display: grid; place-items: center; position: relative;
  box-shadow: 0 0 0 8px rgba(91, 127, 255, 0.08), 0 0 30px rgba(91, 127, 255, 0.5);
}
.lock-orb::before, .lock-orb::after {
  content: ""; position: absolute; inset: -10px;
  border: 1px solid var(--accent-line);
  border-radius: 50%; opacity: 0;
  animation: ping 2.2s ease-out infinite;
}
.lock-orb::after { animation-delay: 1.1s; }
@keyframes ping {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}
.lock-orb svg { width: 32px; height: 32px; color: #fff; }

.redirect-card h2 { font-size: 1.4rem; margin-bottom: 10px; }
.redirect-card .sub { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }

.progress-track {
  height: 4px;
  background: var(--surface-3);
  border-radius: var(--r-full);
  overflow: hidden; margin-bottom: 28px;
}
.progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), #9ab3ff);
  border-radius: var(--r-full);
  box-shadow: 0 0 12px var(--accent-glow);
  transition: width .4s ease;
}

.step-list { text-align: left; margin-bottom: 24px; }
.step-list li {
  display: flex; gap: 12px; align-items: center;
  padding: 10px 0;
  font-size: 13.5px; color: var(--text-dim);
  border-bottom: 1px dashed var(--border);
  transition: color .3s ease;
}
.step-list li:last-child { border-bottom: 0; }
.step-list li .check {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  flex-shrink: 0; position: relative;
}
.step-list li .check svg { width: 11px; height: 11px; color: #04140e; opacity: 0; transition: opacity .2s ease; }
.step-list li.is-active { color: var(--text); }
.step-list li.is-active .check { border-color: var(--accent); }
.step-list li.is-active .check::after {
  content: ""; position: absolute; inset: -3px;
  border: 2px solid transparent;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
.step-list li.is-done { color: var(--text-soft); }
.step-list li.is-done .check { background: var(--mint); border-color: var(--mint); }
.step-list li.is-done .check svg { opacity: 1; }

@keyframes spin { to { transform: rotate(360deg); } }

.secure-row {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim);
}
.secure-row svg { width: 12px; height: 12px; color: var(--mint); }

.redirect-meta {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 11px; color: var(--text-dim); letter-spacing: 0.06em;
}
.redirect-meta strong { color: var(--text-soft); }

/* ---------- 21. Plans page table ---------- */
.plans-hero { padding: 72px 0 36px; text-align: center; }
.plans-hero h1 { max-width: 640px; margin: 18px auto 18px; }
.plans-hero p { color: var(--text-muted); max-width: 540px; margin: 0 auto; }

.compare-wrapper {
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface-1);
  overflow: hidden;
}
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table thead th {
  position: sticky; top: var(--header-h);
  background: var(--surface-2);
  padding: 22px 18px;
  text-align: left; font-weight: 500;
  border-bottom: 1px solid var(--border-strong);
  font-size: 14px; z-index: 2;
}
.compare-table thead th .plan-head { display: flex; flex-direction: column; gap: 4px; }
.compare-table thead th .plan-head .plan-price-small {
  font-family: var(--font-mono);
  color: var(--text-muted); font-size: 13px;
}
.compare-table thead th.featured-head {
  background: linear-gradient(180deg, rgba(91,127,255,0.14), var(--surface-2));
  color: var(--text);
}
.compare-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft); vertical-align: middle;
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody td:first-child { color: var(--text); }
.compare-table tbody tr.category-row td {
  background: var(--bg-elev);
  color: var(--text-dim);
  font-family: var(--font-mono);
  text-transform: uppercase; font-size: 11px; letter-spacing: 0.14em;
  padding: 14px 18px;
}
.compare-table .check-cell { width: 18px; height: 18px; display: inline-flex; }
.compare-table .check-cell.yes { color: var(--mint); }
.compare-table .check-cell.no { color: var(--text-dim); }
.compare-table td.featured-cell { background: rgba(91,127,255,0.04); }
.compare-wrapper { overflow-x: auto; }
.compare-table.cols-5 { min-width: 860px; }
.compare-table.cols-5 thead th { padding: 18px 14px; font-size: 13.5px; }
.compare-table.cols-5 tbody td { padding: 12px 14px; font-size: 13px; }
@media (max-width: 880px) {
  .compare-table { min-width: 720px; }
}

.compare-stack { display: flex; flex-direction: column; gap: 28px; margin-top: 8px; }
.compare-group-title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--text-muted);
  padding: 4px 2px;
}
.compare-group-title svg { width: 14px; height: 14px; color: var(--accent); }

/* ---------- 22. Reveals ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- 23. Helpers ---------- */
.text-center { text-align: center; }
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.mono { font-family: var(--font-mono); }

/* ---------- 24. Mobile nav ---------- */
.nav-toggle { display: none; }
.mobile-nav { display: none; }
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-grid; place-items: center;
    width: 36px; height: 36px;
    border: 1px solid var(--border-strong);
    border-radius: 8px; color: var(--text-soft);
  }
  .nav-toggle svg { width: 18px; height: 18px; }
  .mobile-nav {
    display: block;
    position: fixed; inset: 0; z-index: 50;
    background: rgba(8, 8, 10, 0.96);
    backdrop-filter: blur(14px);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,.6,.2,1);
    padding: 24px;
  }
  .mobile-nav.is-open { transform: translateX(0); }
  .mobile-nav .close {
    position: absolute; right: 24px; top: 18px;
    padding: 8px; color: var(--text-soft);
  }
  .mobile-nav ul { margin-top: 60px; }
  .mobile-nav ul li { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .mobile-nav ul li a { font-size: 18px; color: var(--text); }
  .mobile-nav .mobile-cta { margin-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 25. Category tabs (Minecraft / Bots / Web / Backend / Storage / LLM) ---------- */
.category-tabs {
  display: inline-flex; padding: 4px;
  border-radius: var(--r-full);
  background: var(--surface-1);
  border: 1px solid var(--border-strong);
  margin: 22px auto 0; position: relative;
  gap: 0;
  max-width: 100%;
}
.category-tabs button {
  position: relative; z-index: 2;
  padding: 9px 14px; font-size: 13px;
  color: var(--text-muted);
  border-radius: var(--r-full);
  transition: color .25s ease;
  display: inline-flex; align-items: center; gap: 7px;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .toggle-row { width: 100%; }
  .toggle-row .category-tabs {
    display: flex; width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: var(--r-lg);
  }
  .toggle-row .category-tabs::-webkit-scrollbar { display: none; }
  .toggle-row .category-tabs button { padding: 9px 12px; font-size: 12.5px; }
  .toggle-row .category-tabs button svg { width: 13px; height: 13px; }
}
.category-tabs button[aria-pressed="true"] { color: var(--text); }
.category-tabs .pill-bg {
  position: absolute; top: 4px; left: 4px;
  height: calc(100% - 8px);
  background: linear-gradient(180deg, var(--surface-3), var(--surface-2));
  border-radius: var(--r-full);
  z-index: 1;
  transition: transform .32s cubic-bezier(.4,.6,.2,1), width .32s cubic-bezier(.4,.6,.2,1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 4px 12px rgba(0,0,0,0.4);
}
.category-tabs button svg { width: 14px; height: 14px; opacity: 0.85; }

.toggle-row {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin-top: 28px;
}

.plan-group { display: none; }
.plan-group.is-active { display: block; animation: fadeUp .35s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pricing-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1100px) {
  .pricing-grid.cols-4 { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin-inline: auto; }
}
@media (max-width: 620px) {
  .pricing-grid.cols-4 { grid-template-columns: 1fr; max-width: 480px; }
}

.pricing-grid.cols-4 .plan-card { padding: 24px 22px 22px; gap: 18px; }
.pricing-grid.cols-4 .plan-price .amount { font-size: 44px; }
.pricing-grid.cols-4 .plan-price .currency { font-size: 18px; }
.pricing-grid.cols-4 .plan-features { gap: 9px; }
.pricing-grid.cols-4 .plan-features li { font-size: 13px; }

.tier-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px;
  background: var(--surface-2); color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ---------- 26. Auth (sign-in / sign-up) ---------- */
.auth-shell {
  min-height: calc(100vh - var(--header-h));
  display: grid; place-items: center;
  padding: 56px 22px 80px;
  position: relative;
}
.auth-shell::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(540px 360px at 50% 24%, rgba(91, 127, 255, 0.18), transparent 60%),
    radial-gradient(420px 360px at 80% 80%, rgba(124, 91, 255, 0.10), transparent 65%);
  pointer-events: none;
}
.auth-card {
  position: relative; z-index: 1;
  width: min(440px, 100%);
  background: linear-gradient(180deg, var(--surface-1), var(--bg-elev));
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 40px 36px 30px;
  box-shadow: var(--shadow-lg);
}
.auth-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.auth-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.auth-brand .mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #7c5bff);
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(91,127,255,0.4);
}
.auth-brand .mark svg { width: 16px; height: 16px; color: white; }

.auth-title {
  font-size: 26px; letter-spacing: -0.022em; font-weight: 500;
  margin-bottom: 6px; line-height: 1.18;
}
.auth-sub { color: var(--text-muted); font-size: 14px; margin-bottom: 26px; }
.auth-sub a { color: var(--accent); }
.auth-sub a:hover { color: var(--accent-hover); }

.auth-form { display: flex; flex-direction: column; gap: 16px; }
.input-group { display: flex; flex-direction: column; gap: 7px; }
.input-label {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted);
  display: flex; justify-content: space-between; align-items: center;
}
.input-label a { color: var(--text-soft); }
.input-label a:hover { color: var(--accent-hover); }

.input-field {
  width: 100%; padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  color: var(--text);
  font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.input-field::placeholder { color: var(--text-dim); }
.input-field:hover { border-color: var(--border-bright); }
.input-field:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  background: var(--bg-elev);
}

.input-with-icon { position: relative; }
.input-with-icon .input-field { padding-right: 40px; }
.input-with-icon .reveal-toggle {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  padding: 6px; border-radius: 6px;
  color: var(--text-muted);
}
.input-with-icon .reveal-toggle:hover { color: var(--text); background: var(--surface-2); }
.input-with-icon .reveal-toggle svg { width: 16px; height: 16px; }

.checkbox-row { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text-soft); }
.checkbox-row input { accent-color: var(--accent); width: 14px; height: 14px; }

.btn.btn-block.auth-submit { padding: 13px 16px; font-size: 14px; margin-top: 4px; }

.auth-divider {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim);
  margin: 24px 0 18px;
}
.auth-divider::before, .auth-divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.oauth-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.oauth-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 8px;
  border: 1px solid var(--border-strong);
  background: var(--surface-1);
  border-radius: var(--r-md);
  color: var(--text-soft);
  font-size: 12.5px; font-weight: 500;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease, transform .15s ease;
}
.oauth-btn:hover {
  border-color: var(--border-bright);
  background: var(--surface-2);
  color: var(--text);
  transform: translateY(-1px);
}
.oauth-btn svg { width: 16px; height: 16px; }
.oauth-btn[data-provider="github"]:hover svg { color: #f0f6fc; }
.oauth-btn[data-provider="discord"]:hover svg { color: #5865f2; }
.oauth-btn[data-provider="google"]:hover svg { color: #ea4335; }

.auth-footer {
  margin-top: 26px; padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-muted);
}
.auth-footer a { color: var(--accent); }
.auth-footer a:hover { color: var(--accent-hover); }

.auth-meta {
  position: relative; z-index: 1;
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim);
}
.auth-meta svg { width: 12px; height: 12px; color: var(--mint); }

@media (max-width: 480px) {
  .auth-card { padding: 32px 22px 24px; }
  .auth-title { font-size: 22px; }
  .oauth-btn { font-size: 11.5px; }
}

/* ---------- 27. Trial selector ---------- */
.trial-hero { padding: 70px 0 28px; text-align: center; }
.trial-hero h1 { max-width: 720px; margin: 18px auto 14px; }
.trial-hero p.lead { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

.trial-stepper {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 26px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim);
}
.trial-stepper .step {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  background: var(--surface-1);
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.trial-stepper .step .num {
  width: 18px; height: 18px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  font-size: 10px; color: var(--text-muted);
}
.trial-stepper .step.is-active { color: var(--text); border-color: var(--accent-line); background: var(--accent-soft); }
.trial-stepper .step.is-active .num { background: var(--accent); border-color: var(--accent); color: white; }
.trial-stepper .step.is-done { color: var(--text-soft); border-color: var(--border-strong); }
.trial-stepper .step.is-done .num { background: var(--mint); border-color: var(--mint); color: #04140e; }
.trial-stepper .arrow { color: var(--text-dim); }

.selector-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-top: 36px;
}
@media (max-width: 900px) { .selector-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.selector-card {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 26px 24px;
  background: var(--surface-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  text-align: left; cursor: pointer;
  transition: border-color .22s ease, background-color .22s ease, transform .22s ease;
  font-family: inherit; color: inherit;
}
.selector-card:hover { border-color: var(--border-bright); background: var(--surface-2); transform: translateY(-2px); }
.selector-card[aria-pressed="true"] {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(91,127,255,0.10), var(--surface-1));
  box-shadow: var(--shadow-accent);
}
.selector-card .radio-dot {
  position: absolute; top: 18px; right: 18px;
  width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid var(--border-bright);
  background: var(--bg);
  display: grid; place-items: center;
  transition: border-color .2s ease, background-color .2s ease;
}
.selector-card .radio-dot::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); transform: scale(0); transition: transform .18s ease;
}
.selector-card[aria-pressed="true"] .radio-dot { border-color: var(--accent); }
.selector-card[aria-pressed="true"] .radio-dot::after { transform: scale(1); }

.selector-card .icon-tile {
  width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--accent);
}
.selector-card[aria-pressed="true"] .icon-tile {
  background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-hover);
}
.selector-card .icon-tile svg { width: 20px; height: 20px; }
.selector-card h3 { font-size: 1.05rem; }
.selector-card p { color: var(--text-muted); font-size: 13px; line-height: 1.55; }
.selector-card .tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.selector-card .tag-row .tier-tag { background: var(--bg); }

.plan-pick-section { margin-top: 56px; }
.plan-pick-section[hidden] { display: none; }
.plan-pick-head {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}
.plan-pick-head h2 { font-size: 1.4rem; }
.plan-pick-head p { color: var(--text-muted); font-size: 13.5px; }

.plan-pick-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 1080px) { .plan-pick-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .plan-pick-grid { grid-template-columns: 1fr; } }

.plan-pick-card {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px 18px;
  background: var(--surface-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  text-align: left; cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
  font-family: inherit; color: inherit;
}
.plan-pick-card:hover { border-color: var(--border-bright); transform: translateY(-1px); }
.plan-pick-card[aria-pressed="true"] {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(91,127,255,0.10), var(--surface-1));
  box-shadow: 0 0 0 1px var(--accent-line), 0 10px 30px var(--accent-glow);
}
.plan-pick-card .radio-dot {
  position: absolute; top: 14px; right: 14px;
  width: 15px; height: 15px; border-radius: 50%;
  border: 1px solid var(--border-bright); background: var(--bg);
  display: grid; place-items: center;
}
.plan-pick-card .radio-dot::after {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); transform: scale(0); transition: transform .16s ease;
}
.plan-pick-card[aria-pressed="true"] .radio-dot { border-color: var(--accent); }
.plan-pick-card[aria-pressed="true"] .radio-dot::after { transform: scale(1); }

.plan-pick-card .plan-name {
  display: flex; align-items: center; gap: 7px;
  font-size: 15px; font-weight: 500;
}
.plan-pick-card .plan-name .popular {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em;
  padding: 2px 6px; border-radius: 4px;
  background: var(--accent-soft); color: var(--accent-hover);
  border: 1px solid var(--accent-line);
  text-transform: uppercase;
}
.plan-pick-card .plan-price-line {
  font-family: var(--font-mono); font-size: 18px; color: var(--text);
  letter-spacing: -0.01em;
}
.plan-pick-card .plan-price-line .per { font-size: 12px; color: var(--text-muted); }
.plan-pick-card .plan-features-mini {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 12.5px; color: var(--text-muted);
  padding-top: 8px; border-top: 1px dashed var(--border);
}

.trial-summary {
  position: sticky; bottom: 18px;
  margin: 56px auto 0; max-width: var(--container);
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 16px 22px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  z-index: 10;
}
.trial-summary .summary-meta {
  display: flex; flex-direction: column; gap: 4px;
}
.trial-summary .summary-meta .summary-label {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim);
}
.trial-summary .summary-meta .summary-value {
  font-size: 15px; color: var(--text);
}
.trial-summary .summary-meta .summary-value strong { color: var(--accent-hover); font-weight: 500; }
.trial-summary .summary-actions { display: flex; align-items: center; gap: 10px; }
.trial-summary .btn[aria-disabled="true"] {
  opacity: 0.45; pointer-events: none;
}

.trial-reassure {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 28px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted);
}
.trial-reassure span { display: inline-flex; align-items: center; gap: 8px; }
.trial-reassure svg { width: 13px; height: 13px; color: var(--mint); }

@media (max-width: 720px) {
  .trial-summary {
    flex-direction: column; align-items: stretch;
    bottom: 12px;
  }
  .trial-summary .summary-actions { justify-content: stretch; }
  .trial-summary .summary-actions .btn { flex: 1; }
}
