:root {
  --ink: #101520;
  --muted: #5b6675;
  --accent: #2b6bff;
  --accent-soft: rgba(43, 107, 255, 0.12);
  --line: rgba(16, 21, 32, 0.12);
  --surface: #f7f8fb;
  --surface-strong: #ffffff;
  --hero-overlay: rgba(12, 18, 32, 0.35);
  --shadow: 0 20px 60px rgba(8, 12, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Noto Sans SC", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 20% 20%, rgba(43, 107, 255, 0.08), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(14, 174, 151, 0.1), transparent 50%),
    #f3f5f8;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 16px;
  line-height: 1.7;
  color: var(--muted);
}

h1,
h2,
h3,
strong {
  color: var(--ink);
}

ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6vw;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, #1f5eff, #18b19a);
  box-shadow: 0 10px 24px rgba(31, 94, 255, 0.3);
}

.brand-text strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0.4px;
}

.brand-text span {
  font-size: 12px;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: #344055;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
  background: rgba(43, 107, 255, 0.12);
  color: #2347a0;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 6vw 90px;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(120deg, rgba(10, 16, 27, 0.2), rgba(10, 16, 27, 0.65)),
    url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(0.9);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 27, 0.15), rgba(10, 16, 27, 0.7));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.15;
  margin: 0 0 18px;
}

