/* TokenPocket区块链钱包 - responsive product website */
:root {
    --primary: #2980FE;
    --primary-dark: #1164dc;
    --primary-soft: #edf5ff;
    --bg: #ffffff;
    --bg-soft: #f6f8fb;
    --bg-blue-soft: #f3f8ff;
    --text: #1f2937;
    --muted: #667085;
    --light: #e6edf6;
    --line: #dce5f0;
    --card: #ffffff;
    --shadow: 0 18px 46px rgba(41, 128, 254, 0.10);
    --radius: 22px;
    --radius-lg: 28px;
    --container: 1160px;
}

* {
    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%, #f7faff 44%, #ffffff 100%);
    line-height: 1.72;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

p {
    margin: 0 0 14px;
}

ul, ol {
    margin: 0;
    padding-left: 20px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(220, 229, 240, 0.86);
}

.nav-shell {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #172033;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.brand img {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    object-fit: contain;
    background: var(--primary-soft);
}

.site-nav {
    display: none;
    width: 100%;
    padding: 10px 0 18px;
}

.site-nav a {
    display: block;
    padding: 11px 12px;
    color: #425066;
    border-radius: 14px;
    font-size: 15px;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--primary);
    background: var(--primary-soft);
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background: #fff;
}

.nav-toggle-label span {
    width: 18px;
    height: 2px;
    background: #233047;
    border-radius: 8px;
}

.nav-toggle:checked ~ .site-nav {
    display: block;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 10px;
}

.content-container,
.hero-inner,
.footer-inner,
.footer-bottom {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.product-hero {
    position: relative;
    padding: 48px 0 26px;
    overflow: hidden;
}

.product-hero::before {
    content: "";
    position: absolute;
    inset: -120px -30% auto auto;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(41,128,254,0.18), rgba(41,128,254,0.03) 56%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    gap: 34px;
    align-items: center;
}

.hero-copy h1,
.page-hero h1 {
    font-size: clamp(34px, 7vw, 66px);
    line-height: 1.08;
    letter-spacing: -0.05em;
    margin: 0 0 18px;
    color: #101828;
}

.hero-copy p.lead,
.page-hero .lead {
    color: #526071;
    font-size: 17px;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 750;
    border: 1px solid var(--primary);
    box-shadow: 0 14px 30px rgba(41,128,254,0.24);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    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.28);
}

.security-tags,
.inline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.security-tags span,
.inline-tags span,
.badge,
.category-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 6px;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid rgba(41,128,254,0.16);
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 700;
    font-size: 13px;
}

