
:root {
    --primary: #2980FE;
    --primary-dark: #1167df;
    --primary-soft: #eef5ff;
    --primary-softer: #f6f9ff;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #eef2f7;
    --gray-200: #dde5ef;
    --gray-500: #657083;
    --gray-700: #2f3a4a;
    --gray-900: #101828;
    --shadow: 0 18px 55px rgba(41, 128, 254, .10);
    --soft-shadow: 0 12px 32px rgba(16, 24, 40, .07);
    --radius-xl: 26px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
    color: var(--gray-700);
    background: linear-gradient(180deg, #fbfdff 0%, #ffffff 42%, #f7faff 100%);
    line-height: 1.75;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(221,229,239,.85);
}
.header-inner {
    width: min(100% - 28px, var(--container));
    margin: 0 auto;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.brand, .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-900);
    font-weight: 800;
    letter-spacing: .02em;
}
.logo, .footer-brand img {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--primary-soft);
}
.nav-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    border-radius: 14px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--gray-900);
}
.site-nav {
    position: absolute;
    top: 70px;
    left: 14px;
    right: 14px;
    display: none;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
}
.site-nav.open { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.site-nav a {
    padding: 11px 12px;
    border-radius: 12px;
    color: var(--gray-500);
    font-size: 14px;
    font-weight: 650;
}
.site-nav a.active, .site-nav a:hover {
    background: var(--primary-soft);
    color: var(--primary);
}
.site-main { min-height: 60vh; }
.section { padding: 58px 0; }
.section-soft { background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%); }
.section-title {
    max-width: 780px;
    margin-bottom: 26px;
}
.eyebrow, .category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid rgba(41,128,254,.14);
    font-weight: 750;
    font-size: 13px;
}
h1, h2, h3 { color: var(--gray-900); line-height: 1.22; margin: 0; }
h1 { font-size: clamp(36px, 8vw, 64px); letter-spacing: -0.05em; }
h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.035em; }
h3 { font-size: 20px; }
p { margin: 10px 0 0; }
.lead { color: var(--gray-500); font-size: 17px; }
.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), #57a2ff);
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 14px 26px rgba(41,128,254,.24);
    border: 0;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}
.download-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 32px rgba(41,128,254,.30); }
.link-more {
    display: inline-flex;
    margin-top: 16px;
    color: var(--primary);
    font-weight: 800;
}
.product-hero {
    position: relative;
    padding: 52px 0 34px;
    overflow: hidden;
}
.product-hero::before {
    content: "";
    position: absolute;
    inset: -160px -140px auto auto;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(41,128,254,.22), rgba(41,128,254,0) 66%);
}
.hero-grid {
    position: relative;
    display: grid;
    gap: 30px;
    align-items: center;
}
.hero-copy {
    display: grid;
    gap: 18px;
}
.hero-copy .download-btn { width: fit-content; }
.trust-tags, .inline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.trust-tags span, .inline-tags span {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 700;
}
.app-visual {
    position: relative;
    min-height: 380px;
    display: grid;
    place-items: center;
    padding: 26px;
    border-radius: 30px;
    background: linear-gradient(145deg, #ffffff 0%, #f1f7ff 100%);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.app-visual::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(41,128,254,.10);
    right: -80px;
    bottom: -80px;
}
.app-visual img {
    max-height: 480px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 18px 28px rgba(16,24,40,.14));
}
.floating-card {
    position: absolute;
    z-index: 2;
    min-width: 136px;
    padding: 12px 14px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(221,229,239,.9);
    border-radius: 18px;
    box-shadow: var(--soft-shadow);
    font-size: 13px;
    color: var(--gray-500);
}
.floating-card strong { display: block; color: var(--gray-900); font-size: 15px; }
.card-a { top: 24px; left: 18px; }
.card-b { top: 88px; right: 18px; }
.card-c { bottom: 80px; left: 18px; }
.card-d { bottom: 24px; right: 28px; }
.feature-shortcuts, .category-grid, .risk-grid, .faq-grid, .service-grid {
    display: grid;
    gap: 14px;
}
.feature-shortcuts { grid-template-columns: 1fr; }
.feature-card, .category-card, .risk-card, .faq-item, .info-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: 0 8px 26px rgba(16,24,40,.04);
}
.feature-card .icon-tag {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    color: var(--primary);
    background: var(--primary-soft);
    font-weight: 900;
    margin-bottom: 12px;
}
.product-section, .app-section, .cold-wallet-section, .swap-section, .dapp-section {
    display: grid;
    gap: 26px;
    align-items: center;
    padding: 24px;
    border-radius: 30px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}
