/* ===== VIP 会员页 ===== */
.vip-page {
  --vip-green: #0b8f45;
  --vip-green-dark: #056333;
  --vip-green-soft: #eefaf3;
  --vip-blue: #2f74e6;
  --vip-blue-soft: #eef5ff;
  --vip-yellow: #f8b923;
  --vip-yellow-soft: #fff8e3;
  --vip-ink: #152033;
  --vip-muted: #687386;
  --vip-line: #e8edf2;
  background: #f7f9fb;
  color: var(--vip-ink);
  overflow-x: clip;
}

.vip-page *,
.vip-page *::before,
.vip-page *::after {
  box-sizing: border-box;
}

.vip-hero {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  background: #f4f7f3;
  border-bottom: 1px solid var(--vip-line);
}

.vip-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.vip-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .22);
}

.vip-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 450px;
  display: flex;
  align-items: center;
  padding-top: 46px;
  padding-bottom: 46px;
}

.vip-hero-copy {
  width: min(600px, 54%);
}

.vip-eyebrow,
.vip-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--vip-green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.vip-eyebrow {
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid #cfe7d7;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
}

.vip-eyebrow i { color: #d99500; }

.vip-hero h1 {
  max-width: 560px;
  margin: 18px 0 12px;
  color: var(--vip-ink);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.vip-hero h1 span { color: var(--vip-green); }

.vip-hero-copy > p {
  max-width: 560px;
  margin: 0;
  color: #4f5b6d;
  font-size: 16px;
  line-height: 1.75;
}

.vip-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.vip-hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid rgba(224, 230, 224, .95);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: #3d4859;
  font-size: 13px;
  font-weight: 600;
}

.vip-hero-points i { color: var(--vip-green); }

.vip-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.vip-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: color .18s, background .18s, border-color .18s, transform .18s;
}

.vip-btn:hover { transform: translateY(-1px); }
.vip-btn-primary { background: var(--vip-ink); color: #fff; }
.vip-btn-primary:hover { background: #0d1728; color: #fff; }
.vip-btn-primary i { color: var(--vip-yellow); }
.vip-btn-secondary {
  border: 1px solid var(--vip-line);
  background: rgba(255, 255, 255, .9);
  color: var(--vip-ink);
}
.vip-btn-secondary:hover { border-color: #bfd4c6; color: var(--vip-green-dark); }

.vip-current-status {
  width: fit-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 9px 12px;
  border-left: 3px solid var(--vip-green);
  background: rgba(238, 250, 243, .92);
  color: var(--vip-green-dark);
  font-size: 13px;
  line-height: 1.5;
}

.vip-current-status i { flex-shrink: 0; }

.vip-plan-section {
  padding: 66px 0 72px;
  scroll-margin-top: 76px;
}

.vip-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.vip-section-head h2,
.vip-benefit-intro h2,
.vip-faq h2,
.vip-redeem-copy h2 {
  margin: 7px 0 0;
  color: var(--vip-ink);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

.vip-section-head p,
.vip-benefit-intro p,
.vip-redeem-copy p {
  margin: 8px 0 0;
  color: var(--vip-muted);
  font-size: 14px;
  line-height: 1.7;
}

.vip-quota-note {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid #d5e9dc;
  border-radius: 8px;
  background: var(--vip-green-soft);
  color: var(--vip-green-dark);
  font-size: 13px;
  font-weight: 700;
}

.vip-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.vip-plan {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 27px 24px 24px;
  border: 1px solid var(--vip-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(21, 32, 51, .05);
  transition: transform .18s, border-color .18s, box-shadow .18s;
}

.vip-plan:hover {
  transform: translateY(-3px);
  border-color: #bfd8c7;
  box-shadow: 0 14px 34px rgba(21, 32, 51, .09);
}

.vip-plan.featured {
  border: 2px solid var(--vip-green);
  box-shadow: 0 14px 38px rgba(11, 143, 69, .13);
  transform: translateY(-8px);
}

.vip-plan.featured:hover { transform: translateY(-11px); }

.vip-plan-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--vip-yellow-soft);
  color: #a56d00;
  font-size: 11px;
  font-weight: 800;
}

.vip-plan.featured .vip-plan-tag {
  background: var(--vip-green);
  color: #fff;
}

.vip-plan-topline {
  min-height: 54px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-right: 64px;
}

.vip-plan-name {
  color: var(--vip-ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.vip-plan-period {
  margin-top: 5px;
  color: var(--vip-muted);
  font-size: 12px;
}

.vip-plan-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--vip-yellow-soft);
  color: #d99500;
}

.vip-plan-price {
  min-height: 52px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 20px;
  color: var(--vip-ink);
}

.vip-plan-price span { font-size: 16px; font-weight: 800; }
.vip-plan-price b {
  max-width: 100%;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.vip-plan.featured .vip-plan-price { color: var(--vip-green-dark); }

.vip-plan-sub {
  min-height: 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.vip-plan-sub .origin {
  color: #9ca6b5;
  font-size: 12px;
  text-decoration: line-through;
}

.vip-plan-sub .perday {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--vip-blue-soft);
  color: var(--vip-blue);
  font-size: 11px;
  font-weight: 700;
}

.vip-plan-divider {
  height: 1px;
  margin: 20px 0;
  background: var(--vip-line);
}

.vip-plan-features {
  list-style: none;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: #465164;
  font-size: 13px;
  line-height: 1.5;
}

.vip-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.vip-plan-features i {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--vip-green);
  font-size: 13px;
}

.vip-plan-btn {
  width: 100%;
  min-height: 44px;
  margin-top: 24px;
  padding: 10px 14px;
  border: 1px solid #bcd4c4;
  border-radius: 8px;
  background: #fff;
  color: var(--vip-green-dark);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: color .18s, background .18s, border-color .18s, transform .18s;
}

.vip-plan-btn:hover {
  border-color: var(--vip-green);
  background: var(--vip-green-soft);
}

.vip-plan.featured .vip-plan-btn {
  border-color: var(--vip-green);
  background: var(--vip-green);
  color: #fff;
}

.vip-plan.featured .vip-plan-btn:hover { background: var(--vip-green-dark); }
.vip-plan-btn:active { transform: translateY(1px); }
.vip-plan-btn:disabled { cursor: wait; opacity: .68; }

.vip-empty {
  padding: 44px 20px;
  border: 1px dashed #cfd6df;
  border-radius: 8px;
  background: #fff;
  color: var(--vip-muted);
  text-align: center;
}

.vip-benefit-band {
  padding: 68px 0;
  border-top: 1px solid var(--vip-line);
  border-bottom: 1px solid var(--vip-line);
  background: #fff;
}

.vip-benefit-layout {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: 70px;
  align-items: center;
}

.vip-benefit-intro h2 { max-width: 420px; }
.vip-benefit-intro p { max-width: 440px; }

.vip-benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--vip-line);
  border-left: 1px solid var(--vip-line);
}

.vip-benefit-item {
  min-width: 0;
  min-height: 126px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  border-right: 1px solid var(--vip-line);
  border-bottom: 1px solid var(--vip-line);
}

.vip-benefit-item > i {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--vip-green-soft);
  color: var(--vip-green);
  font-size: 17px;
}

