:root {
  color-scheme: dark;
  --bg: #0f172a;
  --bg-soft: #111c35;
  --panel: rgba(15, 23, 42, 0.92);
  --panel-strong: rgba(10, 16, 30, 0.96);
  --line: rgba(148, 163, 184, 0.18);
  --text: #ffffff;
  --muted: #cbd5e1;
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.18);
  --good: #22c55e;
  --bad: #ef4444;
  --warn: #f59e0b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(249, 115, 22, 0.18), transparent 30rem),
    linear-gradient(180deg, #101827 0%, var(--bg) 55%, #0a1020 100%);
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

.page {
  width: min(100%, 600px);
  margin: 0 auto;
  padding: 20px 14px 56px;
}

.card {
  margin-top: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.hero {
  margin-top: 0;
  background:
    linear-gradient(145deg, rgba(249, 115, 22, 0.14), rgba(15, 23, 42, 0.95)),
    var(--panel-strong);
}

.eyebrow,
.payment-kicker {
  margin: 0 0 10px;
  color: #fdba74;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.3rem);
  line-height: 1.02;
}

h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.lede,
.section-head p,
.status-copy,
.feedback,
.bullet-list,
.field span,
.consent span,
.summary-label,
.payment-list dt {
  color: var(--muted);
}

.lede {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.65;
}

.service-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.service-option {
  position: relative;
  width: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.72);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.service-option:hover {
  transform: translateY(-1px);
  border-color: rgba(249, 115, 22, 0.45);
}

.service-option:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
}

.service-option.is-selected {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.18), rgba(15, 23, 42, 0.82));
}

.service-option.is-primary {
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.15);
}

.service-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #fdba74;
  font-size: 0.74rem;
  font-weight: 700;
}

.service-name,
.service-price,
.service-description {
  display: block;
}

.service-name {
  font-size: 1.05rem;
  font-weight: 700;
}

.service-price {
  margin-top: 6px;
  color: #fdba74;
  font-weight: 600;
}

.service-description {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.bullet-list {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  line-height: 1.6;
}

.section-head {
  margin-bottom: 16px;
}

.queue-notices {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.queue-note {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(12, 19, 35, 0.85);
  color: var(--muted);
  line-height: 1.55;
}

.queue-note-primary {
  border-color: rgba(249, 115, 22, 0.45);
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.12), rgba(12, 19, 35, 0.9));
  color: #fff7ed;
  font-weight: 700;
}

.order-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.72);
  color: var(--text);
  padding: 14px 15px;
  font: inherit;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(203, 213, 225, 0.5);
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid rgba(249, 115, 22, 0.25);
  border-color: rgba(249, 115, 22, 0.6);
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  line-height: 1.55;
}

.consent input {
  accent-color: var(--accent);
}

.cta-button {
  width: 100%;
  padding: 16px 18px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #fb923c, var(--accent));
  color: #fff7ed;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cta-button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.secondary-button {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.secondary-button:hover {
  border-color: rgba(249, 115, 22, 0.45);
}

.feedback {
  min-height: 1.25rem;
  font-size: 0.94rem;
}

.response-note {
  color: #fdba74;
  font-size: 0.94rem;
  line-height: 1.5;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.payment-expiry-note,
.mini-faq {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.summary-tile,
.payment-block {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(12, 19, 35, 0.85);
}

.payment-block--recommended {
  border-color: rgba(249, 115, 22, 0.45);
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.12), rgba(12, 19, 35, 0.9));
}

.summary-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.86rem;
}

.summary-tile strong,
.payment-list dd {
  font-size: 1rem;
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
}

.status-pill.is-waiting {
  color: #fdba74;
  background: rgba(249, 115, 22, 0.15);
}

.status-pill.is-declared {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.18);
}

.status-pill.is-paid {
  color: #86efac;
  background: rgba(34, 197, 94, 0.16);
}

.status-pill.is-expired {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.14);
}

.status-pill.is-cancelled {
  color: #fdba74;
  background: rgba(249, 115, 22, 0.15);
}

.payment-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.payment-list div {
  display: grid;
  gap: 5px;
}

.payment-list dd {
  margin: 0;
  word-break: break-word;
}

.status-copy {
  margin-top: 16px;
  line-height: 1.6;
}

.cancel-section {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(249, 115, 22, 0.28);
  border-radius: 18px;
  background: rgba(12, 19, 35, 0.86);
}

.cancel-copy {
  color: #fff7ed;
  line-height: 1.55;
}

.cancel-confirmation {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.55;
}

.payment-followup {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.payment-followup-list {
  margin-top: 10px;
}

.payment-actions {
  margin-top: 16px;
}

.is-hidden {
  display: none;
}

@media (min-width: 640px) {
  .page {
    padding: 28px 18px 72px;
  }

  .card {
    padding: 24px;
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
