:root {
    --primary: #2980FE;
    --primary-soft: #EAF3FF;
    --ink: #172033;
    --muted: #5D667A;
    --line: #E6ECF5;
    --panel: #FFFFFF;
    --soft: #F6F8FB;
    --soft-blue: #F3F8FF;
    --deep: #273044;
    --shadow: 0 18px 45px rgba(30, 76, 130, .08);
    --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", Arial, sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 42%, #FFFFFF 100%);
    line-height: 1.72;
    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: 20;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav-shell { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); }
.brand img { width: 36px; height: 36px; object-fit: contain; border-radius: 10px; }
.site-nav { display: none; flex-direction: column; gap: 6px; position: absolute; left: 16px; right: 16px; top: 72px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.site-nav a { padding: 10px 12px; color: var(--muted); border-radius: 12px; font-size: 14px; }
.site-nav a:hover { color: var(--primary); background: var(--primary-soft); }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label { display: inline-flex; flex-direction: column; gap: 5px; padding: 9px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.nav-toggle-label span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-toggle:checked ~ .site-nav { display: flex; }
.section { padding: 58px 0; }
.section-tight { padding: 34px 0; }
.eyebrow, .badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: 13px; }
.eyebrow::before, .badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 14px; color: var(--ink); }
h1 { font-size: clamp(34px, 7vw, 64px); letter-spacing: -1.5px; }
h2 { font-size: clamp(26px, 4.5vw, 42px); letter-spacing: -.7px; }
h3 { font-size: 20px; }
p { margin: 0 0 18px; color: var(--muted); }
.lead { font-size: 17px; color: #465166; }
.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 14px 24px rgba(41,128,254,.22);
    transition: transform .2s ease, box-shadow .2s ease;
    border: none;
    cursor: pointer;
}
.download-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(41,128,254,.3); }
.link-more { color: var(--primary); font-weight: 800; display: inline-flex; gap: 6px; align-items: center; }
.link-more::after { content: '›'; }
.web3-dashboard-hero {
    position: relative;
    padding: 46px 0 34px;
    overflow: hidden;
}
.web3-dashboard-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 82% 12%, rgba(41,128,254,.18), transparent 32%), linear-gradient(180deg, #fff, #F6FAFF);
    z-index: -1;
}
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-copy { padding: 12px 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0; }
.security-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.security-tags span { padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--deep); font-size: 13px; }
.hero-console { position: relative; border-radius: 30px; padding: 18px; background: rgba(255,255,255,.78); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-device { display: grid; place-items: center; border-radius: 24px; background: linear-gradient(145deg, #F9FBFF, #EAF3FF); padding: 18px; min-height: 280px; }
.hero-device img { max-height: 390px; object-fit: contain; margin: 0 auto; }
.status-stack { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
.status-card { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 13px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.status-card strong { color: var(--ink); }
.status-card span { color: var(--primary); font-size: 12px; font-weight: 800; padding: 5px 9px; background: var(--primary-soft); border-radius: 999px; white-space: nowrap; }
.service-index { padding-top: 42px; }
.section-head { display: grid; gap: 8px; margin-bottom: 22px; }
.service-index-grid, .category-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.service-card, .mini-card, .risk-card, .faq-item, .step-card, .note-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 10px 28px rgba(18, 46, 82, .04);
}
.service-card { min-height: 188px; display: flex; flex-direction: column; justify-content: space-between; }
.service-card .tag { color: var(--primary); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.service-card p { font-size: 14px; margin-bottom: 14px; }
.feature-layout, .split-layout, .asset-layout, .developer-layout, .submit-layout { display: grid; gap: 24px; align-items: center; }
.feature-panel, .image-panel, .console-panel {
    border-radius: 30px;
    background: #fff;
    border: 1px solid var(--line);
    padding: 24px;
    box-shadow: var(--shadow);
}
.image-panel { background: linear-gradient(145deg, #FFFFFF, #F1F7FF); display: grid; place-items: center; }
.image-panel img { max-height: 420px; object-fit: contain; }
.digital-assets-hub .feature-panel { border-left: 5px solid var(--primary); }
.web3-ecosystem-section { background: #fff; }
.hardware-wallet-section { background: linear-gradient(180deg, #F6F8FB, #F3F8FF); }
.swap-service-section { background: #fff; }
.privacy-boundary-section, .submit-chain-section, .developer-center-section { background: var(--soft-blue); }
.check-list, .compact-list { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 10px; }
.check-list li, .compact-list li { position: relative; padding-left: 28px; color: var(--deep); }
.check-list li::before, .compact-list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px var(--primary-soft); }
.boundary-grid, .risk-grid, .faq-grid, .process-steps { display: grid; gap: 14px; }
.boundary-grid { grid-template-columns: 1fr; }
.boundary-tile { padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.boundary-tile strong { display: block; margin-bottom: 6px; }
.code-panel { background: #172033; color: #EAF3FF; border-radius: 24px; padding: 22px; overflow: hidden; }
.code-panel pre { margin: 0; white-space: pre-wrap; color: #D9E8FF; font-size: 13px; line-height: 1.7; }
.code-panel .blue { color: #8FC1FF; }
.doc-entry { display: grid; gap: 12px; margin-top: 16px; }
.doc-entry a { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: #fff; font-weight: 800; color: var(--deep); }
.doc-entry a:hover { color: var(--primary); border-color: rgba(41,128,254,.45); }
.step-card { position: relative; padding-left: 76px; min-height: 128px; }
.step-num { position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; border-radius: 14px; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 900; }
.risk-card { border-top: 4px solid var(--primary); }
.risk-card small { color: var(--primary); font-weight: 900; display: block; margin-bottom: 8px; }
.faq-item h3 { font-size: 18px; margin-bottom: 8px; }
.cta-section { padding: 62px 0; }
.cta-box { text-align: center; padding: 34px 22px; border-radius: 30px; background: linear-gradient(135deg, #F2F8FF, #FFFFFF); border: 1px solid var(--line); box-shadow: var(--shadow); }
.page-hero { padding: 46px 0 26px; background: linear-gradient(180deg, #F7FBFF, #fff); }
.page-hero-inner { max-width: 860px; }
.content-layout { display: grid; gap: 24px; align-items: start; }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 24px; box-shadow: var(--shadow); }
.article-card h2 { font-size: 25px; margin-top: 8px; }
.side-panel { display: grid; gap: 14px; }
.side-panel .note-card { padding: 18px; }
.list-grid { display: grid; gap: 12px; margin: 18px 0; }
.list-item { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: #FBFDFF; }
.list-item strong { display: block; margin-bottom: 4px; color: var(--ink); }
.download-wrap { margin-top: 22px; }
.faq-page .faq-grid { max-width: 900px; margin: 0 auto; }
.site-footer { background: #F6F8FB; border-top: 1px solid var(--line); padding: 42px 0 22px; }
.footer-grid { display: grid; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand img { width: 34px; height: 34px; object-fit: contain; }
.site-footer h3 { font-size: 16px; }
.site-footer a { display: block; color: var(--muted); margin: 6px 0; }
.site-footer a:hover { color: var(--primary); }
.footer-bottom { padding-top: 24px; color: var(--muted); font-size: 13px; }
@media (min-width: 640px) {
    .service-index-grid, .category-grid, .boundary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .risk-grid, .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .status-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
    .site-nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 2px; padding: 0; border: 0; box-shadow: none; background: transparent; }
    .nav-toggle-label { display: none; }
    .hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 42px; }
    .service-index-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .service-card:nth-child(1), .service-card:nth-child(3) { grid-column: span 2; }
    .feature-layout, .asset-layout, .developer-layout, .submit-layout { grid-template-columns: 1.02fr .98fr; }
    .split-layout { grid-template-columns: .95fr 1.05fr; }
    .hardware-wallet-section .split-layout { grid-template-columns: 1fr 1fr; }
    .swap-service-section .split-layout { grid-template-columns: 1.05fr .95fr; }
    .boundary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .risk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .process-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .content-layout { grid-template-columns: minmax(0, 1fr) 320px; }
    .footer-grid { grid-template-columns: 1.5fr .75fr .75fr; }
    .article-card { padding: 34px; }
    .section { padding: 76px 0; }
}
@media (min-width: 1120px) {
    .status-stack { position: absolute; right: 8px; bottom: -22px; width: 54%; }
    .hero-console { padding-bottom: 92px; }
}
@media (max-width: 380px) {
    .container { width: min(100% - 24px, 1160px); }
    .download-btn { width: 100%; }
    .step-card { padding-left: 22px; padding-top: 72px; }
}
