* {
    box-sizing: border-box;
}

:root {
    --primary: #2980FE;
    --primary-soft: #EAF3FF;
    --primary-light: #F4F9FF;
    --white: #ffffff;
    --bg: #F6F8FB;
    --bg-blue: #F3F8FF;
    --line: #E5EAF2;
    --text: #263241;
    --muted: #657186;
    --deep: #172033;
    --shadow: 0 18px 50px rgba(41, 128, 254, 0.10);
    --shadow-soft: 0 12px 32px rgba(23, 32, 51, 0.07);
    --radius-lg: 32px;
    --radius-md: 24px;
    --radius-sm: 18px;
}

html {
    scroll-behavior: smooth;
}

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

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

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

p {
    margin: 0 0 16px;
}

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

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

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

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

.logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

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

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

.site-nav a {
    padding: 10px 12px;
    border-radius: 14px;
    color: var(--muted);
    font-size: 14px;
    background: #F8FAFD;
}

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

.nav-toggle {
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 999px;
    padding: 8px 14px;
    color: var(--deep);
    font-weight: 700;
}

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

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

.section {
    padding: 56px 0;
}

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

.eyebrow,
.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid #D5E6FF;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 14px;
}

h1, h2, h3 {
    color: var(--deep);
    line-height: 1.18;
    margin: 0 0 14px;
}

h1 {
    font-size: clamp(34px, 8vw, 72px);
    letter-spacing: -0.06em;
}

h2 {
    font-size: clamp(28px, 5vw, 44px);
    letter-spacing: -0.04em;
}

h3 {
    font-size: 20px;
}

.lead {
    font-size: 17px;
    color: var(--muted);
    max-width: 720px;
}

.download-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    border: 1px solid var(--primary);
    box-shadow: 0 12px 24px rgba(41, 128, 254, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.launch-hero {
    position: relative;
    overflow: hidden;
    padding: 54px 0 40px;
    background:
        radial-gradient(circle at 20% 10%, rgba(41,128,254,0.14), transparent 30%),
        linear-gradient(180deg, #FFFFFF 0%, #F4F9FF 100%);
}

.launch-hero::after {
    content: "";
    position: absolute;
    width: 540px;
    height: 540px;
    right: -220px;
    top: 70px;
    border-radius: 50%;
    background: rgba(41, 128, 254, 0.08);
}

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

.hero-copy {
    display: grid;
    gap: 18px;
}

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

.hero-tags span,
.floating-tags span,
.pill-row span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
    box-shadow: 0 6px 18px rgba(23, 32, 51, 0.05);
}

.app-showcase,
.hero-visual {
    position: relative;
    min-height: 420px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(145deg, rgba(41,128,254,0.14), rgba(255,255,255,0.82)),
        #FFFFFF;
    border: 1px solid #D9E8FF;
    box-shadow: var(--shadow);
    padding: 24px;
    overflow: hidden;
}

.app-showcase img,
.hero-visual img {
    width: min(320px, 88%);
    margin: 18px auto 0;
    filter: drop-shadow(0 24px 34px rgba(41, 128, 254, 0.14));
}

.float-card {
    position: absolute;
    background: rgba(255,255,255,0.92);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 10px 14px;
    color: var(--deep);
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(23, 32, 51, 0.09);
}

.float-card.one { left: 18px; top: 34px; }
.float-card.two { right: 18px; top: 88px; }
.float-card.three { left: 26px; bottom: 62px; }
.float-card.four { right: 22px; bottom: 24px; }

.highlight-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.highlight-card,
.launch-card,
.small-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-soft);
}

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

.highlight-card p,
.small-card p {
    color: var(--muted);
    font-size: 15px;
}

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