.lead {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  margin-bottom: 24px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-actions {
  margin-bottom: 20px;
}

.hero-meta-spacing {
  margin-top: 18px;
}

.hero-meta span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.section {
  padding: 96px 6vw;
}

.section.alt {
  background: var(--surface);
}

.section.final {
  padding: 110px 6vw 130px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 46px;
}

.section-kicker {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 12px;
}

.section h3 {
  font-size: 20px;
  margin: 0 0 12px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #2457ff, #21c2a5);
  box-shadow: 0 12px 24px rgba(36, 87, 255, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(36, 87, 255, 0.28);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid rgba(36, 87, 255, 0.4);
  outline-offset: 2px;
}

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-ghost {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-ghost:hover {
  background: #f4f6fb;
}

.experience-grid,
.plan-grid,
.delivery-grid,
.report-grid,
.detail-grid,
.support-grid,
.contact-grid,
.policy-grid {
  display: grid;
  gap: 28px;
}

.experience-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.experience-block,
.delivery-block,
.report-block,
.detail-block {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.plan-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.plan-item {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}

.payflow {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.pay-steps {
  display: grid;
  gap: 18px;
}

.pay-step {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.pay-step span {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 2px;
}

.pay-step.is-active {
  border-color: rgba(43, 107, 255, 0.6);
  transform: translateY(-2px);
}

.pay-panel {
  padding: 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.pay-summary h3 {
  margin-bottom: 8px;
}

.result-box {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(43, 107, 255, 0.2);
  background: rgba(43, 107, 255, 0.06);
  color: #1d2b45;
}

.result-box h4 {
  margin: 0 0 8px;
}

.result-box ul {
  margin: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 12px 0;
}

label {
  font-size: 13px;
  color: #394559;
}

.input-field {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 14px;
  background: #fff;
}

.input-field:focus {
  outline: 2px solid rgba(43, 107, 255, 0.25);
  border-color: rgba(43, 107, 255, 0.5);
}

.table-box {
  overflow-x: auto;
  margin-top: 10px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 12px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.data-table thead th {
  font-weight: 600;
  color: #2d3c52;
  background: #f5f7fb;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.info-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.info-card pre {
  margin: 10px 0 0;
  padding: 10px;
  border-radius: 12px;
  background: #f6f8fb;
  font-size: 12px;
  white-space: pre-wrap;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.metric-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.metric-label {
  font-size: 12px;
  color: var(--muted);
}

.metric-value {
  font-size: 22px;
  font-weight: 700;
  margin: 8px 0 4px;
}

.metric-note {
  font-size: 12px;
  color: var(--muted);
}

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

.timeline-item {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.timeline-title {
  font-weight: 600;
  color: #223047;
  margin-bottom: 6px;
}

.timeline-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 14px;
  color: #394559;
}

.timeline-item.done {
  border-color: rgba(33, 190, 136, 0.4);
  background: rgba(33, 190, 136, 0.08);
}

.timeline-item.doing {
  border-color: rgba(43, 107, 255, 0.4);
  background: rgba(43, 107, 255, 0.08);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.badge-base {
  color: #216a4a;
  background: rgba(33, 190, 136, 0.2);
}

.badge-pro {
  color: #1f5fa8;
  background: rgba(43, 107, 255, 0.2);
}

.badge-elite {
  color: #8a541d;
  background: rgba(242, 153, 74, 0.2);
}

.report-preview {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.report-preview ul {
  margin: 0;
}

.report-canvas,
.report-image {
  display: none;
  width: 100%;
  margin-top: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.support-grid,
.policy-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.contact-grid .label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.contact-grid .value {
  font-size: 18px;
  font-weight: 600;
}

.final-inner {
  padding: 60px 0;
  border-top: 1px solid var(--line);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 6vw 60px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
}

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

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Pay page */
.pay-body {
  background: #ffffff;
}

.pay-shell {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 18px 50px rgba(10, 16, 27, 0.12);
  overflow: hidden;
}

.pay-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid #eef1f5;
}

.pay-header h1 {
  margin: 0;
  font-size: 18px;
}

.pay-back {
  font-size: 18px;
  color: #222;
}

.pay-amount {
  padding: 26px 24px 10px;
  text-align: center;
  background: #f6f7f9;
}

.pay-amount p {
  margin-bottom: 8px;
  color: #7a8596;
}

.pay-amount strong {
  font-size: 34px;
  color: #141a23;
}

.pay-card {
  padding: 18px 22px;
  border-bottom: 1px solid #eef1f5;
}

.pay-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: #3b4657;
}

.pay-row strong {
  color: #1a2233;
  font-weight: 600;
}

.pay-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e7ecf2;
  border-radius: 14px;
  background: #fff;
}

.pay-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #24bf5a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.pay-method-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pay-method-text span {
  font-size: 12px;
  color: #7a8596;
}

.pay-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #24bf5a;
  position: relative;
}

.pay-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: #24bf5a;
  border-radius: 50%;
}

.pay-confirm {
  display: block;
  width: calc(100% - 40px);
  margin: 26px auto 30px;
  padding: 14px 0;
  border: none;
  border-radius: 12px;
  background: #20c057;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.pay-result {
  padding: 26px 24px 10px;
  text-align: center;
  background: #f6f7f9;
}

.pay-result .check {
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 3px solid #20c057;
  color: #20c057;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
}

.pay-result h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.pay-result p {
  margin: 0 0 6px;
  color: #7a8596;
}

.pay-done {
  display: block;
  width: calc(100% - 40px);
  margin: 26px auto 30px;
  padding: 14px 0;
  border: none;
  border-radius: 12px;
  background: #20c057;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.pay-switch {
  margin-top: 10px;
  text-align: right;
  font-size: 12px;
  color: #7a8596;
}

.pay-switch a {
  color: #1c6ee8;
}

.pay-body.alipay .pay-icon,
.pay-body.alipay .pay-radio::after,
.pay-body.alipay .pay-confirm {
  background: #1677ff;
}

.pay-body.alipay .pay-radio {
  border-color: #1677ff;
}

 

@media (max-width: 980px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero {
    padding-top: 140px;
  }
}

@media (max-width: 720px) {
  .site-nav {
    gap: 8px;
  }

  .hero {
    padding: 130px 6vw 70px;
  }

  .hero-meta {
    gap: 10px;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section {
    padding: 70px 6vw;
  }
}

/* Figma make v2 - home and payment */
.vipv2-body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #f7f7fa 100%);
  color: #111827;
}

.vipv2-screen {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: #fff;
}

.vipv2-hero {
  padding: 48px 24px;
  text-align: center;
  color: #fff;
  background: linear-gradient(140deg, #3b82f6 0%, #8b5cf6 45%, #ec4899 100%);
}

.vipv2-hero h1 {
  margin: 0 0 12px;
  font-size: 31px;
  line-height: 1.25;
  color: #fff;
}

.vipv2-hero p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
}

.vipv2-hero-image {
  width: min(280px, 100%);
  margin: 0 auto 36px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(25, 35, 76, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.vipv2-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
}

.vipv2-cta {
  border: 0;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #7c3aed;
  background: #fff;
  box-shadow: 0 12px 24px rgba(33, 20, 81, 0.28);
  margin-top: 10px;
}

.vipv2-cta:active {
  transform: scale(0.98);
}

.vipv2-section {
  padding: 48px 24px;
}

.vipv2-section.is-gray {
  background: #f7f7fa;
}

.vipv2-section h2 {
  margin: 0 0 28px;
  text-align: center;
  font-size: 28px;
  color: #111827;
}

.vipv2-benefits {
  display: grid;
  gap: 16px;
}

.vipv2-benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 14px;
  background: #f9fafb;
}

.vipv2-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  flex-shrink: 0;
}

.vipv2-icon-wrap span {
  font-size: 22px;
  line-height: 1;
}

.vipv2-benefit h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.vipv2-benefit p {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
}

.vipv2-plans {
  display: grid;
  gap: 16px;
}

.vipv2-plan {
  position: relative;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.vipv2-plan.is-highlight {
  border-color: #c4b5fd;
  box-shadow: 0 14px 24px rgba(139, 92, 246, 0.15);
}

.vipv2-plan.is-selected {
  border-color: #8b5cf6;
  background: #faf5ff;
}

.vipv2-badge {
  position: absolute;
  top: -12px;
  left: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.vipv2-plan h3 {
  margin: 8px 0;
  font-size: 20px;
}

.vipv2-price {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  color: #111827;
}

.vipv2-price span {
  font-size: 15px;
  font-weight: 400;
  color: #6b7280;
}

.vipv2-old {
  margin: 4px 0 0;
  color: #9ca3af;
  text-decoration: line-through;
}

.vipv2-extra {
  margin: 4px 0 0;
  color: #7c3aed;
  font-size: 13px;
}

.vipv2-buy {
  margin-top: 14px;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  font-size: 15px;
}

.vipv2-buy:active {
  transform: scale(0.98);
}

.vipv2-flow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.vipv2-step {
  text-align: center;
}

.vipv2-step span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #d1d5db;
}

.vipv2-step.active span {
  background: #8b5cf6;
}

.vipv2-step p {
  margin: 8px 0 0;
  font-size: 13px;
  color: #4b5563;
}

.vipv2-line {
  width: 56px;
  height: 2px;
  margin-top: -18px;
  background: #d1d5db;
}

.vipv2-flow-text {
  margin: 0;
  text-align: center;
  color: #6b7280;
}

.vipv2-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.vipv2-trust-grid div {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.vipv2-trust-grid strong {
  display: block;
  margin-bottom: 3px;
}

.vipv2-trust-grid span {
  font-size: 12px;
  color: #6b7280;
}

.vipv2-reviews {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
}

.vipv2-reviews h3 {
  margin: 0 0 12px;
  text-align: center;
}

.vipv2-reviews article {
  padding: 12px;
  border-radius: 10px;
  background: #f9fafb;
}

.vipv2-reviews article + article {
  margin-top: 10px;
}

.vipv2-reviews p {
  margin: 0;
  color: #1f2937;
}

.vipv2-reviews span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #6b7280;
}

.vipv2-faq {
  display: grid;
  gap: 10px;
}

.vipv2-faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.vipv2-faq-q {
  width: 100%;
  border: 0;
  text-align: left;
  background: #fff;
  padding: 14px 16px;
  color: #111827;
}

.vipv2-faq-q:active {
  background: #f9fafb;
}

.vipv2-faq-a {
  display: none;
  margin: 0;
  padding: 12px 16px;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  color: #374151;
  font-size: 14px;
}

.vipv2-faq-item.is-open .vipv2-faq-a {
  display: block;
}

.vipv2-footer {
  padding: 26px 24px;
  text-align: center;
  color: #6b7280;
  background: #f7f7fa;
}

.pay-body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f5f5f5;
  color: #111827;
}

.pay-screen {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.pay-shell {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.pay-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.pay-back {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pay-back svg {
  width: 24px;
  height: 24px;
  fill: #1f2937;
}

.pay-header h1 {
  margin: 0;
  flex: 1;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  transform: translateX(-12px);
}

.pay-spacer {
  width: 24px;
  height: 24px;
}

.pay-amount-block {
  padding: 32px 24px;
  text-align: center;
  border-bottom: 8px solid #f3f4f6;
}

.pay-amount-block p {
  margin: 0 0 8px;
  color: #6b7280;
}

.pay-amount-block strong {
  font-size: 48px;
  line-height: 1;
  color: #111827;
  font-weight: 500;
}

.pay-currency {
  font-size: 34px;
  margin-right: 2px;
}

.pay-section {
  padding: 0 24px;
  background: #fff;
  border-bottom: 8px solid #f3f4f6;
}

.pay-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  color: #4b5563;
}

.pay-row.with-line {
  border-bottom: 1px solid #f3f4f6;
}

.pay-row strong {
  color: #111827;
  font-weight: 500;
}

.pay-title {
  padding: 16px 0 12px;
  color: #111827;
}

.pay-method-wrap {
  flex: 1;
  border-bottom: 0;
}

.pay-method {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pay-method + .pay-method {
  margin-top: 10px;
}

.pay-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.pay-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.pay-icon-wechat {
  background: #09bb07;
}

.pay-icon-alipay {
  background: #1677ff;
}

.pay-method-text {
  flex: 1;
}

.pay-method-text strong {
  display: block;
  margin-bottom: 2px;
}

.pay-method-text span {
  font-size: 13px;
  color: #6b7280;
}

.pay-radio {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  position: relative;
}

.pay-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  display: none;
  background: #09bb07;
}

.pay-method.is-selected .pay-radio::after {
  display: block;
}

.pay-method.is-selected.is-wechat .pay-radio {
  border-color: #09bb07;
}

.pay-method.is-selected.is-alipay .pay-radio {
  border-color: #1677ff;
}

.pay-method.is-selected.is-alipay .pay-radio::after {
  background: #1677ff;
}

.pay-body.alipay .pay-radio {
  border-color: #1677ff;
}

.pay-body.alipay .pay-radio::after {
  background: #1677ff;
}

.pay-switch {
  margin: 12px 0 18px;
  text-align: right;
}

.pay-switch a {
  color: #6b7280;
  font-size: 13px;
}

.pay-footer {
  border-top: 1px solid #e5e7eb;
  background: #fff;
  padding: 16px 24px;
}

.pay-confirm {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: #09bb07;
  color: #fff;
  font-size: 19px;
  font-weight: 500;
  padding: 14px 0;
}

.pay-confirm:active {
  background: #07a005;
}

.pay-body.alipay .pay-confirm {
  background: #1677ff;
}

.pay-body.alipay .pay-confirm:active {
  background: #0f63d6;
}

.pay-body.alipay .pay-icon-wechat {
  background: #09bb07;
}

.pay-body.alipay .pay-icon-alipay {
  background: #1677ff;
}

.pay-result-shell {
  background: #f5f5f5;
}

.pay-result {
  background: #fff;
  margin-bottom: 12px;
  padding: 30px 24px;
  text-align: center;
}

.pay-result .check {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  display: block;
}

.pay-result .check svg {
  width: 64px;
  height: 64px;
  fill: none;
  stroke: #09bb07;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pay-body.alipay .pay-result .check svg {
  stroke: #1677ff;
}

.pay-result h2 {
  margin: 0 0 6px;
  font-size: 30px;
  font-weight: 500;
}

.pay-result p {
  margin: 0;
  color: #6b7280;
}

.result-amount {
  font-size: 28px;
}

.pay-footer-result {
  margin-top: 20px;
  border-top: 0;
  background: transparent;
}

.pay-loading-body {
  background: #fff;
}

.pay-loading-shell {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.pay-loading-icon {
  width: 96px;
  margin-bottom: 20px;
}

.pay-loading-icon svg {
  width: 96px;
  height: 96px;
  fill: none;
  stroke: #09bb07;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pay-body.alipay .pay-loading-icon svg {
  stroke: #1677ff;
}

.pay-loading-shell h1 {
  margin: 0 0 8px;
  font-size: 32px;
}

.pay-loading-shell p {
  margin: 0 0 24px;
  color: #6b7280;
}

.pay-loading-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9ca3af;
}

.pay-loading-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9ca3af;
  animation: pay-bounce 1s infinite ease-in-out;
}

.pay-loading-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.pay-loading-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

.pay-loading-dots em {
  font-style: normal;
  margin-left: 4px;
  font-size: 14px;
}

@keyframes pay-bounce {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@media (max-width: 520px) {
  .vipv2-hero h1 {
    font-size: 28px;
  }

  .vipv2-section h2 {
    font-size: 24px;
  }

  .pay-amount-block strong {
    font-size: 44px;
  }
}

/* Version 4 home (cashier entry) */
.cashv4-body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans SC", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #162039;
  background:
    radial-gradient(circle at 10% 0%, rgba(14, 165, 233, 0.2), transparent 40%),
    radial-gradient(circle at 90% 0%, rgba(59, 130, 246, 0.18), transparent 45%),
    linear-gradient(180deg, #f4f9ff 0%, #eef4ff 48%, #f8fbff 100%);
  padding: 24px 16px 40px;
}

.cashv4-shell {
  width: min(720px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.cashv4-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 2px;
}

.cashv4-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cashv4-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.cashv4-brand h1 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.cashv4-brand p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #64748b;
}

.cashv4-link-btn {
  border: 0;
  background: transparent;
  color: #2563eb;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 4px;
}

.cashv4-card {
  border-radius: 18px;
  border: 1px solid #dce7fb;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  padding: 18px;
}

.cashv4-card h2 {
  margin: 0;
  font-size: 17px;
  color: #0f172a;
}

.cashv4-sub {
  margin: 8px 0 14px;
  font-size: 13px;
  color: #64748b;
}

.cashv4-field {
  display: block;
}

.cashv4-field span {
  display: block;
  margin-bottom: 8px;
  color: #334155;
  font-size: 13px;
}

.cashv4-field input {
  width: 100%;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #cddcf8;
  background: #fff;
  padding: 0 12px;
  font-size: 14px;
  color: #0f172a;
}

.cashv4-field input:focus {
  outline: 2px solid rgba(37, 99, 235, 0.2);
  border-color: #3b82f6;
}

.cashv4-primary {
  width: 100%;
  margin-top: 14px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.26);
}

.cashv4-primary:active {
  transform: translateY(1px);
}

.cashv4-status-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cashv4-status-top p {
  margin: 8px 0 0;
  font-size: 13px;
  color: #64748b;
}

.cashv4-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 28px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #1d4ed8;
  background: #dbeafe;
}

.cashv4-status-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cashv4-status-grid article {
  border-radius: 12px;
  padding: 10px;
  border: 1px solid #dbe5f8;
  background: #f8fbff;
}

.cashv4-status-grid span {
  display: block;
  font-size: 12px;
  color: #64748b;
}

.cashv4-status-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #0f172a;
  line-height: 1.35;
  word-break: break-all;
}

.cashv4-amount-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cashv4-amount-row span {
  color: #475569;
  font-size: 14px;
}

.cashv4-amount-row strong {
  color: #0f172a;
  font-size: 30px;
  line-height: 1;
}

.cashv4-methods {
  display: grid;
  gap: 10px;
}

.cashv4-method {
  width: 100%;
  border: 1px solid #dbe5f8;
  background: #fff;
  border-radius: 12px;
  height: 48px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #0f172a;
}

.cashv4-method-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #94a3b8;
  position: relative;
}

.cashv4-method.is-selected {
  border-color: #60a5fa;
  background: #eff6ff;
}

.cashv4-method.is-selected .cashv4-method-dot {
  border-color: #2563eb;
}

.cashv4-method.is-selected .cashv4-method-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #2563eb;
}

.cashv4-method-text {
  font-weight: 600;
}

.cashv4-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: #64748b;
}

@media (max-width: 520px) {
  .cashv4-body {
    padding: 16px 12px 28px;
  }

  .cashv4-card {
    border-radius: 16px;
    padding: 14px;
  }

  .cashv4-amount-row strong {
    font-size: 28px;
  }

  .cashv4-status-grid {
    grid-template-columns: 1fr;
  }
}

/* cashv4 redesign: cashier-like home */
.cashv4-body {
  margin: 0;
  min-height: 100vh;
  background: #f5f7fa;
  font-family: "Noto Sans SC", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #111827;
}

.cashv4-page {
  width: min(520px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 14px 18px;
}

.cashv4-nav {
  height: 52px;
  display: grid;
  grid-template-columns: 48px 1fr 60px;
  align-items: center;
}

.cashv4-nav h1 {
  margin: 0;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
}

.cashv4-nav-back {
  font-size: 30px;
  color: #0f172a;
  line-height: 1;
  margin-top: -2px;
}

.cashv4-nav-action {
  justify-self: end;
  border: 0;
  background: transparent;
  color: #0ea5e9;
  font-size: 14px;
  padding: 4px;
}

.cashv4-panel {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e6ebf2;
  padding: 14px;
  margin-bottom: 10px;
}

.cashv4-panel-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.cashv4-panel-head p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #6b7280;
}

.cashv4-input-wrap {
  display: block;
  margin-top: 12px;
}

.cashv4-input-wrap span {
  display: block;
  font-size: 13px;
  color: #374151;
  margin-bottom: 6px;
}

.cashv4-input-wrap input {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #d1d9e6;
  padding: 0 12px;
  font-size: 15px;
  color: #111827;
  background: #fff;
}

.cashv4-input-wrap input:focus {
  outline: 2px solid rgba(14, 165, 233, 0.16);
  border-color: #38bdf8;
}

.cashv4-btn {
  border: 0;
  cursor: pointer;
}

.cashv4-btn-main {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #10b7f5 0%, #0891d5 100%);
}

.cashv4-btn-main:active {
  transform: translateY(1px);
}

.cashv4-user-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 10px;
}