.vip-benefit-item:nth-child(2) > i { background: var(--vip-yellow-soft); color: #d99500; }
.vip-benefit-item:nth-child(3) > i { background: var(--vip-blue-soft); color: var(--vip-blue); }
.vip-benefit-item:nth-child(4) > i { background: #f4efff; color: #7357d4; }

.vip-benefit-item b,
.vip-benefit-item span {
  display: block;
}

.vip-benefit-item b {
  color: var(--vip-ink);
  font-size: 15px;
  line-height: 1.45;
}

.vip-benefit-item span {
  margin-top: 6px;
  color: var(--vip-muted);
  font-size: 12px;
  line-height: 1.55;
}

.vip-assurance-section {
  padding: 14px 0;
  border-top: 1px solid var(--vip-line);
  border-bottom: 1px solid var(--vip-line);
  background: #f3f7f4;
  color: var(--vip-ink);
}

.vip-assurance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #dfe7e2;
  border-radius: 8px;
  background: #fff;
}

.vip-assurance-grid > div {
  min-width: 0;
  min-height: 92px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-content: center;
  padding: 20px 24px;
  border-right: 1px solid #e4e9e6;
}

.vip-assurance-grid > div:last-child { border-right: none; }
.vip-assurance-grid i {
  grid-row: 1 / 3;
  align-self: center;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--vip-green-soft);
  color: var(--vip-green);
  font-size: 16px;
}
.vip-assurance-grid b { color: var(--vip-ink); font-size: 14px; line-height: 1.45; }
.vip-assurance-grid span { margin-top: 3px; color: var(--vip-muted); font-size: 11px; }

.vip-help-section { padding: 72px 0 84px; }

.vip-help-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: 56px;
  align-items: start;
}

.vip-faq h2 { margin-bottom: 20px; }

.vip-faq details {
  border-top: 1px solid var(--vip-line);
  background: transparent;
}

.vip-faq details:last-child { border-bottom: 1px solid var(--vip-line); }

