:root{
    --primary:#2980FE;
    --primary-dark:#1466d8;
    --white:#ffffff;
    --text:#1f2937;
    --muted:#5f6b7a;
    --soft:#f6f9fe;
    --soft-blue:#eef6ff;
    --line:#e5ecf5;
    --shadow:0 16px 40px rgba(31, 41, 55, .08);
    --radius:24px;
}
*{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;
    color:var(--text);
    background:linear-gradient(180deg,#ffffff 0%,#f7fbff 38%,#ffffff 100%);
    line-height:1.7;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
p{margin:0 0 14px}
ul,ol{padding-left:20px;margin:12px 0}
main{overflow:hidden}
.site-header{
    position:sticky;
    top:0;
    z-index:20;
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(16px);
    border-bottom:1px solid var(--line);
}
.nav-shell{
    max-width:1180px;
    margin:0 auto;
    padding:14px 18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}
.brand{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:800;
    color:#152033;
    letter-spacing:.2px;
}
.brand img{width:36px;height:36px;object-fit:contain}
.nav-toggle{
    display:inline-flex;
    width:42px;
    height:42px;
    border:1px solid var(--line);
    border-radius:14px;
    background:var(--white);
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
}
.nav-toggle span{
    width:18px;
    height:2px;
    background:#273244;
    border-radius:5px;
}
.site-nav{
    position:absolute;
    left:16px;
    right:16px;
    top:68px;
    display:none;
    flex-direction:column;
    gap:8px;
    padding:14px;
    background:var(--white);
    border:1px solid var(--line);
    border-radius:20px;
    box-shadow:var(--shadow);
}
.site-nav.open{display:flex}
.site-nav a{
    padding:10px 12px;
    border-radius:12px;
    color:#334155;
    font-size:15px;
}
.site-nav a.active,.site-nav a:hover{
    color:var(--primary);
    background:var(--soft-blue);
}
.container,.section-shell,.page-shell{
    width:min(100% - 32px,1180px);
    margin:0 auto;
}
.section{
    padding:54px 0;
}
.section-title{
    margin:0 0 12px;
    font-size:30px;
    line-height:1.2;
    letter-spacing:-.5px;
}
.section-lead{
    max-width:760px;
    color:var(--muted);
    margin-bottom:24px;
}
.eyebrow,.category-badge{
    display:inline-flex;
    align-items:center;
    gap:6px;
    color:var(--primary);
    background:var(--soft-blue);
    border:1px solid #d8eaff;
    border-radius:999px;
    padding:6px 12px;
    font-size:13px;
    font-weight:700;
    margin-bottom:14px;
}
.portal-hero{
    padding:42px 0 24px;
    position:relative;
}
.portal-hero:before{
    content:"";
    position:absolute;
    right:-80px;
    top:-120px;
    width:360px;
    height:360px;
    background:radial-gradient(circle,rgba(41,128,254,.18),rgba(41,128,254,0) 68%);
    pointer-events:none;
}
.hero-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:26px;
    align-items:center;
}
.hero-copy h1{
    font-size:40px;
    line-height:1.12;
    margin:0 0 16px;
    letter-spacing:-1px;
}
.hero-copy .hero-text{
    color:var(--muted);
    font-size:17px;
    margin-bottom:22px;
}
.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;
    box-shadow:0 12px 26px rgba(41,128,254,.24);
    transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
}
.download-btn:hover{
    transform:translateY(-2px);
    background:var(--primary-dark);
    box-shadow:0 16px 30px rgba(41,128,254,.28);
}
.hero-tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:20px;
}
.hero-tags span,.pill{
    display:inline-flex;
    padding:7px 11px;
    border-radius:999px;
    border:1px solid var(--line);
    background:#fff;
    color:#526071;
    font-size:13px;
}
.hero-visual{
    position:relative;
    background:linear-gradient(145deg,#eef6ff 0%,#ffffff 56%,#f4f8ff 100%);
    border:1px solid var(--line);
    border-radius:32px;
    padding:22px;
    box-shadow:var(--shadow);
    min-height:360px;
    overflow:hidden;
}
.hero-visual .product-img{
    width:min(74%,360px);
    margin:0 auto;
    filter:drop-shadow(0 22px 36px rgba(31,41,55,.12));
}
.device-card{
    position:absolute;
    left:18px;
    bottom:18px;
    width:176px;
    padding:14px;
    border-radius:20px;
    background:rgba(255,255,255,.9);
    border:1px solid var(--line);
    box-shadow:0 10px 28px rgba(31,41,55,.08);
}
.device-card strong{display:block;font-size:22px;color:#14213d}
.floating-tags{
    position:absolute;
    top:18px;
    right:18px;
    display:grid;
    gap:8px;
}
.floating-tags span{
    padding:8px 11px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:999px;
    color:#334155;
    font-size:13px;
    box-shadow:0 8px 22px rgba(31,41,55,.06);
}
.channel-nav{
    display:grid;
    grid-template-columns:1fr;
    gap:14px;
    margin-top:24px;
}
.channel-card,.feature-card,.category-card,.risk-card,.process-card,.faq-item,.notice-box,.side-card{
    background:var(--white);
    border:1px solid var(--line);
    border-radius:var(--radius);
    box-shadow:0 12px 30px rgba(31,41,55,.05);
}
.channel-card{
    padding:18px;
    display:flex;
    flex-direction:column;
    gap:8px;
}
.channel-card small{
    color:var(--primary);
    font-weight:800;
}
.channel-card h3,.feature-card h3,.category-card h3,.risk-card h3{
    margin:0;
    font-size:20px;
}
.channel-card p,.feature-card p,.category-card p,.risk-card p,.process-card p,.side-card p{
    color:var(--muted);
}
.text-link{
    color:var(--primary);
    font-weight:800;
    display:inline-flex;
    margin-top:auto;
}
.split-section{
    display:grid;
    grid-template-columns:1fr;
    gap:26px;
    align-items:center;
}
.split-section.reverse .feature-media{order:0}
.feature-copy{
    padding:6px 0;
}
.feature-copy h2{
    font-size:30px;
    margin:0 0 12px;
    line-height:1.22;
}
.feature-copy p{color:var(--muted)}
.feature-media{
    border:1px solid var(--line);
    border-radius:32px;
    padding:22px;
    background:linear-gradient(145deg,#ffffff,#eff6ff);
    box-shadow:var(--shadow);
}
.feature-media img{
    width:min(86%,420px);
    margin:0 auto;
}
.mini-list{
    display:grid;
    gap:10px;
    margin:18px 0;
}
.mini-list span{
    display:flex;
    gap:10px;
    align-items:flex-start;
    background:var(--soft);
    border:1px solid var(--line);
    border-radius:16px;
    padding:10px 12px;
    color:#374151;
}
.mini-list span:before{
    content:"";
    width:8px;
    height:8px;
    border-radius:50%;
    background:var(--primary);
    margin-top:9px;
    flex:0 0 auto;
}
.cold-wallet-block{
    background:linear-gradient(180deg,#f4f9ff,#ffffff);
}
.dapp-panel{
    display:grid;
    gap:14px;
}
.auth-card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:22px;
    padding:16px;
}
.auth-card strong{color:#13233d}
.process-steps{
    display:grid;
    grid-template-columns:1fr;
    gap:14px;
}
.process-card{
    padding:18px;
    position:relative;
}
.step-number{
    display:inline-flex;
    width:34px;
    height:34px;
    border-radius:12px;
    background:var(--primary);
    color:white;
    align-items:center;
    justify-content:center;
    font-weight:800;
    margin-bottom:10px;
}
.risk-grid,.ecosystem-category,.feature-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:14px;
}
.risk-card{
    padding:18px;
    border-left:4px solid var(--primary);
}
.risk-card strong{
    display:block;
    color:#14213d;
    margin-top:8px;
}
.category-card,.feature-card{
    padding:18px;
}
.faq-list{
    display:grid;
    gap:12px;
}
.faq-item{
    padding:18px;
}
.faq-item h3{
    margin:0 0 8px;
    font-size:18px;
}
.faq-item p{color:var(--muted)}
.cta-section{
    text-align:center;
    padding:54px 18px;
    border-radius:34px;
    background:linear-gradient(135deg,#eef6ff 0%,#ffffff 55%,#f2f6fb 100%);
    border:1px solid var(--line);
    box-shadow:var(--shadow);
}
.cta-section h2{
    margin:0 0 12px;
    font-size:30px;
}
.cta-section p{
    max-width:680px;
    margin:0 auto 22px;
    color:var(--muted);
}
.page-hero{
    padding:46px 0 26px;
    background:linear-gradient(180deg,#f2f8ff 0%,#fff 100%);
    border-bottom:1px solid var(--line);
}
.page-hero h1{
    margin:0 0 12px;
    font-size:36px;
    line-height:1.18;
}
.page-hero p{
    max-width:820px;
    color:var(--muted);
    font-size:17px;
}
.page-layout{
    display:grid;
    grid-template-columns:1fr;
    gap:24px;
    padding:42px 0;
}
.article-content{
    background:#fff;
    border:1px solid var(--line);
    border-radius:30px;
    padding:22px;
    box-shadow:0 14px 34px rgba(31,41,55,.05);
}
.article-content h2{
    margin:24px 0 10px;
    font-size:24px;
}
.article-content h2:first-child{margin-top:0}
.article-content p{color:#455263}
.checklist,.number-list{
    display:grid;
    gap:10px;
    padding:0;
    list-style:none;
}
.checklist li,.number-list li{
    padding:12px 14px;
    border:1px solid var(--line);
    background:var(--soft);
    border-radius:16px;
}
.number-list{counter-reset:item}
.number-list li{position:relative;padding-left:52px}
.number-list li:before{
    counter-increment:item;
    content:counter(item);
    position:absolute;
    left:14px;
    top:12px;
    width:26px;
    height:26px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:var(--primary);
    color:#fff;
    font-weight:800;
}
.notice-box{
    padding:18px;
    background:linear-gradient(135deg,#f6faff,#fff);
    border-color:#dcecff;
}
.notice-box strong{
    color:var(--primary);
}
.side-panel{
    display:grid;
    gap:14px;
    align-content:start;
}
.side-card{
    padding:18px;
}
.side-card h3{margin:0 0 8px}
.page-download-box{
    margin-top:24px;
    padding-top:20px;
    border-top:1px solid var(--line);
}
.download-steps{
    display:grid;
    gap:14px;
    margin:24px 0;
}
.download-steps .process-card{box-shadow:none}
.about-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:16px;
}
.about-card{
    padding:20px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:24px;
}
.site-footer{
    background:#101827;
    color:#d8e0ec;
    margin-top:28px;
}
.footer-shell{
    width:min(100% - 32px,1180px);
    margin:0 auto;
    padding:34px 0;
    display:grid;
    gap:24px;
}
.footer-brand{
    display:flex;
    gap:14px;
    align-items:flex-start;
}
.footer-brand img{
    width:42px;
    height:42px;
    object-fit:contain;
    background:#fff;
    border-radius:12px;
    padding:4px;
}
.footer-brand p{
    color:#aeb9c8;
    max-width:560px;
}
.footer-links{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}
.footer-links a{
    color:#d8e0ec;
    border:1px solid rgba(255,255,255,.14);
    border-radius:999px;
    padding:8px 12px;
}
.footer-bottom{
    border-top:1px solid rgba(255,255,255,.1);
    text-align:center;
    padding:16px;
    color:#9aa6b7;
    font-size:14px;
}

@media (min-width:640px){
    .channel-nav{grid-template-columns:repeat(2,1fr)}
    .risk-grid,.ecosystem-category,.feature-grid{grid-template-columns:repeat(2,1fr)}
    .process-steps{grid-template-columns:repeat(2,1fr)}
    .about-grid{grid-template-columns:repeat(2,1fr)}
}
@media (min-width:900px){
    .nav-toggle{display:none}
    .site-nav{
        position:static;
        display:flex;
        flex-direction:row;
        align-items:center;
        padding:0;
        border:0;
        box-shadow:none;
        background:transparent;
        gap:2px;
    }
    .site-nav a{font-size:14px;padding:8px 10px}
    .portal-hero{padding:72px 0 32px}
    .hero-grid{grid-template-columns:1.04fr .96fr;gap:46px}
    .hero-copy h1{font-size:58px}
    .channel-nav{grid-template-columns:repeat(3,1fr)}
    .split-section{grid-template-columns:1fr 1fr;gap:48px}
    .split-section.reverse .feature-media{order:2}
    .process-steps{grid-template-columns:repeat(3,1fr)}
    .risk-grid{grid-template-columns:repeat(4,1fr)}
    .ecosystem-category{grid-template-columns:repeat(4,1fr)}
    .page-layout{grid-template-columns:minmax(0,1fr) 320px}
    .article-content{padding:34px}
    .page-hero h1{font-size:46px}
    .footer-shell{grid-template-columns:1fr auto;align-items:center}
}
@media (min-width:1100px){
    .section{padding:72px 0}
    .site-nav a{font-size:15px;padding:9px 12px}
}
@media (max-width:420px){
    .container,.section-shell,.page-shell{width:min(100% - 24px,1180px)}
    .hero-copy h1{font-size:34px}
    .section-title,.feature-copy h2,.cta-section h2{font-size:26px}
    .hero-visual{min-height:320px;padding:16px}
    .device-card{position:relative;left:auto;bottom:auto;margin-top:14px;width:100%}
    .floating-tags{position:static;margin-top:12px}
    .download-btn{width:100%;min-height:50px}
}
