/* ============================================================
   USDT Card — 黑曜石金融质感版
   设计语言：obsidian × platinum × violet
   ============================================================ */

:root {
  /* 底色 / 面板 */
  --ink: #05060a;
  --surface: #0a0c12;
  --surface-2: #0e111a;
  --surface-3: #131722;

  /* 描边 */
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --line-3: rgba(255, 255, 255, 0.2);

  /* 品牌 */
  --violet: #7a5cff;
  --violet-2: #a78bff;
  --platinum: #dde2ec;
  --gold: #c9ae7c;
  --primary-light: #a78bff; /* app.js 兼容 */
  --success: #35d07f;

  /* 文本 */
  --text: #eff2f8;
  --muted: #939bab;
  --dim: #5c6474;

  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 9px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: Georgia, "Times New Roman", "Songti SC", "STSong", serif;
  --font-mono: ui-monospace, "SF Mono", "Menlo", "Consolas", monospace;

  --nav-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  color-scheme: dark;
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip; /* 不建立滚动容器，保证 sticky 导航生效 */
  position: relative;
}

::selection { background: rgba(122, 92, 255, 0.35); color: #fff; }

/* ---------- 全局质感层 ---------- */
.grain,
.grid-overlay,
.aura {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.grain {
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.grid-overlay {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(ellipse 100% 65% at 50% 0%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 100% 65% at 50% 0%, #000 10%, transparent 78%);
}

.aura {
  background:
    radial-gradient(ellipse 55% 45% at 82% 8%, rgba(122, 92, 255, 0.16), transparent 62%),
    radial-gradient(ellipse 45% 40% at 8% 22%, rgba(90, 120, 255, 0.07), transparent 66%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(201, 174, 124, 0.05), transparent 70%);
}

/* ---------- 布局 ---------- */
.app { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  flex: 1;
}

main { display: block; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--nav-h);
  margin: 0 -28px;
  padding: 0 28px;
  border-bottom: 1px solid transparent;
}

/* 全宽玻璃底，避免导航背景只覆盖内容区宽度 */
.nav::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  z-index: -1;
  background: rgba(5, 6, 10, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}

.brand-text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #c9d0de;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* 语言切换：图标按钮 + 展开菜单 */
.lang-switch { position: relative; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  max-width: 156px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.lang-btn:hover { border-color: var(--line-3); color: var(--text); background: rgba(255, 255, 255, 0.055); }
.lang-btn:focus-visible { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(122, 92, 255, 0.18); }
.lang-btn[aria-expanded="true"] { border-color: rgba(122, 92, 255, 0.55); color: var(--text); background: rgba(122, 92, 255, 0.1); }
.lang-btn .globe { flex-shrink: 0; opacity: 0.85; }
.lang-current { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.lang-btn .caret { flex-shrink: 0; opacity: 0.6; transition: transform 0.22s ease; }
.lang-btn[aria-expanded="true"] .caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 5;
  min-width: 182px;
  max-height: min(60vh, 380px);
  padding: 6px;
  overflow-y: auto;
  list-style: none;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: rgba(11, 13, 19, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: langIn 0.16s ease-out;
}

@keyframes langIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.lang-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 11px;
  border-radius: 7px;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.lang-opt:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.lang-opt:focus-visible { outline: none; background: rgba(255, 255, 255, 0.08); color: var(--text); }
.lang-opt[aria-selected="true"] { color: #fff; background: rgba(122, 92, 255, 0.16); }
.lang-opt[aria-selected="true"]::after { content: "✓"; font-size: 11px; color: #a78dff; }

/* ---------- 移动端悬浮申请按钮 ---------- */
.mobile-cta {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  width: calc(100% - 32px);
  max-width: 420px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #8f72ff 0%, #6b46e0 55%, #5832d4 100%);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transform: translateX(-50%);
  box-shadow: 0 10px 30px rgba(107, 70, 224, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  animation: ctaBreathe 3.4s ease-in-out infinite;
}

.mobile-cta:active { animation-play-state: paused; transform: translateX(-50%) scale(0.985); }

/* 呼吸光环 */
.mobile-cta::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 999px;
  border: 1px solid rgba(143, 114, 255, 0.55);
  pointer-events: none;
  animation: ctaRing 3.4s ease-in-out infinite;
}

@keyframes ctaBreathe {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(107, 70, 224, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateX(-50%) scale(1);
  }
  50% {
    box-shadow: 0 14px 42px rgba(107, 70, 224, 0.72), 0 0 0 6px rgba(122, 92, 255, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateX(-50%) scale(1.014);
  }
}

@keyframes ctaRing {
  0%, 100% { opacity: 0; transform: scale(0.97); }
  50% { opacity: 0.8; transform: scale(1.045); }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(122, 92, 255, 0.35); }
.btn:active { transform: translateY(1px) scale(0.995); }

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #8d70ff 0%, #6d4ef2 100%);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 26px -8px rgba(109, 78, 242, 0.65);
  padding: 13px 24px;
}

.btn-primary:hover {
  background: linear-gradient(180deg, #9a80ff 0%, #7a5bff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 16px 34px -10px rgba(109, 78, 242, 0.78);
}

.btn-ghost {
  color: var(--platinum);
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--line-2);
  padding: 13px 24px;
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.055); border-color: var(--line-3); }

.btn-lg { padding: 16px 30px; font-size: 15px; border-radius: 13px; }
.btn-compact { padding: 9px 16px; font-size: 12.5px; border-radius: 9px; }
.btn-block { width: 100%; }

/* ---------- 英雄区 ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  padding: 56px 0 40px;
  align-items: center;
}

.hero-copy { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b9a8ff;
}

.eyebrow-line {
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, rgba(167, 139, 255, 0.9), rgba(167, 139, 255, 0));
}

.display {
  margin: 22px 0 0;
  font-size: clamp(38px, 6.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: #fff;
}

.display-accent {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, #ffffff 8%, #cdbfff 48%, #9f86ff 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

.lead {
  margin-top: 22px;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.actions.center { justify-content: center; }

.micro-note {
  margin-top: 20px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--dim);
  max-width: 440px;
}

/* ---------- 卡片 ---------- */
.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 26px; }

.card-stage {
  position: relative;
  width: 100%;
  max-width: 430px;
  animation: rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.12s both;
  perspective: 1200px;
}

.card-halo {
  position: absolute;
  inset: -18% -12%;
  background: radial-gradient(ellipse at 60% 45%, rgba(122, 92, 255, 0.28), transparent 62%);
  filter: blur(46px);
  z-index: -1;
}

.bankcard {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  aspect-ratio: 1.586;
  border-radius: 20px;
  padding: 22px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(120% 130% at 88% 8%, rgba(122, 92, 255, 0.5) 0%, transparent 46%),
    radial-gradient(100% 120% at 14% 96%, rgba(201, 174, 124, 0.16) 0%, transparent 52%),
    linear-gradient(148deg, #1c2130 0%, #0d1017 46%, #151a27 74%, #0b0d13 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 40px 80px -24px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5);
  transform: rotate(-2.2deg);
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.55s ease;
}

/* 拉丝金属纹理 */
.bankcard::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    108deg,
    rgba(255, 255, 255, 0.055) 0 1px,
    transparent 1px 3px
  );
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(150deg, #000 10%, transparent 55%, #000 96%);
  mask-image: linear-gradient(150deg, #000 10%, transparent 55%, #000 96%);
  pointer-events: none;
}

/* 顶部高光带 */
.bankcard::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  opacity: 0.6;
}

.bankcard:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow:
    0 52px 100px -26px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 0 60px -18px rgba(122, 92, 255, 0.5);
}

.card-sheen {
  position: absolute;
  top: -60%;
  left: -70%;
  width: 55%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: skewX(-16deg) rotate(8deg);
  animation: sweep 7s ease-in-out infinite;
  pointer-events: none;
}

.card-rings {
  position: absolute;
  top: -74px;
  right: -58px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 26px rgba(255, 255, 255, 0.028),
    0 0 0 52px rgba(255, 255, 255, 0.018),
    0 0 0 78px rgba(255, 255, 255, 0.012);
  pointer-events: none;
}

.card-top,
.card-bottom,
.card-mid,
.card-number { position: relative; z-index: 2; }

.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.card-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.94);
}

.card-brand-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet-2);
  box-shadow: 0 0 12px rgba(167, 139, 255, 0.9);
}

