:root {
    --primary: #2980FE;
    --primary-dark: #1767d9;
    --primary-soft: #edf5ff;
    --bg: #ffffff;
    --bg-soft: #f7f9fc;
    --bg-blue: #f1f7ff;
    --text: #1d2733;
    --muted: #6b7785;
    --line: #e4eaf2;
    --card: #ffffff;
    --shadow: 0 18px 50px rgba(20, 74, 140, 0.09);
    --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 48%, #ffffff 100%);
    line-height: 1.75;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 16px; }
main { min-height: 70vh; }

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(228, 234, 242, 0.95);
    backdrop-filter: blur(16px);
}
.header-shell {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.brand, .footer-logo-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.brand-logo, .footer-logo {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    object-fit: contain;
    background: var(--primary-soft);
}
.brand-text { font-size: 18px; color: #152133; }
.nav-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.nav-toggle span {
    width: 19px;
    height: 2px;
    background: #27374a;
    border-radius: 99px;
}
.site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 74px;
    display: none;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.site-nav.open { display: grid; gap: 4px; }
.site-nav a {
    padding: 11px 12px;
    border-radius: 12px;
    color: #405066;
    font-size: 15px;
}
.site-nav a.active, .site-nav a:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(41, 128, 254, 0.25);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    cursor: pointer;
}
.download-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(41, 128, 254, 0.32);
}
.text-link {
    color: var(--primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.text-link::after { content: "→"; font-size: 15px; }

.product-hero {
    position: relative;
    padding: 56px 0 34px;
    overflow: hidden;
}
.product-hero::before {
    content: "";
    position: absolute;
    inset: -120px -80px auto auto;
    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;
    gap: 34px;
    align-items: center;
}
.hero-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(34px, 9vw, 66px);
    line-height: 1.05;
    letter-spacing: -0.055em;
}
.hero-copy .lead {
    color: #526070;
    font-size: 17px;
    max-width: 680px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin: 26px 0 22px;
}
.security-tags, .mini-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.security-tags span, .mini-tags span, .badge, .section-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 11px;
    border-radius: 999px;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid #d8e9ff;
    font-size: 13px;
    font-weight: 700;
}
.hero-visual {
    position: relative;
    padding: 20px;
    min-height: 380px;
    border-radius: 32px;
    background: linear-gradient(145deg, #f7fbff 0%, #ffffff 52%, #ebf4ff 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.hero-visual::before {
    content: "";
    position: absolute;
    inset: 22px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(41,128,254,.10), rgba(255,255,255,.5));
}
.phone-visual {
    position: relative;
    z-index: 1;
    width: min(280px, 82%);
    margin: 0 auto;
    filter: drop-shadow(0 24px 30px rgba(27, 72, 130, .15));
}
.float-card {
    position: relative;
    z-index: 2;
    margin: -4px 0 0;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(228,234,242,.95);
    box-shadow: 0 16px 34px rgba(40, 82, 130, .08);
}
.float-card strong { display: block; color: #1c2b3f; }
.float-card small { color: var(--muted); }
.float-card.card-two { margin-left: auto; max-width: 260px; }
.float-card.card-three { max-width: 245px; margin-top: 12px; }

.section {
    padding: 50px 0;
}
.section.soft, .gradient-bg {
    background: linear-gradient(180deg, var(--bg-blue) 0%, #ffffff 100%);
}
.section-header {
    max-width: 760px;
    margin: 0 auto 26px;
    text-align: center;
}
.section-header.left { margin-left: 0; text-align: left; }
.section-header h2, .section-title {
    margin: 10px 0 12px;
    font-size: clamp(26px, 6vw, 42px);
    line-height: 1.16;
    letter-spacing: -0.035em;
}
.section-header p, .section-desc {
    color: var(--muted);
    font-size: 16px;
}
.feature-shortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.shortcut-card, .feature-card, .category-card, .risk-card, .faq-card, .info-card, .step-card, .guide-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 28px rgba(18, 56, 104, 0.055);
}
.shortcut-card {
    padding: 18px;
    min-height: 158px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.shortcut-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 900;
}
.shortcut-card h3, .feature-card h3, .category-card h3, .risk-card h3, .step-card h3, .guide-card h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
}
.shortcut-card p, .feature-card p, .category-card p, .risk-card p, .step-card p, .guide-card p, .info-card p {
    color: var(--muted);
    font-size: 14.5px;
    margin-bottom: 8px;
}

