:root {
    --primary: #2980FE;
    --primary-soft: #EAF3FF;
    --primary-light: #F5F9FF;
    --text: #1F2937;
    --muted: #667085;
    --line: #E5EAF2;
    --card: #FFFFFF;
    --bg: #F7FAFF;
    --gray: #F3F6FA;
    --shadow: 0 18px 50px rgba(41, 128, 254, 0.10);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFF 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(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: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo, .footer-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: #182230; letter-spacing: .2px; }
.logo img, .footer-logo img { width: 34px; height: 34px; object-fit: contain; border-radius: 10px; }
.nav-toggle { width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 14px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 10px; }
.site-nav { display: none; position: absolute; left: 16px; right: 16px; top: 76px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.site-nav.open { display: grid; gap: 6px; }
.site-nav a { padding: 11px 13px; border-radius: 14px; color: var(--muted); font-weight: 650; }
.site-nav a.active, .site-nav a:hover { background: var(--primary-soft); color: var(--primary); }
.section { padding: 58px 0; }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-eyebrow, .badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 800; }
.section-head h2, .page-hero h1, .web3-hero h1 { margin: 14px 0 12px; line-height: 1.12; color: #101828; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); }
.section-head p, .page-hero p, .hero-copy p { color: var(--muted); margin: 0; }
.web3-hero { position: relative; padding: 44px 0 58px; overflow: hidden; }
.web3-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 15%, rgba(41,128,254,.15), transparent 28%), radial-gradient(circle at 92% 10%, rgba(41,128,254,.10), transparent 25%); pointer-events: none; }
.web3-hero .container { position: relative; display: grid; gap: 28px; align-items: center; }
.hero-copy { padding: 24px 0; }
.hero-copy h1 { font-size: clamp(38px, 8vw, 72px); letter-spacing: -1.8px; max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; }
.download-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 24px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 800; box-shadow: 0 14px 30px rgba(41,128,254,.28); transition: transform .2s ease, box-shadow .2s ease; }
.download-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(41,128,254,.34); }
.hero-tags, .tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-tags span, .tag-row span { display: inline-flex; padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: #344054; font-size: 13px; font-weight: 700; }
.hero-visual { position: relative; min-height: 420px; padding: 24px; border-radius: var(--radius-xl); background: linear-gradient(145deg, #FFFFFF, #EFF6FF); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.hero-visual::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; right: -120px; bottom: -130px; background: rgba(41,128,254,.16); }
.hero-device { position: relative; z-index: 2; margin: 10px auto 0; max-height: 390px; object-fit: contain; filter: drop-shadow(0 28px 45px rgba(31,41,55,.18)); }
.float-card { position: absolute; z-index: 3; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; box-shadow: 0 12px 28px rgba(16,24,40,.10); min-width: 142px; }
.float-card strong { display: block; font-size: 14px; color: #101828; }
.float-card span { color: var(--muted); font-size: 12px; }
.float-1 { top: 24px; left: 18px; }
.float-2 { top: 92px; right: 18px; }
.float-3 { bottom: 92px; left: 18px; }
.float-4 { bottom: 24px; right: 18px; }
.ecosystem-nav, .category-grid, .risk-grid, .feature-grid, .faq-grid { display: grid; gap: 16px; }
.ecosystem-card, .category-card, .risk-card, .feature-card, .faq-item, .info-card, .step-card, .download-panel, .article-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: 0 10px 30px rgba(16,24,40,.04);
}
.ecosystem-card { position: relative; overflow: hidden; }
.ecosystem-card::before { content: attr(data-label); display: inline-flex; margin-bottom: 18px; padding: 6px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-weight: 800; font-size: 12px; }
.ecosystem-card h3, .category-card h3, .risk-card h3, .feature-card h3, .info-card h3, .step-card h3, .article-card h3 { margin: 0 0 8px; color: #101828; }
.ecosystem-card p, .category-card p, .risk-card p, .feature-card p, .info-card p, .step-card p, .article-card p, .faq-item p { margin: 0; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--primary); font-weight: 800; }
.text-link::after { content: "→"; }
.web3-section, .hardware-wallet-section, .digital-assets-section, .swap-section, .developer-center-section { display: grid; gap: 24px; align-items: center; }
.product-panel { border-radius: var(--radius-xl); border: 1px solid var(--line); background: #fff; padding: 24px; box-shadow: var(--shadow); }
.product-panel img { width: 100%; max-height: 390px; object-fit: contain; margin: auto; }
.product-copy h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1.14; margin: 0 0 14px; color: #101828; }
.product-copy p { color: var(--muted); margin: 0 0 16px; }
.bullet-list { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.bullet-list li { position: relative; padding-left: 28px; color: #344054; }
.bullet-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px var(--primary-soft); }
.soft-bg { background: linear-gradient(180deg, #F6FAFF 0%, #FFFFFF 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.privacy-section, .submit-chain-section { display: grid; gap: 18px; }
.safety-panel { border: 1px solid #D9E8FF; background: linear-gradient(135deg, #FFFFFF, #F5F9FF); border-radius: var(--radius-xl); padding: 24px; }
.safety-panel h2 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 42px); }
.safety-panel p { color: var(--muted); margin: 0; }
.panel-grid { display: grid; gap: 14px; margin-top: 18px; }
.code-panel { background: #F8FAFC; border: 1px solid var(--line); border-radius: 22px; padding: 20px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #344054; overflow: hidden; }
.code-line { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px dashed #D9E2EF; }
.code-line:last-child { border-bottom: 0; }
.code-line span:first-child { color: var(--primary); font-weight: 800; }
.process-steps { display: grid; gap: 14px; counter-reset: steps; }
.step-card { position: relative; padding-left: 78px; }
.step-card::before { counter-increment: steps; content: counter(steps, decimal-leading-zero); position: absolute; left: 20px; top: 22px; width: 42px; height: 42px; border-radius: 15px; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 900; }
.risk-card { border-left: 4px solid var(--primary); }
.risk-card .suggest { margin-top: 12px; padding: 10px 12px; background: var(--primary-light); border-radius: 14px; color: #344054; font-size: 14px; }
.faq-item h3 { margin: 0 0 8px; font-size: 17px; }
.cta-section { padding: 64px 0; }
.download-panel { text-align: center; background: linear-gradient(135deg, #FFFFFF 0%, #EEF6FF 100%); border-radius: 32px; padding: 38px 22px; }
.download-panel h2 { margin: 0 0 10px; font-size: clamp(30px, 5vw, 48px); }
.download-panel p { color: var(--muted); max-width: 640px; margin: 0 auto 22px; }
.page-hero { padding: 52px 0 32px; background: radial-gradient(circle at top right, rgba(41,128,254,.12), transparent 28%); }
.page-hero h1 { font-size: clamp(34px, 6vw, 58px); max-width: 880px; }
.article-layout { display: grid; gap: 24px; padding: 28px 0 64px; }
.article-main { display: grid; gap: 20px; }
.article-main p { color: var(--muted); margin: 0; }
.article-main h2 { margin: 10px 0 0; font-size: 26px; }
.aside-panel { align-self: start; position: sticky; top: 94px; display: grid; gap: 14px; }
.list-panel { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.list-panel li { padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: #344054; }
.download-page-grid { display: grid; gap: 18px; }
.site-footer { background: #101828; color: #D0D5DD; padding-top: 48px; }
.footer-grid { display: grid; gap: 26px; }
.footer-logo { color: #fff; margin-bottom: 12px; }
.site-footer h3 { color: #fff; margin: 0 0 12px; }
.site-footer p { color: #AAB3C2; margin: 0; }
.site-footer a { display: block; color: #D0D5DD; margin: 8px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding: 18px 0; display: flex; flex-direction: column; gap: 8px; color: #98A2B3; font-size: 14px; }
@media (min-width: 640px) {
    .ecosystem-nav, .category-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .risk-grid, .faq-grid, .panel-grid, .download-page-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .nav-toggle { display: none; }
    .site-nav { position: static; display: flex; align-items: center; gap: 2px; padding: 0; background: transparent; border: 0; box-shadow: none; }
    .site-nav a { font-size: 14px; padding: 9px 10px; }
    .web3-hero { padding: 70px 0 78px; }
    .web3-hero .container { grid-template-columns: 1.02fr .98fr; }
    .ecosystem-nav { grid-template-columns: repeat(4, 1fr); }
    .ecosystem-card:first-child { grid-column: span 2; }
    .web3-section, .digital-assets-section, .swap-section, .developer-center-section { grid-template-columns: 1fr 1fr; }
    .hardware-wallet-section { grid-template-columns: 1fr 1fr; }
    .hardware-wallet-section .product-panel { order: -1; }
    .privacy-section, .submit-chain-section { grid-template-columns: 1.1fr .9fr; }
    .category-grid { grid-template-columns: repeat(4, 1fr); }
    .risk-grid { grid-template-columns: repeat(3, 1fr); }
    .process-steps { grid-template-columns: repeat(3, 1fr); }
    .article-layout { grid-template-columns: minmax(0, 1fr) 320px; }
    .footer-grid { grid-template-columns: 1.4fr .8fr .8fr 1fr; }
    .footer-bottom { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 1120px) {
    .site-nav a { padding: 9px 12px; }
}
