:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --card: #ffffff;
  --text: #14161c;
  --text-2: #3d4350;
  --muted: #667085;
  --primary: #e94560;
  --primary-2: #ff6b6b;
  --purple: #863bff;
  --cyan: #0ea5e9;
  --blue: #3a7bd5;
  --green: #10b981;
  --gold: #f5a623;
  --border: #e8eaf0;
  --border-strong: #d8dce4;
  --grad-primary: linear-gradient(135deg, #ff6b6b 0%, #e94560 55%, #863bff 100%);

  /* 品牌主色（改这里即可整体换色）：珊瑚红 → 紫，与插件 logo 统一 */
  --brand-red: #f85f67;
  --brand-purple: #a43ed0;
  --brand-gradient: linear-gradient(135deg, var(--brand-red), var(--brand-purple));
  --shadow-sm: 0 1px 2px rgba(20, 22, 28, 0.05);
  --shadow-md: 0 12px 30px rgba(20, 22, 28, 0.08);
  --shadow-lg: 0 28px 70px rgba(20, 22, 28, 0.12);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container: 1180px;
  --header-h: 72px;
  --font: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
}

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

button {
  font-family: inherit;
}

::selection {
  background: rgba(233, 69, 96, 0.16);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f2f3f7;
}

::-webkit-scrollbar-thumb {
  background: #d5d9e2;
  border-radius: 6px;
  border: 2px solid #f2f3f7;
}

::-webkit-scrollbar-thumb:hover {
  background: #bcc2cf;
}

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 104px 0;
}

.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 700px;
  margin: 0 auto 58px;
  text-align: center;
}

.kicker {
  display: inline-block;
  padding: 6px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--primary);
  background: rgba(233, 69, 96, 0.07);
  border: 1px solid rgba(233, 69, 96, 0.22);
  border-radius: 999px;
}

.section-title {
  font-size: clamp(27px, 3.4vw, 40px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
}

.section-desc {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
}

.grad-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}

.btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.22s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled,
.btn.is-loading {
  cursor: not-allowed;
  opacity: 0.72;
}

.btn-primary {
  color: #fff;
  background: var(--brand-gradient);
  box-shadow: 0 10px 26px rgba(231, 69, 111, 0.28);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(231, 69, 111, 0.36);
}