.cashv4-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, #dbeafe, #bfdbfe);
  color: #1d4ed8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

.cashv4-user-text h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.cashv4-user-text p {
  margin: 3px 0 0;
  font-size: 12px;
  color: #6b7280;
}

.cashv4-tag {
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fef3c7;
  color: #a16207;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cashv4-tag.is-on {
  background: #dcfce7;
  color: #166534;
}

.cashv4-kv-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.cashv4-kv-grid article {
  border-radius: 10px;
  border: 1px solid #e8edf5;
  background: #f8fafc;
  padding: 9px;
}

.cashv4-kv-grid span {
  font-size: 11px;
  color: #6b7280;
  display: block;
}

.cashv4-kv-grid strong {
  margin-top: 5px;
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #111827;
  word-break: break-all;
}

.cashv4-amount-wrap p {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

.cashv4-amount-wrap strong {
  display: block;
  margin-top: 6px;
  color: #0f172a;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.05;
}

.cashv4-amount-wrap strong span {
  font-size: 24px;
  margin-right: 2px;
}

.cashv4-amount-wrap em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 12px;
  color: #64748b;
}

.cashv4-panel-head-inline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.cashv4-panel-head-inline p {
  margin: 0;
  text-align: right;
}

.cashv4-method-list {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.cashv4-method {
  width: 100%;
  border: 1px solid #e4ebf7;
  background: #fff;
  border-radius: 12px;
  height: 62px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 36px 1fr 24px;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.cashv4-method-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.cashv4-method-wechat {
  background: #16a34a;
}

.cashv4-method-alipay {
  background: #2563eb;
}

.cashv4-method-main strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.cashv4-method-main small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #6b7280;
}

.cashv4-method-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #a5b4c8;
  position: relative;
  justify-self: end;
}

