:root {
  --primary: #2980FE;
  --primary-soft: #EAF3FF;
  --primary-faint: #F5F9FF;
  --text: #1F2937;
  --muted: #667085;
  --line: #E5EAF2;
  --panel: #FFFFFF;
  --soft: #F6F8FB;
  --deep: #344054;
  --shadow: 0 18px 45px rgba(31, 41, 55, 0.08);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 42%, #ffffff 100%);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(100% - 32px, 1160px); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: #172033; letter-spacing: -0.02em; }
.logo img { width: 38px; height: 38px; object-fit: contain; border-radius: 12px; }
.site-nav { display: none; position: absolute; left: 16px; right: 16px; top: 70px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.site-nav.is-open { display: grid; gap: 6px; }
.site-nav a { padding: 10px 12px; border-radius: 14px; color: var(--deep); font-size: 15px; }
.site-nav a:hover { background: var(--primary-soft); color: var(--primary); }
.nav-toggle { border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--deep); width: 44px; height: 44px; font-size: 22px; }
.section { padding: 54px 0; }
.section-title { margin: 0 0 12px; font-size: clamp(28px, 4vw, 44px); line-height: 1.16; letter-spacing: -0.04em; }
.section-lead { margin: 0; color: var(--muted); max-width: 760px; }
.kicker, .category-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: 14px; }
.download-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 800; box-shadow: 0 12px 26px rgba(41,128,254,0.25); border: 1px solid var(--primary); transition: transform .2s ease, box-shadow .2s ease; }
.download-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(41,128,254,0.32); }
.text-link { color: var(--primary); font-weight: 700; }
.web3-dashboard-hero { position: relative; padding: 40px 0 58px; overflow: hidden; }
.web3-dashboard-hero:before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 16%, rgba(41,128,254,.18), transparent 32%), radial-gradient(circle at 8% 24%, rgba(41,128,254,.08), transparent 28%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 28px; align-items: center; }
.hero-copy { padding: 28px; background: rgba(255,255,255,.78); border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow); }
.hero-copy h1 { margin: 14px 0; font-size: clamp(36px, 7vw, 64px); line-height: 1.06; letter-spacing: -0.06em; }
.hero-copy p { color: var(--muted); margin: 0 0 20px; }
.security-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.security-tags span { padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--deep); font-size: 14px; }
.hero-console { position: relative; background: linear-gradient(145deg, #fff, #f3f8ff); border: 1px solid var(--line); border-radius: 32px; padding: 18px; box-shadow: var(--shadow); }
.hero-device { margin: 0 auto; max-height: 420px; object-fit: contain; }
.status-stack { display: grid; gap: 10px; margin-top: 14px; }
.status-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.status-card strong { color: #172033; }
.status-card span { font-size: 13px; color: var(--primary); font-weight: 800; }
.service-index { padding-top: 0; }
.service-index-grid, .category-grid { display: grid; gap: 14px; margin-top: 24px; }
.service-card, .info-card, .risk-card, .faq-item, .process-step, .guide-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 12px 30px rgba(31,41,55,0.04); }
.service-card { min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; }
.card-tag { color: var(--primary); font-size: 13px; font-weight: 800; }
.service-card h3, .info-card h3, .risk-card h3, .guide-card h3 { margin: 8px 0 8px; font-size: 21px; }
.service-card p, .info-card p, .risk-card p, .guide-card p { color: var(--muted); margin: 0 0 14px; }
.feature-panel { display: grid; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 24px; box-shadow: var(--shadow); }
.feature-panel.alt { background: linear-gradient(145deg, #f7fbff, #ffffff); }
.feature-panel.tint { background: linear-gradient(145deg, #eef6ff, #ffffff); }
.feature-image { border-radius: 28px; background: var(--primary-faint); padding: 18px; border: 1px solid var(--line); }
.feature-image img { margin: auto; max-height: 430px; object-fit: contain; }
.feature-content h2 { margin: 10px 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.18; letter-spacing: -0.04em; }
.feature-content p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: var(--deep); }
.check-list li:before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px var(--primary-soft); }
.privacy-boundary-section .boundary-grid, .submit-chain-section .submit-grid, .developer-center-section .dev-grid { display: grid; gap: 18px; margin-top: 24px; }
.boundary-panel, .submit-panel, .code-panel { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 24px; box-shadow: var(--shadow); }
.boundary-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.boundary-tags span { padding: 8px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.submit-list { display: grid; gap: 12px; margin-top: 18px; }
.submit-list div { padding: 14px; border-radius: 18px; background: var(--primary-faint); border: 1px solid var(--line); }
.code-panel { background: #172033; color: #eef6ff; overflow: hidden; }
.code-panel pre { margin: 0; white-space: pre-wrap; color: #d8e8ff; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; }
.doc-links { display: grid; gap: 12px; }
.doc-links a { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--primary); font-weight: 800; }
.process-steps { display: grid; gap: 14px; margin-top: 24px; counter-reset: steps; }
.process-step { position: relative; padding-top: 54px; }
.process-step:before { counter-increment: steps; content: counter(steps); position: absolute; top: 18px; left: 22px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 10px; background: var(--primary); color: #fff; font-weight: 800; }
.process-step h3 { margin: 0 0 6px; }
.process-step p { margin: 0 0 10px; color: var(--muted); }
.risk-grid { display: grid; gap: 14px; margin-top: 24px; }
.risk-card { border-left: 4px solid var(--primary); }
.risk-card small { display: block; color: var(--muted); margin-top: 8px; }
.faq-list { display: grid; gap: 12px; margin-top: 24px; }
.faq-item h3 { margin: 0 0 8px; }
.faq-item p { margin: 0; color: var(--muted); }
.cta-section { padding: 62px 0; }
.cta-box { text-align: center; background: linear-gradient(135deg, #eaf3ff, #fff); border: 1px solid var(--line); border-radius: 32px; padding: 34px 22px; box-shadow: var(--shadow); }
.cta-box h2 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.04em; }
.cta-box p { color: var(--muted); margin: 0 auto 22px; max-width: 680px; }
.page-hero { padding: 46px 0 24px; }
.page-hero-inner { display: grid; gap: 22px; background: linear-gradient(145deg, #fff, #f4f9ff); border: 1px solid var(--line); border-radius: 30px; padding: 28px; box-shadow: var(--shadow); }
.page-hero h1 { margin: 12px 0; font-size: clamp(34px, 6vw, 56px); line-height: 1.1; letter-spacing: -0.05em; }
.page-hero p { margin: 0; color: var(--muted); max-width: 820px; }
.content-layout { display: grid; gap: 22px; align-items: start; }
.article-panel { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 24px; box-shadow: var(--shadow); }
.article-panel h2 { margin: 0 0 10px; font-size: 26px; }
.article-panel p { color: var(--muted); }
.sidebar-panel { background: var(--primary-faint); border: 1px solid var(--line); border-radius: 24px; padding: 22px; }
.sidebar-panel h3 { margin-top: 0; }
.sidebar-panel a { display: block; color: var(--primary); font-weight: 800; margin-top: 10px; }
.numbered-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 12px; }
.numbered-list li { padding: 16px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); }
.numbered-list strong { display: block; color: #172033; }
.site-footer { margin-top: 40px; padding: 44px 0 22px; background: #172033; color: #d8e0ef; }
.footer-grid { display: grid; gap: 26px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.footer-brand img { width: 36px; height: 36px; border-radius: 12px; }
.site-footer h3 { margin: 0 0 12px; color: #fff; }
.site-footer a { display: block; color: #d8e0ef; margin: 7px 0; }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #aab5c5; }
@media (min-width: 720px) {
  .container { width: min(100% - 48px, 1160px); }
  .service-index-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid, .risk-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr .8fr .8fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: flex; align-items: center; gap: 2px; padding: 0; border: 0; box-shadow: none; background: transparent; }
  .site-nav a { font-size: 14px; padding: 8px 10px; }
  .hero-grid { grid-template-columns: 1.02fr .98fr; }
  .hero-copy { padding: 42px; }
  .hero-console { padding: 26px; }
  .status-stack { position: absolute; right: -10px; bottom: 24px; width: 265px; }
  .service-index-grid { grid-template-columns: repeat(4, 1fr); }
  .service-index-grid .service-card:first-child, .service-index-grid .service-card:nth-child(7) { grid-column: span 2; }
  .feature-panel { grid-template-columns: 1fr 1fr; padding: 34px; }
  .feature-panel.reverse .feature-image { order: 2; }
  .privacy-boundary-section .boundary-grid, .submit-chain-section .submit-grid, .developer-center-section .dev-grid { grid-template-columns: .95fr 1.05fr; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .risk-grid { grid-template-columns: repeat(4, 1fr); }
  .content-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .article-panel { padding: 34px; }
}
@media (max-width: 420px) {
  .container { width: min(100% - 24px, 1160px); }
  .hero-copy, .page-hero-inner, .feature-panel, .article-panel { padding: 20px; border-radius: 24px; }
  .download-btn { width: 100%; }
  .service-index-grid { grid-template-columns: 1fr; }
}