.btn-ghost {
  color: var(--text);
  background: #fff;
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover:not(:disabled) {
  border-color: rgba(233, 69, 96, 0.5);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline {
  color: var(--text-2);
  background: #fff;
  border-color: var(--border-strong);
}

.btn-outline:hover:not(:disabled) {
  border-color: rgba(233, 69, 96, 0.5);
  color: var(--primary);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px rgba(20, 22, 28, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-logo {
  width: 34px;
  height: 34px;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.22s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-primary);
  transition: width 0.28s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

.nav-auth-link {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 6px 5px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.user-chip-main {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
}

.user-phone {
  font-weight: 600;
  color: var(--text);
}

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

.user-points strong {
  color: var(--primary);
}

.user-logout {
  padding: 6px 12px;
  font-size: 12.5px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.user-logout:hover {
  color: var(--primary);
  border-color: rgba(233, 69, 96, 0.45);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  padding: calc(var(--header-h) + 84px) 0 76px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -220px 0 auto;
  height: 720px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 52% at 32% 46%, rgba(233, 69, 96, 0.12), transparent 70%),
    radial-gradient(ellipse 42% 50% at 68% 40%, rgba(134, 59, 255, 0.1), transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 30%, rgba(0, 194, 255, 0.07), transparent 70%);
}

.hero-copy {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  font-size: 13px;
  color: var(--primary);
  background: rgba(233, 69, 96, 0.07);
  border: 1px solid rgba(233, 69, 96, 0.24);
  border-radius: 999px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-2);
  box-shadow: 0 0 0 0 rgba(233, 69, 96, 0.5);
  animation: pulse 2.2s infinite;
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

.rotator {
  position: relative;
  display: inline-block;
  min-width: 2.2em;
  vertical-align: bottom;
}

.rotating-word {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(0.5em);
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.rotating-word.is-active {
  position: relative;
  opacity: 1;
  transform: none;
}

.hero-sub {
  max-width: 620px;
  margin: 22px auto 0;
  font-size: 16.5px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta svg {
  width: 15px;
  height: 15px;
  color: var(--green);
}

.hero-visual {
  position: relative;
  max-width: 880px;
  margin: 64px auto 0;
}

.window {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  background: #fbfbfd;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red {
  background: #ff5f57;
}

.dot-yellow {
  background: #febc2e;
}

.dot-green {
  background: #28c840;
}

.window-title {
  margin-left: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.window-tag {
  margin-left: auto;
  padding: 3px 10px;
  font-size: 11px;
  color: var(--green);
  background: rgba(16, 185, 129, 0.09);
  border: 1px solid rgba(16, 185, 129, 0.24);
  border-radius: 999px;
}

.canvas {
  position: relative;
  height: 428px;
  background-color: #f8f9fc;
  background-image:
    linear-gradient(rgba(20, 22, 28, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 22, 28, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}

.edges {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.edge {
  fill: none;
  stroke: rgba(233, 69, 96, 0.55);
  stroke-width: 1.6;
  stroke-dasharray: 6 6;
  animation: edge-dash 1.6s linear infinite;
}

.edge-dot {
  fill: var(--primary-2);
  filter: drop-shadow(0 0 4px rgba(233, 69, 96, 0.8));
}

.node {
  position: absolute;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 22, 28, 0.1);
}

.node-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.node-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.icon-text {
  color: #fff;
  background: linear-gradient(135deg, #ff6b6b, #e94560);
}

.icon-img {
  background: linear-gradient(135deg, #00d2ff, #3a7bd5);
}

.icon-img::before {
  content: '';
  width: 9px;
  height: 9px;
  border: 1.6px solid #fff;
  border-radius: 3px;
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.5);
}

.icon-video {
  background: linear-gradient(135deg, #863bff, #5b2bd6);
}

.icon-video::before {
  content: '';
  border-left: 7px solid #fff;
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
}

.icon-audio {
  background: linear-gradient(135deg, #10b981, #059669);
}

.icon-audio::before {
  content: '';
  width: 3px;
  height: 9px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 5px 0 0 #fff;
}

.node-text {
  top: 13%;
  left: 4%;
  width: 32%;
}

.node-text p {
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-2);
}

.copy-text {
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0;
}

.node-image {
  top: 34%;
  left: 36%;
  width: 32%;
}

.thumb {
  position: relative;
  height: 118px;
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 22%, rgba(0, 210, 255, 0.5), transparent 42%),
    radial-gradient(circle at 22% 78%, rgba(134, 59, 255, 0.55), transparent 46%),
    radial-gradient(circle at 50% 55%, rgba(233, 69, 96, 0.42), transparent 62%),
    linear-gradient(140deg, #2a1f49, #0f1426);
}

.thumb-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.24) 50%, transparent 68%);
  transform: translateX(-100%);
  animation: shimmer 3.4s ease-in-out infinite;
}

.thumb-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 8px;
  font-size: 10px;
  color: #fff;
  background: rgba(10, 13, 24, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.node-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

.node-meta > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.node-meta .ok {
  flex-shrink: 0;
  padding: 2px 8px;
  color: var(--green);
  background: rgba(16, 185, 129, 0.1);
  border-radius: 999px;
}

.node-video {
  top: 4%;
  right: 2%;
  width: 26%;
}

.video-thumb {
  position: relative;
  height: 86px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 28% 30%, rgba(134, 59, 255, 0.5), transparent 55%),
    radial-gradient(circle at 78% 74%, rgba(0, 210, 255, 0.35), transparent 55%),
    linear-gradient(150deg, #1d2140, #0d1122);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: rgba(233, 69, 96, 0.85);
  box-shadow: 0 8px 22px rgba(233, 69, 96, 0.45);
}

.play-btn svg {
  width: 15px;
  height: 15px;
  margin-left: 2px;
}

.node-audio {
  right: 4%;
  bottom: 6%;
  width: 30%;
}

.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 34px;
}

.waveform span {
  flex: 1;
  height: var(--h);
  min-height: 4px;
  border-radius: 3px;
  background: linear-gradient(180deg, #00d2ff, #3a7bd5);
  opacity: 0.85;
  animation: wave 1.6s ease-in-out infinite;
}

.waveform span:nth-child(2n) {
  animation-delay: 0.18s;
}

.waveform span:nth-child(3n) {
  animation-delay: 0.36s;
}

.prompt-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-top: 1px solid var(--border);
  background: #fbfbfd;
}

.prompt-icon {
  display: inline-flex;
  color: var(--primary);
}

.prompt-icon svg {
  width: 17px;
  height: 17px;
}

.prompt-text {
  flex: 1;
  font-size: 12.5px;
  color: #9aa1af;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prompt-btn {
  pointer-events: none;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
  animation: float 5.5s ease-in-out infinite;
}

.float-a {
  top: -26px;
  right: 10px;
}

.float-b {
  top: 56%;
  left: -34px;
  animation-delay: 1.4s;
}

.float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.float-icon svg {
  width: 18px;
  height: 18px;
}

.icon-cyan {
  color: var(--cyan);
  background: rgba(14, 165, 233, 0.1);
}

.icon-green {
  color: var(--green);
  background: rgba(16, 185, 129, 0.1);
}

.float-text {
  display: flex;
  flex-direction: column;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}

.float-text strong {
  font-size: 12.5px;
  color: var(--text);
}

.stats {
  padding: 10px 0 6px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.stat {
  padding: 30px 22px;
  text-align: center;
  border-left: 1px solid var(--border);
}

.stat:first-child {
  border-left: none;
}

.stat-value {
  display: block;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--tone), 0.45);
  box-shadow: 0 18px 40px rgba(20, 22, 28, 0.1);
}

.feature-card[data-tone='red'] {
  --tone: 233, 69, 96;
}

.feature-card[data-tone='purple'] {
  --tone: 134, 59, 255;
}

.feature-card[data-tone='cyan'] {
  --tone: 14, 165, 233;
}

.feature-card[data-tone='green'] {
  --tone: 16, 185, 129;
}

.feature-card[data-tone='blue'] {
  --tone: 58, 123, 213;
}

.feature-card[data-tone='gold'] {
  --tone: 245, 166, 35;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 13px;
  color: rgb(var(--tone));
  background: rgba(var(--tone), 0.09);
  border: 1px solid rgba(var(--tone), 0.22);
}

.feature-icon svg {
  width: 23px;
  height: 23px;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--text);
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
}

.models-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 66px;
  align-items: center;
}

.models-copy .section-title {
  margin-top: 4px;
}

.models-copy .section-desc {
  margin-top: 22px;
}

.gateway-list {
  margin-top: 30px;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 20px;
}

.gateway-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: var(--text-2);
}

.gateway-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(233, 69, 96, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e94560' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 9px no-repeat;
}

.models-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  padding: 44px 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 20%, rgba(233, 69, 96, 0.07), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.06), transparent 55%),
    #fff;
  box-shadow: var(--shadow-sm);
}

.model-pill {
  padding: 11px 22px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-2);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.model-pill:hover {
  transform: translateY(-4px);
  color: var(--primary);
  border-color: rgba(233, 69, 96, 0.45);
  box-shadow: 0 12px 26px rgba(233, 69, 96, 0.16);
}

.pill-lg {
  font-size: 16px;
  padding: 13px 26px;
}

.pill-more {
  color: var(--muted);
  border-style: dashed;
  cursor: default;
}

.pill-more:hover {
  transform: none;
  color: var(--muted);
  border-color: var(--border-strong);
  box-shadow: none;
}

.package-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 44px;
}

.package-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.package-step strong {
  display: block;
  font-size: 14.5px;
  color: var(--text);
}

.package-step p {
  font-size: 12.5px;
  color: var(--muted);
}

.step-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(233, 69, 96, 0.09);
  border: 1px solid rgba(233, 69, 96, 0.24);
  border-radius: 50%;
}

