/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-ink: #0b1b3a;
  --accent: #0ea5a4;
  --bg: #f4f8ff;
  --bg-soft: #eef4ff;
  --surface: #ffffff;
  --border: #e2eaf6;
  --border-strong: #cdd9ec;
  --text: #0f1b34;
  --muted: #5b6b86;
  --muted-2: #8595ad;
  --success: #16a34a;
  --success-bg: #e9f9ef;
  --warning: #b45309;
  --warning-bg: #fdf3e6;
  --danger: #dc2626;
  --danger-bg: #fdecec;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 52, 0.06), 0 1px 3px rgba(15, 27, 52, 0.05);
  --shadow: 0 6px 20px rgba(23, 49, 99, 0.08);
  --shadow-lg: 0 20px 50px rgba(23, 49, 99, 0.14);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Noto Sans Thai",
    "Sarabun", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  padding: 0;
  margin: 0;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

img {
  max-width: 100%;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow {
  max-width: 720px;
}
.section {
  padding: 64px 0;
}
.stack > * + * {
  margin-top: 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
          backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--brand-ink);
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 17px;
  box-shadow: var(--shadow-sm);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.06s ease, background 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}
.btn-primary:hover {
  background: var(--brand-dark);
  text-decoration: none;
}
.btn-outline {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  padding: 8px 14px;
}
.btn-ghost:hover {
  background: var(--bg-soft);
  color: var(--text);
  text-decoration: none;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}
.btn-block {
  width: 100%;
}
.btn-success {
  background: var(--success);
  color: #fff;
}
.btn-danger-outline {
  background: var(--surface);
  border-color: var(--danger);
  color: var(--danger);
}

.lang-toggle {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.lang-toggle:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card-pad {
  padding: 24px;
}

/* ---------- Badges / pills ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--bg-soft);
  color: var(--brand);
  border: 1px solid var(--border);
}
.badge-lock::before {
  content: "🔒";
  font-size: 11px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.pill-green {
  background: var(--success-bg);
  color: var(--success);
}
.pill-amber {
  background: var(--warning-bg);
  color: var(--warning);
}
.pill-gray {
  background: #eef2f8;
  color: var(--muted);
}
.pill-blue {
  background: var(--bg-soft);
  color: var(--brand);
}
.pill-red {
  background: var(--danger-bg);
  color: var(--danger);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 48px;
  background: radial-gradient(1200px 500px at 80% -10%, #dbe8ff 0%, rgba(219, 232, 255, 0) 60%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 850;
  max-width: 16ch;
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 28px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 32px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.check {
  color: var(--success);
  font-weight: 800;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 18px;
  gap: 18px;
}
.step {
  padding: 22px;
}
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--brand);
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}
.step h3 {
  font-size: 16px;
}
.step p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  gap: 20px;
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  position: relative;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.price-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.price-card.featured {
  border-color: var(--brand);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.16);
}
.price-tag-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}
.price-name {
  font-size: 18px;
  font-weight: 750;
}
.price-blurb {
  color: var(--muted);
  font-size: 14px;
  min-height: 40px;
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 14px 0 4px;
}
.price-amount .now {
  font-size: 34px;
  font-weight: 850;
  color: var(--brand-ink);
}
.price-amount .was {
  font-size: 17px;
  color: var(--muted-2);
  text-decoration: line-through;
}
.price-features {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}
.price-features li {
  display: flex;
  gap: 9px;
  font-size: 14px;
  color: var(--text);
}
.price-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: 800;
}
.price-card .btn {
  margin-top: auto;
}

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 4px 18px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
  padding: 14px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--brand);
  font-size: 20px;
  font-weight: 700;
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  color: var(--muted);
  padding-bottom: 14px;
  margin: 0;
}

/* ---------- Forms ---------- */
.field {
  margin-bottom: 18px;
}
.field label,
.field > .label {
  display: block;
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 7px;
}
.field .hint {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}
.req {
  color: var(--danger);
  margin-left: 3px;
}
.optional-tag {
  color: var(--muted-2);
  font-weight: 500;
  font-size: 12.5px;
  margin-left: 6px;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
input[type="password"],
select,
textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
textarea {
  resize: vertical;
  min-height: 84px;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}
input::placeholder,
textarea::placeholder {
  color: var(--muted-2);
}
.field-error input,
.field-error select,
.field-error textarea {
  border-color: var(--danger);
}
.error-text {
  color: var(--danger);
  font-size: 13px;
  margin-top: 6px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 16px;
  gap: 16px;
}
.phone-row {
  display: flex;
  gap: 8px;
}
.phone-prefix {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--text);
}

/* Radio cards */
.radio-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
  margin-bottom: 10px;
  background: var(--surface);
}
.radio-card:hover {
  border-color: var(--brand);
}
.radio-card.selected {
  border-color: var(--brand);
  background: var(--bg-soft);
  box-shadow: 0 0 0 1px var(--brand);
}
.radio-card input {
  margin-top: 3px;
  accent-color: var(--brand);
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.radio-card .rc-title {
  font-weight: 600;
  font-size: 15px;
}
.radio-card .rc-sub {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 2px;
}
.radio-card.warn.selected {
  border-color: var(--warning);
  box-shadow: 0 0 0 1px var(--warning);
  background: var(--warning-bg);
}

/* Upload dropzone */
.dropzone {
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
  cursor: pointer;
  background: var(--bg-soft);
  transition: border-color 0.12s ease, background 0.12s ease;
  display: block;
}
.dropzone:hover {
  border-color: var(--brand);
}
.dropzone.has-file {
  border-style: solid;
  border-color: var(--success);
  background: var(--success-bg);
}
.dropzone .dz-icon {
  font-size: 22px;
}
.dropzone .dz-text {
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
}
.dropzone .dz-sub {
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 3px;
}
.dz-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}
.dz-preview img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.dz-filename {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  word-break: break-all;
}

