:root {
    --primary: #2980FE;
    --primary-soft: #EAF3FF;
    --primary-light: #F4F8FF;
    --white: #FFFFFF;
    --bg: #F6F8FC;
    --line: #E4E9F2;
    --text: #202938;
    --muted: #677184;
    --deep: #111827;
    --shadow: 0 18px 50px rgba(32, 41, 56, 0.08);
    --radius: 28px;
}

* {
    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(--text);
    background: var(--bg);
    line-height: 1.75;
    overflow-x: hidden;
}

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

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

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

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

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

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

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

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

.site-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 14px;
    right: 14px;
    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 {
    color: var(--muted);
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 999px;
    transition: 0.2s ease;
}

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

.mobile-menu-btn {
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--text);
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 700;
}

.section {
    padding: 58px 0;
}

.gradient-background {
    background:
        radial-gradient(circle at 88% 12%, rgba(41, 128, 254, 0.16), transparent 32%),
        linear-gradient(180deg, #FFFFFF 0%, #F4F8FF 100%);
}

.launch-hero {
    position: relative;
    padding: 48px 0 46px;
    background:
        radial-gradient(circle at 70% 18%, rgba(41, 128, 254, 0.18), transparent 34%),
        linear-gradient(135deg, #FFFFFF 0%, #F5F9FF 64%, #EEF5FF 100%);
    overflow: hidden;
}

.launch-hero::before {
    content: "";
    position: absolute;
    inset: auto -80px -150px auto;
    width: 260px;
    height: 260px;
    background: rgba(41, 128, 254, 0.1);
    border-radius: 50%;
}

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

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

.launch-hero h1,
.page-hero h1 {
    margin: 18px 0 16px;
    color: var(--deep);
    font-size: clamp(34px, 8vw, 72px);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.hero-copy {
    color: var(--muted);
    max-width: 670px;
    font-size: 17px;
}

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

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

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

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

.hero-tags span,
.floating-tags span,
.tag-list span {
    display: inline-flex;
    padding: 8px 12px;
    color: #465166;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
}

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 380px;
}

.app-showcase {
    position: relative;
    width: min(430px, 92%);
    padding: 22px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow);
}

.app-showcase img {
    margin: 0 auto;
    border-radius: 30px;
    filter: drop-shadow(0 22px 38px rgba(32, 41, 56, 0.14));
}

.floating-tags {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-tags span {
    position: absolute;
    background: rgba(255, 255, 255, 0.94);
    color: var(--text);
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(32, 41, 56, 0.08);
}

.floating-tags span:nth-child(1) { top: 4%; left: 2%; }
.floating-tags span:nth-child(2) { top: 22%; right: 0; }
.floating-tags span:nth-child(3) { bottom: 16%; left: 0; }
.floating-tags span:nth-child(4) { bottom: 4%; right: 10%; }

.highlight-bar,
.category-grid,
.risk-grid,
.faq-grid,
.cards-grid {
    display: grid;
    gap: 16px;
}

.highlight-card,
.category-card,
.risk-card,
.faq-item,
.info-card,
.step-card,
.check-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 12px 30px rgba(32, 41, 56, 0.04);
}

.highlight-card strong,
.category-card strong {
    display: block;
    margin: 4px 0 8px;
    color: var(--deep);
    font-size: 18px;
}

.highlight-card small,
.category-card small,
.risk-card small {
    color: var(--primary);
    font-weight: 800;
}

.highlight-card p,
.category-card p,
.risk-card p,
.info-card p,
.step-card p,
.check-card p,
.faq-item p {
    margin: 0;
    color: var(--muted);
}

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

.section-title {
    margin-bottom: 26px;
}

.section-title h2 {
    margin: 10px 0;
    color: var(--deep);
    font-size: clamp(28px, 5vw, 46px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-title p {
    margin: 0;
    color: var(--muted);
    max-width: 760px;
}

.launch-card,
.big-feature-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.big-feature-card {
    display: grid;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
    overflow: hidden;
}

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

.big-feature-card .feature-media {
    display: grid;
    place-items: center;
    min-height: 260px;
    background: linear-gradient(160deg, #F6FAFF 0%, #EAF3FF 100%);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
}

.big-feature-card .feature-media img {
    width: min(340px, 92%);
    border-radius: 28px;
    filter: drop-shadow(0 18px 30px rgba(41, 128, 254, 0.15));
}

.big-feature-card h2,
.content-card h2,
.info-card h2 {
    margin: 0 0 12px;
    color: var(--deep);
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.18;
    letter-spacing: -0.035em;
}

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

.feature-list li,
.clean-list li,
.number-list li {
    position: relative;
    padding: 12px 14px 12px 42px;
    background: var(--primary-light);
    border: 1px solid rgba(41, 128, 254, 0.12);
    border-radius: 16px;
    color: #405069;
}

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

.number-list {
    counter-reset: steps;
}

.number-list li {
    counter-increment: steps;
}

.number-list li::before {
    content: counter(steps);
    position: absolute;
    left: 12px;
    top: 11px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    color: #FFFFFF;
    font-size: 12px;
    display: grid;
    place-items: center;
    font-weight: 800;
}

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

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

.step-number {
    position: absolute;
    left: 22px;
    top: 22px;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #FFFFFF;
    font-weight: 900;
}

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

.safety-panel {
    background: linear-gradient(135deg, #FFFFFF 0%, #EEF5FF 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.app-category-center {
    background: #FFFFFF;
    border-radius: 34px;
    padding: 24px;
    border: 1px solid var(--line);
}

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

.cta-section {
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(41, 128, 254, 0.16), transparent 34%),
        linear-gradient(180deg, #FFFFFF, #EFF6FF);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.cta-section h2 {
    margin: 0 auto 12px;
    color: var(--deep);
    max-width: 780px;
    font-size: clamp(30px, 5vw, 50px);
    line-height: 1.15;
    letter-spacing: -0.045em;
}

.cta-section p {
    margin: 0 auto 24px;
    max-width: 720px;
    color: var(--muted);
}

.page-hero {
    padding: 58px 0 36px;
    background:
        radial-gradient(circle at 92% 15%, rgba(41, 128, 254, 0.14), transparent 30%),
        linear-gradient(180deg, #FFFFFF, #F5F9FF);
}

.page-hero p {
    max-width: 760px;
    color: var(--muted);
    font-size: 17px;
}

.page-layout {
    display: grid;
    gap: 20px;
    align-items: start;
}

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

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

.aside-panel {
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 12px 30px rgba(32, 41, 56, 0.05);
}

.aside-panel h2 {
    margin: 0 0 12px;
    font-size: 20px;
}

.aside-panel a {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    color: var(--primary);
    font-weight: 800;
}

.aside-panel a:last-child {
    border-bottom: 0;
}

.faq-item h2,
.faq-item h3 {
    margin: 0 0 8px;
    font-size: 19px;
    color: var(--deep);
}

.download-panel {
    display: grid;
    gap: 18px;
    align-items: center;
    background: linear-gradient(135deg, #FFFFFF, #EEF5FF);
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 26px;
    box-shadow: var(--shadow);
}

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

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

.site-footer p {
    color: var(--muted);
}

.site-footer h2 {
    margin: 0 0 10px;
    font-size: 16px;
}

.site-footer a:not(.footer-logo) {
    display: block;
    color: var(--muted);
    margin: 7px 0;
}

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

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

@media (min-width: 900px) {
    .mobile-menu-btn {
        display: none;
    }
    .site-nav {
        position: static;
        display: flex;
        align-items: center;
        gap: 2px;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }
    .site-nav a {
        font-size: 14px;
        padding: 9px 11px;
    }
    .launch-hero {
        padding: 76px 0 72px;
    }
    .launch-hero-grid {
        grid-template-columns: 1.05fr 0.95fr;
    }
    .highlight-bar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .big-feature-card {
        grid-template-columns: 1fr 1fr;
        padding: 34px;
    }
    .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));
    }
    .category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .page-layout {
        grid-template-columns: minmax(0, 1fr) 310px;
    }
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

@media (min-width: 1120px) {
    .site-nav a {
        padding: 9px 14px;
    }
    .section {
        padding: 76px 0;
    }
}

@media (max-width: 380px) {
    .site-nav.is-open {
        grid-template-columns: 1fr;
    }
    .download-btn {
        width: 100%;
    }
    .hero-actions {
        align-items: stretch;
    }
}