.card-mid {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: auto;
}

/* Apple Pay / Google Pay 支付标识 */
.wallet-marks {
  display: flex;
  align-items: center;
  gap: 7px;
}

.pay-mark {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 22px;
  padding: 0 8px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.075);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.pay-mark .pay-logo { margin-top: -1px; }
.gpay-logo { flex-shrink: 0; }

.chip {
  width: 40px;
  height: 30px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55), transparent 40%),
    linear-gradient(120deg, #e8dcc0 0%, #b9a97f 38%, #8d7f5c 68%, #d8cba8 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), 0 2px 6px rgba(0, 0, 0, 0.4);
  position: relative;
}

.chip::before,
.chip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(80, 70, 45, 0.45);
}
.chip::before { top: 33%; }
.chip::after { top: 66%; }

.contactless { color: rgba(255, 255, 255, 0.55); }

.card-number {
  margin-bottom: 22px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: clamp(15px, 2.4vw, 18px);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.card-number .dots { color: rgba(255, 255, 255, 0.3); letter-spacing: 0.06em; }

.card-number .last4 {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.card-type {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.48);
}

.card-tier {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.95);
}

.card-logos { display: flex; align-items: center; gap: 10px; }

.visa-mark {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: rgba(255, 255, 255, 0.95);
}