.app-visual {
    position: relative;
    min-height: 400px;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.visual-card {
    position: relative;
    width: min(360px, 82vw);
    border-radius: 34px;
    padding: 18px;
    background: linear-gradient(145deg, #ffffff, #eef5ff);
    border: 1px solid rgba(41,128,254,0.16);
    box-shadow: var(--shadow);
}

.visual-card img {
    margin: 0 auto;
    max-height: 470px;
    object-fit: contain;
}

.float-card {
    position: absolute;
    background: rgba(255,255,255,0.94);
    border: 1px solid var(--line);
    box-shadow: 0 14px 36px rgba(20, 48, 91, 0.11);
    border-radius: 18px;
    padding: 12px 14px;
    color: #344054;
    font-size: 13px;
}

.float-card strong {
    display: block;
    color: #172033;
    font-size: 15px;
}

.float-card.one { left: 0; top: 42px; }
.float-card.two { right: 0; top: 120px; }
.float-card.three { left: 5px; bottom: 74px; }
.float-card.four { right: 12px; bottom: 22px; }

.section {
    padding: 58px 0;
}

.section-soft {
    background: linear-gradient(180deg, var(--bg-blue-soft), #ffffff);
}

.section-title {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-title.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.eyebrow {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

h2 {
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.18;
    letter-spacing: -0.035em;
    margin: 0 0 12px;
    color: #111827;
}

h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.32;
    color: #172033;
}

.muted {
    color: var(--muted);
}

.feature-shortcuts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.shortcut-card,
.feature-card,
.risk-card,
.category-card,
.faq-item,
.info-card,
.check-card,
.step-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(20, 48, 91, 0.05);
}

.shortcut-card {
    position: relative;
    min-height: 144px;
}

.shortcut-card::before {
    content: "";
    width: 34px;
    height: 34px;
    display: block;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), #7db6ff);
    box-shadow: 0 12px 24px rgba(41,128,254,0.22);
    margin-bottom: 14px;
}

.shortcut-card a,
.text-link {
    color: var(--primary);
    font-weight: 750;
}

.product-section,
.app-section,
.cold-wallet-section,
.swap-section,
.dapp-section {
    display: grid;
    gap: 28px;
    align-items: center;
}

.product-media {
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #ffffff, #eef5ff);
    border: 1px solid rgba(41,128,254,0.14);
    padding: 22px;
    box-shadow: var(--shadow);
}

.product-media img {
    margin: 0 auto;
    max-height: 430px;
    object-fit: contain;
}

.point-list,
.clean-list {
    display: grid;
    gap: 12px;
    padding-left: 0;
    list-style: none;
    margin: 20px 0 22px;
}

.point-list li,
.clean-list li {
    position: relative;
    padding-left: 28px;
    color: #425066;
}

.point-list li::before,
.clean-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 5px var(--primary-soft);
}

.process-steps {
    display: grid;
    gap: 16px;
}

.step-card {
    position: relative;
}

.step-number {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    margin-bottom: 14px;
}

.risk-grid,
.category-grid,
.card-grid,
.faq-grid {
    display: grid;
    gap: 16px;
}

.risk-card {
    border-left: 5px solid var(--primary);
}

.risk-card strong,
.category-card strong {
    display: block;
    color: #172033;
    margin-bottom: 6px;
}

.category-card {
    min-height: 176px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-card a {
    color: var(--primary);
    font-weight: 800;
}

.faq-item h3 {
    font-size: 17px;
}

.cta-section {
    text-align: center;
    border-radius: var(--radius-lg);
    padding: 42px 22px;
    background: radial-gradient(circle at top left, rgba(41,128,254,0.14), transparent 38%),
                linear-gradient(135deg, #f4f9ff, #ffffff);
    border: 1px solid rgba(41,128,254,0.15);
    box-shadow: var(--shadow);
}

.page-hero {
    padding: 46px 0 26px;
    background: radial-gradient(circle at 90% 0%, rgba(41,128,254,0.14), transparent 32%),
                linear-gradient(180deg, #ffffff, #f6f9ff);
    border-bottom: 1px solid var(--line);
}

.page-layout {
    display: grid;
    gap: 24px;
    align-items: start;
    padding: 42px 0 64px;
}

.article-main {
    display: grid;
    gap: 20px;
}

.article-main h2 {
    font-size: clamp(24px, 4vw, 34px);
}

.sidebar {
    display: grid;
    gap: 16px;
}

.note-panel {
    padding: 20px;
    border-radius: var(--radius);
    background: var(--primary-soft);
    border: 1px solid rgba(41,128,254,0.18);
}

.download-panel {
    text-align: center;
    padding: 24px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.guide-steps {
    counter-reset: guide;
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 12px;
}

.guide-steps li {
    counter-increment: guide;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #fff;
}

.guide-steps li::before {
    content: counter(guide);
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    margin-right: 8px;
}

.two-column {
    display: grid;
    gap: 18px;
}

.site-footer {
    background: #f5f8fc;
    border-top: 1px solid var(--line);
    padding: 36px 0 20px;
}

.footer-inner {
    display: grid;
    gap: 24px;
}

.footer-brand {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.footer-brand img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--primary-soft);
}

.footer-brand p,
.footer-bottom p {
    color: var(--muted);
    margin: 4px 0 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.footer-links a {
    color: #425066;
    font-weight: 650;
}

.footer-bottom {
    border-top: 1px solid var(--line);
    margin-top: 26px;
    padding-top: 18px;
    font-size: 14px;
}

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

    .risk-grid,
    .category-grid,
    .card-grid,
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 780px) {
    .nav-toggle-label {
        display: none;
    }

    .site-nav {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 4px;
        width: auto;
        padding: 0;
    }

    .site-nav a {
        padding: 9px 10px;
        font-size: 14px;
    }

    .hero-inner,
    .product-section,
    .app-section,
    .cold-wallet-section,
    .swap-section,
    .dapp-section,
    .page-layout,
    .two-column {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .page-layout {
        grid-template-columns: minmax(0, 1fr) 330px;
    }

    .feature-shortcuts {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

@media (min-width: 1040px) {
    .product-hero {
        padding: 82px 0 40px;
    }

    .feature-shortcuts {
        grid-template-columns: repeat(6, 1fr);
    }

    .risk-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .site-nav a {
        padding: 10px 12px;
        font-size: 15px;
    }
}

@media (max-width: 420px) {
    .content-container,
    .hero-inner,
    .footer-inner,
    .footer-bottom {
        width: min(100% - 24px, var(--container));
    }

    .float-card {
        position: static;
        margin: 8px 0 0;
        width: 100%;
    }

    .app-visual {
        display: block;
        min-height: auto;
    }

    .visual-card {
        width: 100%;
    }

    .download-btn {
        width: 100%;
    }

    .shortcut-card,
    .feature-card,
    .risk-card,
    .category-card,
    .faq-item,
    .info-card,
    .check-card,
    .step-card {
        padding: 18px;
    }
}
