:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e6e7ee;
  --shadow: 0 24px 60px rgba(17, 24, 39, 0.1);

  --red: #ef4444;
  --redSoft: #ffecef;
  --blue: #2563eb;
  --blueSoft: #eaf2ff;
  --green: #16a34a;
  --greenSoft: #eafff1;
  --yellow: #f59e0b;

  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple SD Gothic Neo",
    "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.container {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.page {
  padding: 0 0 90px;
}

.center {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 56px 0;
}

.header {
  padding: 88px 0 44px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 12px;
}

.brand {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.title {
  margin: 0 0 10px;
  font-size: 34px;
  letter-spacing: -0.02em;
}

.subtitle {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.heroTitle {
  margin: 0;
  font-size: 40px;
  letter-spacing: -0.03em;
}

.heroSubtitle {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.headerLight {
  background: linear-gradient(180deg, rgba(250, 250, 251, 1) 0%, rgba(255, 255, 255, 1) 100%);
  position: relative;
  overflow: hidden;
}

.headerLight::before,
.headerLight::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.18), transparent 70%);
  pointer-events: none;
}

.headerLight::before {
  top: -220px;
  left: -120px;
}

.headerLight::after {
  bottom: -240px;
  right: -140px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 70%);
}

.heroTop {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid rgba(239, 68, 68, 0.18);
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.08);
}

.pillDot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ef4444;
}

.heroTitleLg {
  text-align: center;
  font-size: 46px;
  line-height: 1.15;
}

.heroSubtitleLg {
  text-align: center;
  font-size: 17px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 18px 0 10px;
}

.stepNum {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 1), rgba(167, 139, 250, 1));
  font-weight: 800;
}

.stepTitle {
  margin: 14px 0 8px;
  font-size: 18px;
}

.stepBody {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.section {
  padding: 18px 0;
}

.sectionTitle {
  margin: 0 0 10px;
  font-size: 20px;
}

.sectionBody {
  margin: 0 0 14px;
  color: var(--muted);
}

.cta .card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.cta .actions {
  justify-content: center;
}

.sectionGap {
  padding-top: 46px;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.heroActions {
  justify-content: center;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  background: #ffffff;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button.primary {
  border-color: rgba(239, 68, 68, 0.35);
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.2);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
}

.button.primary:hover {
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.25);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 12px;
}

.footer {
  padding: 34px 0 56px;
  border-top: 1px solid rgba(229, 231, 235, 0.7);
  background: #ffffff;
}

.footer .container {
  text-align: center;
}

.footerBrand {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 14px;
  color: #111827;
}

.footerMeta {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}

/* --------- Step Flow (PDF-style) --------- */
.stepFlow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  padding-top: 24px;
}

/* --------- Origin Card --------- */
.originCard {
  margin: 22px 0 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.08);
  padding: 22px 22px 18px;
  position: relative;
  overflow: hidden;
}

.originCard::before {
  content: "";
  position: absolute;
  inset: 0 0 0 0;
  border-left: 4px solid rgba(37, 99, 235, 0.18);
  pointer-events: none;
}

.originBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: rgba(37, 99, 235, 1);
  font-weight: 900;
  font-size: 12px;
}

.originTitle {
  margin: 12px 0 8px;
  font-size: 20px;
}

.originDesc {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
}

.inlineLink {
  display: inline;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  color: rgba(37, 99, 235, 1);
  font-weight: 900;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inlineLink:hover {
  opacity: 0.9;
}

.originMeta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.originMetaRow {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 14px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.04);
}

.originMetaLabel {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 6px;
}

.originMetaValue {
  display: block;
  font-weight: 900;
  color: #111827;
}

.details {
  margin-top: 12px;
}