.vip-faq summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 2px;
  color: var(--vip-ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.vip-faq summary::-webkit-details-marker { display: none; }
.vip-faq summary i { color: var(--vip-muted); font-size: 11px; transition: transform .18s; }
.vip-faq details[open] summary i { transform: rotate(180deg); }
.vip-faq details p {
  margin: -3px 0 0;
  padding: 0 28px 18px 2px;
  color: var(--vip-muted);
  font-size: 13px;
  line-height: 1.75;
}

.vip-redeem-card {
  padding: 26px;
  border: 1px solid var(--vip-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(21, 32, 51, .06);
}

.vip-redeem-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--vip-yellow-soft);
  color: #d99500;
  font-size: 18px;
}

.vip-redeem-copy { margin-top: 18px; }
.vip-redeem-copy > span {
  color: var(--vip-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}
.vip-redeem-copy h2 { font-size: 22px; }

.vip-redeem-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  margin-top: 22px;
}

.vip-redeem-form label {
  grid-column: 1 / -1;
  color: #445064;
  font-size: 12px;
  font-weight: 700;
}

.vip-redeem-form input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--vip-line);
  border-radius: 8px;
  outline: none;
  background: #f8fafc;
  color: var(--vip-ink);
  font-size: 13px;
  letter-spacing: 0;
  transition: border-color .18s, box-shadow .18s, background .18s;
}

.vip-redeem-form input:focus {
  border-color: var(--vip-green);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 143, 69, .1);
}

.vip-redeem-form button {
  min-height: 44px;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  background: var(--vip-green);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: background .18s, transform .18s;
}

.vip-redeem-form button:hover { background: var(--vip-green-dark); }
.vip-redeem-form button:active { transform: translateY(1px); }
.vip-redeem-form button:disabled { cursor: wait; opacity: .68; }

.vip-btn:focus-visible,
.vip-plan-btn:focus-visible,
.vip-redeem-form input:focus-visible,
.vip-redeem-form button:focus-visible,
.vip-faq summary:focus-visible {
  outline: 3px solid rgba(47, 116, 230, .28);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .vip-hero-copy { width: min(650px, 64%); }
  .vip-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vip-plan.featured { transform: none; }
  .vip-plan.featured:hover { transform: translateY(-3px); }
  .vip-benefit-layout { gap: 38px; }
  .vip-help-layout { gap: 32px; }
  .vip-assurance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vip-assurance-grid > div:nth-child(2) { border-right: none; }
  .vip-assurance-grid > div:nth-child(n+3) { border-top: 1px solid #e4e9e6; }
}

@media (max-width: 760px) {
  .vip-hero { min-height: 620px; }
  .vip-hero-image { object-position: 64% center; }
  .vip-hero-overlay { background: rgba(255, 255, 255, .76); }
  .vip-hero-inner {
    min-height: 620px;
    align-items: flex-start;
    padding: 34px 16px 220px;
  }
  .vip-hero-copy { width: 100%; }
  .vip-hero h1 { max-width: 530px; font-size: 34px; }
  .vip-hero-copy > p { max-width: 520px; }
  .vip-plan-section { padding: 46px 0 52px; }
  .vip-section-head { align-items: flex-start; flex-direction: column; gap: 18px; }
  .vip-plans { grid-template-columns: minmax(0, 1fr); }
  .vip-plan.featured { order: -1; }
  .vip-benefit-layout,
  .vip-help-layout { grid-template-columns: minmax(0, 1fr); }
  .vip-benefit-layout { gap: 32px; }
  .vip-help-layout { gap: 42px; }
  .vip-benefit-band { padding: 52px 0; }
  .vip-help-section { padding: 54px 0 64px; }
}

@media (max-width: 520px) {
  .vip-hero { min-height: 660px; }
  .vip-hero-inner { min-height: 660px; padding: 30px 16px 220px; }
  .vip-hero h1 { font-size: 30px; }
  .vip-hero-copy > p { font-size: 14px; }
  .vip-hero-actions { flex-direction: column; }
  .vip-btn { width: 100%; }
  .vip-hero-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vip-hero-points span { min-width: 0; justify-content: flex-start; }
  .vip-section-head h2,
  .vip-benefit-intro h2,
  .vip-faq h2 { font-size: 23px; }
  .vip-quota-note { width: 100%; align-items: flex-start; }
  .vip-plan { padding: 24px 19px 20px; }
  .vip-plan-topline { padding-right: 56px; }
  .vip-plan-price b { font-size: 34px; }
  .vip-benefit-list { grid-template-columns: minmax(0, 1fr); }
  .vip-benefit-item { min-height: 106px; padding: 20px 16px; }
  .vip-assurance-grid { grid-template-columns: minmax(0, 1fr); }
  .vip-assurance-grid > div { min-height: 82px; border-right: none; border-top: 1px solid #e4e9e6; }
  .vip-assurance-grid > div:first-child { border-top: none; }
  .vip-redeem-card { padding: 22px 18px; }
  .vip-redeem-form { grid-template-columns: minmax(0, 1fr); }
  .vip-redeem-form button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .vip-page *,
  .vip-page *::before,
  .vip-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
