/* ==========================================================================
   Premier DNS (premierdns.com) — global stylesheet
   Plain CSS, no build step, no framework, no server required. Organised by
   section so it is easy to re-skin: variables -> reset -> layout -> components.
   ========================================================================== */

:root {
  --bg: #05070d;
  --bg-soft: #0a0e1a;
  --surface: #0f1526;
  --surface-2: #151d33;
  --surface-3: #1b2440;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1fb;
  --text-muted: #9aa5c3;
  --text-faint: #6b7593;

  --primary: #5b6cff;
  --primary-2: #22d3ee;
  --primary-soft: rgba(91, 108, 255, 0.15);
  --gradient: linear-gradient(120deg, #5b6cff 0%, #8b5cf6 50%, #22d3ee 100%);
  --gradient-text: linear-gradient(120deg, #8fa2ff 0%, #c9a8ff 50%, #7ee8fa 100%);

  --success: #2fd480;
  --danger: #ff6b6b;
  --warning: #ffb020;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 8px 24px -12px rgba(0, 0, 0, 0.5);

  --container: 1180px;
  --header-h: 76px;
  --transition: 200ms cubic-bezier(.4,0,.2,1);
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 1em; color: var(--text-muted); }
button { font-family: inherit; }
code { background: var(--surface-2); padding: 2px 6px; border-radius: 4px; font-size: .85em; }

/* Decorative background glow used behind hero / CTA sections */
body::before {
  content: "";
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 900px;
  background:
    radial-gradient(600px 320px at 15% 10%, rgba(91,108,255,0.20), transparent 60%),
    radial-gradient(500px 300px at 85% 0%, rgba(34,211,238,0.14), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section { padding: 96px 0; position: relative; z-index: 1; }
.section-tight { padding: 56px 0; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin: 0 0 40px; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary-2);
  background: var(--primary-soft);
  border: 1px solid rgba(91,108,255,.3);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow svg { width: 14px; height: 14px; }

h1.display { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2.h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.15rem; color: var(--text-muted); }
.muted { color: var(--text-muted); }
.center { text-align: center; }

/* ---------------------------------- Buttons ---------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: var(--gradient); color: #06070d;
  box-shadow: 0 10px 30px -8px rgba(91,108,255,.55);
}
.btn-primary:hover { box-shadow: 0 14px 36px -6px rgba(91,108,255,.7); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255,255,255,.04); color: var(--text); border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-outline { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-2); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
/* Icons injected by icons.js have no intrinsic size, so without this the
   browser falls back to the SVG default box (300x150) and blows up any
   button that contains one (e.g. the lock icon on "Complete purchase"). */
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lg svg { width: 20px; height: 20px; }
.btn-sm svg { width: 15px; height: 15px; }

/* ---------------------------------- Header ---------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(5, 7, 13, 0.7);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; }
.brand .logo-mark { width: 34px; height: 34px; }
.brand small { display: block; font-size: .62rem; font-weight: 600; color: var(--text-faint); letter-spacing: .1em; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 14px; border-radius: 999px; font-size: .93rem; font-weight: 500; color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,.06); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border-strong);
  background: rgba(255,255,255,.04); color: var(--text); align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; flex: none; }

@media (max-width: 920px) {
  .nav-links { position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch;
    background: var(--bg-soft); padding: 18px; gap: 4px; transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity var(--transition), transform var(--transition); overflow-y: auto; border-top: 1px solid var(--border); }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-ghost { display: none; }
}

/* ---------------------------------- Hero ---------------------------------- */
.hero { padding: 84px 0 60px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-badge {
  display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--text-muted);
  background: var(--surface); border: 1px solid var(--border); padding: 8px 14px; border-radius: 999px;
}
.hero-badge svg { width: 16px; height: 16px; color: var(--primary-2); }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 32px; margin-top: 46px; }
.hero-stats .num { font-size: 1.6rem; font-weight: 800; }
.hero-stats .label { font-size: .8rem; color: var(--text-faint); }

.hero-visual { position: relative; }
.hero-visual .glow {
  position: absolute; inset: -10%; background: radial-gradient(circle at 50% 40%, rgba(91,108,255,.35), transparent 60%);
  filter: blur(10px); z-index: 0;
}
.hero-visual svg { position: relative; z-index: 1; }

/* ---------------------------------- Logo strip ---------------------------------- */
.trust-strip { padding: 34px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.trust-strip p { margin: 0; font-size: .8rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.trust-logos { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; opacity: .7; }
.trust-logos .tag { opacity: .9; }

/* ---------------------------------- Cards / features ---------------------------------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, var(--surface), var(--surface) 60%, var(--surface-2));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--primary-soft); color: var(--primary-2); margin-bottom: 18px;
}
.feature-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { margin: 0; font-size: .93rem; }

/* Reveal-on-scroll animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------------------------------- Steps (how it works) ---------------------------------- */
.steps { counter-reset: step; }
.step {
  display: flex; gap: 20px; padding: 24px 0; border-top: 1px solid var(--border);
}
.step:first-child { border-top: none; }
.step-num {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--primary-2);
}
.step h4 { margin-bottom: 4px; }
.step p { margin: 0; }

/* ---------------------------------- Pricing ---------------------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 880px; margin: 0 auto; }
@media (max-width: 760px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 30px; display: flex; flex-direction: column;
}
.price-card.featured { border-color: rgba(91,108,255,.55); background: linear-gradient(180deg, rgba(91,108,255,.09), var(--surface) 40%); box-shadow: 0 20px 50px -24px rgba(91,108,255,.6); }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #06070d; font-size: .74rem; font-weight: 800; letter-spacing: .04em;
  padding: 7px 16px; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 4px; }
.price-amount .num { font-size: 2.8rem; font-weight: 800; }
.price-amount .cur { font-size: 1.2rem; font-weight: 700; color: var(--text-muted); }
.price-amount .per { font-size: .95rem; color: var(--text-faint); }
.price-billed { font-size: .85rem; color: var(--text-faint); margin-bottom: 22px; }
.price-features { margin: 6px 0 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price-features li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--text-muted); }
.price-features li svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--success); }
.price-note { text-align: center; margin-top: 28px; color: var(--text-faint); font-size: .88rem; }

/* ---------------------------------- Testimonials ---------------------------------- */
.testimonial { padding: 26px; }
.testimonial .stars { color: var(--warning); font-size: .85rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial p { color: var(--text); font-size: .96rem; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center;
  justify-content: center; font-weight: 800; color: #06070d; font-size: .9rem; flex: none;
}
.who .name { font-weight: 700; font-size: .9rem; }
.who .role { font-size: .78rem; color: var(--text-faint); }

/* ---------------------------------- CTA banner ---------------------------------- */
.cta-banner {
  border-radius: var(--radius-lg); padding: 56px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(91,108,255,.18), rgba(34,211,238,.12)); border: 1px solid rgba(91,108,255,.3);
}

/* ---------------------------------- FAQ ---------------------------------- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; background: none; border: none; color: var(--text); font-size: 1rem; font-weight: 600; text-align: left; cursor: pointer;
}
.faq-q svg { flex: none; width: 20px; height: 20px; color: var(--text-faint); transition: transform var(--transition); }
.faq-item.open .faq-q svg { transform: rotate(45deg); color: var(--primary-2); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 4px 22px; margin: 0; }

/* ---------------------------------- Forms ---------------------------------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--text-muted); }
.field .hint { font-size: .78rem; color: var(--text-faint); }
input, select, textarea {
  width: 100%; background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text);
  padding: 13px 15px; border-radius: var(--radius-sm); font-size: .95rem; font-family: inherit; transition: border-color var(--transition), background var(--transition);
}
input::placeholder, textarea::placeholder { color: var(--text-faint); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); background: var(--surface-3); }
textarea { resize: vertical; min-height: 130px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--text-muted); }
.checkbox-row input { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; }
.form-msg { padding: 14px 16px; border-radius: var(--radius-sm); font-size: .9rem; margin-bottom: 18px; display: none; }
.form-msg.success { display: block; background: rgba(47,212,128,.12); border: 1px solid rgba(47,212,128,.4); color: #7cf0b3; }
.form-msg.error { display: block; background: rgba(255,107,107,.12); border: 1px solid rgba(255,107,107,.4); color: #ffb3b3; }

/* ---------------------------------- Footer ---------------------------------- */
.site-footer { border-top: 1px solid var(--border); padding: 64px 0 28px; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); margin-bottom: 16px; }
.footer-grid ul { display: flex; flex-direction: column; gap: 11px; }
.footer-grid a { color: var(--text-muted); font-size: .92rem; }
.footer-grid a:hover { color: var(--text); }
.footer-brand p { max-width: 280px; font-size: .9rem; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-strong); display: flex; align-items: center;
  justify-content: center; color: var(--text-muted);
}
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: var(--text-faint);
}
.footer-bottom .payment-icons { display: flex; align-items: center; gap: 10px; opacity: .85; }
.footer-bottom .payment-icons svg { width: 16px; height: 16px; flex: none; }

/* ---------------------------------- Page header (inner pages) ---------------------------------- */
.page-hero { padding: 64px 0 40px; text-align: center; }
.breadcrumbs { display: flex; gap: 8px; justify-content: center; font-size: .84rem; color: var(--text-faint); margin-bottom: 18px; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary-2); }