.detailsSummary {
  cursor: pointer;
  user-select: none;
  color: rgba(37, 99, 235, 1);
  font-weight: 900;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.detailsSummary::-webkit-details-marker {
  display: none;
}

.detailsSummary::after {
  content: " ▾";
  font-weight: 900;
}

details[open] > .detailsSummary::after {
  content: " ▴";
}

.detailsBody {
  margin-top: 10px;
}

.processList {
  margin: 12px 0 0;
  padding-left: 18px;
  color: #374151;
  line-height: 1.8;
}

/* --------- Modal (preview) --------- */
.modalOverlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 50;
}

.modalOverlay.isOpen {
  display: flex;
}

.modalCard {
  width: min(560px, 100%);
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(229, 231, 235, 1);
  overflow: hidden;
}

.modalHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--border);
}

.modalTitle {
  font-weight: 900;
  font-size: 16px;
}

.modalSubtitle {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.modalClose {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #ffffff;
  cursor: pointer;
  font-size: 20px;
  line-height: 30px;
}

.modalBody {
  padding: 16px;
}

.qrPreview {
  width: 220px;
  height: 220px;
  border-radius: 16px;
  margin: 6px auto 16px;
  border: 2px solid rgba(239, 68, 68, 0.18);
  background:
    linear-gradient(90deg, rgba(239, 68, 68, 0.12) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(rgba(239, 68, 68, 0.12) 1px, transparent 1px) 0 0 / 16px 16px,
    rgba(239, 68, 68, 0.04);
}

.modalField {
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 12px;
  background: #fafafa;
}

.modalFieldLabel {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 6px;
}

.modalFieldValue {
  font-weight: 900;
  color: #111827;
  overflow-wrap: anywhere;
}

.modalFieldRow {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 10px;
  align-items: center;
}

.modalFieldValueLarge {
  font-size: 20px;
  letter-spacing: 0.04em;
}

.copyBtn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #ffffff;
  cursor: pointer;
  font-size: 18px;
  display: grid;
  place-items: center;
}

.copyBtn:hover {
  background: #f9fafb;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.modalHint {
  margin-top: 12px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.16);
  padding: 12px 12px;
  color: rgba(30, 64, 175, 1);
  font-size: 13px;
  line-height: 1.6;
}

.modalHintTitle {
  font-weight: 900;
  margin-bottom: 10px;
}

.modalHintLink {
  color: rgba(30, 64, 175, 1);
  overflow-wrap: anywhere;
}

.modalActions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.contactCard {
  border-radius: 16px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

.contactNameRow {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.contactName {
  font-size: 20px;
  font-weight: 900;
  color: #111827;
}

.contactTitle {
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
}

.contactLine {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 8px;
  font-size: 14px;
  color: #374151;
  padding: 6px 0;
}

.contactLabel {
  font-weight: 800;
  color: #6b7280;
}

.contactValue {
  color: #111827;
}

.modalActionBtn {
  border-radius: 14px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: #ffffff;
  cursor: pointer;
  font-weight: 900;
}

.modalActionBtn.primary {
  background: #7c3aed;
  border-color: rgba(124, 58, 237, 0.35);
  color: #ffffff;
}

.modalActionBtn.outline {
  border-color: rgba(124, 58, 237, 0.35);
  color: #7c3aed;
}

.modalActionBtn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.stepCard {
  position: relative;
  padding: 32px 24px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.08);
  min-height: 420px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stepCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(17, 24, 39, 0.12);
}

.stepCardRed { border-color: rgba(239, 68, 68, 0.28); }
.stepCardBlue { border-color: rgba(37, 99, 235, 0.25); }
.stepCardGreen { border-color: rgba(22, 163, 74, 0.25); }

.stepBadge {
  position: absolute;
  top: -18px;
  left: -18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.18);
}
.stepBadgeRed { background: var(--red); }
.stepBadgeBlue { background: var(--blue); }
.stepBadgeGreen { background: var(--green); }

.stepIcon {
  width: 86px;
  height: 86px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
}
.stepIconRed { background: rgba(239, 68, 68, 0.08); }
.stepIconBlue { background: rgba(37, 99, 235, 0.08); }
.stepIconGreen { background: rgba(22, 163, 74, 0.08); }

