:root {
    --primary: #2980FE;
    --primary-soft: #eaf3ff;
    --primary-light: #f5f9ff;
    --white: #ffffff;
    --bg: #f7f9fc;
    --soft: #f1f5f9;
    --line: #dfe7f1;
    --text: #1f2937;
    --muted: #667085;
    --deep: #0f172a;
    --shadow: 0 18px 48px rgba(41, 128, 254, .10);
    --radius: 26px;
}
* { 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%, #f7fbff 45%, #ffffff 100%);
    line-height: 1.75;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(223, 231, 241, .82);
}
.header-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--deep);
    letter-spacing: .3px;
}
.logo img { width: 38px; height: 38px; border-radius: 12px; }
.nav-toggle { display: none; }
.mobile-nav {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: var(--white);
    cursor: pointer;
}
.mobile-nav span { width: 18px; height: 2px; background: var(--deep); border-radius: 6px; }
.desktop-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
}
.desktop-nav a {
    padding: 10px 12px;
    border-radius: 14px;
    color: var(--muted);
    font-size: 15px;
}
.desktop-nav a.active,
.desktop-nav a:hover { color: var(--primary); background: var(--primary-soft); }
.nav-toggle:checked ~ .desktop-nav { display: flex; }
.content-container,
.section-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}
.gradient-background {
    position: relative;
    overflow: hidden;
}
.gradient-background::before,
.gradient-background::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(41,128,254,.18), rgba(41,128,254,0) 65%);
    pointer-events: none;
}
.gradient-background::before { width: 420px; height: 420px; top: -160px; right: -160px; }
.gradient-background::after { width: 360px; height: 360px; bottom: -120px; left: -160px; }
.web3-hero {
    padding: 54px 0 34px;
    background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 56%, #eef6ff 100%);
}
.hero-grid {
    display: grid;
    gap: 34px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-copy h1,
.page-hero h1 {
    margin: 0;
    color: var(--deep);
    font-size: clamp(34px, 9vw, 72px);
    line-height: 1.08;
    letter-spacing: -1.8px;
}
.hero-copy p,
.page-hero p {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 17px;
}
.hero-actions { margin-top: 26px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.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;
    letter-spacing: .2px;
    box-shadow: 0 14px 28px rgba(41,128,254,.26);
    transition: transform .2s ease, box-shadow .2s ease;
    border: 0;
}
.download-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(41,128,254,.32); }
.hero-tags,
.tag-row,
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.hero-tags span,
.tag-row span,
.category-badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(41,128,254,.18);
    background: rgba(255,255,255,.72);
    color: var(--primary);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 700;
}
.hero-visual {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.app-showcase {
    width: min(360px, 86vw);
    padding: 22px;
    border-radius: 38px;
    background: linear-gradient(180deg, #ffffff, #eef6ff);
    box-shadow: 0 28px 70px rgba(41,128,254,.16);
    border: 1px solid rgba(41,128,254,.14);
}
.app-showcase img { border-radius: 28px; margin: 0 auto; }
.float-label {
    position: absolute;
    background: rgba(255,255,255,.9);
    border: 1px solid var(--line);
    color: var(--deep);
    border-radius: 999px;
    padding: 9px 13px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(15,23,42,.08);
}
.float-label.one { top: 26px; left: 0; }
.float-label.two { top: 88px; right: 0; }
.float-label.three { bottom: 86px; left: 5px; }
.float-label.four { bottom: 28px; right: 4px; }
.section {
    padding: 58px 0;
}
.section-title {
    max-width: 820px;
    margin-bottom: 24px;
}
.section-title.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-title .eyebrow,
.eyebrow {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid rgba(41,128,254,.15);
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 800;
    font-size: 13px;
}
.section-title h2 {
    margin: 12px 0 10px;
    color: var(--deep);
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1.16;
    letter-spacing: -.8px;
}
.section-title p { color: var(--muted); margin: 0; }
.ecosystem-nav,
.category-grid,
.risk-grid,
.faq-grid,
.info-grid {
    display: grid;
    gap: 16px;
}
.ecosystem-nav { grid-template-columns: 1fr; }
.ecosystem-card,
.category-card,
.risk-card,
.faq-item,
.info-card,
.page-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 12px 34px rgba(15,23,42,.05);
}
.ecosystem-card strong,
.category-card strong,
.risk-card strong,
.info-card strong { color: var(--deep); display: block; font-size: 18px; margin-bottom: 8px; }
.ecosystem-card p,
.category-card p,
.risk-card p,
.info-card p,
.faq-item p { margin: 0; color: var(--muted); }
.card-link,
.inline-link { color: var(--primary); font-weight: 800; display: inline-flex; margin-top: 12px; }
.ecosystem-card .mark {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 12px;
    font-weight: 900;
    margin-bottom: 16px;
}
.service-card,
.web3-section,
.hardware-wallet-section,
.digital-assets-section,
.swap-section,
.privacy-section,
.submit-chain-section,
.developer-center-section {
    display: grid;
    gap: 26px;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.hardware-wallet-section,
.privacy-section { background: linear-gradient(135deg, #f6faff, #ffffff); }
.service-card h2,
.web3-section h2,
.hardware-wallet-section h2,
.digital-assets-section h2,
.swap-section h2,
.privacy-section h2,
.submit-chain-section h2,
.developer-center-section h2 {
    margin: 0 0 12px;
    color: var(--deep);
    font-size: clamp(26px, 5vw, 42px);
    line-height: 1.18;
}
.service-card p { color: var(--muted); margin: 0 0 14px; }
.visual-panel {
    padding: 18px;
    border-radius: 28px;
    background: linear-gradient(145deg, #eef6ff, #ffffff);
    border: 1px solid rgba(41,128,254,.12);
}
.visual-panel img { border-radius: 22px; margin: 0 auto; }
.feature-list,
.check-list {
    display: grid;
    gap: 10px;
    margin: 18px 0;
    padding: 0;
    list-style: none;
}
.feature-list li,
.check-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text);
}
.feature-list li::before,
.check-list li::before {
    content: "";
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    margin-top: 10px;
    border-radius: 50%;
    background: var(--primary);
}
.code-panel {
    background: #f8fbff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 18px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: var(--deep);
}
.code-panel span { display: block; color: var(--muted); margin-top: 8px; }
.process-steps {
    display: grid;
    gap: 14px;
    counter-reset: step;
}
.step-card {
    position: relative;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(15,23,42,.04);
}
.step-no {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: var(--primary);
    color: var(--white);
    display: inline-grid;
    place-items: center;
    font-weight: 900;
    margin-bottom: 12px;
}
.step-card h3 { margin: 0 0 8px; color: var(--deep); }
.step-card p { margin: 0; color: var(--muted); }
.risk-card { border-left: 4px solid var(--primary); }
.risk-card em { display: block; margin-top: 10px; color: var(--primary); font-style: normal; font-weight: 800; }
.app-category-center { background: linear-gradient(180deg, #f5f9ff, #ffffff); }
.safety-panel {
    background: linear-gradient(135deg, var(--primary-soft), #ffffff);
    border: 1px solid rgba(41,128,254,.18);
    border-radius: 28px;
    padding: 24px;
}
.safety-panel h3 { margin-top: 0; color: var(--deep); }
.cta-section {
    margin: 36px 0 0;
    text-align: center;
    border-radius: 34px;
    padding: 38px 22px;
    background: linear-gradient(135deg, #eef6ff, #ffffff 72%);
    border: 1px solid rgba(41,128,254,.14);
    box-shadow: var(--shadow);
}
.cta-section h2 { color: var(--deep); margin: 0 0 12px; font-size: clamp(26px, 5vw, 42px); }
.cta-section p { color: var(--muted); max-width: 680px; margin: 0 auto 22px; }
.page-hero {
    padding: 48px 0 26px;
    background: linear-gradient(135deg, #ffffff, #f2f7ff);
}
.page-layout {
    display: grid;
    gap: 24px;
    padding: 34px 0 58px;
}
.article-body {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 24px;
    box-shadow: 0 14px 38px rgba(15,23,42,.05);
}
.article-body h2 { color: var(--deep); margin-top: 0; }
.article-body p { color: var(--muted); }
.sidebar-panel {
    background: linear-gradient(180deg, #f6faff, #ffffff);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 22px;
    height: fit-content;
}
.sidebar-panel h3 { margin-top: 0; color: var(--deep); }
.sidebar-panel a { display: block; color: var(--primary); font-weight: 800; padding: 8px 0; }
.page-download { margin-top: 24px; }
.download-hero {
    display: grid;
    gap: 24px;
    align-items: center;
    padding: 38px 0 58px;
}
.download-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 28px;
    box-shadow: var(--shadow);
}
.faq-item h3 { margin: 0 0 10px; color: var(--deep); }
.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    gap: 28px;
    padding: 46px 0 26px;
}
.site-footer {
    background: #f7f9fc;
    border-top: 1px solid var(--line);
}
.footer-brand p { color: var(--muted); max-width: 420px; }
.footer-links { display: grid; gap: 20px; }
.footer-links strong { color: var(--deep); display: block; margin-bottom: 10px; }
.footer-links a { display: block; color: var(--muted); padding: 5px 0; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
    text-align: center;
    padding: 16px;
}
@media (min-width: 680px) {
    .ecosystem-nav { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .risk-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: repeat(2, 1fr); }
    .info-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .footer-links { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
    .mobile-nav { display: none; }
    .desktop-nav {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 2px;
        padding: 0;
        border: 0;
        box-shadow: none;
        background: transparent;
    }
    .desktop-nav a { font-size: 14px; padding: 8px 10px; }
    .web3-hero { padding: 84px 0 54px; }
    .hero-grid { grid-template-columns: 1.02fr .98fr; gap: 60px; }
    .hero-copy p { font-size: 19px; max-width: 680px; }
    .ecosystem-nav { grid-template-columns: repeat(4, 1fr); }
    .ecosystem-card:nth-child(1) { grid-column: span 2; }
    .ecosystem-card:nth-child(7) { grid-column: span 2; }
    .service-card,
    .web3-section,
    .hardware-wallet-section,
    .digital-assets-section,
    .swap-section,
    .privacy-section,
    .submit-chain-section,
    .developer-center-section { grid-template-columns: 1fr 1fr; padding: 34px; }
    .reverse .service-copy { order: 2; }
    .reverse .visual-panel { order: 1; }
    .category-grid { grid-template-columns: repeat(4, 1fr); }
    .risk-grid { grid-template-columns: repeat(4, 1fr); }
    .process-steps { grid-template-columns: repeat(3, 1fr); }
    .page-layout { grid-template-columns: minmax(0, 1fr) 310px; align-items: start; }
    .article-body { padding: 34px; }
    .download-hero { grid-template-columns: 1.02fr .98fr; }
    .footer-inner { grid-template-columns: .9fr 1.1fr; }
}
@media (min-width: 1160px) {
    .desktop-nav a { padding: 8px 12px; }
}