/* ---------------------------------- Badges / tags ---------------------------------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 4px 12px;
  border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text-muted);
}
.tag.tag-primary { color: var(--primary-2); border-color: rgba(34,211,238,.4); background: rgba(34,211,238,.1); }

/* ---------------------------------- Server map ---------------------------------- */
.server-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .server-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .server-list { grid-template-columns: 1fr; } }
.server-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .88rem;
}
.server-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); flex: none; box-shadow: 0 0 0 4px rgba(47,212,128,.18); }
.server-item .city { font-weight: 600; }
.server-item .ping { color: var(--text-faint); font-size: .78rem; }

/* ---------------------------------- Guides (tabs) ---------------------------------- */
.guide-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.guide-tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text-muted); font-weight: 600; font-size: .9rem;
  cursor: pointer; transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.guide-tab svg { width: 18px; height: 18px; }
.guide-tab:hover { color: var(--text); }
.guide-tab.active { color: var(--text); border-color: var(--primary); background: linear-gradient(180deg, rgba(91,108,255,.16), var(--surface-2)); }
.guide-panel { display: none; }
.guide-panel.active { display: block; }
.guide-steps { counter-reset: gstep; margin-top: 8px; }
.guide-steps li {
  counter-increment: gstep; position: relative; padding: 14px 0 14px 44px; border-top: 1px solid var(--border); font-size: .95rem; color: var(--text-muted);
}
.guide-steps li:first-child { border-top: none; }
.guide-steps li::before {
  content: counter(gstep); position: absolute; left: 0; top: 12px; width: 28px; height: 28px; border-radius: 8px;
  background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--primary-2); font-weight: 800; font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
}
.guide-steps strong { color: var(--text); }
.callout {
  border-radius: var(--radius); padding: 20px 22px; border: 1px solid var(--border-strong); background: var(--surface-2); font-size: .9rem;
  display: flex; gap: 14px; align-items: flex-start;
}
.callout svg { flex: none; width: 22px; height: 22px; color: var(--primary-2); margin-top: 2px; }
.callout.warning { border-color: rgba(255,176,32,.4); background: rgba(255,176,32,.08); }
.callout.warning svg { color: var(--warning); }

