:root {
    --primary: #2980FE;
    --primary-dark: #1768df;
    --white: #ffffff;
    --bg: #f6f9ff;
    --bg-soft: #edf5ff;
    --gray-50: #f8fafc;
    --gray-100: #eef2f7;
    --gray-200: #dfe7f1;
    --gray-500: #687386;
    --gray-700: #263142;
    --gray-900: #111827;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow: 0 18px 45px rgba(41, 128, 254, 0.10);
    --shadow-soft: 0 12px 32px rgba(17, 24, 39, 0.08);
}

* {
    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, #ffffff 0%, #f7fbff 46%, #ffffff 100%);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

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

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--gray-900);
    white-space: nowrap;
}

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

.site-nav {
    display: none;
    width: 100%;
    position: absolute;
    left: 0;
    top: 70px;
    padding: 14px 18px 22px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-soft);
}

.site-nav.open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

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

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

.nav-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    background: var(--white);
    display: grid;
    place-items: center;
    gap: 0;
    padding: 9px;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 999px;
    display: block;
}

.site-main {
    min-height: 70vh;
}

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

.section {
    padding: 56px 0;
}

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

.eyebrow,
.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--primary);
    background: rgba(41, 128, 254, 0.10);
    font-size: 13px;
    font-weight: 760;
}

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

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

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

h3 {
    font-size: clamp(19px, 3vw, 26px);
}

p {
    margin: 0 0 14px;
}

.lead {
    font-size: clamp(16px, 2.4vw, 20px);
    color: var(--gray-500);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    background: var(--primary);
    color: var(--white);
    font-weight: 800;
    letter-spacing: 0.03em;
    box-shadow: 0 16px 32px rgba(41, 128, 254, 0.26);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

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

.launch-hero {
    position: relative;
    overflow: hidden;
    padding: 58px 0 46px;
    background:
        radial-gradient(circle at 15% 10%, rgba(41, 128, 254, 0.16), transparent 26%),
        radial-gradient(circle at 86% 14%, rgba(41, 128, 254, 0.12), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
}

.launch-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -30% -10%;
    height: 260px;
    background: linear-gradient(90deg, rgba(41, 128, 254, .07), rgba(255, 255, 255, .8));
    border-radius: 50% 50% 0 0;
}

.hero-grid {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    gap: 34px;
    align-items: center;
}

.hero-copy {
    max-width: 660px;
}

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

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

.security-tags span,
.soft-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--gray-700);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--gray-200);
    font-size: 13px;
    font-weight: 700;
}

.app-showcase,
.hero-visual {
    position: relative;
    min-height: 360px;
    display: grid;
    place-items: center;
}

.phone-stage {
    width: min(420px, 86vw);
    position: relative;
    padding: 24px;
    border-radius: 44px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.92), rgba(237,245,255,.92)),
        radial-gradient(circle at 40% 20%, rgba(41,128,254,.14), transparent 35%);
    box-shadow: var(--shadow);
    border: 1px solid rgba(223, 231, 241, .86);
}

.phone-stage img {
    margin: 0 auto;
    max-height: 520px;
    object-fit: contain;
    filter: drop-shadow(0 24px 42px rgba(23, 48, 87, .16));
}

.float-label {
    position: absolute;
    z-index: 2;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-soft);
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 800;
}

.float-label.one { left: 0; top: 16%; }
.float-label.two { right: 0; top: 25%; }
.float-label.three { left: 4%; bottom: 20%; }
.float-label.four { right: 4%; bottom: 12%; }

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

.highlight-card,
.category-card,
.risk-card,
.faq-item,
.info-card,
.step-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 26px rgba(17, 24, 39, 0.04);
}

.highlight-card {
    padding: 18px;
    min-height: 150px;
}

.highlight-card .tag {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(41,128,254,.10);
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
}

.big-feature-card,
.launch-card {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 24px;
    align-items: center;
    padding: 26px;
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

.big-feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 12% 0%, rgba(41,128,254,.08), transparent 26%);
    pointer-events: none;
}

.big-feature-card > * {
    position: relative;
    z-index: 1;
}

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

.feature-copy li,
.check-list li {
    position: relative;
    padding-left: 24px;
    color: var(--gray-500);
}

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

