:root {
  --bg-page: #edf2fd;
  --bg-panel: rgba(255, 255, 255, 0.96);
  --bg-panel-soft: #f3f6ff;
  --bg-dark: #101012;
  --bg-hero: #16171c;
  --text-main: #20242d;
  --text-body: #4d5565;
  --text-muted: #7b8393;
  --line: rgba(121, 145, 190, 0.24);
  --line-strong: rgba(25, 128, 255, 0.42);
  --blue: #1482ff;
  --blue-strong: #0d6fee;
  --blue-soft: #daf0ff;
  --green: #27c45a;
  --warning: #fff5d5;
  --shadow: 0 14px 40px rgba(95, 135, 214, 0.18);
  --shadow-soft: 0 10px 28px rgba(95, 135, 214, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--text-main);
  background: var(--bg-page);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-main {
  flex: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 15, 18, 0.96);
  backdrop-filter: blur(12px);
}

.site-header-light {
  position: static;
  background: rgba(248, 250, 255, 0.98);
  border-bottom: 1px solid rgba(31, 36, 48, 0.09);
  backdrop-filter: none;
}

.nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 178px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #dfe8ff, #88d1ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.brand-word {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-subtitle {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.58;
}

.site-header .brand-title,
.site-header .brand-subtitle {
  color: #ffffff;
}

.site-header-light .brand-title {
  color: #181c24;
}

.site-header-light .brand-subtitle {
  color: #5f6979;
  opacity: 1;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a,
.nav-actions a {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.84);
}

.nav-links a:hover,
.nav-actions a:hover {
  color: #ffffff;
}

.nav-links-light a,
.nav-actions-light a {
  color: #6f7786;
}

.nav-links-light a:hover,
.nav-actions-light a:hover {
  color: #1d232d;
}

.nav-links .is-active,
.nav-links-light .is-active {
  padding: 9px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1380ff, #2f9dff);
  color: #ffffff;
}

.account-link {
  color: #0aa4ff !important;
}

.buy-button,
.selection-button,
.primary-button,
.secondary-button,
.button-dark,
.button-light,
.pricing-button,
.platform-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.buy-button:hover,
.selection-button:hover,
.primary-button:hover,
.secondary-button:hover,
.button-dark:hover,
.button-light:hover,
.pricing-button:hover,
.platform-button:hover {
  transform: translateY(-1px);
}

.buy-button {
  padding: 11px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #181c24 !important;
  font-weight: 600;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 58% 28%, rgba(123, 130, 255, 0.26), transparent 18%),
    radial-gradient(circle at 62% 30%, rgba(58, 178, 255, 0.18), transparent 28%),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.06), transparent 22%),
    linear-gradient(180deg, rgba(13, 14, 18, 0.96), rgba(18, 21, 30, 0.9)),
    linear-gradient(180deg, #252629, #111216);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 48% 25%, rgba(255, 255, 255, 0.05), transparent 24%),
    repeating-conic-gradient(from 22deg, rgba(255, 255, 255, 0.04) 0deg 2deg, transparent 2deg 13deg);
  opacity: 0.42;
  transform: scale(1.18);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12%;
  height: 42%;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 195, 111, 0.1), transparent 32%),
    linear-gradient(180deg, transparent, rgba(255, 206, 122, 0.06));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 1.08fr;
  align-items: center;
  gap: 64px;
  min-height: 780px;
  padding: 92px 0;
}

.hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(46px, 5vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.hero-copy p {
  margin: 0 0 54px;
  max-width: 460px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  gap: 24px;
}

.primary-button,
.secondary-button {
  min-width: 220px;
  padding: 22px 34px;
  border-radius: 14px;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.primary-button {
  background: linear-gradient(135deg, #2374f0, #2979ff 72%, #2fd0ff);
  color: #ffffff;
}

.secondary-button {
  background: #ffffff;
  color: #151922;
}

.package-panel,
.surface-panel,
.pricing-card,
.info-card,
.use-card,
.faq-item,
.guide-card,
.download-card,
.account-card,
.checkout-card,
.success-card {
  border-radius: var(--radius-lg);
  background: var(--bg-panel);
  box-shadow: var(--shadow);
}

.package-panel {
  position: relative;
  padding: 32px 30px 40px;
  border-radius: var(--radius-xl);
  color: var(--text-main);
  box-shadow:
    0 0 42px rgba(129, 125, 255, 0.34),
    0 30px 60px rgba(17, 24, 40, 0.26);
}

.package-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.package-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 46px);
}

.package-heading a {
  color: var(--blue);
  font-size: 18px;
  font-weight: 500;
}

.package-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr; /* 最小宽度 180px，等宽增长 */
  gap: 10px;
}


