/* started-site 风格 — 红牛联动官网 */
* { scroll-behavior: smooth; box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: #f9fafb;
  color: #1f2937;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
@media (min-width: 768px) { .md-flex { display: flex !important; } .md-hidden { display: none !important; } }
@media (max-width: 767px) { .md-flex { display: none !important; } }

.btn-red {
  background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 71, 87, 0.4);
}
.btn-yellow {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}
.highlight {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 导航 */
.st-yumeng-site-nav {
  background: #000;
  color: #fff;
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.st-tan-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.st-started-nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
  min-width: 0;
}
.st-started-nav-brand span:last-of-type { white-space: nowrap; }
.st-yumeng-nav-main {
  display: none;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: center;
  min-width: 0;
}
.st-started-nav-brand img { width: 28px; height: 28px; border-radius: 6px; object-fit: contain; }
.st-started-nav-brand span { font-size: 20px; font-weight: 700; }
.ver-badge {
  background: #eab308;
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.st-tan-nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}
.st-tan-nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: color .2s;
}
.st-tan-nav-links a:hover, .st-tan-nav-links a.active { color: #ef4444; }
.st-tan-nav-links a.active { font-weight: 700; }
.st-started-nav-actions {
  display: none;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}
.st-started-nav-actions .nav-dl-btn {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
.nav-link-glow {
  background: linear-gradient(90deg, #ffde3b, #ff3c71 25%, #3246ff 50%, #12ffe0 75%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.nav-promo-wrap {
  text-decoration: none;
  flex-shrink: 0;
}
.nav-promo-glow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  border: 2.5px solid rgba(255,255,255,.2);
  background: linear-gradient(90deg, #ffde3b, #ff3c71 25%, #3246ff 50%, #12ffe0 75%);
  box-shadow: 0 0 24px 2px rgba(255,129,171,.6), 0 4px 18px 4px rgba(255,244,0,.13);
  transition: transform .11s cubic-bezier(.17,.67,.83,.67), box-shadow .23s, filter .2s;
  animation: navPromoPulse 2.4s ease-in-out infinite;
}
.nav-promo-wrap:hover .nav-promo-glow {
  transform: scale(1.05);
  filter: brightness(1.08) saturate(1.5);
}
.nav-promo-glow i { animation: navBounceSlow 2s ease-in-out infinite; }
.nav-promo-badge {
  background: #facc15;
  color: #000;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  animation: navBadgeBlink 1.2s step-end infinite;
}
@keyframes navPromoPulse {
  0%, 100% { box-shadow: 0 0 24px 2px rgba(255,129,171,.6), 0 4px 18px 4px rgba(255,244,0,.13); }
  50% { box-shadow: 0 0 32px 4px rgba(255,129,171,.75), 0 6px 22px 6px rgba(255,244,0,.2); }
}
@keyframes navBounceSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes navBadgeBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
.nav-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.35);
  padding: 8px 16px;
  border-radius: 999px;
  transition: background .2s, border-color .2s;
}
.nav-register:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.55);
  color: #fff;
}
.mobile-nav-register {
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  padding: 12px;
  white-space: nowrap;
}
.nav-menu-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}
@media (min-width: 768px) {
  .st-yumeng-nav-main { display: flex; }
  .st-tan-nav-links { display: flex; }
  .st-started-nav-actions { display: flex; }
  .nav-menu-btn { display: none; }
}
@media (max-width: 767px) {
  .st-tan-nav-inner { flex-wrap: nowrap; }
}

