* {
    box-sizing: border-box;
}
:root {
    --primary: #2980FE;
    --primary-dark: #1262d8;
    --text: #1f2937;
    --muted: #667085;
    --soft: #f5f8ff;
    --soft-2: #eef5ff;
    --line: #e5eaf3;
    --white: #ffffff;
    --deep: #0f172a;
    --shadow: 0 18px 48px rgba(41, 128, 254, 0.10);
    --radius: 28px;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 45%, #ffffff 100%);
    line-height: 1.75;
    overflow-x: hidden;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    display: block;
}
.container {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(229, 234, 243, 0.9);
}
.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--deep);
    letter-spacing: -0.02em;
}
.logo img,
.footer-logo img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}
.site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}
.site-nav.open {
    display: grid;
    gap: 8px;
}
.site-nav a {
    padding: 10px 12px;
    border-radius: 14px;
    color: #344054;
    font-size: 15px;
}
.site-nav a:hover,
.site-nav a.active {
    background: var(--soft-2);
    color: var(--primary);
}
.nav-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--deep);
    border-radius: 3px;
}
.section {
    padding: 68px 0;
}
.web3-hero {
    position: relative;
    padding: 78px 0 56px;
    overflow: hidden;
}
.web3-hero::before,
.web3-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(41, 128, 254, 0.18), rgba(41, 128, 254, 0));
    pointer-events: none;
}
.web3-hero::before {
    width: 520px;
    height: 520px;
    right: -190px;
    top: -180px;
}
.web3-hero::after {
    width: 320px;
    height: 320px;
    left: -130px;
    bottom: -120px;
}
.hero-grid {
    position: relative;
    display: grid;
    gap: 34px;
    align-items: center;
}
.eyebrow,
.category-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    color: var(--primary);
    background: #edf5ff;
    border: 1px solid #d8e8ff;
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 13px;
    font-weight: 700;
}
h1 {
    margin: 16px 0;
    font-size: clamp(36px, 8vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.055em;
    color: var(--deep);
}
h2 {
    margin: 0 0 16px;
    font-size: clamp(28px, 5.2vw, 46px);
    line-height: 1.13;
    letter-spacing: -0.035em;
    color: var(--deep);
}
h3 {
    margin: 0 0 10px;
    color: var(--deep);
    line-height: 1.3;
}
p {
    margin: 0 0 14px;
    color: var(--muted);
}
.hero-lead {
    font-size: 18px;
    color: #475467;
    max-width: 660px;
}
.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    background: var(--primary);
    color: var(--white);
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(41, 128, 254, 0.26);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    border: 0;
    cursor: pointer;
    white-space: nowrap;
}
.download-btn:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
    box-shadow: 0 18px 36px rgba(41, 128, 254, 0.30);
}
.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
}
.sub-link {
    color: var(--primary);
    font-weight: 800;
}
.security-tags,
.floating-tags,
.inline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.security-tags span,
.floating-tags span,
.inline-tags span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--line);
    color: #344054;
    font-size: 13px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}