/* ---------- Progress ---------- */
.progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.progress-bar {
  height: 7px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 26px;
  border: 1px solid var(--border);
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 999px;
  transition: width 0.3s ease;
}
.form-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
}

/* ---------- Alerts ---------- */
.alert {
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.alert-info {
  background: var(--bg-soft);
  color: var(--brand-ink);
  border: 1px solid var(--border);
}
.alert-warn {
  background: var(--warning-bg);
  color: var(--warning);
  border: 1px solid #f3ddb8;
}
.alert-danger {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid #f5cccc;
}
.alert-success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid #bfead0;
}

/* ---------- Payment page ---------- */
.pay-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-gap: 24px;
  gap: 24px;
  align-items: start;
}
.amount-box {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.amount-box .amt {
  font-size: 28px;
  font-weight: 850;
  color: var(--brand-ink);
}
.qr-wrap {
  text-align: center;
  padding: 8px;
}
.qr-wrap img {
  width: 240px;
  height: 240px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
}

/* Thai-QR-Payment-style card */
.qr-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.qr-card-head {
  background: linear-gradient(135deg, #12325f, #0b1b3a);
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.qr-card-brand {
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 15px;
}
.qr-card-tag {
  background: #fff;
  color: #0b1b3a;
  font-weight: 800;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 6px;
}
.qr-card-body {
  padding: 20px;
  text-align: center;
}
.qr-scan-hint {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 14px;
}
.qr-img {
  width: 230px;
  height: 230px;
  border-radius: 10px;
}
.qr-rows {
  margin-top: 18px;
  text-align: left;
}
.qr-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.qr-row:last-child {
  border-bottom: none;
}
.qr-row span {
  color: var(--muted);
}
.qr-row strong {
  text-align: right;
  word-break: break-word;
}
.qr-row-total strong {
  font-size: 20px;
  color: var(--brand-ink);
}
.qr-card-note {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 12px 18px;
  font-size: 12.5px;
  color: var(--muted);
}
.bank-account {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 12px;
}
.bank-account h4 {
  margin: 0 0 8px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.kv {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--border);
}
.kv:last-child {
  border-bottom: none;
}
.kv .k {
  color: var(--muted);
}
.kv .v {
  font-weight: 600;
  text-align: right;
  word-break: break-all;
}
.copy-btn {
  border: none;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  padding: 2px 6px;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 6px;
  background: var(--bg-soft);
  padding: 5px;
  border-radius: 999px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
}
.tab {
  flex: 1 1;
  text-align: center;
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 14px;
  cursor: pointer;
  color: var(--muted);
  border: none;
  background: transparent;
  font-family: inherit;
}
.tab.active {
  background: var(--surface);
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

/* ---------- Big status states ---------- */
.state-center {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 0;
}
.state-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  font-size: 36px;
}
.state-icon.ok {
  background: var(--success-bg);
}
.state-icon.wait {
  background: var(--warning-bg);
}

/* ---------- Admin ---------- */
.admin-shell {
  min-height: 100vh;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 24px;
}
.stat {
  padding: 18px 20px;
}
.stat .num {
  font-size: 30px;
  font-weight: 850;
  color: var(--brand-ink);
}
.stat .lbl {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
table.data {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
table.data th {
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
table.data td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  vertical-align: middle;
}
table.data tr:last-child td {
  border-bottom: none;
}
table.data tbody tr:hover {
  background: #fafcff;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  color: var(--muted);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 27, 58, 0.5);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  z-index: 60;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
}
.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 720px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background: var(--surface);
}
.modal-body {
  padding: 24px;
}
.modal-x {
  border: none;
  background: var(--bg-soft);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  color: var(--muted);
}
.detail-section {
  margin-bottom: 22px;
}
.detail-section > h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px 20px;
  gap: 10px 20px;
}
.detail-item .di-label {
  font-size: 12px;
  color: var(--muted);
}
.detail-item .di-value {
  font-weight: 600;
  font-size: 14px;
}
.doc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.doc-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  background: var(--bg-soft);
}
.doc-chip a {
  font-weight: 600;
}
.todo-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
}

/* ---------- Customer dashboard ---------- */
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.dash-card {
  padding: 22px 24px;
  margin-bottom: 18px;
}
.dash-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.dash-service {
  font-size: 17px;
  font-weight: 750;
}
.dash-meta {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}
.stepper {
  display: flex;
  margin: 22px 0 6px;
}
.stepper .st {
  flex: 1 1;
  text-align: center;
  position: relative;
}
.stepper .st::before {
  content: "";
  position: absolute;
  top: 13px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--border-strong);
  z-index: 0;
}
.stepper .st:first-child::before {
  display: none;
}
.stepper .st.done::before,
.stepper .st.active::before {
  background: var(--brand);
}
.stepper .dot {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 2px solid var(--border-strong);
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 700;
}
.stepper .st.done .dot {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}
.stepper .st.active .dot {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16);
}
.stepper .st-lbl {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.stepper .st.active .st-lbl,
.stepper .st.done .st-lbl {
  color: var(--text);
}
.dash-help {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text);
  margin-top: 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--muted);
  font-size: 13px;
  background: var(--surface);
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer-links a {
  color: var(--muted);
  font-weight: 600;
}

/* ---------- Legal ---------- */
.legal h1 {
  font-size: 30px;
}
.legal .updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}
.legal h2 {
  font-size: 19px;
  margin-top: 26px;
}
.legal p,
.legal li {
  color: var(--text);
}
.legal ul {
  padding-left: 20px;
}
.legal li {
  margin-bottom: 6px;
}

/* ---------- Utilities ---------- */
.text-muted {
  color: var(--muted);
}
.text-center {
  text-align: center;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mt-24 { margin-top: 24px; }
.section-title {
  text-align: center;
  margin-bottom: 8px;
  font-size: 28px;
  font-weight: 800;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 40px;
}
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
.spinner-dark {
  border-color: rgba(37, 99, 235, 0.25);
  border-top-color: var(--brand);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }
  .pay-grid {
    grid-template-columns: 1fr;
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .section {
    padding: 44px 0;
  }
  .grid-2,
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 48px 0 32px;
  }
}

