:root {
    --primary: #2980FE;
    --primary-dark: #1766d6;
    --primary-soft: #edf5ff;
    --bg: #ffffff;
    --bg-soft: #f6f9fd;
    --bg-blue-gray: #f1f6fb;
    --text: #1f2937;
    --muted: #667085;
    --line: #e5edf6;
    --card: #ffffff;
    --shadow: 0 18px 45px rgba(31, 41, 55, 0.08);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.72;
    overflow-x: hidden;
}

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

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

p {
    margin: 0 0 14px;
}

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

main {
    min-height: 60vh;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.header-inner {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
}

.brand img {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    object-fit: contain;
}

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

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 3px;
}

.site-nav {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.site-nav.is-open {
    display: flex;
}

.site-nav a {
    padding: 11px 12px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
}

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

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

.product-hero {
    position: relative;
    padding: 44px 0 34px;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 10%, rgba(41, 128, 254, 0.16), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
}

.product-hero::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -90px;
    top: 120px;
    background: rgba(41, 128, 254, 0.1);
    border-radius: 50%;
}

.hero-inner {
    position: relative;
    display: grid;
    gap: 28px;
    align-items: center;
}

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

.hero-copy h1,
.page-hero h1 {
    margin: 14px 0 16px;
    color: var(--text);
    font-size: clamp(34px, 8vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.hero-copy p,
.page-hero p {
    color: var(--muted);
    font-size: 17px;
}

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

.download-btn {
    display: inline-flex;
    min-height: 48px;
    padding: 0 26px;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 14px 28px rgba(41, 128, 254, 0.25);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
    box-shadow: 0 18px 34px rgba(41, 128, 254, 0.3);
}

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

.security-tags span,
.hero-tags span,
.mini-tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 11px;
    color: #344054;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 650;
}

.hero-visual {
    position: relative;
    min-height: 460px;
    padding: 24px 18px 80px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background:
        linear-gradient(150deg, rgba(41, 128, 254, 0.1), rgba(255, 255, 255, 0.92)),
        #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.app-phone {
    width: min(78%, 340px);
    margin: 0 auto;
    filter: drop-shadow(0 28px 40px rgba(31, 41, 55, 0.16));
}

.float-card {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: grid;
    gap: 10px;
}

.status-card,
.float-chip {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(31, 41, 55, 0.08);
}

.status-card strong,
.float-chip strong {
    display: block;
    color: var(--text);
}

.status-card span,
.float-chip span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.section {
    padding: 54px 0;
}

.section-soft {
    background: var(--bg-soft);
}

.section-blue-gray {
    background: linear-gradient(180deg, #f1f6fb 0%, #fff 100%);
}

.section-heading {
    margin-bottom: 24px;
}

.section-heading h2 {
    margin: 0 0 10px;
    font-size: clamp(26px, 5vw, 40px);
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.section-heading p {
    max-width: 760px;
    color: var(--muted);
    font-size: 16px;
}

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

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

.shortcut-card,
.feature-card,
.category-card,
.risk-card,
.faq-item,
.tip-card,
.check-card,
.step-card,
.info-panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 28px rgba(31, 41, 55, 0.05);
}

.shortcut-card,
.category-card,
.risk-card,
.faq-item,
.tip-card,
.check-card,
.step-card,
.info-panel {
    padding: 20px;
}

.shortcut-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid rgba(41, 128, 254, 0.16);
    border-radius: 14px;
    font-weight: 900;
}

.shortcut-card h3,
.category-card h3,
.risk-card h3,
.faq-item h3,
.tip-card h3,
.step-card h3,
.info-panel h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.shortcut-card p,
.category-card p,
.risk-card p,
.faq-item p,
.tip-card p,
.step-card p,
.info-panel p {
    color: var(--muted);
    font-size: 15px;
}

.text-link {
    display: inline-flex;
    margin-top: 10px;
    color: var(--primary);
    font-weight: 800;
}

.text-link::after {
    content: "→";
    margin-left: 5px;
}

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

.product-copy h2,
.content-block h2 {
    margin: 0 0 14px;
    font-size: clamp(26px, 5vw, 42px);
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.product-copy p,
.content-block p {
    color: var(--muted);
}

.feature-list,
.clean-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    padding: 0;
    list-style: none;
}

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

.feature-list li::before,
.clean-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 9px;
    height: 9px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(41, 128, 254, 0.11);
}