.pricing-grid {
  display: grid;
  grid-template-columns:  1fr 1.1fr 1fr;  /* 中间列更宽 */
  gap: 30px;
}

.price-card,
.pricing-card {
  position: relative;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.price-card:hover,
.pricing-card:hover {
  transform: translateY(-4px);
}

.price-card:focus-visible,
.pricing-card:focus-visible {
  outline: 3px solid rgba(32, 125, 255, 0.24);
  outline-offset: 4px;
}

.price-card {
  min-height: 226px;
  padding: 24px 8px;
  border: 1px solid rgba(125, 154, 220, 0.28);
  border-radius: 18px;
  background: #f1f4fc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 6px 14px rgba(75, 121, 197, 0.18);
}

.price-card.featured {
  border-color: rgba(7, 128, 255, 0.88);
  box-shadow: 0 0 0 1px rgba(7, 128, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.badge,
.pricing-badge {
  position: absolute;
  top: -12px;
  left: -4px;
  padding: 5px 12px;
  border-radius: 10px;
  color: #ffffff;
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(31, 114, 219, 0.26);
}

.badge {
  background: linear-gradient(135deg, #1e89ff, #60a2ff);
}

.pricing-badge {
  background: linear-gradient(180deg, #ff7c2c, #d95410);
}

.price-card h3,
.pricing-card h2 {
  margin: 0 0 14px;
  color: #2b313b;
}

.price-card h3 {
  font-size: 18px;
  font-weight: 600;
}

.price,
.pricing-amount {
  margin: 0 0 14px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price strong {
  font-size: 22px;
}

.price span,
.pricing-subtitle,
.section-subtitle {
  color: var(--text-muted);
}

.price-card ul,
.pricing-features {
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-card li,
.pricing-features li {
  position: relative;
  padding-left: 18px;
  color: var(--text-body);
}

.price-card li + li,
.pricing-features li + li {
  margin-top: 10px;
}

.price-card li::before,
.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.package-selection {
  margin-top: 26px;
  padding: 20px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(240, 244, 255, 0.95), rgba(232, 238, 255, 0.92));
  border: 1px solid rgba(95, 138, 230, 0.18);
}

.selection-label {
  margin: 0 0 12px;
  font-size: 13px;
  color: #7a8292;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.selection-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.selection-row strong {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
}

.selection-row span {
  color: #5f6778;
}

.selection-button {
  flex-shrink: 0;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1e7dff, #3ab8ff);
  color: #ffffff;
  font-weight: 700;
}

.light-section {
  background: #eff3ff;
}

.muted-section {
  background: #dce2ed;
}

.feature-section,
.use-section,
.faq-section {
  padding: 90px 0;
}

.section-title {
  margin: 0 0 18px;
  text-align: center;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.section-subtitle {
  margin: 0 auto 46px;
  max-width: 680px;
  text-align: center;
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  max-width: 1020px;
  margin: 0 auto;
}

.feature-grid .info-card:last-child {
  grid-column: 1 / 2;
}

.info-card,
.use-card {
  min-height: 180px;
  padding: 30px 32px;
}

.info-card h3,
.use-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.info-card p,
.use-card p {
  margin: 0;
  color: var(--text-body);
  font-size: 18px;
}

.icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  position: relative;
}

.wifi-icon {
  background: url('images/Union@2x.png') center/contain no-repeat;
}

.wifi-icon::before {
  display: none;
}

.wifi-icon::after {
  display: none;
}

.bolt-icon::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  width: 24px;
  height: 42px;
  background: #000000;
  clip-path: polygon(40% 0, 100% 0, 60% 42%, 92% 42%, 28% 100%, 38% 58%, 12% 58%);
}

.hand-icon {
  background: url('images/Union2@2x.png') center/contain no-repeat;
}



.use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.use-card {
  text-align: center;
}

.faq-wrap {
  max-width: 1120px;
}

.faq-list {
  display: grid;
  gap: 22px;
}

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 28px 74px 28px 24px;
  font-size: 22px;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "\203A";
  position: absolute;
  right: 28px;
  top: 19px;
  color: #868d99;
  font-size: 52px;
  line-height: 1;
  transform: rotate(90deg);
  transition: transform 0.18s ease;
}

.faq-item[open] summary::after {
  transform: rotate(270deg);
}

.faq-item p,
.faq-item .faq-answer {
  margin: 0;
  padding: 0 24px 28px;
  color: var(--text-body);
  font-size: 18px;
  line-height: 1.65;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
  font-size: 18px;
  color: var(--text-main);
}

.more-link span {
  font-size: 28px;
}

.pricing-page,
.support-page,
.account-page,
.checkout-page,
.success-page {
  background: var(--bg-page);
}

.pricing-main,
.support-main,
.account-main,
.checkout-main,
.success-main {
  padding: 42px 0 72px;
}

.pricing-wrap,
.support-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-title {
  margin: 0 0 16px;
  text-align: center;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.page-lead {
  margin: 0 0 38px;
  text-align: center;
  color: var(--text-muted);
  font-size: 18px;
}

.page-lead-left {
  margin-bottom: 22px;
  text-align: left;
}

.billing-toggle {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 48px;
  padding: 4px;
  border-radius: 999px;
  background: #d7d9de;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
}

.billing-option {
  min-width: 88px;
  padding: 8px 18px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #727883;
  font-size: 16px;
}

.billing-option.is-active {
  background: #ffffff;
  color: #242832;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.pricing-grid {
  width: 100%;
  max-width: 844px;
  gap: 30px;
}

/* 淡黄色验证条 */
#email-verification-bar {
  background: #fff3cd;
  border-left-color: #ffeeba;
}
/* 模态框淡黄色主题 */
#verification-modal > div {
  background: #fffef7;
  border: 1px solid #ffe8b6;
}

/* 验证条容器 - 与 .success-grid 同宽且居中 */
#verify-wait-bar {
  max-width: 670px;
  margin: 0 auto 24px auto;
  width: 100%;
  box-sizing: border-box;
  background: #fff3cd;
  border-left: 4px solid #ffeeba;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

/* 验证成功后的绿色提示框 */
#verification-success-message {
  max-width: 670px;
  margin: 0 auto 20px auto;
  padding: 12px 20px;
  background: #d4edda;
  border-left: 4px solid #28a745;
  border-radius: 10px;
  color: #155724;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

#verification-success-message::before {
  content: "✅";
  font-size: 18px;
}

/* 模态框样式微调 */
#verification-modal > div {
  background: #fffef7;
  border: 1px solid #ffe8b6;
  border-radius: 20px;
  box-shadow: 0 20px 35px rgba(0,0,0,0.2);
}

/* 已验证状态下验证条样式改变 */
#verify-wait-bar.verified {
  background: #d4edda;
  border-left-color: #28a745;
}
#verify-wait-bar.verified strong {
  color: #155724;
}
#verify-wait-bar.verified p {
  color: #155724;
}

