:root {
    --primary: #2980FE;
    --primary-soft: #EAF3FF;
    --primary-line: #CFE3FF;
    --bg: #F6F8FC;
    --bg-soft: #F9FBFF;
    --white: #FFFFFF;
    --text: #243044;
    --muted: #657187;
    --muted-2: #8B95A7;
    --border: #E4E9F2;
    --shadow: 0 18px 45px rgba(36, 48, 68, 0.08);
    --shadow-soft: 0 10px 24px rgba(41, 128, 254, 0.08);
    --radius-lg: 28px;
    --radius: 22px;
    --radius-sm: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { color: var(--muted); margin: 0 0 16px; }
h1, h2, h3 { color: var(--text); line-height: 1.18; margin: 0; }
h1 { font-size: clamp(34px, 8vw, 68px); letter-spacing: -1.8px; }
h2 { font-size: clamp(27px, 5vw, 44px); letter-spacing: -0.9px; }
h3 { font-size: 21px; }
section { position: relative; }
.container { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }
.section { padding: 68px 0; }
.section-tight { padding: 44px 0; }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.kicker, .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid var(--primary-line);
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}
.kicker:before, .badge:before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 5px rgba(41,128,254,0.12);
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    width: min(1160px, calc(100% - 28px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 20px; }
.logo { width: 40px; height: 40px; object-fit: contain; border-radius: 12px; }
.nav-toggle {
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    border-radius: 14px;
    width: 44px;
    height: 44px;
    font-size: 21px;
}
.site-nav {
    position: absolute;
    top: 72px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 12px;
    box-shadow: var(--shadow);
}
.site-nav.is-open { display: flex; }
.site-nav a {
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--muted);
    font-weight: 700;
    font-size: 15px;
}
.site-nav a:hover { background: var(--primary-soft); color: var(--primary); }
.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 24px;
    border-radius: 999px;
    background: var(--primary);
    color: var(--white);
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(41,128,254,0.24);
    border: none;
    transition: transform .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}