/* 栏目切换（开通会员 / 积分流量充值） */
.catalog-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto 28px;
  padding: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.catalog-tab {
  flex: 1;
  max-width: 240px;
  padding: 11px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.catalog-tab:hover {
  color: var(--text);
}

.catalog-tab.is-active {
  color: var(--text);
  background: #fff;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.08);
}

.catalog-tab:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* 套餐区居中小标签（参考客户端「选择您的套餐周期」样式） */
.catalog-caption {
  display: flex;
  justify-content: center;
  margin: 0 auto 26px;
}

.catalog-caption span {
  display: inline-block;
  padding: 8px 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
}

/* 会员套餐卡片（在积分卡片基础上的差异化点缀） */
.package-card-member .package-points strong {
  color: var(--primary);
}

.packages-grid[hidden] {
  display: none;
}

.packages-grid {
  display: grid;
  /* 自适应：≤4 个铺满整行；>4 个自动换行且每行最多 4 个（1180px 容器 ÷ 265px 最小列宽） */
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.package-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.package-card.is-featured {
  border-color: rgba(233, 69, 96, 0.5);
  background:
    radial-gradient(circle at 50% 0%, rgba(233, 69, 96, 0.09), transparent 60%),
    linear-gradient(170deg, rgba(233, 69, 96, 0.05), rgba(134, 59, 255, 0.04)),
    #fff;
  box-shadow: 0 22px 54px rgba(233, 69, 96, 0.14);
}

.package-flag {
  position: absolute;
  top: -13px;
  right: 24px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--grad-primary);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(233, 69, 96, 0.35);
}

.package-card h3 {
  font-size: 16.5px;
  color: var(--muted);
  font-weight: 600;
}

.package-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 14px 0 4px;
  color: var(--text);
}