.product-section, .app-section, .cold-wallet-section, .swap-section, .dapp-section {
    display: grid;
    gap: 28px;
    align-items: center;
}
.product-copy h2 { margin: 12px 0; font-size: clamp(25px, 6vw, 40px); line-height: 1.18; letter-spacing: -0.03em; }
.product-copy p { color: #526070; }
.product-image-panel {
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}
.product-image-panel.tint { background: linear-gradient(145deg, #f2f8ff, #fff); }
.product-image-panel img {
    margin: 0 auto;
    max-height: 460px;
    object-fit: contain;
}
.feature-list, .check-list {
    list-style: none;
    padding: 0;
    margin: 18px 0;
    display: grid;
    gap: 10px;
}
.feature-list li, .check-list li {
    position: relative;
    padding-left: 25px;
    color: #3c4b5f;
}
.feature-list li::before, .check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.process-steps, .risk-grid, .category-grid, .faq-grid, .guide-grid, .feature-grid {
    display: grid;
    gap: 16px;
}
.step-card {
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.step-number {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
}
.risk-card {
    padding: 20px;
    border-left: 4px solid var(--primary);
}
.risk-card .suggestion {
    display: block;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--bg-soft);
    color: #334155;
    font-size: 14px;
}
.category-card, .feature-card, .faq-card, .info-card, .guide-card {
    padding: 22px;
}
.category-card {
    display: flex;
    flex-direction: column;
    min-height: 176px;
}
.category-card .text-link { margin-top: auto; }
.faq-card h3 { margin: 0 0 8px; font-size: 17px; }
.faq-card p { color: var(--muted); margin: 0; }

.cta-section {
    padding: 54px 0;
}
.cta-box {
    text-align: center;
    padding: 34px 22px;
    border-radius: 30px;
    background: linear-gradient(135deg, #eef6ff 0%, #ffffff 55%, #f6f9fc 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.cta-box h2 { margin: 0 0 12px; font-size: clamp(26px, 6vw, 42px); line-height: 1.16; }
.cta-box p { max-width: 720px; margin: 0 auto 22px; color: var(--muted); }

.page-hero {
    padding: 48px 0 28px;
    background: radial-gradient(circle at 85% 20%, rgba(41,128,254,.16), transparent 34%), linear-gradient(180deg, #fff, #f6faff);
}
.page-hero-inner {
    display: grid;
    gap: 18px;
}
.page-hero h1 {
    margin: 12px 0;
    font-size: clamp(32px, 8vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.045em;
}
.page-hero p { color: #526070; font-size: 17px; max-width: 820px; }
.page-layout {
    display: grid;
    gap: 22px;
    padding: 32px 0 56px;
}
.article-body {
    display: grid;
    gap: 18px;
}
.article-body h2 { margin: 0 0 8px; font-size: 24px; letter-spacing: -0.02em; }
.article-body p { color: #526070; }
.side-panel {
    position: relative;
    align-self: start;
    padding: 22px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--primary-soft), #fff);
    border: 1px solid var(--line);
}
.side-panel h3 { margin: 0 0 12px; }
.side-panel a { display: block; padding: 10px 0; color: var(--primary); font-weight: 700; border-bottom: 1px solid rgba(41,128,254,.11); }
.notice-box {
    padding: 18px;
    border-radius: 18px;
    background: var(--primary-soft);
    border: 1px solid #d8e9ff;
    color: #2f4055;
}
.download-panel {
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: grid;
    gap: 14px;
    align-items: start;
}
.download-panel p { color: var(--muted); margin: 0; }

.site-footer {
    background: #f5f8fc;
    border-top: 1px solid var(--line);
    padding: 40px 0 0;
}
.footer-grid {
    display: grid;
    gap: 26px;
}
.footer-brand p { color: var(--muted); max-width: 380px; margin-top: 12px; }
.footer-links { display: grid; gap: 8px; align-content: start; }
.footer-links h3 { margin: 0 0 8px; font-size: 16px; }
.footer-links a { color: #5d6b7b; font-size: 14px; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
    margin-top: 30px;
    padding: 18px 16px;
    text-align: center;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

@media (min-width: 700px) {
    .feature-shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .risk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .faq-grid, .guide-grid, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

@media (min-width: 960px) {
    .nav-toggle { display: none; }
    .site-nav {
        position: static;
        display: flex;
        align-items: center;
        gap: 2px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }
    .site-nav a { font-size: 14px; padding: 9px 10px; }
    .product-hero { padding: 82px 0 48px; }
    .hero-grid { grid-template-columns: 1.04fr .96fr; gap: 56px; }
    .feature-shortcuts { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .product-section, .app-section, .cold-wallet-section, .swap-section, .dapp-section { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 54px; }
    .cold-wallet-section .product-image-panel, .dapp-section .product-image-panel { order: -1; }
    .process-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .risk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .page-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; }
    .side-panel { position: sticky; top: 92px; }
}

@media (max-width: 420px) {
    .feature-shortcuts { grid-template-columns: 1fr; }
    .hero-actions .download-btn, .download-panel .download-btn, .cta-box .download-btn { width: 100%; }
    .float-card.card-two, .float-card.card-three { max-width: none; }
    .section { padding: 42px 0; }
}