.iconSquare {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 3px solid currentColor;
}
.iconSquareRed { color: var(--red); }
.iconSquareBlue { color: var(--blue); }
.iconSquareGreen { color: var(--green); }

.iconSvg {
  width: 44px;
  height: 44px;
}
.iconSvgRed { color: var(--red); }
.iconSvgBlue { color: var(--blue); }
.iconSvgGreen { color: var(--green); }

.miniIcon {
  width: 24px;
  height: 24px;
}
.miniIconRed { color: var(--red); }
.miniIconBlue { color: var(--blue); }
.miniIconGreen { color: var(--green); }
.miniIconYellow { color: var(--yellow); }

.stepTitleLg {
  text-align: center;
  margin: 6px 0 10px;
  font-size: 20px;
}

.stepDesc {
  text-align: center;
  color: var(--muted);
  margin: 0 0 18px;
  line-height: 1.6;
}

.stepArrow {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.12);
  display: grid;
  place-items: center;
}

.stepArrowInner {
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  transform: rotate(-45deg);
  margin-left: -2px;
}
.stepArrowInnerBlue {
  border-right-color: var(--blue);
  border-bottom-color: var(--blue);
}

.linkedBox {
  margin-top: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

.linkedHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.linkedLabel {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.linkedCheck {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.14);
  border: 2px solid rgba(22, 163, 74, 0.35);
}

.linkedName {
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 10px;
}

.linkedCodeRow {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.linkedCodeLabel {
  color: var(--red);
  font-weight: 800;
}

.linkedCode {
  color: var(--red);
  font-weight: 900;
  letter-spacing: 0.02em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.checkList {
  margin: 14px 0 14px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.highlightBar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.08);
  color: rgba(37, 99, 235, 1);
  font-weight: 800;
}

.highlightCheck {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(37, 99, 235, 0.45);
}

.payBox {
  margin-top: 18px;
  border-radius: 14px;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.18);
  padding: 16px;
}

.payLabel {
  font-size: 13px;
  font-weight: 800;
  color: rgba(22, 163, 74, 1);
  margin-bottom: 10px;
}

.payField {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  border: 1px solid rgba(22, 163, 74, 0.25);
  border-radius: 12px;
  padding: 12px 12px;
}

.payValue {
  font-weight: 900;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.payPill {
  background: rgba(22, 163, 74, 0.14);
  border: 1px solid rgba(22, 163, 74, 0.25);
  color: rgba(22, 163, 74, 1);
  font-weight: 900;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  white-space: nowrap;
}

.payHint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* --------- Process Panel --------- */
.panel {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.panelTitle {
  margin: 0 0 20px;
  text-align: center;
  font-size: 22px;
}

.processRow {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(229, 231, 235, 0.8);
}
.processRow:first-of-type { border-top: none; padding-top: 0; }

.processIcon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(107, 114, 128, 0.1);
}
.processIconRed { background: rgba(239, 68, 68, 0.14); }
.processIconBlue { background: rgba(37, 99, 235, 0.14); }
.processIconGreen { background: rgba(22, 163, 74, 0.14); }
.processIconYellow { background: rgba(245, 158, 11, 0.18); }

.processTitle {
  margin: 0 0 8px;
  font-size: 18px;
}

.processText {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
}

.codeBox {
  background: #f3f4f6;
  border-radius: 12px;
  padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: #374151;
  overflow-wrap: anywhere;
}

.pillFlow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pillMini {
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 14px;
}
.pillMiniBlue { background: rgba(37, 99, 235, 0.1); color: rgba(37, 99, 235, 1); }
.pillMiniGreen { background: rgba(22, 163, 74, 0.1); color: rgba(22, 163, 74, 1); }
.pillArrow { color: var(--muted); font-weight: 900; }

.alertBox {
  border-radius: 14px;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.25);
  padding: 14px;
}
.alertTitle {
  font-weight: 900;
  color: #b91c1c;
  margin-bottom: 6px;
}
.alertText {
  color: #374151;
  line-height: 1.7;
}

/* --------- Benefits --------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.benefitCard {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 22px;
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefitCard:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 46px rgba(17, 24, 39, 0.12);
}
.benefitRed { background: var(--redSoft); border-color: rgba(239, 68, 68, 0.25); }
.benefitBlue { background: var(--blueSoft); border-color: rgba(37, 99, 235, 0.2); }
.benefitGreen { background: var(--greenSoft); border-color: rgba(22, 163, 74, 0.2); }

.benefitIcon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(17, 24, 39, 0.04);
  margin-bottom: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 8px 16px rgba(17, 24, 39, 0.06);
}
.benefitIconRed { background: rgba(239, 68, 68, 0.14); border-color: rgba(239, 68, 68, 0.25); }
.benefitIconBlue { background: rgba(37, 99, 235, 0.14); border-color: rgba(37, 99, 235, 0.25); }
.benefitIconGreen { background: rgba(22, 163, 74, 0.14); border-color: rgba(22, 163, 74, 0.25); }

.benefitIcon .miniIcon {
  width: 26px;
  height: 26px;
}

.benefitTitle { margin: 0 0 8px; font-size: 18px; }
.benefitText { margin: 0; color: #374151; line-height: 1.7; }

/* --------- Dark payment mock section --------- */
.darkSection {
  margin-top: 40px;
  padding: 64px 0;
  background: radial-gradient(900px 600px at 20% 10%, rgba(255, 255, 255, 0.08), transparent 60%),
    linear-gradient(135deg, #111827 0%, #0b1222 55%, #0a1020 100%);
}

.darkInner {
  text-align: center;
}

.darkTitle {
  margin: 0;
  color: #ffffff;
  font-size: 30px;
  letter-spacing: -0.02em;
}

.darkSubtitle {
  margin: 10px auto 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.payMock {
  width: min(620px, 100%);
  margin: 28px auto 0;
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.payMockMobile {
  border-radius: 26px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.7);
}

.payMockWide {
  width: min(980px, 100%);
  border-radius: 22px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.7);
}

.payMockTop {
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  align-items: center;
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  background: #ffffff;
}

.payBack {
  font-size: 20px;
  color: #6b7280;
}

.payMockTopTitle {
  text-align: center;
  font-weight: 800;
}

.payTopSpacer {
  width: 28px;
}

.paySection {
  padding: 18px 18px 6px;
}

.payLayout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  padding: 18px;
  background: #ffffff;
}

.payColumn {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.payMockWide .paySection {
  padding: 0;
}

.paySectionTitle {
  font-weight: 900;
  margin-bottom: 12px;
  font-size: 16px;
}

.payCard {
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 16px;
  padding: 14px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.05);
}

.payCardRow + .payDivider {
  margin-top: 14px;
}

.payCardLabel {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 700;
  margin-bottom: 6px;
}

.payCardValue {
  font-weight: 800;
  color: #111827;
  line-height: 1.5;
}

.payCardMeta {
  color: #6b7280;
  font-size: 12px;
  margin-top: 4px;
}

.payCardInline {
  font-weight: 600;
  color: #374151;
  font-size: 13px;
  margin-top: 6px;
}

.payDivider {
  height: 1px;
  background: rgba(229, 231, 235, 0.8);
  margin: 12px 0;
}

.payFieldGroup {
  margin-bottom: 16px;
}

.payReferralGroup {
  margin-bottom: 0;
}

.payFieldLabel {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #374151;
}

.payFieldRow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.payInput {
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  color: #9ca3af;
  background: #ffffff;
}

.payGhostButton {
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 12px;
  padding: 10px 12px;
  background: #ffffff;
  font-weight: 700;
  color: #374151;
}

.payReferralBox {
  position: relative;
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.12);
}