.package-price .currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.package-price strong {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.package-points {
  font-size: 14px;
  color: var(--muted);
}

.package-points strong {
  font-size: 17px;
  color: var(--primary);
}

.package-list {
  margin: 22px 0 28px;
  list-style: none;
  display: grid;
  gap: 11px;
}

.package-list li {
  position: relative;
  padding-left: 26px;
  font-size: 13.5px;
  color: var(--text-2);
}

.package-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.package-card .btn {
  margin-top: auto;
}

.package-card-skeleton {
  height: 320px;
  border: 1px solid var(--border);
  background: linear-gradient(100deg, #f4f5f9 30%, #fafbfd 50%, #f4f5f9 70%);
  background-size: 220% 100%;
  animation: skeleton 1.4s ease-in-out infinite;
  box-shadow: none;
}

.package-card-skeleton:hover {
  transform: none;
}

.package-state {
  grid-column: 1 / -1;
  padding: 46px 24px;
  text-align: center;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  color: var(--muted);
}

.package-state p {
  margin-bottom: 16px;
}

.packages-note {
  margin-top: 30px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.pack-page {
  padding-top: calc(var(--header-h) + 70px);
  /* 很浅的灰底，衬托白色套餐卡片 */
  background: linear-gradient(180deg, #fbfbfd 0%, #f5f6f9 100%);
}

.account-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto 34px;
  padding: 20px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.account-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.account-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--grad-primary);
  border-radius: 50%;
}

.account-avatar svg {
  width: 24px;
  height: 24px;
}

.account-text {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

.account-text strong {
  font-size: 16px;
  color: var(--text);
}

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

.account-text em {
  font-style: normal;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.pay-result {
  max-width: 760px;
  margin: 0 auto 22px;
  padding: 14px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.pay-result[data-tone='success'] {
  color: #067647;
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.32);
}

.pay-result[data-tone='error'] {
  color: #b42318;
  background: rgba(233, 69, 96, 0.07);
  border-color: rgba(233, 69, 96, 0.3);
}

.modal-notice {
  margin-bottom: 14px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: #b45309;
  background: rgba(245, 166, 35, 0.09);
  border: 1px solid rgba(245, 166, 35, 0.32);
  border-radius: 10px;
}

.recharge-help {
  margin-top: 40px;
  text-align: center;
}

.recharge-help .section-desc {
  margin-bottom: 18px;
}

.download-section {
  padding-bottom: 120px;
}

.download-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.download-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 20px);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.download-bar-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.download-bar-copy strong {
  font-size: 18px;
  color: var(--text-1);
}

.download-bar-copy span {
  font-size: 14px;
  color: var(--text-2);
}

.download-bar .btn {
  flex-shrink: 0;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.download-card:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 69, 96, 0.4);
  box-shadow: var(--shadow-md);
}

.download-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex-shrink: 0;
}

.download-icon svg {
  width: 22px;
  height: 22px;
}

.download-icon[data-tone='blue'] {
  color: var(--blue);
  background: rgba(58, 123, 213, 0.1);
}

.download-icon[data-tone='cyan'] {
  color: var(--cyan);
  background: rgba(14, 165, 233, 0.1);
}

.download-icon[data-tone='purple'] {
  color: var(--purple);
  background: rgba(134, 59, 255, 0.1);
}

.download-text {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

.download-text strong {
  font-size: 15px;
  color: var(--text);
}

.download-text em {
  font-style: normal;
  font-size: 12.5px;
  color: var(--muted);
}

.download-arrow {
  width: 18px;
  height: 18px;
  margin-left: auto;
  color: #b6bcc8;
  transition: transform 0.28s ease, color 0.28s ease;
}

.download-card:hover .download-arrow {
  color: var(--primary);
  transform: translateX(4px);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 60px 0 28px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--muted);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--text);
}