/* Hero */
.st-started-hero-banner {
  position: relative;
  background: linear-gradient(to bottom right, #111827, #000, #1f2937);
  color: #fff;
  padding: 80px 24px 100px;
  overflow: hidden;
  text-align: center;
}
.st-started-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .1;
  background:
    radial-gradient(circle at 10% 20%, #ef4444 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, #eab308 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, #a855f7 0%, transparent 50%);
}
.hero-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.st-started-hero-banner h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 20px;
}
.st-started-hero-banner h1 .red { color: #ef4444; }
.hero-apps-line {
  font-size: clamp(15px, 2.2vw, 20px);
  color: #facc15;
  font-weight: 600;
  margin: 0 auto 20px;
  line-height: 1.85;
  max-width: 880px;
}
.st-started-hero-banner .lead {
  font-size: 18px;
  color: #d1d5db;
  line-height: 1.85;
  margin: 0 auto 32px;
  max-width: 760px;
}
.st-started-hero-banner .lead .hero-highlight { color: #facc15; font-weight: 700; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}
.hero-actions .btn-red {
  padding: 16px 40px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 700;
}
.hero-actions .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  border: 2px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  text-decoration: none;
  backdrop-filter: blur(4px);
  white-space: nowrap;
  line-height: 1.2;
}
.hero-actions .btn-outline i {
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions .btn-red,
  .hero-actions .btn-outline {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
  }
}
.hero-actions .btn-outline:hover { background: rgba(255,255,255,.15); }
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.hero-tag {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid;
}
.hero-tag.green { background: rgba(34,197,94,.15); color: #4ade80; border-color: #22c55e; }
.hero-tag.blue { background: rgba(59,130,246,.15); color: #60a5fa; border-color: #3b82f6; }
.hero-tag.purple { background: rgba(168,85,247,.15); color: #c084fc; border-color: #a855f7; }

/* 区块 */
.section-light {
  padding: 80px 24px;
  background: linear-gradient(to bottom right, #f9fafb, #fff);
}
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 12px;
}
.section-title p { color: #6b7280; font-size: 18px; margin: 0; }

/* 联系卡片 — Started 官网 */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto 48px;
}
.contact-card {
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  text-align: center;
  transition: box-shadow .3s;
}
.contact-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.contact-card.green { background: linear-gradient(to bottom right, #ecfdf5, #f0fdfa); }
.contact-card.blue { background: linear-gradient(to bottom right, #eff6ff, #eef2ff); }
.contact-card.purple { background: linear-gradient(to bottom right, #faf5ff, #ecfeff); }
.contact-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
  color: #fff;
}
.contact-icon.green { background: linear-gradient(135deg, #22c55e, #14b8a6); }
.contact-icon.pink { background: linear-gradient(135deg, #ec4899, #a855f7); }
.contact-icon.purple { background: linear-gradient(135deg, #a855f7, #06b6d4); }
.contact-card h3 { font-size: 24px; margin: 0 0 8px; }
.contact-card .sub { color: #6b7280; font-size: 14px; margin: 0 0 16px; }
.qr-box {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  position: relative;
  cursor: pointer;
}
.qr-box img { width: 160px; height: 160px; object-fit: contain; display: block; }
.qr-placeholder {
  width: 160px; height: 160px;
  display: flex; align-items: center; justify-content: center;
  background: #f3f4f6; color: #9ca3af; font-size: 13px;
  border-radius: 8px;
}
.qr-hint { font-size: 12px; color: #ef4444; margin-top: 12px; line-height: 1.6; }
.btn-pink {
  display: inline-block;
  background: #ec4899;
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 8px;
}
.btn-pink:hover { background: #db2777; }
.bili-card-link {
  display: block;
  text-decoration: none;
  margin: 16px 0;
}
.bili-card-visual {
  background: linear-gradient(135deg, #ec4899, #a855f7);
  border-radius: 12px;
  padding: 40px 24px;
  text-align: center;
  transition: transform .2s, filter .2s;
}
.bili-card-link:hover .bili-card-visual {
  transform: scale(1.02);
  filter: brightness(1.06);
}
.bili-card-visual i {
  font-size: 64px;
  color: #fff;
  display: block;
  margin-bottom: 10px;
}
.bili-card-hint {
  color: rgba(255, 255, 255, .92);
  font-size: 14px;
  font-weight: 600;
}
.bili-url-text {
  margin: 10px 0 0;
  font-size: 13px;
  text-align: center;
}
.bili-url-text a {
  color: #db2777;
  word-break: break-all;
  text-decoration: underline;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(to right, #fefce8, #fff7ed);
  border-radius: 16px;
  padding: 32px;
}
.support-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.support-item .icon-circle {
  width: 48px; height: 48px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px;
}
.support-item h4 { margin: 0 0 4px; font-size: 15px; }
.support-item p { margin: 0; font-size: 13px; color: #6b7280; }

/* 页脚贴底布局 */
body.page-sticky-footer {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.page-sticky-footer .page-shell {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
}
body.page-sticky-footer .page-main {
  flex: 1 0 auto;
}
body.page-sticky-footer .page-footer-slot,
body.page-sticky-footer #stTanFooterMount {
  flex-shrink: 0;
  margin-top: auto;
}

/* 更新日志 — 参考 started-site/changelog.html */
.cl-hero {
  background: linear-gradient(135deg, #111827 0%, #000 100%);
  color: #fff;
  text-align: center;
  padding: 72px 24px 56px;
}
.cl-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
}
.cl-hero h1 i { color: #facc15; margin-right: 10px; }
.cl-hero-tagline {
  margin: 0 0 24px;
  color: #9ca3af;
  font-size: 18px;
}
.cl-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.cl-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 14px;
  font-weight: 600;
}
.cl-hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.cl-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}
.cl-pill.is-features { color: #86efac; }
.cl-pill.is-improvements { color: #93c5fd; }
.cl-pill.is-fixes { color: #fdba74; }

.changelog-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px 56px;
}
.cl-version-block {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 8px 30px rgba(0,0,0,.05);
}
.cl-version-block.is-history {
  background: #fafafa;
  box-shadow: 0 4px 18px rgba(0,0,0,.03);
}
.cl-version-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f3f4f6;
}
.cl-version-head h2 {
  margin: 0 0 6px;
  font-size: 28px;
  color: #111827;
}
.cl-version-date {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}
.cl-latest-badge,
.cl-history-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.cl-latest-badge {
  background: linear-gradient(135deg, #ff4757, #ff6b81);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255,71,87,.25);
}
.cl-history-badge {
  background: #eef2ff;
  color: #4f46e5;
}
.cl-release-card {
  background: #f9fafb;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  padding: 22px;
  margin-top: 16px;
}
.cl-release-card:first-of-type { margin-top: 0; }
.cl-release-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.cl-release-head h4 {
  margin: 0;
  font-size: 18px;
  color: #111827;
}
.cl-release-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.cl-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.cl-status-done {
  background: #dcfce7;
  color: #15803d;
}
.cl-status-progress {
  background: #fef3c7;
  color: #b45309;
}
.cl-release-date {
  font-size: 13px;
  color: #6b7280;
}
.cl-release-summary {
  margin: 0 0 16px;
  color: #4b5563;
  line-height: 1.75;
  font-size: 15px;
}
.cl-section {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #e5e7eb;
}
.cl-section h5 {
  margin: 0 0 10px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cl-section.is-features h5 { color: #16a34a; }
.cl-section.is-improvements h5 { color: #2563eb; }
.cl-section.is-fixes h5 { color: #ea580c; }
.cl-section.is-highlights h5 { color: #9333ea; }
.cl-section ul {
  margin: 0;
  padding-left: 20px;
  color: #4b5563;
  line-height: 1.8;
  font-size: 14px;
}
.cl-section li + li { margin-top: 4px; }

.cl-cta-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 30px;
  margin: 8px 0 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(102,126,234,.28);
}
.cl-cta-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}
.cl-cta-card p {
  margin: 0;
  opacity: .92;
  font-size: 15px;
}
.cl-cta-card .btn-red {
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.cl-history-title {
  margin: 12px 0 18px;
}
.cl-history-title h2 {
  margin: 0;
  font-size: 24px;
  color: #111827;
}
.cl-history-title h2 i {
  color: #6366f1;
  margin-right: 8px;
}

.cl-feedback-card {
  text-align: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 36px 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.cl-feedback-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  color: #111827;
}
.cl-feedback-card p {
  margin: 0 0 22px;
  color: #6b7280;
  font-size: 15px;
}
.cl-feedback-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  text-decoration: none;
  font-weight: 700;
  transition: all .2s ease;
}
.btn-outline-dark:hover {
  border-color: #9ca3af;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .cl-hero { padding: 56px 20px 40px; }
  .cl-version-block { padding: 20px 18px; }
  .cl-version-head,
  .cl-release-head,
  .cl-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .cl-cta-card .btn-red,
  .cl-feedback-actions .btn-red,
  .cl-feedback-actions .btn-outline-dark {
    width: 100%;
  }
}

.author-bar {
  max-width: 1100px;
  margin: 32px auto 0;
  background: linear-gradient(to right, #a855f7, #6366f1);
  border-radius: 16px;
  padding: 32px;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.author-bar h4 { margin: 0 0 8px; font-size: 22px; }
.author-bar p { margin: 4px 0; opacity: .9; font-size: 14px; }
.author-bar .author-bar-hours,
.author-bar .author-bar-detail {
  color: rgba(255, 255, 255, 0.92);
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.65;
}
.author-bar .author-bar-detail {
  margin-top: 8px;
}
.status-box {
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 16px 24px;
  text-align: center;
}
.status-dot {
  display: inline-block;
  width: 12px; height: 12px;
  background: #4ade80;
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

/* 软件网格 */
.st-yumeng-apps-section { padding: 80px 24px; background: #fff; }
.st-tan-apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.app-tile {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px 12px;
  text-align: center;
  transition: all .25s;
  background: #fff;
}
.app-tile:hover {
  border-color: #fca5a5;
  box-shadow: 0 8px 24px rgba(239,68,68,.12);
  transform: translateY(-4px);
}
.app-icon-wrap {
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-tile .app-icon-img,
.app-tile img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: contain;
  display: block;
  background: #f9fafb;
}
.app-tile h4 { margin: 0 0 6px; font-size: 14px; }
.app-tile p { margin: 0 0 10px; font-size: 12px; color: #6b7280; }
.app-tile a {
  font-size: 12px;
  color: #ef4444;
  font-weight: 600;
  text-decoration: none;
}

/* 下载页 */
.page-hero-sm {
  background: linear-gradient(135deg, #111827, #000);
  color: #fff;
  padding: 60px 24px;
  text-align: center;
}
.page-hero-sm h1 { margin: 0 0 12px; font-size: 40px; }
.page-hero-sm p { margin: 0; color: #9ca3af; font-size: 18px; }
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: -40px auto 48px;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.download-grid-single {
  grid-template-columns: 1fr;
  max-width: 760px;
}
.download-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
}
.download-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.download-card-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: #fff;
}
.download-card-icon.red { background: linear-gradient(135deg, #ef4444, #ec4899); }
.download-card-icon.yellow { background: linear-gradient(135deg, #f59e0b, #eab308); }
.version-badge {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
}
.info-box {
  background: #f9fafb;
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
  font-size: 14px;
  color: #6b7280;
}
.info-box div { margin: 6px 0; }
.soft-tags {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.soft-tag {
  background: #ecfdf5;
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  font-size: 13px;
  color: #374151;
}
.download-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.download-btns a {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
}
.download-btns .btn-red { width: 100%; }
.download-btns .btn-purple { background: #9333ea; }
.download-btns .btn-purple:hover { background: #7e22ce; }
.download-btns .btn-blue { background: #3b82f6; }
.download-btns .btn-blue:hover { background: #2563eb; }
.tip-box-sm {
  margin-top: 16px;
  padding: 16px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.7;
}
.tip-box-sm.red { background: #fef2f2; color: #991b1b; }
.tip-box-sm.blue { background: #eff6ff; color: #1e40af; }

/* 教程页 — 时间轴布局 */
.page-tutorial {
  background: #f1f5f9;
}

.tu-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #0f172a 0%, #1e1b4b 42%, #312e81 100%);
  color: #fff;
  text-align: center;
  padding: 56px 24px 64px;
}
.tu-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(239, 68, 68, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(99, 102, 241, 0.25), transparent 50%);
  pointer-events: none;
}
.tu-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.tu-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 600;
  color: #fcd34d;
  margin-bottom: 20px;
}
.tu-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.tu-hero h1 > i {
  color: #facc15;
  margin-right: 10px;
}
.tu-hero-desc {
  margin: 0 auto 28px;
  max-width: 540px;
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.65;
}
.tu-hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.tu-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #e2e8f0;
  max-width: 100%;
}
.tu-hero-pill-no {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tu-main {
  flex: 1;
}
.tutorial-wrap {
  max-width: 880px;
  margin: -32px auto 0;
  padding: 0 24px 48px;
  position: relative;
  z-index: 2;
}
.tu-loading {
  text-align: center;
  padding: 48px 24px;
  color: #64748b;
  font-size: 15px;
}
.tu-loading i { margin-right: 8px; color: #ef4444; }
.tu-empty { margin-top: 32px; }

.tu-timeline {
  position: relative;
  padding: 8px 0 16px 0;
}
.tu-timeline::before {
  content: '';
  position: absolute;
  left: 39px;
  top: 28px;
  bottom: 28px;
  width: 3px;
  background: linear-gradient(180deg, #ef4444 0%, #6366f1 50%, #22c55e 100%);
  border-radius: 999px;
  opacity: 0.28;
}

.tu-chapter {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px 24px;
  margin-bottom: 28px;
  animation: tuFadeUp 0.45s ease both;
}
.tu-chapter:nth-child(2) { animation-delay: 0.06s; }
.tu-chapter:nth-child(3) { animation-delay: 0.12s; }
.tu-chapter:nth-child(4) { animation-delay: 0.18s; }
.tu-chapter:nth-child(5) { animation-delay: 0.24s; }
@keyframes tuFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.tu-chapter-marker {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.tu-chapter-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--tu-accent, #ef4444);
  opacity: 0.85;
}
.tu-chapter-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #f8fafc);
  border: 2px solid color-mix(in srgb, var(--tu-accent, #ef4444) 35%, #e2e8f0);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--tu-accent, #ef4444) 18%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--tu-accent, #ef4444);
}

.tu-chapter-body {
  background: #fff;
  border-radius: 20px;
  padding: 28px 28px 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.25s, transform 0.25s;
}
.tu-chapter-body:hover {
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}
.tu-chapter-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.tu-chapter-head h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.tu-chapter-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tu-accent, #ef4444) 12%, #fff);
  color: var(--tu-accent, #ef4444);
  border: 1px solid color-mix(in srgb, var(--tu-accent, #ef4444) 25%, transparent);
}
.tu-chapter-empty {
  margin: 0;
  color: #94a3b8;
  font-size: 14px;
}

.tu-sub-step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tu-sub-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  transition: border-color 0.2s, background 0.2s;
}
.tu-sub-step:hover {
  border-color: color-mix(in srgb, var(--tu-accent, #ef4444) 40%, #e2e8f0);
  background: #fff;
}
.tu-sub-step-no {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: var(--tu-accent, #ef4444);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--tu-accent, #ef4444) 35%, transparent);
}
.tu-sub-step-text {
  flex: 1;
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
  padding-top: 3px;
}

.tu-cta-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 32px 36px;
  border-radius: 20px;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  color: #fff;
  box-shadow: 0 20px 50px rgba(49, 46, 129, 0.35);
}
.tu-cta-glow {
  position: absolute;
  top: -40%;
  right: -10%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.35), transparent 70%);
  pointer-events: none;
}
.tu-cta-text {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 220px;
}
.tu-cta-text h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
}
.tu-cta-text h3 i { color: #facc15; margin-right: 8px; }
.tu-cta-text p {
  margin: 0;
  color: #c7d2fe;
  font-size: 15px;
  line-height: 1.6;
}
.tu-cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
}

/* 旧版步骤块（兼容） */
.step-block {
  position: relative;
  margin-left: 64px;
  margin-bottom: 48px;
}
.step-num {
  position: absolute;
  left: -64px;
  top: 0;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
}
.step-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.step-card h3 { margin: 0 0 12px; font-size: 22px; }
.step-card > p { color: #6b7280; margin: 0 0 20px; }
.sub-step {
  background: #f9fafb;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}
.sub-step h4 { margin: 0 0 8px; font-size: 15px; }
.sub-step p, .sub-step ol { margin: 0; font-size: 14px; color: #6b7280; line-height: 1.7; }

/* 开户 */
.broker-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.broker-card {
  position: relative;
}
.broker-badge {
  position: absolute;
  top: 16px;
  right: 16px;
}
.broker-desc {
  color: #6b7280;
  line-height: 1.7;
  margin: 0 0 16px;
}
.broker-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.broker-icon-wrap .app-icon-img {
  width: 56px !important;
  height: 56px !important;
  object-fit: contain;
  background: transparent !important;
  border-radius: 14px;
}
.broker-icon-fallback {
  color: #ef4444;
  font-size: 24px;
  background: #fff7f7;
  border: 1px solid #fecaca;
  padding: 8px;
}

.download-extra-section {
  max-width: 1100px;
  margin: 0 auto 48px;
  padding: 0 24px;
}
.download-section-head {
  text-align: center;
  margin-bottom: 28px;
}
.download-section-head h2 {
  margin: 0 0 10px;
  font-size: 28px;
}
.download-section-head p {
  margin: 0;
  color: #6b7280;
  font-size: 16px;
}
.download-btn-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: #e5e7eb;
  color: #9ca3af;
  font-size: 14px;
  font-weight: 600;
  cursor: not-allowed;
}

/* 页脚 — Started 官网（覆盖 web.css 的 grid 四列布局） */
.st-yumeng-site-footer.st-yumeng-site-footer {
  background: #000;
  color: #fff;
  padding: 0;
}
.st-yumeng-site-footer .footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  grid-template-columns: none;
}
.st-yumeng-site-footer .footer-brand-block {
  flex: 1 1 260px;
  min-width: 0;
}
.st-yumeng-site-footer .footer-brand-block .st-started-nav-brand {
  margin-bottom: 10px;
}
.st-yumeng-site-footer .footer-tagline {
  margin: 0;
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.6;
}
.st-yumeng-site-footer .footer-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  flex: 0 1 auto;
  min-width: 0;
}
.st-yumeng-site-footer .footer-links a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s;
}
.st-yumeng-site-footer .footer-links a:hover {
  color: #ef4444;
}
.st-yumeng-site-footer .footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid #374151;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
}
.st-yumeng-site-footer .footer-bottom p {
  margin: 0;
}
@media (max-width: 768px) {
  .st-yumeng-site-footer .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 20px 28px;
  }
  .st-yumeng-site-footer .footer-brand-block .st-started-nav-brand {
    justify-content: center;
  }
  .st-yumeng-site-footer .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    width: 100%;
  }
}

#stStartedBackTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px; height: 50px;
  background: linear-gradient(135deg, #ff4757, #ff6b81);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(255,71,87,.4);
  z-index: 1000;
}
#stStartedBackTop.show { display: flex; }

.image-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.9);
  align-items: center;
  justify-content: center;
}
.image-modal.active { display: flex; }
.image-modal img { max-width: 90%; max-height: 90%; object-fit: contain; }
.image-modal .close-modal {
  position: absolute;
  top: 20px; right: 35px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-menu a {
  color: #fff;
  font-size: 24px;
  padding: 12px;
  text-decoration: none;
}
.mobile-menu a.active { color: #ef4444; font-weight: 700; }
.mobile-menu .close-btn {
  position: absolute;
  top: 24px; right: 24px;
  background: none; border: none;
  color: #fff; font-size: 32px;
  cursor: pointer;
}

/* 会员页 */
.membership-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}
.membership-wrap .membership-card,
.membership-wrap .membership-panel {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  margin-bottom: 16px;
}
.membership-tabs { display: flex; gap: 8px; margin: 20px 0; }
.membership-tab {
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
}
.membership-tab.active { background: #ef4444; border-color: #ef4444; color: #fff; }
.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  overflow: hidden;
}
.package-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  min-width: 0;
  overflow: hidden;
  contain: layout paint;
  isolation: isolate;
}
.package-card.recommended { border-color: #ef4444; background: #fff8f8; }
@media (max-width: 900px) {
  .packages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .packages-grid { grid-template-columns: 1fr; }
}
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
}
.captcha-inline { display: flex; gap: 8px; align-items: center; }
.captcha-img { height: 40px; border-radius: 8px; cursor: pointer; }
.form-msg { padding: 12px; border-radius: 8px; margin-bottom: 12px; font-size: 14px; }
.form-msg.error { background: #fef2f2; color: #dc2626; }
.form-msg.success { background: #f0fdf4; color: #16a34a; }
.hint { font-size: 13px; color: #6b7280; }

/* 注册弹窗 — 保留原逻辑 */
.modal[hidden] { display: none !important; }
.modal {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.modal-dialog {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 28px 28px 24px;
  max-width: 440px;
  width: 100%;
  max-height: min(90vh, 720px);
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,.2);
}
.modal-dialog h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
}
.modal-sub {
  margin: 0 0 20px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}
.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  border: none; background: #f3f4f6;
  border-radius: 8px; cursor: pointer; font-size: 20px;
  line-height: 1;
}
#stYumengRegisterModal .field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
#stYumengRegisterModal .field { margin-bottom: 16px; }
#stYumengRegisterModal .field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
}
#stYumengRegisterModal .field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
}
#stYumengRegisterModal .field input:focus {
  outline: none;
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.12);
}
#stYumengRegisterModal .register-captcha-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}
#stYumengRegisterModal .register-captcha-inline .captcha-image {
  flex-shrink: 0;
  width: 120px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  object-fit: cover;
  background: #f9fafb;
}
#stYumengRegisterModal .register-captcha-inline input {
  flex: 1;
  min-width: 0;
}
#stYumengRegisterModal .form-msg { padding: 12px; border-radius: 8px; margin-bottom: 12px; font-size: 14px; }
#stYumengRegisterModal .form-msg.error { background: #fef2f2; color: #dc2626; }
#stYumengRegisterModal .form-msg.success { background: #f0fdf4; color: #16a34a; }
#stYumengRegisterModal .btn-block {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}
#stYumengRegisterModal .btn-lg {
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .cards-3, .st-tan-apps-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cards-3, .st-tan-apps-grid, .download-grid, .broker-grid, .packages-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .tu-chapter {
    grid-template-columns: 1fr;
    padding-top: 8px;
  }
  .tu-timeline::before { display: none; }
  .tu-chapter-marker {
    flex-direction: row;
    justify-content: flex-start;
    margin-bottom: 4px;
  }
  .tu-chapter-icon { width: 48px; height: 48px; font-size: 18px; border-radius: 14px; }
  .tu-hero-pill { font-size: 12px; padding: 6px 12px; }
  .tu-cta-card { padding: 24px 20px; flex-direction: column; align-items: stretch; }
  .tu-cta-actions { flex-direction: column; }
  .tu-cta-actions .btn-red,
  .tu-cta-actions .btn-outline-light { justify-content: center; width: 100%; }
  .step-block { margin-left: 0; padding-top: 56px; }
  .step-num { left: 50%; transform: translateX(-50%); top: 0; }
}