.feature-media {
    min-height: 240px;
    display: grid;
    place-items: center;
    border-radius: 28px;
    background: linear-gradient(160deg, #f8fbff, #edf5ff);
    border: 1px solid var(--gray-200);
    padding: 20px;
}

.feature-media img {
    max-height: 420px;
    object-fit: contain;
    filter: drop-shadow(0 22px 32px rgba(17, 24, 39, 0.10));
}

.cold-wallet-feature {
    background:
        linear-gradient(140deg, #ffffff 0%, #f4f8ff 100%);
}

.swap-feature {
    background:
        linear-gradient(140deg, #ffffff 0%, #f7fbff 55%, #eef6ff 100%);
}

.dapp-feature {
    background:
        linear-gradient(140deg, #f8fbff 0%, #ffffff 55%, #edf5ff 100%);
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.step-card {
    padding: 20px;
}

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

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

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

.risk-card strong {
    display: block;
    color: var(--gray-900);
    margin-bottom: 8px;
}

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

.category-card {
    padding: 22px;
    min-height: 180px;
    background:
        linear-gradient(180deg, #ffffff, #fbfdff);
}

.category-card .icon-dot {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    margin-bottom: 14px;
    background:
        linear-gradient(135deg, var(--primary), #76b2ff);
    box-shadow: 0 10px 22px rgba(41,128,254,.22);
}

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

.faq-item {
    padding: 20px;
}

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

.cta-section {
    margin: 56px auto 72px;
    width: min(1180px, calc(100% - 32px));
    padding: 34px 24px;
    border-radius: var(--radius-xl);
    text-align: center;
    background:
        radial-gradient(circle at 20% 10%, rgba(41,128,254,.14), transparent 32%),
        linear-gradient(135deg, #ffffff, #edf5ff);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

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

.page-hero {
    padding: 56px 0 34px;
    background:
        radial-gradient(circle at 85% 10%, rgba(41,128,254,.12), transparent 30%),
        linear-gradient(180deg, #ffffff, #f4f8ff);
}

.page-hero-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    gap: 24px;
    align-items: center;
}

.page-hero-card {
    padding: 22px;
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-soft);
}

.article-layout {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 38px 0 64px;
    display: grid;
    gap: 22px;
}

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

.article-panel {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-200);
}

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

.side-panel {
    padding: 22px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #ffffff, #f3f8ff);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-soft);
    align-self: start;
}

.side-panel .download-btn {
    width: 100%;
    margin-top: 12px;
}

.notice-box,
.safety-panel {
    padding: 18px;
    border-radius: 20px;
    background: #f7fbff;
    border: 1px solid var(--gray-200);
}

.notice-box strong,
.safety-panel strong {
    color: var(--gray-900);
}

.feature-mini-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 16px;
}

.info-card {
    padding: 18px;
}

.download-steps {
    counter-reset: step;
    display: grid;
    gap: 12px;
    margin: 22px 0;
}

.download-step {
    counter-increment: step;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    padding: 16px;
    border-radius: 18px;
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.download-step::before {
    content: counter(step);
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: var(--primary);
    color: var(--white);
    display: grid;
    place-items: center;
    font-weight: 900;
}

.site-footer {
    background: #f8fbff;
    border-top: 1px solid var(--gray-200);
    padding: 36px 0 18px;
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    gap: 24px;
}

.footer-brand p {
    max-width: 520px;
    color: var(--gray-500);
    margin-top: 12px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.footer-links a {
    color: var(--gray-500);
    font-weight: 700;
}

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

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 22px auto 0;
    padding-top: 18px;
    border-top: 1px solid var(--gray-200);
    color: var(--gray-500);
    font-size: 13px;
}

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

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

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

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

@media (min-width: 900px) {
    .header-inner {
        min-height: 78px;
    }

    .nav-toggle {
        display: none;
    }

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

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

    .launch-hero {
        padding: 86px 0 70px;
    }

    .hero-grid {
        grid-template-columns: 1.02fr .98fr;
    }

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

    .big-feature-card,
    .launch-card {
        grid-template-columns: 1fr 1fr;
        padding: 38px;
    }

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

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

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

    .article-layout {
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 30px;
        padding-top: 48px;
    }

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

    .footer-inner {
        grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
        align-items: start;
    }
}

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

    .section {
        padding: 72px 0;
    }
}