.footer-col a {
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.22s ease, transform 0.22s ease;
  width: fit-content;
}

.footer-col a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.footer-slogan {
  letter-spacing: 3px;
  font-size: 12px;
  text-transform: uppercase;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: calc(var(--header-h) + 44px) 4% 64px;
  background:
    radial-gradient(ellipse 42% 40% at 22% 12%, rgba(233, 69, 96, 0.08), transparent 70%),
    radial-gradient(ellipse 40% 38% at 78% 16%, rgba(134, 59, 255, 0.07), transparent 70%),
    var(--bg-soft);
}

.auth-card {
  width: 100%;
  max-width: 430px;
  padding: 40px 36px 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.auth-head {
  text-align: center;
  margin-bottom: 26px;
}

.auth-logo {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
}

.auth-head h1 {
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.auth-head p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  margin-bottom: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.auth-tab {
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.auth-tab.is-active {
  color: var(--text);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.auth-form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

.field input {
  width: 100%;
  height: 46px;
  padding: 0 15px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder {
  color: #a7adba;
}

.field input:focus {
  border-color: rgba(233, 69, 96, 0.6);
  box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.12);
}

.field-inline {
  display: flex;
  gap: 10px;
}

.field-inline input {
  flex: 1;
}

.btn-code {
  flex-shrink: 0;
  height: 46px;
  padding: 0 16px;
  font-size: 13.5px;
  border-radius: 12px;
}

.form-error {
  padding: 10px 14px;
  font-size: 13px;
  color: #d92d4b;
  background: rgba(233, 69, 96, 0.07);
  border: 1px solid rgba(233, 69, 96, 0.24);
  border-radius: 10px;
}

.auth-foot {
  margin-top: 22px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}

.auth-foot a {
  color: var(--primary);
  font-weight: 600;
}

.auth-foot a:hover {
  text-decoration: underline;
}

.auth-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 4%;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 25, 0.45);
  backdrop-filter: blur(3px);
}

.modal-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(560px, 100%);
  max-height: min(82vh, 720px);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 34px 90px rgba(15, 18, 25, 0.28);
  overflow: hidden;
  animation: modal-in 0.24s ease;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

.modal-head h3 {
  font-size: 16.5px;
  color: var(--text);
}

.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.modal-close:hover {
  color: var(--primary);
  border-color: rgba(233, 69, 96, 0.4);
}

.modal-close svg {
  width: 16px;
  height: 16px;
}

.modal-body {
  flex: 1;
  padding: 24px 22px;
  overflow-y: auto;
}

.modal-loading {
  padding: 36px 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.modal-foot {
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  background: #fbfbfd;
}

/* ===== 支付宝扫码支付弹窗 ===== */
.modal-dialog-qr {
  width: min(420px, 100%);
}

.qrpay-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 22px;
  text-align: center;
}

.qrpay-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.qrpay-amount-label {
  font-size: 13px;
  color: var(--muted);
}

.qrpay-amount-value {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--primary);
}

.qrpay-code {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 216px;
  height: 216px;
  padding: 8px;
  font-size: 13px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 18, 25, 0.06);
}