.card-reflection {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -46px;
  height: 90px;
  background: radial-gradient(ellipse at 50% 0%, rgba(122, 92, 255, 0.22), transparent 70%);
  filter: blur(26px);
  z-index: -1;
}

.card-label { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

.pill {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 6px 13px;
  border-radius: 99px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.pill.active { color: #cfc2ff; border-color: rgba(122, 92, 255, 0.42); background: rgba(122, 92, 255, 0.1); }

/* ---------- 信任条 ---------- */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-item {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #6a7185;
}

.trust-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

/* ---------- 区块 ---------- */
.section { padding: 88px 0 0; }

.section-head { max-width: 620px; margin-bottom: 44px; }

.kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7d8698;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title {
  margin-top: 16px;
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: #fff;
}

.section-sub { margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--muted); }

/* ---------- 特性 ---------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature-card {
  position: relative;
  padding: 30px 6px 30px 0;
  border-bottom: 1px solid var(--line);
}

.feature-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }

.feature-icon {
  width: 26px;
  height: 26px;
  color: #c3b4ff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.feature-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #454c5d;
}

.feature-card h3 {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #eaeef6;
}

.feature-card p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 300px;
}

.feature-card:hover .feature-icon { transform: translateY(-3px); color: #fff; }

/* ---------- 套餐 ---------- */
.plans-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }

.plan-card {
  position: relative;
  overflow: hidden;
  padding: 30px 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.008));
  border: 1px solid var(--line-2);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.plan-card:hover { border-color: var(--line-3); }

.plan-card.featured {
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, #10131c, #0b0e15) padding-box,
    linear-gradient(150deg, rgba(167, 139, 255, 0.7), rgba(201, 174, 124, 0.4) 48%, rgba(255, 255, 255, 0.08)) border-box;
  box-shadow: 0 24px 70px -34px rgba(122, 92, 255, 0.55);
}

.plan-glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(122, 92, 255, 0.22), transparent 66%);
  filter: blur(30px);
  pointer-events: none;
}

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

.plan-tag {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #8b93a5;
  padding: 4px 8px;
  border-radius: 5px;
  border: 1px solid var(--line-2);
}

.plan-tag.premium { color: var(--gold); border-color: rgba(201, 174, 124, 0.42); background: rgba(201, 174, 124, 0.07); }

.plan-code {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: #454c5d;
}

.plan-card h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; color: #fff; }

.plan-card .desc { margin-top: 6px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }

.plan-price {
  margin: 24px 0 4px;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.plan-price small {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--dim);
}

.plan-list {
  list-style: none;
  margin: 24px 0 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-list li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.6;
  color: #c2c9d6;
}

.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 11px;
  height: 6px;
  border-left: 1.3px solid rgba(167, 139, 255, 0.9);
  border-bottom: 1.3px solid rgba(167, 139, 255, 0.9);
  transform: rotate(-45deg);
}

.plan-note {
  margin-top: 24px;
  font-size: 11px;
  line-height: 1.7;
  color: #4f5665;
  max-width: 820px;
}

/* ---------- FAQ ---------- */
.faq-container { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px 26px 0;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #e6eaf3;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #fff; }

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font-size: 15px;
  font-weight: 300;
  line-height: 1;
  color: var(--muted);
  transition: transform 0.28s ease, color 0.2s, border-color 0.2s, background 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: #cfc2ff;
  border-color: rgba(122, 92, 255, 0.45);
  background: rgba(122, 92, 255, 0.1);
}

.faq-content { padding: 0 64px 30px 0; }

.faq-content p {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 14px;
}

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

.faq-end {
  margin-top: 20px !important;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13.5px !important;
  font-weight: 600;
  color: #cfc2ff !important;
}