.pricing-card {
  border: 1px solid rgba(128, 161, 224, 0.2);
}

.pricing-card-featured {
  border-color: rgba(41, 136, 255, 0.7);
  background: linear-gradient(180deg, rgba(160, 207, 255, 0.95), rgba(220, 237, 255, 0.95));
}

.pricing-card-body {
  padding: 30px 24px 28px;
}

.pricing-card h2 {
  margin-bottom: 4px;
  font-size: 28px;
}

.pricing-subtitle {
  margin: 0 0 16px;
  font-size: 16px;
}

.pricing-amount strong {
  font-size: 50px;
  line-height: 1;
  color: #2b2f38;
  letter-spacing: -0.05em;
}

.pricing-amount span {
  color: #2b2f38;
  font-size: 15px;
}

.pricing-features {
  margin: 0 0 22px;
}

.pricing-features li {
  font-size: 17px;
}

.pricing-button {
  width: 100%;
  padding: 15px 18px;
  border-radius: 14px;
  background: #000000;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
}

.support-main .container,
.account-main .container,
.checkout-main .container,
.success-main .container {
  max-width: 1040px;
}

.download-hero,
.support-header,
.checkout-header,
.success-header {
  text-align: center;
}



.platform-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;                       /* 移除图标与文字间距 */
  min-width: auto;               /* 覆盖原来的 298px */
  width: auto;                   /* 宽度由内容撑开 */
  
  margin: 8px auto 40px;         /* 保持上下外边距 */
  border-radius: 14px;
  
  box-shadow: 0 8px 24px rgba(47, 128, 255, 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.platform-button strong,
.platform-button span {
  display: block;
  text-align: left;
}

.platform-button strong {
  font-size: 16px;
}

.platform-button span {
  font-size: 13px;
  opacity: 0.86;
}

.apple-icon,
.download-icon,
.guide-icon,
.warning-icon,
.device-icon,
.copy-icon {
  display: inline-block;
  flex-shrink: 0;
}

.apple-icon {
  display: block;                /* 改为块级，消除多余间隙 */
  width: auto;
  height: auto;
  line-height: 0;               /* 解决内联元素默认行高 */
}

/* 3. SVG 填满容器，保持比例，并限制最大宽度 */
.apple-icon svg {
  width: 100%;
  height: auto;
  max-width: 100%;              /* 防止在小屏幕溢出 */
}

.download-grid,
.guide-grid {
  max-width: 620px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.download-card,
.guide-card,
.checkout-card,
.success-card {
  padding: 22px 24px;
}

.card-title {
  margin: 0 0 18px;
  font-size: 18px;
}

.steps-list,
.guide-steps {
  margin: 0;
  padding-left: 24px;
  color: var(--text-body);
  line-height: 1.65;
  font-size: 17px;
}

.step-stack {
  display: grid;
  gap: 18px;
}

.step-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
}

.step-index {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1580ff;
  color: #ffffff;
  font-weight: 700;
}

.step-content h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.step-content p {
  margin: 0;
  color: var(--text-body);
  font-size: 17px;
  line-height: 1.55;
}

.action-row {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.upgrade-btn {
  background-image: url('images/upgrade-bg.png'); /* 替换为你的实际图片路径 */
  
  background-position: center;
  background-repeat: no-repeat;
  /* 如果希望保留原有深色背景的透明度，可以调整混合模式 */
  /* background-blend-mode: overlay; */
}

.account-card .action-row a {
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.button-dark1,
.button-dark,
.button-light {
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 600;
}

.button-dark1 {
  background-color: #000000;
  color: #ffffff;
}

.button-dark {
  
  color: #ffffff;
}

.button-light {
  background: #ffffff;
  color: #20242d;
  border: 1px solid rgba(67, 86, 120, 0.24);
}

.note-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #eef4ff;
  color: #2f3746;
}

.warning-note {
  background: var(--warning);
  color: #8c5b07;
}

.warning-icon {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 18px solid #ffb11a;
  margin-top: 3px;
}

.guide-icon {
  width: 18px;
  height: 18px;
  border: 2px solid #1a1d24;
  border-radius: 3px;
  position: relative;
}

.guide-icon::before {
  content: "";
  position: absolute;
  left: 7px;
  top: -2px;
  bottom: -2px;
  width: 2px;
  background: #1a1d24;
}

.download-icon {
  width: 18px;
  height: 18px;
  position: relative;
}

.download-icon::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  width: 2px;
  height: 12px;
  background: currentColor;
}

.download-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.faq-page-list {
  max-width: 1000px;
  margin: 0 auto;
}

.account-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
}