.cashv4-method.is-selected {
  border-color: #7dd3fc;
  background: #f0f9ff;
}

.cashv4-method.is-selected .cashv4-method-radio {
  border-color: #0284c7;
}

.cashv4-method.is-selected .cashv4-method-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #0284c7;
}

.cashv4-footer {
  margin-top: 14px;
  padding-bottom: 6px;
}

.cashv4-footer .cashv4-btn-main {
  margin-top: 0;
}

.cashv4-footnote {
  margin: 8px 0 0;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
}

@media (max-width: 420px) {
  .cashv4-page {
    padding-left: 10px;
    padding-right: 10px;
  }

  .cashv4-panel {
    padding: 12px;
  }

  .cashv4-amount-wrap strong {
    font-size: 34px;
  }

  .cashv4-kv-grid {
    grid-template-columns: 1fr;
  }
}

/* Coin recharge V4 from figma screenshot */
.coinv4-body {
  margin: 0;
  background: linear-gradient(180deg, #f7f8fc 0%, #eef2ff 100%);
  font-family: "Noto Sans SC", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #1f2937;
}

.coinv4-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 0;
}

.coinv4-shell {
  width: min(375px, 100%);
  background: #ffffff;
  min-height: 100vh;
  box-shadow: 0 20px 60px rgba(76, 85, 135, 0.18);
}