.qrpay-code img {
  display: block;
  width: 100%;
  height: 100%;
}

.qrpay-channel {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  text-align: left;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.qrpay-channel-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: #1677ff;
  border-radius: 9px;
}

.qrpay-channel-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.qrpay-channel-text strong {
  font-size: 13.5px;
  color: var(--text);
}

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

.qrpay-status {
  font-size: 12.5px;
  color: var(--muted);
}

.qrpay-foot {
  display: flex;
  gap: 10px;
}

.qrpay-foot .btn {
  flex: 1;
}

.recharge-rich {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-2);
}

.recharge-rich img {
  max-width: 100%;
  height: auto;
  margin: 10px auto;
  border-radius: 12px;
}

.recharge-rich h1,
.recharge-rich h2,
.recharge-rich h3,
.recharge-rich h4 {
  margin: 14px 0 8px;
  color: var(--text);
}

.recharge-rich p {
  margin: 8px 0;
}

.recharge-rich a {
  color: var(--primary);
  text-decoration: underline;
}

.recharge-rich table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}

.recharge-rich td,
.recharge-rich th {
  padding: 8px 10px;
  border: 1px solid var(--border);
  font-size: 13.5px;
}

.recharge-rich ul,
.recharge-rich ol {
  padding-left: 20px;
  margin: 8px 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

.delay-4 {
  transition-delay: 0.32s;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(233, 69, 96, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(233, 69, 96, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(233, 69, 96, 0);
  }
}

@keyframes edge-dash {
  to {
    stroke-dashoffset: -24;
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  55%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.75);
  }
  50% {
    transform: scaleY(1.25);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-11px);
  }
}

@keyframes skeleton {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -80% 0;
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .models-inner {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .download-actions {
    grid-template-columns: 1fr 1fr;
  }

  .download-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .download-bar .btn {
    justify-content: center;
  }

  .download-actions .download-card:last-child {
    grid-column: 1 / -1;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-actions {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin: 0;
    padding: 18px 5% 26px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 22px 40px rgba(20, 22, 28, 0.08);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
  }

  body.nav-open .nav-links {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 4px;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-auth-link {
    display: flex;
    color: var(--primary) !important;
    font-weight: 600;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-top: none;
  }

  .stat:nth-child(2n) {
    border-left: 1px solid var(--border);
  }

  .package-steps,
  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }

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

  .account-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 76px 0;
  }

  .hero {
    padding-top: calc(var(--header-h) + 52px);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .features-grid,
  .download-actions {
    grid-template-columns: 1fr;
  }

  .download-actions .download-card:last-child {
    grid-column: auto;
  }

  .node-video,
  .node-audio {
    display: none;
  }

  .node-text {
    width: 42%;
  }

  .node-image {
    left: 46%;
    width: 46%;
  }

  .float-a {
    top: -30px;
    right: 6px;
  }

  .float-b {
    display: none;
  }

  .canvas {
    height: 360px;
  }

  .gateway-list {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .auth-card {
    padding: 32px 22px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* 注册页图形验证码图片（占获取验证码按钮位置，点击刷新） */
.captcha-img {
  flex-shrink: 0;
  width: 120px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border, #e5e7eb);
  object-fit: contain;
  background: #f4f6fb;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.2s ease;
}

.captcha-img:hover {
  opacity: 0.82;
}

.captcha-img.is-loading {
  opacity: 0.45;
  pointer-events: none;
}

/* 下载页教学视频 */
.download-video {
    margin: 24px auto 0;
    width: 100%;
    max-width: 960px;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}
.download-video video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #000;
}
@media (max-width: 640px) {
    .download-video {
        margin-top: 16px;
        border-radius: 12px;
    }
}