:root {
    --primary: #2980FE;
    --primary-soft: #EAF3FF;
    --bg: #F6F8FC;
    --bg-soft: #F8FBFF;
    --white: #FFFFFF;
    --text: #1F2937;
    --muted: #64748B;
    --line: #E5EAF2;
    --deep: #334155;
    --shadow: 0 18px 45px rgba(30, 64, 175, 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%, #F7FAFF 42%, #F6F8FC 100%);
    line-height: 1.72;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.02em; color: var(--deep); }
.logo img { width: 38px; height: 38px; border-radius: 12px; object-fit: contain; background: var(--primary-soft); }
.desktop-nav { display: none; align-items: center; gap: 18px; font-size: 14px; color: var(--deep); }
.desktop-nav a { padding: 8px 0; border-bottom: 2px solid transparent; }
.desktop-nav a:hover { color: var(--primary); border-color: var(--primary); }
.mobile-nav { position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; color: var(--primary); font-weight: 700; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; background: var(--white); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav-panel { position: absolute; right: 0; top: 44px; width: 230px; padding: 12px; border: 1px solid var(--line); background: var(--white); border-radius: 18px; box-shadow: var(--shadow); display: grid; gap: 4px; }
.mobile-nav-panel a { padding: 10px 12px; border-radius: 12px; color: var(--deep); }
.mobile-nav-panel a:hover { background: var(--primary-soft); color: var(--primary); }
.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
.eyebrow, .badge { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); background: var(--primary-soft); border: 1px solid rgba(41,128,254,0.18); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; }
h1, h2, h3 { line-height: 1.22; color: #111827; margin: 0 0 14px; }
h1 { font-size: clamp(34px, 8vw, 64px); letter-spacing: -0.045em; }
h2 { font-size: clamp(26px, 5vw, 42px); letter-spacing: -0.025em; }
h3 { font-size: 20px; }
p { margin: 0 0 14px; color: var(--muted); }
.lead { font-size: 18px; color: var(--deep); }
.muted { color: var(--muted); }
.gradient-bg { background: radial-gradient(circle at 20% 20%, rgba(41,128,254,0.12), transparent 28%), radial-gradient(circle at 85% 10%, rgba(41,128,254,0.08), transparent 25%); }
.web3-dashboard-hero { padding: 54px 0 42px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-copy { position: relative; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }
.hero-tags span { border: 1px solid var(--line); color: var(--deep); background: var(--white); border-radius: 999px; padding: 8px 12px; font-size: 13px; }
.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--primary);
    color: var(--white);
    font-weight: 800;
    border: 1px solid var(--primary);
    box-shadow: 0 12px 24px rgba(41,128,254,0.24);
    transition: transform .2s ease, box-shadow .2s ease;
}
.download-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(41,128,254,0.28); }
.hero-console { background: rgba(255,255,255,0.92); border: 1px solid var(--line); border-radius: 30px; padding: 18px; box-shadow: var(--shadow); }
.product-stage { background: linear-gradient(145deg, #F8FBFF, #EDF5FF); border: 1px solid var(--line); border-radius: 26px; padding: 18px; display: grid; gap: 16px; }
.product-stage img { margin: 0 auto; max-height: 360px; object-fit: contain; }
.status-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.status-card { padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.status-card b { color: var(--primary); display: block; margin-bottom: 4px; }
.status-card span { color: var(--muted); font-size: 13px; }
.service-index { padding-top: 32px; }
.service-index-grid, .category-grid { display: grid; gap: 16px; margin-top: 22px; }
.service-card, .info-card, .risk-card, .faq-item, .step-card, .page-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}
.service-card { min-height: 188px; display: flex; flex-direction: column; justify-content: space-between; }
.service-card .tag { display: inline-flex; color: var(--primary); font-size: 12px; font-weight: 800; margin-bottom: 8px; }
.service-card a, .text-link { color: var(--primary); font-weight: 800; }
.service-card:hover, .page-card:hover { border-color: rgba(41,128,254,0.38); transform: translateY(-2px); transition: .2s ease; }
.digital-assets-hub, .web3-ecosystem-section, .hardware-wallet-section, .swap-service-section, .privacy-boundary-section, .submit-chain-section, .developer-center-section {
    border-radius: 30px;
    padding: 24px;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
    display: grid;
    gap: 22px;
    align-items: center;
}
.hardware-wallet-section, .privacy-boundary-section { background: linear-gradient(135deg, #F8FBFF, #EEF6FF); }
.visual-panel { border-radius: 26px; padding: 18px; border: 1px solid var(--line); background: var(--bg-soft); }
.visual-panel img { margin: 0 auto; max-height: 320px; object-fit: contain; }
.feature-list, .check-list { display: grid; gap: 10px; margin: 18px 0; padding: 0; list-style: none; }
.feature-list li, .check-list li { position: relative; padding-left: 26px; color: var(--deep); }
.feature-list li:before, .check-list li:before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 10px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 0 5px var(--primary-soft); }
.safety-panel { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 20px; }
.safety-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.safety-tags span { color: var(--primary); background: var(--primary-soft); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 13px; }
.eco-list { display: grid; gap: 12px; }
.eco-item { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-soft); }
.code-panel { background: #F7FAFF; border: 1px solid var(--line); border-radius: 24px; padding: 18px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--deep); overflow-wrap: anywhere; }
.code-panel .line { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); }
.code-panel .line:last-child { border-bottom: 0; }
.process-steps, .risk-grid, .faq-grid { display: grid; gap: 16px; margin-top: 22px; }
.step-card { position: relative; padding-top: 54px; }
.step-num { position: absolute; top: 18px; left: 20px; width: 28px; height: 28px; border-radius: 10px; background: var(--primary); color: var(--white); display: grid; place-items: center; font-weight: 800; }
.risk-card { border-left: 4px solid var(--primary); }
.risk-card strong { color: #111827; display: block; margin-bottom: 8px; }
.faq-item h3 { font-size: 18px; }
.cta-section { text-align: center; border-radius: 30px; padding: 42px 22px; background: linear-gradient(135deg, #EEF6FF, #FFFFFF); border: 1px solid var(--line); }
.page-hero { padding: 48px 0 28px; }
.page-layout { display: grid; gap: 22px; align-items: start; }
.article-card { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 24px; box-shadow: var(--shadow); }
.article-card p { font-size: 16px; }
.sidebar { display: grid; gap: 14px; }
.sidebar .info-card { padding: 18px; }
.list-grid { display: grid; gap: 12px; margin: 18px 0; }
.list-row { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-soft); }
.download-area { margin-top: 24px; }
.download-steps { counter-reset: step; display: grid; gap: 14px; margin-top: 24px; }
.download-steps .list-row { counter-increment: step; }
.download-steps .list-row:before { content: counter(step); width: 28px; height: 28px; border-radius: 10px; background: var(--primary); color: var(--white); display: inline-grid; place-items: center; font-weight: 800; margin-right: 10px; }
.site-footer { margin-top: 54px; padding: 42px 0 22px; background: #FFFFFF; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 22px; }
.footer-brand { color: var(--primary); font-weight: 900; font-size: 24px; margin-bottom: 10px; }
.site-footer h2 { font-size: 16px; margin-bottom: 10px; }
.site-footer a { display: block; color: var(--muted); padding: 4px 0; }
.site-footer a:hover { color: var(--primary); }
.footer-bottom { margin-top: 24px; color: var(--muted); font-size: 14px; }
@media (min-width: 640px) {
    .status-grid, .service-index-grid, .category-grid, .risk-grid, .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
    .mobile-nav { display: none; }
    .desktop-nav { display: flex; }
    .web3-dashboard-hero { padding: 82px 0 54px; }
    .hero-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 42px; }
    .status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-index-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .service-index-grid .service-card:first-child { grid-column: span 2; }
    .digital-assets-hub, .web3-ecosystem-section, .hardware-wallet-section, .swap-service-section, .privacy-boundary-section, .submit-chain-section, .developer-center-section { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 34px; }
    .hardware-wallet-section .visual-panel, .swap-service-section .visual-panel { order: -1; }
    .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .process-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .risk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-layout { grid-template-columns: minmax(0, 1fr) 320px; }
    .footer-grid { grid-template-columns: 1.4fr 0.7fr 0.7fr; }
}
@media (max-width: 380px) {
    .container { width: min(100% - 22px, 1120px); }
    h1 { font-size: 31px; }
    .service-card, .info-card, .risk-card, .faq-item, .step-card, .article-card { padding: 18px; }
}