.cold-wallet-section { background: linear-gradient(145deg, #f6f9ff 0%, #ffffff 65%); }
.dapp-section { background: linear-gradient(145deg, #ffffff 0%, #f4f8ff 100%); }
.product-section .visual-box, .article-visual {
    min-height: 260px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--primary-soft), #ffffff);
    border: 1px solid rgba(41,128,254,.12);
    overflow: hidden;
}
.product-section .visual-box img { max-height: 360px; object-fit: contain; padding: 18px; }
.check-list, .number-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 10px;
}
.check-list li, .number-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--gray-500);
}
.check-list li::before {
    content: "";
    width: 10px;
    height: 10px;
    margin-top: 9px;
    border-radius: 50%;
    background: var(--primary);
    flex: 0 0 auto;
    box-shadow: 0 0 0 5px var(--primary-soft);
}
.process-steps {
    display: grid;
    gap: 14px;
    counter-reset: step;
}
.step-card {
    position: relative;
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    background: var(--white);
    box-shadow: 0 8px 26px rgba(16,24,40,.04);
}
.step-card .step-num {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--primary);
    color: var(--white);
    font-weight: 900;
    margin-bottom: 12px;
}
.risk-card { border-left: 4px solid var(--primary); }
.risk-card b { color: var(--gray-900); display: block; margin-bottom: 6px; }
.risk-card span { display: block; color: var(--gray-500); font-size: 14px; margin-top: 8px; }
.safety-panel {
    display: grid;
    gap: 14px;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(41,128,254,.15);
    background: linear-gradient(145deg, #f4f8ff, #ffffff);
}
.category-card:hover, .feature-card:hover, .info-card:hover {
    border-color: rgba(41,128,254,.28);
    transform: translateY(-2px);
}
.category-card, .feature-card, .info-card { transition: transform .2s ease, border-color .2s ease; }
.faq-item h3 { margin-bottom: 8px; font-size: 18px; }
.cta-section {
    text-align: center;
    padding: 58px 20px;
    border-radius: 30px;
    background: linear-gradient(135deg, #edf5ff, #ffffff 70%);
    border: 1px solid rgba(41,128,254,.16);
    box-shadow: var(--shadow);
}
.cta-section p { max-width: 620px; margin: 12px auto 24px; color: var(--gray-500); }
.page-hero {
    padding: 48px 0 28px;
    background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
}
.page-hero .container { display: grid; gap: 16px; }
.page-hero h1 { font-size: clamp(34px, 6vw, 52px); }
.article-layout {
    display: grid;
    gap: 22px;
    align-items: start;
}
.article-main, .article-side {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 8px 26px rgba(16,24,40,.04);
}
.article-main h2 { font-size: 26px; margin-top: 24px; }
.article-main h2:first-child { margin-top: 0; }
.article-main p + p { margin-top: 14px; }
.article-side { position: sticky; top: 96px; display: grid; gap: 14px; }
.article-side ul { margin: 0; padding-left: 18px; color: var(--gray-500); }
.download-panel { margin-top: 22px; padding: 20px; border-radius: 22px; background: var(--primary-softer); border: 1px solid rgba(41,128,254,.16); }
.download-panel .download-btn { margin-top: 10px; }
.download-page-card {
    display: grid;
    gap: 22px;
    align-items: start;
    padding: 24px;
    border-radius: 30px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}
.site-footer {
    margin-top: 70px;
    padding: 46px 0 24px;
    background: #f6f9ff;
    border-top: 1px solid var(--gray-200);
}
.footer-grid {
    display: grid;
    gap: 26px;
}
.footer-grid p { color: var(--gray-500); font-size: 14px; }
.footer-grid h3 { font-size: 16px; margin-bottom: 10px; }
.footer-grid a {
    display: block;
    color: var(--gray-500);
    font-size: 14px;
    padding: 4px 0;
}
.footer-grid a:hover { color: var(--primary); }
.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--gray-200);
    color: var(--gray-500);
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
@media (min-width: 640px) {
    .feature-shortcuts { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .risk-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: repeat(2, 1fr); }
    .download-page-card { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
    .nav-toggle { display: none; }
    .site-nav {
        position: static;
        display: flex;
        align-items: center;
        gap: 2px;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }
    .site-nav a { padding: 9px 11px; }
    .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr); gap: 46px; }
    .product-section, .app-section, .cold-wallet-section, .swap-section, .dapp-section { grid-template-columns: 1fr 1fr; padding: 36px; }
    .reverse-desktop .visual-box { order: -1; }
    .feature-shortcuts { grid-template-columns: repeat(3, 1fr); }
    .category-grid { grid-template-columns: repeat(4, 1fr); }
    .risk-grid { grid-template-columns: repeat(4, 1fr); }
    .process-steps { grid-template-columns: repeat(3, 1fr); }
    .article-layout { grid-template-columns: minmax(0, 1fr) 310px; }
    .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
    .footer-bottom { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 1080px) {
    .feature-shortcuts { grid-template-columns: repeat(6, 1fr); }
    .section { padding: 78px 0; }
    .risk-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 420px) {
    .container, .header-inner { width: min(100% - 24px, var(--container)); }
    .product-hero { padding-top: 36px; }
    .app-visual { min-height: 330px; padding: 18px; }
    .floating-card { position: relative; inset: auto; width: 100%; margin-top: 8px; }
    .app-visual { display: flex; flex-direction: column; }
    .app-visual img { max-height: 250px; }
    .download-btn { width: 100%; }
    .hero-copy .download-btn { width: 100%; }
}