/* ---------------------------------- Checkout ---------------------------------- */
.checkout-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .checkout-grid { grid-template-columns: 1fr; } }
.order-summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: calc(var(--header-h) + 20px); }
.order-summary .row { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--border); font-size: .92rem; }
.order-summary .row:first-of-type { border-top: none; }
.order-summary .row.total { font-weight: 800; font-size: 1.05rem; color: var(--text); }
.plan-select { display: grid; gap: 12px; margin-bottom: 22px; }
.plan-option {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: var(--radius);
  border: 1px solid var(--border-strong); background: var(--surface-2); cursor: pointer; transition: border-color var(--transition), background var(--transition);
}
.plan-option input { width: 18px; height: 18px; }
.plan-option.selected { border-color: var(--primary); background: linear-gradient(180deg, rgba(91,108,255,.14), var(--surface-2)); }
.plan-option .meta { display: flex; align-items: center; gap: 12px; }
.plan-option .price { font-weight: 800; }
.secure-note { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--text-faint); margin-top: 16px; }
.secure-note svg { width: 16px; height: 16px; color: var(--success); }
.payment-methods-note { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* Payment method tabs (Card / Check) */
.pay-tabs { display: flex; gap: 10px; margin-bottom: 20px; }
.pay-tab {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: var(--radius);
  border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text-muted); font-weight: 700; font-size: .92rem; cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.pay-tab svg { width: 18px; height: 18px; }
.pay-tab.active { color: var(--text); border-color: var(--primary); background: linear-gradient(180deg, rgba(91,108,255,.16), var(--surface-2)); }
.pay-panel { display: none; }
.pay-panel.active { display: block; }

/* Signature pad (Pay by Check form) */
.signature-pad { border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface-2); padding: 10px; }
.signature-pad canvas {
  width: 100%; height: 150px; display: block; background: var(--surface-3); border-radius: var(--radius-sm);
  cursor: crosshair; touch-action: none;
}
.signature-pad-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }

/* Fake "processing payment" overlay */
.processing-overlay {
  position: fixed; inset: 0; z-index: 999; display: flex; align-items: center; justify-content: center;
  background: rgba(5, 7, 13, .78); backdrop-filter: blur(3px);
}
.processing-overlay.hidden { display: none; }
.processing-box { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding: 32px; }
.processing-box p { font-weight: 600; color: var(--text); }
.spinner {
  width: 46px; height: 46px; border-radius: 50%;
  border: 4px solid rgba(255,255,255,.15); border-top-color: var(--primary);
  animation: premierdns-spin .85s linear infinite;
}
@keyframes premierdns-spin { to { transform: rotate(360deg); } }

/* ---------------------------------- Legal pages ---------------------------------- */
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .legal-layout { grid-template-columns: 1fr; } }
.legal-nav { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 4px; }
.legal-nav a { padding: 10px 14px; border-radius: var(--radius-sm); font-size: .9rem; color: var(--text-muted); font-weight: 600; }
.legal-nav a:hover, .legal-nav a.active { color: var(--text); background: var(--surface-2); }
.prose { max-width: 780px; }
.prose h2 { margin-top: 2.2em; font-size: 1.3rem; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; font-size: 1.08rem; }
.prose p, .prose li { color: var(--text-muted); }
.prose ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.prose ul li { margin-bottom: .5em; }
.updated-note { font-size: .85rem; color: var(--text-faint); margin-bottom: 2.5em; }

/* ---------------------------------- Alert / status pages ---------------------------------- */
.status-page { text-align: center; padding: 110px 0; }
.status-icon {
  width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 26px;
  background: var(--primary-soft); color: var(--primary-2);
}
.status-icon svg { width: 42px; height: 42px; }
.status-icon.success { background: rgba(47,212,128,.15); color: var(--success); }
.status-icon.error { background: rgba(255,107,107,.15); color: var(--danger); }

/* Utilities */
.mt-0{margin-top:0} .mb-0{margin-bottom:0} .mt-lg{margin-top:40px} .mb-lg{margin-bottom:40px}
.flex{display:flex} .items-center{align-items:center} .justify-between{justify-content:space-between} .gap-8{gap:8px} .gap-12{gap:12px}
.hidden { display: none !important; }
.text-sm { font-size: .85rem; }
.w-full { width: 100%; }