.big-feature-card {
    display: grid;
    gap: 24px;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.big-feature-card.reverse .feature-media {
    order: -1;
}

.feature-media {
    border-radius: 28px;
    min-height: 260px;
    background: linear-gradient(145deg, var(--primary-soft), #FFFFFF);
    display: grid;
    place-items: center;
    padding: 22px;
    border: 1px solid #DBE9FF;
}

.feature-media img {
    max-height: 360px;
    object-fit: contain;
    filter: drop-shadow(0 22px 30px rgba(41,128,254,0.12));
}

.feature-copy p {
    color: var(--muted);
}

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

.check-list li,
.clean-list li {
    position: relative;
    padding: 12px 14px 12px 40px;
    border-radius: 16px;
    background: #F8FAFE;
    border: 1px solid var(--line);
    color: var(--text);
}

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

.cold-wallet-feature {
    background: linear-gradient(145deg, #FFFFFF, #F2F7FF);
}

.swap-feature {
    background: linear-gradient(145deg, #FFFFFF, #F7FAFD);
}

.dapp-feature {
    background: linear-gradient(145deg, #F5F9FF, #FFFFFF);
}

.gradient-background,
.cta-section {
    background:
        radial-gradient(circle at 18% 20%, rgba(41,128,254,0.14), transparent 32%),
        linear-gradient(145deg, #F4F9FF, #FFFFFF);
}

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

.step-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 22px;
    box-shadow: var(--shadow-soft);
}

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

.risk-grid,
.category-grid,
.app-category-center,
.faq-grid,
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.risk-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 4px solid var(--primary);
    border-radius: 22px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
}

.risk-card strong {
    display: block;
    color: var(--deep);
    margin-bottom: 6px;
}

.risk-card p {
    color: var(--muted);
    font-size: 15px;
}

.category-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 22px;
    min-height: 172px;
    box-shadow: var(--shadow-soft);
}

.category-card:nth-child(1),
.category-card:nth-child(5) {
    background: linear-gradient(145deg, #FFFFFF, #EEF6FF);
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
}

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

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

.page-hero {
    padding: 56px 0 34px;
    background:
        radial-gradient(circle at 88% 12%, rgba(41,128,254,0.12), transparent 28%),
        linear-gradient(180deg, #FFFFFF, #F5F9FF);
}

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

.article-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

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

.article-card h2:first-child {
    margin-top: 0;
}

.aside-panel,
.safety-panel {
    background: linear-gradient(160deg, #FFFFFF, #F3F8FF);
    border: 1px solid #DDEAFF;
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-soft);
}

.aside-panel h3,
.safety-panel h3 {
    font-size: 19px;
}

.cta-section {
    text-align: center;
    border-radius: var(--radius-lg);
    border: 1px solid #DDEAFF;
    padding: 34px 20px;
    margin: 26px auto 10px;
}

.cta-section p {
    color: var(--muted);
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
}

.download-panel {
    display: grid;
    gap: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
}

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

.download-steps li {
    counter-increment: item;
    position: relative;
    background: #F8FAFE;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px 16px 16px 58px;
}

.download-steps li::before {
    content: counter(item);
    position: absolute;
    left: 16px;
    top: 16px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-weight: 900;
}

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

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-brand img {
    width: 34px;
    height: 34px;
}

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

.site-footer a {
    display: block;
    margin: 8px 0;
}

.footer-bottom {
    margin-top: 28px;
    padding: 18px;
    text-align: center;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

@media (min-width: 640px) {
    .highlight-bar,
    .risk-grid,
    .category-grid,
    .app-category-center,
    .faq-grid,
    .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .download-panel {
        padding: 38px;
    }
}

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

    .site-nav {
        display: flex;
        position: static;
        align-items: center;
        gap: 4px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .site-nav a {
        background: transparent;
        padding: 9px 10px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(380px, 0.88fr);
        gap: 44px;
    }

    .launch-hero {
        padding: 88px 0 62px;
    }

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

    .big-feature-card {
        grid-template-columns: 1fr 1fr;
        padding: 36px;
        gap: 36px;
    }

    .big-feature-card.reverse .feature-media {
        order: 2;
    }

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

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

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

    .category-card:nth-child(1),
    .category-card:nth-child(5) {
        grid-column: span 2;
    }

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

    .footer-grid {
        grid-template-columns: 1.3fr 0.7fr 0.7fr;
    }

    .article-card {
        padding: 36px;
    }
}

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

    .section {
        padding: 74px 0;
    }

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

    .app-showcase img,
    .hero-visual img {
        width: min(380px, 86%);
        margin-top: 34px;
    }
}

@media (max-width: 420px) {
    .container,
    .content-container,
    .narrow-container,
    .nav-shell {
        width: min(100% - 24px, 1120px);
    }

    .site-nav.is-open {
        grid-template-columns: 1fr;
    }

    .download-btn {
        width: 100%;
    }

    .float-card {
        position: static;
        display: inline-flex;
        margin: 6px;
    }

    .app-showcase,
    .hero-visual {
        min-height: auto;
    }

    .floating-tags {
        margin-top: 16px;
    }
}
