:root {
  --primary: #2980FE;
  --primary-dark: #1665d8;
  --text: #1f2937;
  --muted: #657287;
  --soft: #f5f8fc;
  --soft-blue: #eef6ff;
  --line: #dfe7f1;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(41, 128, 254, .10);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fe 42%, #ffffff 100%);
  line-height: 1.72;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo, .footer-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; color: #172033; }
.logo img { width: 38px; height: 38px; border-radius: 12px; object-fit: cover; }
.primary-nav { display: none; position: absolute; left: 16px; right: 16px; top: 72px; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.primary-nav.is-open { display: grid; gap: 4px; }
.primary-nav a { color: #3b4656; font-size: 14px; padding: 10px 12px; border-radius: 12px; }
.primary-nav a:hover { color: var(--primary); background: var(--soft-blue); }
.nav-toggle { width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 14px; display: grid; place-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: #1f2937; border-radius: 2px; }
.section, .web3-dashboard-hero, .content-hero { padding: 56px 0; }
.gradient-bg { background: radial-gradient(circle at 15% 10%, rgba(41,128,254,.14), transparent 30%), radial-gradient(circle at 90% 10%, rgba(41,128,254,.10), transparent 26%), #fff; }
.eyebrow, .category-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid rgba(41, 128, 254, .22); border-radius: 999px; background: #f4f9ff; color: var(--primary); font-size: 13px; font-weight: 700; }
h1, h2, h3 { margin: 0 0 14px; line-height: 1.18; letter-spacing: -.02em; color: #172033; }
h1 { font-size: clamp(34px, 9vw, 64px); }
h2 { font-size: clamp(26px, 5vw, 42px); }
h3 { font-size: 20px; }
p { margin: 0 0 16px; color: var(--muted); }
.lead { font-size: 18px; color: #4a5568; }
.download-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; min-width: 148px; padding: 0 24px; border-radius: 16px; background: var(--primary); color: #fff; font-weight: 800; box-shadow: 0 14px 30px rgba(41,128,254,.25); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.download-btn:hover { transform: translateY(-2px); background: var(--primary-dark); box-shadow: 0 18px 34px rgba(41,128,254,.32); }
.text-link { display: inline-flex; align-items: center; color: var(--primary); font-weight: 750; margin-top: 6px; }
.text-link::after { content: "→"; margin-left: 8px; }
.hero-grid, .split-grid, .feature-split, .page-grid { display: grid; gap: 28px; }
.hero-copy { display: grid; gap: 20px; align-content: center; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: #4a5568; font-size: 13px; font-weight: 700; }
.hero-panel { position: relative; background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%); border: 1px solid var(--line); border-radius: 30px; padding: 18px; box-shadow: var(--shadow); overflow: hidden; }
.hero-panel::before { content: ""; position: absolute; inset: 14px 14px auto auto; width: 90px; height: 90px; border-radius: 999px; background: rgba(41,128,254,.12); filter: blur(14px); }
.device-card { position: relative; z-index: 1; padding: 18px; border: 1px solid rgba(41,128,254,.10); border-radius: 26px; background: #fff; }
.device-card img { width: min(320px, 82%); margin: 0 auto; }
.status-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.status-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.status-card strong { display: block; color: #172033; font-size: 14px; }
.status-card span { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.service-index { display: grid; gap: 14px; }
.service-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 20px; box-shadow: 0 12px 28px rgba(31,41,55,.04); }
.service-card .label { display: inline-flex; color: var(--primary); font-weight: 800; font-size: 13px; margin-bottom: 12px; }
.service-card p { font-size: 15px; }
.digital-assets-hub, .web3-ecosystem-section, .hardware-wallet-section, .swap-service-section, .privacy-boundary-section, .submit-chain-section, .developer-center-section, .cta-section {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}
.hardware-wallet-section, .privacy-boundary-section { background: linear-gradient(180deg, #f7fbff, #ffffff); }
.module-image { background: var(--soft-blue); border-radius: 24px; padding: 18px; border: 1px solid rgba(41,128,254,.12); }
.module-image img { max-height: 360px; margin: 0 auto; object-fit: contain; }
.check-list, .plain-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.check-list li, .plain-list li { position: relative; padding-left: 28px; color: #4a5568; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 900; }
.plain-list li::before { content: "•"; position: absolute; left: 4px; top: 0; color: var(--primary); font-weight: 900; }
.safety-panel { display: grid; gap: 14px; padding: 18px; background: #f8fbff; border: 1px solid var(--line); border-radius: 22px; }
.safety-panel strong { color: #172033; }
.boundary-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.boundary-tags span { padding: 8px 12px; border-radius: 999px; background: #eef6ff; color: #246fe0; font-size: 13px; font-weight: 700; }
.code-panel { background: #f7faff; border: 1px solid #dce9fb; border-radius: 22px; padding: 18px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #2f415b; overflow-x: auto; }
.code-panel span { color: var(--primary); }
.process-steps { display: grid; gap: 14px; counter-reset: step; }
.step-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
.step-num { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 12px; background: var(--primary); color: #fff; font-weight: 900; margin-bottom: 12px; }
.risk-grid, .category-grid, .faq-list, .info-grid { display: grid; gap: 14px; }
.risk-card, .info-card, .faq-item { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
.risk-card { border-left: 4px solid var(--primary); }
.risk-card b, .faq-item strong { display: block; color: #172033; margin-bottom: 8px; }
.cta-section { text-align: center; background: linear-gradient(135deg, #f4f9ff 0%, #ffffff 58%, #eef6ff 100%); }
.content-hero { background: radial-gradient(circle at 12% 20%, rgba(41,128,254,.12), transparent 28%), #fff; border-bottom: 1px solid var(--line); }
.content-hero .container { display: grid; gap: 14px; }
.content-body { padding: 42px 0 64px; }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 24px; box-shadow: 0 12px 32px rgba(31,41,55,.05); }
.sidebar-card { background: #f8fbff; border: 1px solid var(--line); border-radius: 24px; padding: 20px; }
.sidebar-card a { display: block; padding: 10px 0; color: var(--primary); font-weight: 700; border-bottom: 1px solid #e7eef8; }
.sidebar-card a:last-child { border-bottom: 0; }
.page-actions { margin-top: 22px; }
.site-footer { background: #172033; color: #e9eef7; padding: 46px 0 24px; }
.site-footer p, .site-footer span { color: #aeb9c9; }
.site-footer h2 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.footer-grid { display: grid; gap: 24px; }
.footer-grid a:not(.footer-logo) { display: block; color: #dce6f5; padding: 5px 0; font-size: 14px; }
.footer-logo { color: #fff; font-size: 20px; margin-bottom: 12px; }
.footer-bottom { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; font-size: 13px; }
@media (min-width: 700px) {
  .service-index, .risk-grid, .category-grid, .info-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}
@media (min-width: 980px) {
  .container { width: min(1180px, calc(100% - 64px)); }
  .nav-toggle { display: none; }
  .primary-nav { position: static; display: flex; align-items: center; gap: 2px; padding: 0; border: 0; box-shadow: none; background: transparent; }
  .primary-nav a { padding: 8px 10px; }
  .web3-dashboard-hero { padding: 82px 0 58px; }
  .hero-grid, .split-grid, .feature-split { grid-template-columns: 1.05fr .95fr; align-items: center; }
  .feature-split.reverse > :first-child { order: 2; }
  .feature-split.reverse > :last-child { order: 1; }
  .service-index { grid-template-columns: repeat(4, 1fr); }
  .service-card.featured { grid-column: span 2; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .risk-grid { grid-template-columns: repeat(3, 1fr); }
  .page-grid { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
  .digital-assets-hub, .web3-ecosystem-section, .hardware-wallet-section, .swap-service-section, .privacy-boundary-section, .submit-chain-section, .developer-center-section, .cta-section { padding: 34px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
@media (max-width: 420px) {
  .container { width: min(100% - 24px, 1120px); }
  .status-grid { grid-template-columns: 1fr; }
  .download-btn { width: 100%; }
  .section, .web3-dashboard-hero, .content-hero { padding: 42px 0; }
  .digital-assets-hub, .web3-ecosystem-section, .hardware-wallet-section, .swap-service-section, .privacy-boundary-section, .submit-chain-section, .developer-center-section, .cta-section, .article-card { padding: 20px; border-radius: 24px; }
}