.hero-visual {
    position: relative;
    padding: 18px;
    border-radius: 34px;
    background: linear-gradient(145deg, #ffffff, #eef6ff);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.hero-visual img {
    margin: 0 auto;
    max-height: 520px;
    object-fit: contain;
}
.floating-tags {
    margin-top: 16px;
    justify-content: center;
}
.section-head {
    max-width: 740px;
    margin-bottom: 28px;
}
.section-head.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.ecosystem-nav,
.category-grid,
.risk-grid,
.faq-grid,
.card-grid {
    display: grid;
    gap: 16px;
}
.ecosystem-card,
.content-card,
.risk-card,
.faq-item,
.step-card,
.aside-card,
.info-card,
.link-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}
.ecosystem-card {
    padding: 22px;
    position: relative;
    overflow: hidden;
}
.ecosystem-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), rgba(41, 128, 254, 0.18));
}
.ecosystem-card strong {
    display: inline-flex;
    color: var(--primary);
    font-size: 13px;
    margin-bottom: 10px;
}
.ecosystem-card a,
.text-link {
    display: inline-flex;
    margin-top: 8px;
    color: var(--primary);
    font-weight: 800;
}
.feature-split,
.web3-section,
.hardware-wallet-section,
.digital-assets-section,
.swap-section,
.developer-center-section,
.submit-chain-section,
.privacy-section {
    display: grid;
    gap: 26px;
    align-items: center;
}
.feature-split.reverse .feature-media {
    order: -1;
}
.feature-panel {
    padding: 30px;
    border-radius: 34px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.feature-panel.soft,
.safety-panel,
.cta-section {
    background: linear-gradient(135deg, #f7fbff, #eef5ff);
    border: 1px solid #dbeafe;
}
.feature-media {
    border-radius: 34px;
    background: linear-gradient(145deg, #ffffff, #f0f6ff);
    border: 1px solid var(--line);
    padding: 22px;
    box-shadow: var(--shadow);
}
.feature-media img {
    margin: 0 auto;
    max-height: 420px;
    object-fit: contain;
}
.check-list {
    display: grid;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}
.check-list li {
    position: relative;
    padding-left: 28px;
    color: #475467;
}
.check-list li::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    position: absolute;
    top: 12px;
    left: 2px;
    box-shadow: 0 0 0 5px rgba(41, 128, 254, 0.12);
}
.privacy-section,
.submit-chain-section {
    padding: 30px;
    border-radius: 34px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.privacy-points,
.submit-points,
.dev-links {
    display: grid;
    gap: 14px;
}
.info-card,
.link-card {
    padding: 18px;
}
.code-panel {
    background: #f8fbff;
    border: 1px solid #dbeafe;
    border-radius: 24px;
    padding: 18px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: #344054;
    overflow: hidden;
}
.code-panel span {
    display: block;
    padding: 7px 0;
    border-bottom: 1px solid #e5eefc;
}
.code-panel span:last-child {
    border-bottom: 0;
}
.process-steps {
    display: grid;
    gap: 14px;
    counter-reset: step;
}
.step-card {
    padding: 20px;
    position: relative;
}
.step-num {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    background: var(--primary);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 14px;
}
.risk-card {
    padding: 20px;
    border-left: 4px solid var(--primary);
}
.risk-card em {
    display: block;
    color: #475467;
    font-style: normal;
    margin-top: 8px;
}
.faq-item {
    padding: 22px;
}
.faq-item summary {
    cursor: pointer;
    font-weight: 800;
    color: var(--deep);
}
.faq-item p {
    margin-top: 12px;
}
.cta-section {
    padding: 42px 24px;
    border-radius: 36px;
    text-align: center;
    box-shadow: var(--shadow);
}
.page-hero {
    padding: 70px 0 34px;
    background: radial-gradient(circle at top right, rgba(41, 128, 254, 0.14), rgba(255,255,255,0) 42%);
}
.page-hero h1 {
    max-width: 840px;
}
.page-summary {
    max-width: 760px;
    font-size: 18px;
}
.article-layout {
    display: grid;
    gap: 24px;
    align-items: start;
}
.content-card {
    padding: 26px;
}
.content-card + .content-card {
    margin-top: 18px;
}
.aside-card {
    padding: 22px;
    position: sticky;
    top: 94px;
}
.aside-card ul,
.content-card ul,
.content-card ol {
    margin: 12px 0 0;
    padding-left: 22px;
    color: #475467;
}
.aside-card li,
.content-card li {
    margin: 8px 0;
}
.download-panel {
    margin-top: 24px;
    padding: 24px;
    border-radius: 28px;
    background: var(--soft-2);
    border: 1px solid #dbeafe;
}
.table-like {
    display: grid;
    gap: 10px;
}
.table-like div {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fbfdff;
}
.site-footer {
    margin-top: 70px;
    padding: 54px 0 24px;
    background: #f4f7fb;
    border-top: 1px solid var(--line);
}
.footer-grid {
    display: grid;
    gap: 28px;
}
.site-footer h3 {
    font-size: 16px;
}
.site-footer a:not(.footer-logo) {
    display: block;
    margin: 7px 0;
    color: #475467;
}
.site-footer a:hover {
    color: var(--primary);
}
.footer-bottom {
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
}
@media (min-width: 640px) {
    .ecosystem-nav,
    .category-grid,
    .risk-grid,
    .faq-grid,
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 900px) {
    .nav-toggle {
        display: none;
    }
    .site-nav {
        display: flex;
        position: static;
        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,
    .feature-split,
    .web3-section,
    .hardware-wallet-section,
    .digital-assets-section,
    .swap-section,
    .developer-center-section,
    .submit-chain-section,
    .privacy-section,
    .article-layout {
        grid-template-columns: 1.05fr .95fr;
    }
    .feature-split.reverse .feature-media {
        order: initial;
    }
    .ecosystem-nav {
        grid-template-columns: repeat(4, 1fr);
    }
    .risk-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .category-grid,
    .faq-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}
@media (min-width: 1120px) {
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 420px) {
    .container {
        width: min(100% - 28px, 1120px);
    }
    .section {
        padding: 50px 0;
    }
    .web3-hero {
        padding-top: 54px;
    }
    .feature-panel,
    .privacy-section,
    .submit-chain-section,
    .content-card {
        padding: 22px;
    }
    .download-btn {
        width: 100%;
    }
}