.coinv4-hero {
  position: relative;
  overflow: hidden;
  padding: 16px 24px 64px;
  background: linear-gradient(160deg, #2979ff 0%, #8a3ffc 56%, #ec2f9f 100%);
}

.coinv4-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.12;
}

.coinv4-glow {
  position: absolute;
  border-radius: 999px;
  background: #fff;
  filter: blur(42px);
}

.coinv4-glow-left {
  left: 16px;
  top: 36px;
  width: 120px;
  height: 120px;
}

.coinv4-glow-right {
  right: -20px;
  bottom: 60px;
  width: 150px;
  height: 150px;
}

.coinv4-hero-top,
.coinv4-hero-title,
.coinv4-hero-media,
.coinv4-main-btn {
  position: relative;
  z-index: 1;
}

.coinv4-hero-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 22px;
}

.coinv4-login-chip {
  border: 0;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #f8fafc;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 200px;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.coinv4-login-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.coinv4-login-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

#coin-login-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.coinv4-hero-title {
  margin-bottom: 26px;
}

.coinv4-title-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.coinv4-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
}

.coinv4-star {
  color: #ffe24d;
  font-size: 24px;
}

.coinv4-hero-media {
  position: relative;
  width: 240px;
  height: 180px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 40px rgba(23, 27, 62, 0.32);
}