.account-column {
  display: grid;
  gap: 24px;
}

.account-card {
  padding: 18px 24px;
}

.account-card h2 {
  margin: 0 0 6px;
  font-size: 17px;
}

.account-card p,
.account-card li,
.account-card small {
  color: var(--text-body);
}

.account-meta {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.account-meta strong {
  display: block;
  margin-top: 8px;
  font-size: 17px;
  color: #131721;
}

.status-badge,
.plan-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 12px;
  border-radius: 8px;
  font-weight: 600;
}

.plan-pill {
  background: #000000;
  color: #ffffff;
}

.status-badge {
  background: #e9f9eb;
  color: #189140;
  border: 1px solid rgba(39, 196, 90, 0.35);
}

.key-row,
.device-row,
.payment-option,
.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.key-box,
.payment-option,
.device-box {
  margin-top: 14px;
  padding: 16px 16px;
  border-radius: 12px;
  background: var(--bg-panel-soft);
}

.key-value {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: none;
  border-radius: 10px;
  background: #ffffff;
  color: #2b313b;
}

.copy-icon {
  width: 14px;
  height: 14px;
  position: relative;
  border: 1.5px solid currentColor;
}

.copy-icon::before {
  content: "";
  position: absolute;
  left: -5px;
  top: -5px;
  width: 14px;
  height: 14px;
  border: 1.5px solid currentColor;
  background: #ffffff;
}