.download-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(41,128,254,0.3); }
.product-hero, .web3-dashboard-hero {
    padding: 56px 0 42px;
    background:
        radial-gradient(circle at 90% 12%, rgba(41,128,254,.18), transparent 32%),
        linear-gradient(180deg, #FFFFFF 0%, #F5F9FF 100%);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    gap: 30px;
    align-items: center;
}
.hero-copy p { font-size: 17px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 24px 0 18px; }
.security-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.security-tags span {
    background: var(--white);
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 700;
}
.app-visual {
    position: relative;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(207,227,255,.9);
    border-radius: 32px;
    box-shadow: var(--shadow);
    padding: 22px;
    min-height: 360px;
}
.app-visual:before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(41,128,254,.12), rgba(255,255,255,0));
}
.hero-phone {
    position: relative;
    width: min(330px, 82%);
    margin: 0 auto;
    filter: drop-shadow(0 22px 40px rgba(41,128,254,.17));
    z-index: 1;
}
.float-card {
    position: relative;
    z-index: 2;
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.float-card span {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 10px 12px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 800;
}
.panel-card, .feature-card, .risk-card, .faq-item, .category-card, .info-card, .step-card, .guide-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}
.feature-shortcuts, .service-index {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
}
.shortcut-card, .service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
    transition: transform .2s ease, border-color .2s ease;
}
.shortcut-card:hover, .service-card:hover { transform: translateY(-4px); border-color: var(--primary-line); }
.icon-badge {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 900;
    margin-bottom: 13px;
}
.more-link { color: var(--primary); font-weight: 800; display: inline-flex; margin-top: 8px; }
.product-section, .app-section, .cold-wallet-section, .swap-section, .dapp-section, .digital-assets-hub, .web3-ecosystem-section, .hardware-wallet-section, .swap-service-section, .privacy-boundary-section, .submit-chain-section, .developer-center-section {
    padding: 56px 0;
}
.product-split {
    display: grid;
    gap: 24px;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
}
.product-split.alt { background: linear-gradient(135deg, #F7FAFF 0%, #FFFFFF 72%); }
.product-split .media {
    background: linear-gradient(160deg, var(--primary-soft), #FFFFFF);
    border: 1px solid var(--primary-line);
    border-radius: 24px;
    padding: 18px;
}
.product-split .media img { margin: 0 auto; max-height: 360px; object-fit: contain; }
.check-list, .plain-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.check-list li, .plain-list li {
    position: relative;
    padding-left: 28px;
    color: var(--muted);
}
.check-list li:before, .plain-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 5px rgba(41,128,254,.1);
}
.safety-panel {
    background: linear-gradient(135deg, #FFFFFF, #F3F8FF);
    border: 1px solid var(--primary-line);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-soft);
}
.process-steps {
    display: grid;
    gap: 16px;
    counter-reset: step;
}
.step-card {
    padding: 22px;
    position: relative;
    overflow: hidden;
}
.step-card .num {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 15px;
    font-weight: 900;
    margin-bottom: 14px;
}
.risk-grid, .category-grid, .faq-grid, .info-grid, .guide-grid {
    display: grid;
    gap: 16px;
}
.risk-card { padding: 20px; border-left: 4px solid var(--primary); }
.risk-card strong { color: var(--primary); display: block; margin-bottom: 4px; }
.category-card { padding: 20px; }
.category-card h3 { margin-bottom: 8px; }
.faq-item { padding: 20px; }
.faq-item h3 { margin-bottom: 8px; }
.cta-section {
    padding: 70px 0;
    background: radial-gradient(circle at 50% 10%, rgba(41,128,254,.17), transparent 36%), linear-gradient(180deg, #F7FAFF, #FFFFFF);
}
.cta-box {
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 36px 22px;
    box-shadow: var(--shadow);
}
.cta-box p { max-width: 720px; margin-left: auto; margin-right: auto; }
.page-hero {
    padding: 56px 0 36px;
    background: linear-gradient(180deg, #FFFFFF, #F5F9FF);
}
.page-hero .container { max-width: 980px; }
.page-layout {
    display: grid;
    gap: 24px;
    padding: 46px 0 72px;
}
.article-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
}
.article-card h2 { margin: 28px 0 12px; font-size: clamp(24px, 4vw, 34px); }
.aside-panel {
    background: #F8FBFF;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    align-self: start;
}
.aside-panel a { display: block; padding: 10px 0; color: var(--primary); font-weight: 800; border-bottom: 1px solid var(--border); }
.aside-panel a:last-child { border-bottom: 0; }
.notice {
    border-radius: var(--radius);
    background: var(--primary-soft);
    border: 1px solid var(--primary-line);
    padding: 18px;
    color: var(--muted);
    margin: 20px 0;
}
.code-panel {
    background: #FFFFFF;
    border: 1px solid var(--primary-line);
    border-radius: var(--radius);
    padding: 20px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: #42526B;
    overflow-x: auto;
}
.site-footer {
    background: #FFFFFF;
    border-top: 1px solid var(--border);
    padding: 46px 0 0;
}
.footer-grid { display: grid; gap: 24px; }
.footer-brand { font-size: 24px; font-weight: 900; margin-bottom: 10px; }
.site-footer h3 { font-size: 16px; margin-bottom: 10px; }
.site-footer a { display: block; color: var(--muted); margin: 8px 0; }
.site-footer a:hover { color: var(--primary); }
.footer-bottom {
    margin-top: 34px;
    padding: 18px;
    text-align: center;
    color: var(--muted-2);
    border-top: 1px solid var(--border);
    font-size: 14px;
}

@media (min-width: 680px) {
    .feature-shortcuts, .service-index { grid-template-columns: repeat(2, 1fr); }
    .risk-grid, .category-grid, .faq-grid, .info-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .article-card { padding: 34px; }
}

@media (min-width: 980px) {
    .nav-toggle { display: none; }
    .site-nav {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0;
        gap: 2px;
    }
    .site-nav a { padding: 9px 11px; font-size: 14px; }
    .product-hero, .web3-dashboard-hero { padding: 88px 0 58px; }
    .hero-grid { grid-template-columns: 1.02fr .98fr; gap: 56px; }
    .feature-shortcuts { grid-template-columns: repeat(3, 1fr); }
    .service-index { grid-template-columns: repeat(4, 1fr); }
    .product-split { grid-template-columns: 1fr 1fr; padding: 34px; gap: 42px; }
    .product-split.reverse .media { order: -1; }
    .process-steps { grid-template-columns: repeat(3, 1fr); }
    .risk-grid { grid-template-columns: repeat(4, 1fr); }
    .category-grid { grid-template-columns: repeat(4, 1fr); }
    .faq-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
    .page-layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
    .guide-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1180px) {
    .feature-shortcuts { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 420px) {
    .container { width: min(100% - 24px, 1160px); }
    .header-inner { width: min(100% - 20px, 1160px); }
    .app-visual { padding: 14px; border-radius: 24px; }
    .float-card { grid-template-columns: 1fr; }
    .product-split, .article-card, .cta-box { padding: 20px; border-radius: 22px; }
    .download-btn { width: 100%; }
}