.payReferralCode {
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #b91c1c;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.payReferralName {
  margin-top: 6px;
  font-weight: 700;
  color: #7f1d1d;
}

.payReferralBadge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
}

.payButtonRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.payChipButton {
  border-radius: 14px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  background: #ffffff;
  padding: 12px 14px;
  font-weight: 800;
  color: #111827;
}

.payChipButton.active {
  border-color: #ef4444;
  color: #ef4444;
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.12);
}

.payRadioList {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: #111827;
  font-weight: 600;
}

.payRadio {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.paySummary {
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 16px;
  padding: 14px;
  background: #ffffff;
}

.paySummaryRow,
.paySummaryTotal {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #111827;
}

.paySummaryRow {
  margin-bottom: 10px;
}

.paySummaryMinus {
  color: #ef4444;
  font-weight: 700;
}

.paySummaryTotal {
  font-size: 16px;
  font-weight: 900;
}

.payAgree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: #6b7280;
}

.payBottomCta {
  margin: 18px;
  background: #ef4444;
  color: #ffffff;
  font-weight: 900;
  text-align: center;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 16px 32px rgba(239, 68, 68, 0.3);
}

.payCtaWrap {
  padding-bottom: 8px;
}

.payMockWide .payBottomCta {
  margin: 0;
}