.device-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.device-icon {
  width: 18px;
  height: 30px;
  border: 3px solid #343841;
  border-radius: 3px;
  position: relative;
}

.device-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 4px;
  height: 4px;
  background: #343841;
  border-radius: 999px;
  transform: translateX(-50%);
}

.device-name {
  margin: 0 0 4px;
  font-size: 17px;
  color: #10141d;
}

.device-meta {
  margin: 0;
  color: var(--text-muted);
}

.empty-state {
  max-width: 640px;
  margin: 88px auto 0;
  text-align: center;
  padding: 32px 24px;
}

.empty-state h1 {
  margin: 18px 0 14px;
  font-size: 42px;
}

.empty-state p {
  margin: 0 0 28px;
  color: var(--text-body);
  font-size: 20px;
}

.empty-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  border: 4px solid #5f636d;
  border-radius: 999px;
  position: relative;
}

.empty-icon::before {
  content: "!";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #5f636d;
  font-size: 30px;
  font-weight: 700;
}

.checkout-grid,
.success-grid {
  max-width: 670px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.order-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.order-row:last-child {
  border-bottom: none;
}

.order-row strong {
  font-size: 18px;
}

.checkout-card label,
.checkout-card legend {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}

.field-hint {
  margin: 8px 0 22px;
  color: var(--text-muted);
  font-size: 15px;
}

.text-input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(102, 132, 190, 0.2);
  border-radius: 12px;
  background: #f6f8ff;
}

.payment-options {
  display: grid;
  gap: 12px;
  margin: 12px 0 18px;
}

.payment-option {
  position: relative;
  cursor: pointer;
}

.payment-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.payment-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 16px;
  border: 1px solid rgba(88, 120, 190, 0.16);
  border-radius: 12px;
  background: var(--bg-panel-soft);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.payment-option:hover .payment-body {
  border-color: rgba(20, 130, 255, 0.28);
}

.payment-option input:checked + .payment-body {
  border-color: rgba(20, 130, 255, 0.46);
  box-shadow: inset 0 0 0 1px rgba(20, 130, 255, 0.24);
  background: #eef4ff;
}

.payment-option input:focus-visible + .payment-body {
  outline: 3px solid rgba(20, 130, 255, 0.2);
  outline-offset: 3px;
}

.payment-option input:checked + .payment-body .payment-copy {
  color: #1c2430;
}

.payment-option input:checked + .payment-body .payment-copy strong {
  color: #131821;
}

.payment-copy {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.payment-copy strong {
  display: block;
  margin-bottom: 4px;
}

.payment-copy > span:last-child {
  color: var(--text-body);
  font-size: 16px;
}

.payment-choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.payment-option .choice-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid #1482ff;
  background: transparent;
}

.payment-option input:checked + .payment-body .payment-choice .choice-dot {
  border-color: #1482ff;
  background: radial-gradient(circle at center, #1482ff 0 45%, transparent 46%);
  box-shadow: 0 0 0 3px rgba(20, 130, 255, 0.12);
}

.payment-option input:not(:checked) + .payment-body .payment-choice .choice-dot {
  background: transparent;
  box-shadow: none;
}

.wallet-icon,
.card-icon {
  width: 30px;
  height: 22px;
  background: #2a2e36;
  border-radius: 4px;
  position: relative;
}

.wallet-icon::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #2a2e36;
}

.card-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.36);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 26px;
  color: var(--text-muted);
}

.confirm-button {
  width: 100%;
}

