* {
    box-sizing: border-box;
}

:root {
    --primary: #2980FE;
    --primary-soft: #EAF3FF;
    --primary-pale: #F4F8FF;
    --white: #FFFFFF;
    --line: #E6EBF2;
    --text: #1F2937;
    --muted: #6B7280;
    --deep: #111827;
    --soft: #F7F9FC;
    --gray: #F2F5F9;
    --shadow: 0 18px 48px rgba(41, 128, 254, 0.10);
    --radius-xl: 30px;
    --radius-lg: 24px;
    --radius-md: 18px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 46%, #FFFFFF 100%);
    line-height: 1.75;
    overflow-x: hidden;
}

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

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

.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(230, 235, 242, 0.86);
    backdrop-filter: blur(18px);
}

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

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

.brand-logo,
.footer-brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 12px;
}

.site-nav {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: 72px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.site-nav.is-open {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

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

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

.nav-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    color: var(--primary);
    font-size: 20px;
}

.launch-hero,
.page-hero {
    position: relative;
    width: min(1180px, calc(100% - 28px));
    margin: 26px auto 0;
    padding: 34px 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(41, 128, 254, 0.18), transparent 38%),
        linear-gradient(135deg, #FFFFFF 0%, #F4F8FF 100%);
    box-shadow: var(--shadow);
}

.launch-hero::after,
.page-hero::after,
.cta-section::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    right: -120px;
    bottom: -130px;
    background: rgba(41, 128, 254, 0.10);
    pointer-events: none;
}

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

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

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 16px;
    color: var(--deep);
    font-size: clamp(34px, 8vw, 68px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

h2 {
    color: var(--deep);
    font-size: clamp(26px, 5vw, 44px);
    line-height: 1.18;
    letter-spacing: -0.03em;
}

h3 {
    color: var(--deep);
    font-size: 20px;
    line-height: 1.35;
}

.hero-copy p,
.page-hero p,
.section-lead,
.feature-copy p,
.article-page p {
    color: var(--muted);
    font-size: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 24px 0 18px;
}

.download-btn {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border-radius: 999px;
    background: var(--primary);
    color: var(--white);
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(41, 128, 254, 0.24);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(41, 128, 254, 0.28);
}

.hero-tags,
.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.pill,
.feature-link,
.step-link,
.card-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--primary);
    background: rgba(41, 128, 254, 0.08);
    font-weight: 750;
    font-size: 13px;
}

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    padding: 10px 0 24px;
}

.app-showcase {
    position: relative;
    width: min(360px, 88vw);
    margin: 0 auto;
}

.app-showcase img {
    width: 100%;
    border-radius: 32px;
    filter: drop-shadow(0 34px 45px rgba(15, 23, 42, 0.14));
}

.float-label {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(230, 235, 242, 0.88);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
    color: var(--deep);
    font-weight: 750;
    font-size: 12px;
}

.float-label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

.float-one { top: 8%; left: -4px; }
.float-two { right: -8px; top: 28%; }
.float-three { left: 8px; bottom: 20%; }
.float-four { right: 10px; bottom: 4%; }

section {
    margin: 58px 0;
}

.section-heading {
    width: min(760px, 100%);
    margin: 0 auto 22px;
    text-align: center;
}

.highlight-bar,
.category-grid,
.risk-grid,
.faq-grid,
.summary-grid,
.check-grid,
.support-grid {
    display: grid;
    gap: 14px;
}

.highlight-card,
.category-card,
.risk-card,
.faq-item,
.summary-card,
.check-card,
.support-card,
.side-panel,
.note-box,
.step-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.highlight-card,
.category-card,
.risk-card,
.summary-card,
.check-card,
.support-card,
.step-card {
    padding: 20px;
}

.highlight-card .tag,
.summary-card .tag,
.risk-card .tag {
    display: inline-flex;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 850;
    margin-bottom: 12px;
}

.highlight-card p,
.category-card p,
.risk-card p,
.summary-card p,
.check-card p,
.step-card p,
.support-card p {
    color: var(--muted);
    margin-bottom: 12px;
}

.launch-card,
.big-feature-card {
    position: relative;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto 26px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 32px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.big-feature-card.alt,
.cold-wallet-feature {
    background: linear-gradient(135deg, #F6FAFF 0%, #FFFFFF 100%);
}

.feature-grid {
    display: grid;
    gap: 24px;
    align-items: center;
}

.feature-visual {
    display: grid;
    place-items: center;
    min-height: 230px;
    padding: 18px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top, rgba(41, 128, 254, 0.16), transparent 46%),
        var(--primary-pale);
}

.feature-visual img {
    max-height: 360px;
    object-fit: contain;
    filter: drop-shadow(0 22px 36px rgba(15, 23, 42, 0.12));
}

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

.feature-list li,
.clean-list li {
    position: relative;
    padding-left: 24px;
    color: var(--text);
}

.feature-list li::before,
.clean-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary);
}

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