@media (max-width: 980px) {
  .payLayout {
    grid-template-columns: 1fr;
  }
}

.payMockHead {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
}

.payWarn {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.payMockTitle { font-weight: 900; margin: 0; }
.payMockHelp { color: var(--muted); font-size: 13px; margin-top: 4px; }
.payMockHelpRed { color: #b91c1c; }

.payMockField {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 14px;
  border: 2px solid rgba(239, 68, 68, 0.25);
  background: rgba(239, 68, 68, 0.06);
  padding: 16px 16px;
  gap: 12px;
}

.payMockValue {
  font-weight: 900;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 18px;
}

.payMockPill {
  background: #ef4444;
  color: #ffffff;
  font-weight: 900;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12px;
  white-space: nowrap;
}

.payMockNote {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 860px) {
  .header {
    padding: 72px 0 36px;
  }

  .heroTitleLg {
    font-size: 34px;
  }

  .heroSubtitleLg {
    font-size: 15px;
  }

  .grid3 {
    grid-template-columns: 1fr;
  }

  .stepFlow {
    grid-template-columns: 1fr;
  }

  .stepArrow {
    margin: 0 auto;
    transform: rotate(90deg);
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  .originMeta {
    grid-template-columns: 1fr;
  }

  .heroActions {
    margin-top: 18px;
  }

  .actions {
    flex-direction: column;
  }

  .actions .button {
    width: 100%;
  }

  .originCard {
    padding: 18px 16px;
  }

  .stepCard {
    min-height: auto;
  }

  .stepBadge {
    left: 16px;
  }

  .stepArrow {
    width: 34px;
    height: 34px;
  }

  .linkedBox {
    padding: 14px;
  }

  .panel {
    padding: 20px;
  }

  .processRow {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .benefitCard {
    padding: 18px;
  }

  .darkSection {
    padding: 48px 0;
  }

  .payMockWide {
    width: 100%;
  }

  .payLayout {
    padding: 14px;
    gap: 14px;
  }

  .paySectionTitle {
    font-size: 15px;
  }

  .payButtonRow {
    grid-template-columns: 1fr;
  }

  .payRadioList {
    gap: 6px;
  }

  .paySummaryRow,
  .paySummaryTotal {
    font-size: 13px;
  }

  .paySummaryTotal {
    font-size: 15px;
  }

  .payAgree {
    font-size: 11px;
  }

  .payBottomCta {
    padding: 12px 14px;
  }

  .contactCard {
    padding: 14px;
  }

  .contactLine {
    grid-template-columns: 32px 1fr;
    font-size: 13px;
  }
}