.product-media {
    position: relative;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: linear-gradient(145deg, #fff, #edf5ff);
    box-shadow: var(--shadow);
}

.product-media img {
    width: min(420px, 100%);
    margin: 0 auto;
    object-fit: contain;
}

.dapp-card-stack {
    display: grid;
    gap: 14px;
}

.dapp-mini-card {
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
}

.process-steps {
    display: grid;
    gap: 14px;
    counter-reset: step;
}

.step-card {
    position: relative;
    overflow: hidden;
}

.step-number {
    display: inline-flex;
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--primary);
    border-radius: 12px;
    font-weight: 900;
}

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

.risk-card strong {
    color: var(--primary);
}

.category-grid {
    grid-template-columns: 1fr;
}

.category-card {
    min-height: 180px;
}

.faq-item {
    box-shadow: none;
}

.cta-section {
    text-align: center;
    padding: 56px 0;
    background:
        radial-gradient(circle at 10% 0%, rgba(41, 128, 254, 0.14), transparent 28%),
        linear-gradient(135deg, #edf5ff 0%, #ffffff 100%);
}

.cta-box {
    width: min(850px, calc(100% - 32px));
    margin: 0 auto;
    padding: 30px 18px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
}

.cta-box h2 {
    margin: 0 0 12px;
    font-size: clamp(26px, 5vw, 42px);
    line-height: 1.2;
}

.cta-box p {
    max-width: 650px;
    margin: 0 auto 22px;
    color: var(--muted);
}

.page-hero {
    padding: 42px 0 32px;
    background:
        radial-gradient(circle at 100% 0%, rgba(41, 128, 254, 0.13), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
}

.page-content {
    padding: 36px 0 56px;
}

.guide-layout {
    display: grid;
    gap: 22px;
}

.article-card {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 14px 35px rgba(31, 41, 55, 0.06);
}

.article-card h2 {
    margin-top: 0;
    font-size: 24px;
}

.article-card p {
    color: var(--muted);
}

.side-panel {
    display: grid;
    gap: 16px;
    align-content: start;
}

.check-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    padding: 12px 14px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
    color: #344054;
}

.notice {
    padding: 18px;
    color: #344054;
    background: var(--primary-soft);
    border: 1px solid rgba(41, 128, 254, 0.18);
    border-radius: 18px;
}

.download-page-grid {
    display: grid;
    gap: 22px;
    align-items: start;
}

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

.download-panel .download-btn {
    margin-top: 18px;
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-list .faq-item h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.about-grid {
    display: grid;
    gap: 18px;
}

.about-card {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
}

.about-card h2 {
    margin-top: 0;
}

.site-footer {
    background: #f6f9fd;
    border-top: 1px solid var(--line);
}

.footer-inner {
    padding: 42px 0 24px;
    display: grid;
    gap: 28px;
}

.footer-brand img {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
    border-radius: 14px;
}

.footer-brand p {
    max-width: 380px;
    color: var(--muted);
}

.footer-links {
    display: grid;
    gap: 18px;
}

.footer-links h3 {
    margin: 0 0 10px;
    font-size: 15px;
}

.footer-links a {
    display: block;
    margin: 8px 0;
    color: var(--muted);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 26px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: 13px;
}

@media (min-width: 640px) {
    .feature-shortcuts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

    .footer-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

    .site-nav {
        position: static;
        display: flex !important;
        flex-direction: row;
        align-items: center;
        padding: 0;
        border: none;
        box-shadow: none;
        background: transparent;
    }

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

    .product-hero {
        padding: 74px 0 58px;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
        gap: 46px;
    }

    .float-card {
        left: auto;
        right: 24px;
        width: 230px;
        bottom: 24px;
    }

    .section {
        padding: 76px 0;
    }

    .product-section,
    .app-section,
    .swap-section,
    .dapp-section {
        grid-template-columns: 1fr 1fr;
        gap: 54px;
    }

    .cold-wallet-section {
        grid-template-columns: 1fr 1fr;
        gap: 54px;
    }

    .cold-wallet-section .product-media {
        order: -1;
    }

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

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

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

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

    .download-page-grid {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 32px;
    }

    .about-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-inner {
        grid-template-columns: 1fr 1.4fr;
        align-items: start;
    }
}

@media (min-width: 1120px) {
    .site-nav a {
        padding: 9px 13px;
    }

    .hero-visual {
        min-height: 520px;
    }
}

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

    .feature-shortcuts {
        grid-template-columns: 1fr;
    }

    .download-btn {
        width: 100%;
    }

    .hero-actions {
        align-items: stretch;
    }

    .hero-visual {
        min-height: 410px;
    }
}