/* ---------- CTA ---------- */
.cta-section {
  position: relative;
  overflow: hidden;
  margin: 96px 0 0;
  padding: 68px 28px;
  border-radius: 26px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(122, 92, 255, 0.16), transparent 66%),
    linear-gradient(180deg, #0e1119, #080a10);
  text-align: center;
}

.cta-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 72%);
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }

.cta-inner .kicker { justify-content: center; }

.cta-inner .section-sub { max-width: 480px; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.footer {
  margin-top: 84px;
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.footer-brand { display: inline-flex; align-items: center; gap: 10px; }

.footer-mark {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #cfc2ff;
}

.footer-sep { color: #3a4150; font-size: 11px; }

.footer-name { font-size: 12px; color: #7d8698; }

.footer-link {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover { color: #fff; }

.footer-legal {
  font-size: 11px;
  line-height: 1.75;
  color: #454c5a;
  max-width: 720px;
}

/* ---------- 弹窗 ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  padding: 28px 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(3, 4, 7, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
}

.modal-overlay.show { display: block; animation: fade 0.25s ease-out; }

.modal-container {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  padding: 36px 34px 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-2);
  background:
    radial-gradient(ellipse 70% 40% at 50% -10%, rgba(122, 92, 255, 0.14), transparent 68%),
    linear-gradient(180deg, #0d1018, #080a10);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  animation: rise 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.btn-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-close:hover { color: #fff; border-color: var(--line-3); background: rgba(255, 255, 255, 0.08); }
.btn-close:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(122, 92, 255, 0.35); }

.modal-title {
  margin-top: 12px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
}

.modal-desc { margin-top: 10px; margin-bottom: 30px; font-size: 12.5px; line-height: 1.7; color: var(--muted); }

/* 表单 */
.form-group { margin-bottom: 26px; }

.form-label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: #dfe5ef;
}

.form-label .req { font-style: normal; font-size: 12px; color: #8f6dff; }

.form-input {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.025);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-input::placeholder { color: #4d5464; }

.form-input:hover { border-color: rgba(255, 255, 255, 0.18); }

.form-input:focus {
  outline: none;
  border-color: rgba(122, 92, 255, 0.75);
  background: rgba(122, 92, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(122, 92, 255, 0.16);
}

.form-input:invalid:not(:placeholder-shown) { border-color: rgba(255, 107, 107, 0.5); }

.form-input.mono { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.02em; }

.spaced { margin-bottom: 12px; }

.form-hint { display: block; font-size: 11px; line-height: 1.7; color: #5e6577; }

.hint-block { margin-bottom: 12px; }

.form-network {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding: 4px 9px;
  border-radius: 5px;
  border: 1px solid rgba(201, 174, 124, 0.3);
  background: rgba(201, 174, 124, 0.07);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--gold);
}

/* 卡片类型选择 */
.card-type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.card-type-item {
  position: relative;
  display: block;
  padding: 16px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.2s;
}

.card-type-item:hover { border-color: var(--line-3); background: rgba(255, 255, 255, 0.045); }

.card-type-item input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

.card-type-title { display: block; font-size: 13px; font-weight: 600; color: #e9edf5; }
.card-type-sub { display: block; margin-top: 4px; font-size: 10.5px; color: #737c8e; }

.tick {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: all 0.2s;
}

.tick::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4.4px;
  width: 5px;
  height: 3px;
  border-left: 1.4px solid #fff;
  border-bottom: 1.4px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform 0.2s;
}

.card-type-item:has(input:checked) {
  border-color: rgba(122, 92, 255, 0.65);
  background: rgba(122, 92, 255, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(122, 92, 255, 0.16);
}

.card-type-item:has(input:checked) .tick { border-color: transparent; background: var(--violet); }
.card-type-item:has(input:checked) .tick::after { transform: rotate(-45deg) scale(1); }
.card-type-item:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(122, 92, 255, 0.28); }

/* 选项 */
.options-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.options-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.option-label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 8px;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.02);
  font-size: 12px;
  font-weight: 500;
  color: #b7becd;
  cursor: pointer;
  text-align: center;
  transition: all 0.16s;
}

.option-label:hover { border-color: var(--line-3); color: #fff; background: rgba(255, 255, 255, 0.045); }

.option-label input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.option-label:has(input:checked) {
  border-color: rgba(122, 92, 255, 0.7);
  background: rgba(122, 92, 255, 0.13);
  color: #fff;
}

.option-label:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(122, 92, 255, 0.28); }

.warm-hint {
  margin-bottom: 24px;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: #6b7284;
  font-size: 10.5px;
}

.form-result { margin-top: 12px; text-align: center; min-height: 1px; }

/* 回执 */
.receipt-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 5px 11px;
  border-radius: 99px;
  border: 1px solid rgba(53, 208, 127, 0.32);
  background: rgba(53, 208, 127, 0.08);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #5fdfa0;
}

.receipt-title { font-size: 20px; margin-top: 0; }

.receipt-box {
  margin: 20px 0 24px;
  padding: 6px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  font-size: 12.5px;
}

.receipt-row:last-child { border-bottom: none; }

.receipt-label { flex-shrink: 0; color: #6d7486; }

.receipt-value {
  max-width: 62%;
  text-align: right;
  font-weight: 500;
  color: #e2e7f0;
  word-break: break-all;
}

#editApplication { margin-bottom: 26px; }

.contact-card {
  position: relative;
  overflow: hidden;
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(122, 92, 255, 0.28);
  background:
    radial-gradient(ellipse 80% 100% at 50% 0%, rgba(122, 92, 255, 0.14), transparent 70%),
    rgba(255, 255, 255, 0.02);
  text-align: center;
}

.contact-card .kicker { justify-content: center; margin-bottom: 10px; }

.contact-card h4 { font-size: 16px; font-weight: 600; color: #fff; }
.contact-card p { margin: 8px 0 18px; font-size: 11.5px; line-height: 1.7; color: var(--muted); }

#telegramConfigHint { display: none; margin-top: 12px; color: #8a6f5a; }

/* ---------- 动画 ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes sweep {
  0% { left: -70%; opacity: 0; }
  18% { opacity: 1; }
  55% { left: 130%; opacity: 0; }
  100% { left: 130%; opacity: 0; }
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card { padding-right: 32px; }
  .feature-card:nth-child(odd) { border-right: 1px solid var(--line); }
  .feature-card:nth-child(even) { padding-left: 32px; }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.06fr 0.94fr;
    gap: 48px;
    padding: 84px 0 56px;
  }

  .features-grid { grid-template-columns: repeat(4, 1fr); }

  .feature-card { border-bottom: none; padding: 8px 26px 0; }

  .feature-card:nth-child(odd) { border-right: none; }

  .feature-card:nth-child(n + 2) { border-left: 1px solid var(--line); }

  .feature-card:first-child { padding-left: 0; }

  .plans-grid { grid-template-columns: 1fr 1fr; gap: 20px; }

  .section { padding-top: 104px; }
}

@media (max-width: 899px) {
  .hero-visual { order: -1; }
  .card-stage { max-width: 380px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .app { padding-bottom: 92px; }
  .nav { margin: 0 -20px; padding: 0 20px; height: 64px; gap: 12px; }
  .brand { gap: 9px; }
  .brand > svg { width: 32px; height: 32px; }
  .brand-text { font-size: 11.5px; letter-spacing: 0.01em; }
  .nav-cta { display: none; }
  .lang-btn { height: 32px; max-width: none; padding: 0 9px; gap: 0; }
  .lang-current, .lang-btn .caret { display: none; }
  .lang-btn .globe { width: 15px; height: 15px; opacity: 1; }
  .lang-menu { min-width: 176px; }
  .mobile-cta { display: flex; }
  .btn-compact { padding: 8px 13px; font-size: 12px; }
  .display { font-size: 34px; }
  .lead { font-size: 14px; }
  .actions .btn { width: 100%; }
  .modal-container { padding: 28px 20px 24px; border-radius: 18px; }
  .card-type-grid { grid-template-columns: 1fr; }
  .options-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .faq-content { padding-right: 8px; }
  .faq-item summary { font-size: 14.5px; }
  .cta-section { padding: 48px 20px; border-radius: 20px; }
  .bankcard { padding: 18px; border-radius: 16px; }
  .card-mid { margin-top: 14px; }
  .card-number { margin-bottom: 14px; gap: 9px; letter-spacing: 0.05em; font-size: 14px; }
  .pay-mark { height: 20px; padding: 0 7px; font-size: 9px; gap: 2px; }
  .pay-mark .pay-logo { width: 10px; height: 12px; }
  .pay-mark .gpay-logo { width: 11px; height: 11px; }
  .chip { width: 36px; height: 27px; }
  .plan-card { padding: 24px 20px; }
  .receipt-box { padding: 4px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