.coinv4-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coinv4-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 22, 37, 0.02), rgba(16, 22, 37, 0.32));
}

.coinv4-main-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 38px auto 0;
  width: 172px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #8a2be2;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(18, 20, 44, 0.28);
  overflow: hidden;
}

.coinv4-main-btn-ripple {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at center, rgba(173, 130, 255, 0.28), transparent 62%);
  animation: coinv4-pulse 2.4s ease-in-out infinite;
}

.coinv4-main-btn-text {
  position: relative;
  z-index: 1;
}

.coinv4-main-btn:active {
  transform: scale(0.97);
}

.coinv4-section {
  padding: 48px 24px;
  background: #ffffff;
}

.coinv4-section-alt {
  background: #f8fafc;
}

.coinv4-section h2 {
  margin: 0 0 32px;
  text-align: center;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 800;
  color: #1f2937;
}

.coinv4-packages {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.coinv4-package {
  position: relative;
  border: 2px solid #e5e7eb;
  border-radius: 24px;
  background: #fff;
  padding: 22px 20px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.coinv4-package.is-selected {
  border-color: #9333ea;
  box-shadow: 0 18px 32px rgba(147, 51, 234, 0.18);
}

.coinv4-package:active {
  transform: scale(0.985);
}

.coinv4-tag {
  position: absolute;
  left: 18px;
  top: -12px;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.coinv4-tag.is-blue { background: #3b82f6; }
.coinv4-tag.is-orange { background: #f97316; }
.coinv4-tag.is-purple { background: #a855f7; }

.coinv4-package-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}

.coinv4-package-copy {
  flex: 1;
}

.coinv4-package h3 {
  margin: 0;
  font-size: 36px;
  line-height: 1.12;
  font-weight: 700;
  color: #1e293b;
}

.coinv4-price {
  margin: 8px 0 6px;
  font-size: 32px;
  line-height: 1;
  color: #7e22ce;
  font-weight: 800;
}

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

.coinv4-buy {
  min-width: 104px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 14px;
  font-weight: 700;
  padding: 0 18px;
}

.coinv4-package.is-selected .coinv4-buy {
  background: #9333ea;
  color: #ffffff;
}

.coinv4-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}

.coinv4-step {
  text-align: center;
}

.coinv4-step span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #e5e7eb;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.coinv4-step span svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.coinv4-step p {
  margin: 10px 0 0;
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}

.coinv4-step.is-active span {
  transform: scale(1.08);
  background: #9333ea;
}

.coinv4-step.is-active p {
  color: #9333ea;
  font-weight: 700;
}

.coinv4-step.is-done span {
  background: #22c55e;
}

.coinv4-step-line {
  position: relative;
  width: 82px;
  height: 4px;
  border-radius: 999px;
  background: #e5e7eb;
}

.coinv4-step-line em {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: #9333ea;
  transition: width 0.25s ease;
}

.coinv4-flow-panel[hidden] {
  display: none;
}

.coinv4-selection-card {
  min-height: 176px;
  border-radius: 24px;
  background: #faf5ff;
  padding: 32px 20px;
  text-align: center;
  margin-bottom: 24px;
}

.coinv4-selection-card.is-empty {
  background: transparent;
  padding: 32px 0 24px;
}

.coinv4-selection-label {
  margin: 0 0 10px;
  color: #6b7280;
  font-size: 18px;
  font-weight: 500;
}

.coinv4-selection-card strong {
  display: block;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 800;
  color: #9333ea;
}

.coinv4-selection-card span {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
}

.coinv4-selection-card.is-empty strong {
  color: #9ca3af;
}

.coinv4-selection-card.is-empty span {
  color: #94a3b8;
  font-size: 15px;
  font-weight: 500;
}

.coinv4-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.coinv4-pay-method-section {
  margin-bottom: 24px;
}

.coinv4-pay-method-section h3,
.coinv4-order-card h3 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
}

.coinv4-order-card {
  margin-bottom: 24px;
  padding: 24px 20px;
  border-radius: 24px;
  background: #f9fafb;
}

.coinv4-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.coinv4-order-row + .coinv4-order-row {
  margin-top: 12px;
}

.coinv4-order-row span {
  color: #6b7280;
  font-size: 14px;
}

.coinv4-order-row strong {
  color: #1f2937;
  font-size: 16px;
  font-weight: 700;
}

.coinv4-order-row strong.is-accent {
  color: #9333ea;
}

.coinv4-method {
  width: 100%;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.coinv4-method-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.coinv4-method-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.coinv4-method-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.coinv4-method-icon.is-wechat {
  background: #22c55e;
}

.coinv4-method-icon.is-alipay {
  background: #3b82f6;
}

.coinv4-method-copy strong {
  display: block;
  font-size: 15px;
  color: #1e293b;
}

.coinv4-method-copy small {
  font-size: 12px;
  color: #6b7280;
}

.coinv4-method-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #9ca3af;
  position: relative;
  flex: 0 0 auto;
}

.coinv4-method.is-selected {
  background: #faf5ff;
}

.coinv4-method.is-selected[data-method="wechat"] {
  border-color: #22c55e;
  background: #f0fdf4;
}

.coinv4-method.is-selected[data-method="alipay"] {
  border-color: #3b82f6;
  background: #eff6ff;
}

.coinv4-method.is-selected[data-method="wechat"] .coinv4-method-dot {
  border-color: #22c55e;
}

.coinv4-method.is-selected[data-method="alipay"] .coinv4-method-dot {
  border-color: #3b82f6;
}

.coinv4-method.is-selected[data-method="wechat"] .coinv4-method-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #22c55e;
}

.coinv4-method.is-selected[data-method="alipay"] .coinv4-method-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #3b82f6;
}