.success-check {
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
  border: 4px solid #30c55d;
  position: relative;
}

.success-check::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 7px;
  width: 18px;
  height: 10px;
  border-left: 5px solid #30c55d;
  border-bottom: 5px solid #30c55d;
  transform: rotate(-45deg);
}

.success-card .key-box {
  margin-bottom: 10px;
}

.cta-row {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 8px;
}

.site-footer {
  background: #0f0f10;
  color: rgba(255, 255, 255, 0.82);
  padding: 56px 0 68px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  margin-bottom: 24px;
}

.site-footer .brand-mark {
  background: linear-gradient(135deg, #e4e6ea, #a1b4d9);
}

.site-footer .brand-title,
.site-footer .brand-subtitle {
  color: #ffffff;
}

.footer-brand p {
  max-width: 280px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
}

.socials {
  display: flex;
  gap: 18px;
}

.socials img {
  width: 24px;
  height: 24px;
  display: block;
  object-position: 90% 90%;
}


.socials a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  
  font-weight: 700;
}

.footer-grid h3 {
  margin: 8px 0 26px;
  color: #ffffff;
  font-size: 18px;
}

.footer-grid a {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
}

@media (max-width: 1120px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 18px 0;
  }

  .nav-links,
  .nav-actions {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-content,
  .account-layout {
    grid-template-columns: 1fr;
  }

  .hero-content {
    min-height: auto;
    gap: 44px;
    padding: 80px 0 88px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy p {
    margin: 0 auto 42px;
  }

  .hero-actions {
    justify-content: center;
  }

  .feature-grid,
  .use-grid,
  .footer-grid,
  .package-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid .info-card:last-child {
    grid-column: auto;
  }

  .pricing-grid {
    max-width: 460px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 32px, 100%);
  }

  .site-header {
    position: static;
  }

  .brand {
    min-width: 0;
  }

  .brand-title {
    font-size: 16px;
  }

  .brand-subtitle {
    font-size: 10px;
  }

  .hero-content {
    gap: 34px;
    padding: 52px 0 58px;
  }

  .hero-copy h1,
  .page-title,
  .empty-state h1 {
    font-size: 38px;
  }

  .hero-actions,
  .action-row,
  .cta-row {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button,
  .button-dark1,
  .button-dark,
  .button-light {
    width: 100%;
    min-width: 0;
  }

  .package-panel,
  .download-card,
  .guide-card,
  .checkout-card,
  .success-card,
  .account-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .package-heading,
  .selection-row,
  .key-row,
  .device-row,
  .order-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .selection-button,
  .pricing-button,
  .confirm-button {
    width: 100%;
  }

  .feature-section,
  .use-section,
  .faq-section,
  .pricing-main,
  .support-main,
  .account-main,
  .checkout-main,
  .success-main {
    padding: 34px 0 56px;
  }

  .section-title {
    margin-bottom: 16px;
    font-size: 30px;
  }

  .section-subtitle,
  .page-lead {
    margin-bottom: 28px;
    font-size: 16px;
  }

  .faq-item summary {
    padding: 22px 54px 22px 18px;
    font-size: 19px;
  }

  .faq-item summary::after {
    right: 18px;
    top: 16px;
    font-size: 42px;
  }

  .faq-item p,
  .faq-item .faq-answer,
  .steps-list,
  .guide-steps,
  .step-content p {
    font-size: 16px;
  }

  .platform-button {
    width: 100%;
  }

  .footer-grid {
    gap: 30px;
  }

  
}


/* 强制两个按钮平分宽度 - 高优先级覆盖 */
  .cta-row {
    max-width: 670px;
    margin: 0 auto;
    margin-top: 40px;
    display: flex !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .cta-row a,
  .cta-row .button-dark1,
  .cta-row .button-light {
    flex: 1 !important;           /* 平分剩余宽度 */
    width: auto !important;       /* 避免固定宽度干扰 */
    min-width: 0 !important;      /* 防止内容撑开 */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    padding: 12px 0 !important;    /* 上下内边距，左右由flex居中 */
    margin: 0 !important;
  }

  /* 保持图标和文字间距 */
  .cta-row .download-icon,
  .cta-row .guide-icon {
    margin-right: 6px !important;
  }