:root {
    --primary: #2980FE;
    --primary-dark: #1267de;
    --ink: #1f2937;
    --muted: #64748b;
    --line: #dbe4f0;
    --soft: #f5f8fc;
    --soft-blue: #eef6ff;
    --white: #ffffff;
    --shadow: 0 18px 48px rgba(41, 128, 254, 0.12);
    --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 48%, #ffffff 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
main { min-height: 70vh; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.brand, .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}
.logo, .footer-brand img { width: 36px; height: 36px; border-radius: 12px; object-fit: cover; }
.nav-toggle {
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    padding: 9px 13px;
    border-radius: 999px;
    font-weight: 700;
}
.site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 68px;
    display: none;
    flex-direction: column;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.site-nav.is-open { display: flex; }
.site-nav a {
    padding: 10px 12px;
    border-radius: 14px;
    color: #334155;
    font-weight: 650;
    font-size: 14px;
}
.site-nav a:hover { background: var(--soft-blue); color: var(--primary); }
.container, .section, .page-wrap {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}
.section { padding: 44px 0; }
.eyebrow, .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    background: #edf6ff;
    border: 1px solid #d8eaff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 14px; color: #0f172a; }
h1 { font-size: clamp(34px, 8vw, 68px); letter-spacing: -0.055em; }
h2 { font-size: clamp(26px, 5vw, 42px); letter-spacing: -0.035em; }
h3 { font-size: 20px; letter-spacing: -0.015em; }
p { margin: 0 0 14px; color: var(--muted); }
.lead { font-size: 18px; color: #475569; }
.text-link, .card-link {
    display: inline-flex;
    margin-top: 8px;
    color: var(--primary);
    font-weight: 800;
}
.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    color: #fff;
    background: var(--primary);
    border-radius: 999px;
    font-weight: 850;
    box-shadow: 0 14px 28px rgba(41,128,254,0.26);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.download-btn:hover { transform: translateY(-2px); background: var(--primary-dark); box-shadow: 0 18px 36px rgba(41,128,254,0.32); }
.web3-dashboard-hero {
    position: relative;
    overflow: hidden;
    padding: 40px 0 32px;
}
.web3-dashboard-hero::before {
    content: "";
    position: absolute;
    inset: -180px -120px auto auto;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(41,128,254,.22), rgba(41,128,254,0) 68%);
    pointer-events: none;
}
.hero-grid {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    gap: 24px;
    align-items: center;
}
.hero-copy {
    background: rgba(255,255,255,.84);
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 26px;
    box-shadow: var(--shadow);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.security-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.security-tags span, .mini-tag {
    display: inline-flex;
    color: #31516f;
    background: var(--soft-blue);
    border: 1px solid #d9ebff;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}
.hero-panel {
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 18px;
    background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(238,246,255,.9));
    box-shadow: var(--shadow);
}
.product-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 280px;
    background: radial-gradient(circle at center, rgba(41,128,254,.16), rgba(255,255,255,.78) 62%);
    border-radius: 24px;
    overflow: hidden;
}
.product-stage img { max-height: 360px; object-fit: contain; }
.status-grid { display: grid; gap: 10px; margin-top: 14px; }
.status-card {
    background: rgba(255,255,255,.86);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
}
.status-card strong { display: block; color: #0f172a; }
.status-card span { color: var(--muted); font-size: 13px; }
.service-index, .category-grid, .risk-grid, .faq-grid {
    display: grid;
    gap: 14px;
}
.service-card, .info-card, .risk-card, .faq-item, .step-card, .mini-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .05);
}
.service-card { position: relative; overflow: hidden; }
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), rgba(41,128,254,0));
}
.module-panel, .digital-assets-hub, .web3-ecosystem-section, .hardware-wallet-section, .swap-service-section, .privacy-boundary-section, .submit-chain-section, .developer-center-section {
    border-radius: 30px;
    border: 1px solid var(--line);
    padding: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
    display: grid;
    gap: 20px;
    align-items: center;
}
.digital-assets-hub { background: linear-gradient(135deg, #ffffff, #f3f8ff); }
.web3-ecosystem-section { background: #ffffff; }
.hardware-wallet-section { background: linear-gradient(135deg, #f4f8fd, #ffffff); }
.swap-service-section { background: linear-gradient(135deg, #ffffff, #f6fbff); }
.privacy-boundary-section { background: linear-gradient(135deg, #f8fbff, #ffffff); }
.submit-chain-section { background: #ffffff; }
.developer-center-section { background: linear-gradient(135deg, #f6f9fd, #ffffff); }
.module-image {
    border-radius: 26px;
    background: var(--soft-blue);
    border: 1px solid #d8eaff;
    min-height: 220px;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.module-image img { max-height: 310px; object-fit: contain; }
.feature-list, .check-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
}
.feature-list li, .check-list li {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255,255,255,.72);
    color: #475569;
}
.safety-panel {
    border: 1px solid #d8eaff;
    border-radius: 24px;
    padding: 18px;
    background: #f1f7ff;
}
.process-steps {
    display: grid;
    gap: 14px;
    counter-reset: step;
}
.step-card { position: relative; padding-left: 72px; min-height: 110px; }
.step-card::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 20px;
    top: 22px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--primary);
    border-radius: 14px;
    font-weight: 900;
}
.risk-card { border-left: 4px solid var(--primary); }
.code-panel {
    background: #f8fbff;
    color: #24415f;
    border: 1px solid #d8eaff;
    border-radius: 24px;
    padding: 18px;
    overflow: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    line-height: 1.8;
}
.cta-section {
    text-align: center;
    border-radius: 30px;
    border: 1px solid #d8eaff;
    background: linear-gradient(135deg, #eef6ff, #ffffff);
    padding: 34px 20px;
    box-shadow: var(--shadow);
}
.page-hero {
    padding: 42px 0 24px;
    background: linear-gradient(180deg, #f7fbff, #ffffff);
}
.page-hero-inner {
    width: min(960px, calc(100% - 32px));
    margin: 0 auto;
}
.page-layout {
    width: min(1060px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 54px;
    display: grid;
    gap: 20px;
}
.article-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 24px;
    box-shadow: var(--shadow);
}
.article-card p { color: #475569; }
.side-stack { display: grid; gap: 14px; align-content: start; }
.notice-box {
    border: 1px solid #d8eaff;
    background: #f3f8ff;
    border-radius: 22px;
    padding: 18px;
}
.download-zone { margin-top: 22px; }
.faq-list { display: grid; gap: 14px; }
.faq-item h2, .faq-item h3 { font-size: 18px; }
.site-footer {
    background: #f7f9fc;
    border-top: 1px solid var(--line);
    padding: 36px 0 22px;
}
.footer-grid {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    gap: 24px;
}
.site-footer h3 { font-size: 16px; margin-bottom: 10px; }
.site-footer a:not(.footer-brand) { display: block; color: #64748b; margin: 8px 0; }
.footer-bottom {
    width: min(1160px, calc(100% - 32px));
    margin: 24px auto 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: #64748b;
    font-size: 14px;
}
@media (min-width: 640px) {
    .service-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .category-grid, .risk-grid, .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
    .nav-toggle { display: none; }
    .site-nav {
        position: static;
        display: flex;
        flex-direction: row;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        border-radius: 0;
        align-items: center;
        gap: 2px;
    }
    .hero-grid { grid-template-columns: 1.02fr .98fr; }
    .hero-copy { padding: 42px; }
    .status-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .service-index { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .service-card:nth-child(1), .service-card:nth-child(7) { 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: 1fr 0.92fr;
        padding: 34px;
    }
    .hardware-wallet-section, .swap-service-section { grid-template-columns: .92fr 1fr; }
    .hardware-wallet-section .module-image, .swap-service-section .module-image { order: -1; }
    .process-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .risk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .page-layout { grid-template-columns: 1fr 320px; align-items: start; }
    .footer-grid { grid-template-columns: 1.4fr .8fr .8fr; }
}
@media (min-width: 1120px) {
    .section { padding: 56px 0; }
    .web3-dashboard-hero { padding: 64px 0 46px; }
}
@media (max-width: 420px) {
    .container, .section, .page-wrap, .hero-grid, .header-inner, .footer-grid, .footer-bottom, .page-layout, .page-hero-inner { width: min(100% - 24px, 1160px); }
    .hero-copy, .module-panel, .digital-assets-hub, .web3-ecosystem-section, .hardware-wallet-section, .swap-service-section, .privacy-boundary-section, .submit-chain-section, .developer-center-section, .article-card { border-radius: 22px; padding: 20px; }
    .download-btn { width: 100%; }
}