.coinv4-safe-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 14px;
  border-radius: 16px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, #f0fdf4, #eff6ff);
}

.coinv4-safe-band.is-wechat {
  color: #15803d;
}

.coinv4-safe-band.is-alipay {
  color: #1d4ed8;
}

.coinv4-safe-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.coinv4-safe-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.coinv4-safe-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
}

.coinv4-safe-copy span {
  color: #9ca3af;
}

.coinv4-hint {
  margin: 0 0 18px;
  text-align: center;
  color: #6b7280;
  font-size: 13px;
}

.coinv4-next-btn {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: #d1d5db;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.coinv4-next-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.coinv4-next-btn:not([disabled]) {
  background: #9333ea;
  box-shadow: 0 16px 30px rgba(147, 51, 234, 0.28);
}

.coinv4-pay-btn {
  width: 100%;
  height: 62px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 18px 30px rgba(31, 41, 55, 0.15);
}

.coinv4-pay-btn.is-wechat {
  background: #16a34a;
}

.coinv4-pay-btn.is-alipay {
  background: #2563eb;
}

.coinv4-back-btn {
  width: 100%;
  border: 0;
  background: transparent;
  margin-top: 14px;
  padding: 12px 0 0;
  color: #6b7280;
  font-size: 15px;
  font-weight: 600;
}

.coinv4-trust-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.coinv4-trust-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 22px 18px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  margin-bottom: 18px;
}

.coinv4-trust-top article,
.coinv4-trust-grid article {
  text-align: center;
}

.coinv4-trust-icon,
.coinv4-trust-grid span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 800;
}

.coinv4-trust-icon.is-green {
  background: #dcfce7;
  color: #16a34a;
}

.coinv4-trust-icon.is-blue {
  background: #dbeafe;
  color: #2563eb;
}

.coinv4-trust-icon.is-indigo {
  background: #e0e7ff;
  color: #4f46e5;
}

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

.coinv4-trust-grid article {
  border-radius: 18px;
  padding: 22px 12px;
}

.coinv4-trust-grid article.is-purple {
  background: #faf5ff;
}

.coinv4-trust-grid article.is-orange {
  background: #fff7ed;
}

.coinv4-trust-grid article.is-purple span {
  background: #e9d5ff;
  color: #9333ea;
}

.coinv4-trust-grid article.is-orange span {
  background: #fed7aa;
  color: #ea580c;
}

.coinv4-trust-top p,
.coinv4-trust-grid p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #374151;
}

.coinv4-faq-section {
  padding-bottom: 72px;
}

.coinv4-faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.coinv4-faq-item {
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  background: #fff;
  overflow: hidden;
}

.coinv4-faq-q {
  width: 100%;
  border: 0;
  background: #fff;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
}

.coinv4-faq-q i {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.coinv4-faq-q i::before,
.coinv4-faq-q i::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 1px;
  width: 2px;
  height: 16px;
  border-radius: 999px;
  background: #9ca3af;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.coinv4-faq-q i::after {
  transform: rotate(90deg);
}

.coinv4-faq-a {
  max-height: 0;
  margin: 0;
  padding: 0 20px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.7;
  color: #64748b;
  transition: max-height 0.25s ease, padding 0.25s ease;
}

.coinv4-faq-a p {
  margin: 0 0 6px;
}

.coinv4-faq-a p:last-child {
  margin-bottom: 0;
}

.coinv4-faq-item.is-open .coinv4-faq-a {
  max-height: 220px;
  padding: 0 20px 20px;
}

.coinv4-faq-item.is-open .coinv4-faq-q i::before {
  opacity: 0;
}

.coinv4-login-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.coinv4-login-mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
}

.coinv4-login-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(340px, calc(100% - 28px));
  border-radius: 28px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.3);
}

.coinv4-login-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  padding: 0;
}