.step-card {
    position: relative;
    padding-left: 78px;
}

.step-card::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 20px;
    top: 22px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--primary);
    color: var(--white);
    font-weight: 900;
}

.safety-panel {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 26px;
    border-radius: 32px;
    background: linear-gradient(135deg, #F4F8FF 0%, #FFFFFF 100%);
    border: 1px solid var(--line);
}

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

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

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

.faq-item {
    padding: 18px;
}

.faq-item h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.faq-item p {
    margin-bottom: 0;
    color: var(--muted);
}

.cta-section {
    position: relative;
    width: min(1120px, calc(100% - 32px));
    margin: 58px auto;
    padding: 34px 22px;
    overflow: hidden;
    text-align: center;
    border-radius: 32px;
    border: 1px solid rgba(41, 128, 254, 0.14);
    background: linear-gradient(135deg, #EAF3FF 0%, #FFFFFF 72%);
    box-shadow: var(--shadow);
}

.cta-section > * {
    position: relative;
    z-index: 1;
}

.article-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 36px auto 64px;
    display: grid;
    gap: 20px;
}

.article-main,
.download-panel,
.about-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 24px;
    box-shadow: 0 14px 42px rgba(15, 23, 42, 0.05);
}

.article-main h2,
.download-panel h2,
.about-panel h2 {
    font-size: 26px;
    margin-top: 28px;
}

.article-main h2:first-child,
.download-panel h2:first-child,
.about-panel h2:first-child {
    margin-top: 0;
}

.side-panel {
    padding: 22px;
    height: fit-content;
    background: linear-gradient(180deg, #FFFFFF 0%, #F6FAFF 100%);
}

.note-box {
    padding: 18px;
    margin: 18px 0;
    background: var(--primary-pale);
    border-color: rgba(41, 128, 254, 0.16);
}

.note-box strong {
    color: var(--primary);
}

.numbered-list {
    display: grid;
    gap: 12px;
    margin: 18px 0;
    padding: 0;
    list-style: none;
    counter-reset: item;
}

.numbered-list li {
    position: relative;
    min-height: 44px;
    padding: 10px 12px 10px 58px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
}

.numbered-list li::before {
    counter-increment: item;
    content: counter(item);
    position: absolute;
    left: 12px;
    top: 10px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--primary);
    color: var(--white);
    font-weight: 900;
}

.download-panel .download-btn,
.article-main .download-btn,
.about-panel .download-btn {
    margin-top: 18px;
}

.site-footer {
    margin-top: 72px;
    padding: 46px 0 26px;
    background: #F4F7FB;
    border-top: 1px solid var(--line);
}

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

.site-footer p,
.site-footer a,
.footer-bottom {
    color: var(--muted);
    font-size: 14px;
}

.site-footer h3 {
    margin-bottom: 12px;
    font-size: 16px;
}

.site-footer a:not(.footer-brand) {
    display: block;
    margin: 8px 0;
}

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

@media (min-width: 680px) {
    .highlight-bar,
    .risk-grid,
    .summary-grid,
    .check-grid,
    .support-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .process-steps {
        grid-template-columns: repeat(2, minmax(0, 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;
        background: transparent;
        box-shadow: none;
    }

    .site-nav a {
        padding: 10px 11px;
    }

    .launch-hero {
        margin-top: 38px;
        padding: 58px;
        border-radius: 42px;
    }

    .page-hero {
        padding: 52px 58px;
        border-radius: 42px;
    }

    .hero-grid,
    .feature-grid {
        grid-template-columns: 1fr 0.92fr;
    }

    .big-feature-card:nth-of-type(even) .feature-grid,
    .cold-wallet-feature .feature-grid,
    .dapp-feature .feature-grid {
        grid-template-columns: 0.92fr 1fr;
    }

    .big-feature-card:nth-of-type(even) .feature-copy,
    .cold-wallet-feature .feature-copy,
    .dapp-feature .feature-copy {
        order: 2;
    }

    .launch-card,
    .big-feature-card,
    .safety-panel,
    .cta-section {
        padding: 40px;
        border-radius: 40px;
    }

    .highlight-bar {
        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));
    }

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

    .article-shell {
        grid-template-columns: minmax(0, 1fr) 320px;
        align-items: start;
    }

    .article-main,
    .download-panel,
    .about-panel {
        padding: 38px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

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

    .hero-copy p,
    .section-lead,
    .feature-copy p {
        font-size: 17px;
    }
}