.coinv4-login-head {
  padding: 28px 24px 20px;
  text-align: center;
  background: linear-gradient(160deg, #2979ff 0%, #8a3ffc 58%, #ec2f9f 100%);
}

.coinv4-login-logo {
  display: inline-flex;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
}

.coinv4-login-logo svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.coinv4-login-head h3 {
  margin: 14px 0 6px;
  font-size: 28px;
  line-height: 1.2;
  color: #fff;
  font-weight: 800;
}

.coinv4-login-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.coinv4-login-form {
  padding: 22px 24px 12px;
  display: grid;
  gap: 16px;
}

.coinv4-login-form label span {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: #111827;
  font-weight: 600;
}

.coinv4-login-form input {
  width: 100%;
  height: 52px;
  border-radius: 14px;
  border: 1px solid #d6dce6;
  padding: 0 14px;
  font-size: 15px;
  color: #111827;
  background: #f9fafb;
}

.coinv4-login-form input:focus {
  outline: 2px solid rgba(147, 51, 234, 0.14);
  border-color: #9333ea;
}

.coinv4-password-wrap {
  position: relative;
}

.coinv4-password-wrap input {
  padding-right: 70px;
}

.coinv4-password-wrap button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
}

.coinv4-login-submit {
  margin: 8px 24px 24px;
  width: calc(100% - 48px);
  height: 52px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(180deg, #be46ff 0%, #9b2dff 100%);
}

@keyframes coinv4-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.18);
    opacity: 0.18;
  }
}

@media (max-width: 375px) {
  .coinv4-hero h1 {
    font-size: 28px;
  }

  .coinv4-main-btn {
    width: 164px;
  }

  .coinv4-package h3 {
    font-size: 32px;
  }

  .coinv4-price {
    font-size: 28px;
  }

  .coinv4-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .coinv4-trust-top {
    gap: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }
}

.user-center-body {
  margin: 0;
  background: linear-gradient(180deg, #f7f8fc 0%, #eef2ff 100%);
  font-family: "Noto Sans SC", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #1f2937;
}

.user-center-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.user-center-shell {
  width: min(375px, 100%);
  min-height: 100vh;
  background: #fff;
  box-shadow: 0 20px 60px rgba(76, 85, 135, 0.18);
}

.user-center-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  color: #fff;
  background: linear-gradient(160deg, #7c3aed 0%, #ec4899 100%);
}

.user-center-back {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.user-center-back svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.user-center-header h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.user-center-section {
  padding: 24px;
}

.user-center-card {
  border-radius: 28px;
  padding: 24px;
  color: #fff;
  background: linear-gradient(160deg, #7c3aed 0%, #ec4899 100%);
  box-shadow: 0 20px 38px rgba(124, 58, 237, 0.2);
}

.user-center-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.user-center-card-top p,
.user-center-card-top strong,
.user-center-balance p,
.user-center-balance strong,
.user-center-balance span {
  color: #fff;
}

.user-center-card-top p {
  margin: 0 0 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.user-center-card-top strong {
  font-size: 22px;
}

.user-center-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
}

.user-center-card-icon svg {
  width: 28px;
  height: 28px;
  fill: #fde047;
}

.user-center-balance {
  border-radius: 22px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.user-center-balance p {
  margin: 0 0 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

.user-center-balance strong {
  font-size: 40px;
  line-height: 1;
}

.user-center-balance span {
  margin-left: 6px;
  font-size: 18px;
  font-weight: 600;
}

.user-center-block {
  padding: 0 24px 24px;
}

.user-center-block-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.user-center-block-head h2 {
  margin: 0;
  font-size: 20px;
  color: #1f2937;
}

.user-center-block-head span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.user-center-block-head .is-purple {
  background: #f3e8ff;
  color: #9333ea;
}

.user-center-block-head .is-blue {
  background: #dbeafe;
  color: #2563eb;
}

.user-center-orders {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.user-center-order {
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 18px 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.user-center-order-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f3e8ff;
  color: #9333ea;
  font-size: 12px;
  font-weight: 700;
}

.user-center-order-id {
  margin: 8px 0 0;
  font-size: 12px;
  color: #6b7280;
  word-break: break-all;
}

.user-center-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
}

.user-center-order-row span {
  font-size: 13px;
  color: #6b7280;
}

.user-center-order-row strong {
  color: #1f2937;
  font-size: 14px;
}

.user-center-order-row strong.is-price {
  color: #9333ea;
  font-size: 18px;
}

.user-center-empty {
  border-radius: 22px;
  padding: 24px 18px;
  text-align: center;
  background: #fff;
  color: #6b7280;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.user-center-support {
  margin-top: 14px;
  padding: 20px 18px;
  border-radius: 24px 24px 0 0;
  background: #f8fafc;
}

.user-center-support-card {
  border-radius: 22px;
  padding: 18px 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.user-center-support-item + .user-center-support-item {
  margin-top: 16px;
}

.user-center-support-item p {
  margin: 0 0 4px;
  font-size: 12px;
  color: #6b7280;
}

.user-center-support-item a,
.user-center-support-item strong {
  color: #1f2937;
  font-size: 14px;
  font-weight: 600;
  word-break: break-all;
}
