:root {
    --primary: #2980FE;
    --primary-dark: #1166df;
    --ink: #1f2937;
    --muted: #667085;
    --line: #e5eaf3;
    --soft: #f7f9fc;
    --soft-blue: #eef6ff;
    --white: #ffffff;
    --deep: #111827;
    --radius-xl: 28px;
    --radius-lg: 22px;
    --shadow: 0 18px 45px rgba(24, 76, 151, .09);
    --shadow-soft: 0 10px 28px rgba(31, 41, 55, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 42%, #ffffff 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, 1180px); margin: 0 auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(229, 234, 243, .9);
}
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--deep); letter-spacing: -.02em; }
.brand-logo { width: 38px; height: 38px; object-fit: contain; border-radius: 12px; }
.brand-text { white-space: nowrap; }
.nav-toggle {
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--deep);
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 700;
}
.site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    flex-direction: column;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.site-nav.open { display: flex; }
.site-nav a {
    padding: 10px 12px;
    color: #344054;
    border-radius: 12px;
    font-weight: 650;
    font-size: 14px;
}
.site-nav a:hover, .site-nav a.active { color: var(--primary); background: var(--soft-blue); }
.section { padding: 58px 0; }
.section-tight { padding: 38px 0; }
.eyebrow, .category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    background: var(--soft-blue);
    border: 1px solid rgba(41, 128, 254, .14);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
}
.web3-hero {
    position: relative;
    padding: 58px 0 44px;
    overflow: hidden;
}
.web3-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 10%, rgba(41, 128, 254, .16), transparent 30%),
        radial-gradient(circle at 12% 20%, rgba(41, 128, 254, .08), transparent 28%);
    pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: 32px; align-items: center; }
.hero-copy h1, .page-hero h1 {
    margin: 18px 0 18px;
    font-size: clamp(34px, 8vw, 64px);
    line-height: 1.08;
    letter-spacing: -.05em;
    color: var(--deep);
}
.hero-copy p, .page-hero p { color: var(--muted); font-size: 17px; margin: 0 0 24px; max-width: 760px; }
.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: 13px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), #5ca1ff);
    color: var(--white);
    font-weight: 850;
    box-shadow: 0 12px 24px rgba(41, 128, 254, .23);
    border: 0;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
}
.download-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(41, 128, 254, .28); }
.security-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.security-tags span, .mini-tag {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    color: #475467;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
}
.hero-visual { position: relative; min-height: 390px; display: grid; place-items: center; }
.visual-orbit {
    position: relative;
    width: min(100%, 440px);
    padding: 28px;
    border-radius: 34px;
    background: linear-gradient(150deg, rgba(255,255,255,.9), rgba(238,246,255,.82));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.product-shot { width: min(100%, 330px); margin: 0 auto; filter: drop-shadow(0 22px 26px rgba(23, 68, 130, .12)); }
.float-label {
    position: absolute;
    background: var(--white);
    color: var(--deep);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 800;
    font-size: 13px;
    box-shadow: var(--shadow-soft);
}
.float-label:nth-of-type(1) { left: 12px; top: 42px; }
.float-label:nth-of-type(2) { right: 8px; top: 86px; }
.float-label:nth-of-type(3) { left: 20px; bottom: 72px; }
.float-label:nth-of-type(4) { right: 34px; bottom: 26px; }
.ecosystem-nav { padding: 28px 0 56px; }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.section-head h2 { margin: 0; font-size: clamp(28px, 5vw, 42px); line-height: 1.15; letter-spacing: -.04em; color: var(--deep); }
.section-head p { margin: 0; color: var(--muted); max-width: 780px; }
.ecosystem-grid, .category-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.ecosystem-card, .feature-card, .risk-card, .faq-item, .info-card, .side-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}
.ecosystem-card { padding: 20px; min-height: 178px; display: flex; flex-direction: column; justify-content: space-between; }
.ecosystem-card strong { display: block; font-size: 20px; color: var(--deep); margin: 12px 0 8px; }
.ecosystem-card p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.text-link { color: var(--primary); font-weight: 850; display: inline-flex; align-items: center; gap: 6px; }
.text-link::after { content: "→"; }
.feature-section { padding: 56px 0; }
.feature-panel {
    display: grid;
    gap: 24px;
    align-items: center;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    padding: 24px;
    overflow: hidden;
}
.feature-panel.soft { background: linear-gradient(135deg, #f7fbff, #ffffff); }
.feature-panel h2 { margin: 10px 0 12px; font-size: clamp(27px, 5vw, 42px); line-height: 1.16; letter-spacing: -.04em; color: var(--deep); }
.feature-panel p { color: var(--muted); margin: 0 0 16px; }
.feature-list { display: grid; gap: 10px; padding: 0; margin: 20px 0; list-style: none; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; color: #475467; }
.feature-list li::before { content: ""; width: 9px; height: 9px; margin-top: 10px; flex: 0 0 auto; border-radius: 999px; background: var(--primary); }
.feature-image-wrap { background: var(--soft-blue); border-radius: 26px; padding: 18px; min-height: 260px; display: grid; place-items: center; }
.feature-image-wrap img { max-height: 360px; object-fit: contain; }
.privacy-section .feature-panel, .submit-chain-section .feature-panel, .developer-center-section .feature-panel { align-items: stretch; }
.privacy-points, .submit-grid { display: grid; gap: 14px; }
.privacy-points div, .submit-grid div, .code-panel {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    background: rgba(255,255,255,.76);
}
.privacy-points strong, .submit-grid strong { color: var(--deep); display: block; margin-bottom: 4px; }
.code-panel { background: #f5f8ff; color: #243b60; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-x: auto; }
.code-line { display: block; padding: 5px 0; border-bottom: 1px solid rgba(41, 128, 254, .08); }
.process-steps { display: grid; gap: 14px; counter-reset: steps; }
.step-card {
    position: relative;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}
.step-number {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: var(--white);
    font-weight: 900;
    margin-bottom: 12px;
}
.step-card h3, .risk-card h3, .feature-card h3, .faq-item h3 { margin: 0 0 8px; color: var(--deep); line-height: 1.3; }
.step-card p, .risk-card p, .feature-card p, .faq-item p { margin: 0 0 12px; color: var(--muted); }
.risk-grid { display: grid; grid-template-columns: 1fr; gap: 15px; }
.risk-card { padding: 18px; border-left: 4px solid var(--primary); }
.risk-card .suggest { display: block; color: #344054; background: var(--soft); border-radius: 12px; padding: 10px; margin: 10px 0; font-size: 14px; }
.faq-grid { display: grid; gap: 14px; }
.faq-item { padding: 18px; }
.cta-section {
    padding: 64px 0;
    text-align: center;
    background: linear-gradient(135deg, #eef6ff 0%, #ffffff 52%, #f7f9fc 100%);
}
.cta-card { border: 1px solid var(--line); border-radius: 32px; background: rgba(255,255,255,.82); padding: 34px 18px; box-shadow: var(--shadow); }
.cta-card h2 { font-size: clamp(28px, 5vw, 42px); margin: 0 0 12px; letter-spacing: -.04em; }
.cta-card p { margin: 0 auto 22px; max-width: 720px; color: var(--muted); }
.page-hero { padding: 52px 0 30px; background: radial-gradient(circle at 85% 0%, rgba(41,128,254,.13), transparent 34%); }
.page-shell { padding: 28px 0 70px; }
.page-layout { display: grid; gap: 24px; align-items: start; }
.article-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 22px; box-shadow: var(--shadow-soft); }
.article-card h2 { color: var(--deep); margin: 0 0 12px; font-size: 26px; letter-spacing: -.03em; }
.article-card p { color: var(--muted); margin: 0 0 18px; }
.info-grid { display: grid; gap: 14px; margin: 22px 0; }
.info-card { padding: 18px; }
.info-card strong { display: block; color: var(--deep); margin-bottom: 5px; }
.safety-panel {
    border: 1px solid rgba(41, 128, 254, .2);
    background: linear-gradient(135deg, #eef6ff, #ffffff);
    border-radius: var(--radius-lg);
    padding: 18px;
    margin-top: 20px;
}
.safety-panel h2, .safety-panel h3 { margin-top: 0; color: var(--deep); }
.check-list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.check-list li { padding-left: 28px; position: relative; color: #475467; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 900; }
.side-card { padding: 20px; position: sticky; top: 96px; }
.side-card h2, .side-card h3 { margin: 0 0 10px; color: var(--deep); }
.side-card p { margin: 0 0 14px; color: var(--muted); }
.page-cta { margin-top: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.download-page .article-card { text-align: left; }
.install-steps { display: grid; gap: 12px; margin: 22px 0; }
.install-step { display: flex; gap: 12px; align-items: flex-start; background: var(--soft); border-radius: 16px; padding: 14px; }
.install-step span { background: var(--primary); color: var(--white); width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-weight: 900; flex: 0 0 auto; }
.site-footer { background: #f3f6fb; border-top: 1px solid var(--line); padding: 46px 0 22px; }
.footer-grid { display: grid; gap: 22px; }
.footer-brand { font-size: 20px; font-weight: 900; color: var(--deep); margin-bottom: 8px; }
.site-footer p { color: var(--muted); margin: 0; }
.site-footer h3 { margin: 0 0 10px; color: var(--deep); font-size: 16px; }
.site-footer a { display: block; color: #475467; margin: 7px 0; font-size: 14px; }
.site-footer a:hover { color: var(--primary); }
.footer-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media (min-width: 640px) {
    .ecosystem-grid, .category-grid { grid-template-columns: repeat(2, 1fr); }
    .risk-grid { grid-template-columns: repeat(2, 1fr); }
    .info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .nav-toggle { display: none; }
    .site-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 3px; padding: 0; border: 0; box-shadow: none; background: transparent; }
    .site-nav a { font-size: 13px; padding: 8px 9px; }
    .hero-grid { grid-template-columns: 1.05fr .95fr; }
    .web3-hero { padding: 86px 0 58px; }
    .ecosystem-grid { grid-template-columns: repeat(4, 1fr); }
    .ecosystem-card:nth-child(1), .ecosystem-card:nth-child(7) { grid-column: span 2; }
    .feature-panel { grid-template-columns: 1fr 1fr; padding: 34px; }
    .feature-panel.reverse .feature-copy { order: 2; }
    .feature-panel.reverse .feature-image-wrap { order: 1; }
    .privacy-section .feature-panel, .submit-chain-section .feature-panel, .developer-center-section .feature-panel { grid-template-columns: .9fr 1.1fr; }
    .process-steps { grid-template-columns: repeat(3, 1fr); }
    .risk-grid { grid-template-columns: repeat(4, 1fr); }
    .faq-grid { grid-template-columns: repeat(2, 1fr); }
    .page-layout { grid-template-columns: minmax(0, 1fr) 340px; }
    .article-card { padding: 34px; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (min-width: 1120px) {
    .site-nav a { padding: 9px 11px; font-size: 14px; }
    .risk-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 420px) {
    .container { width: min(100% - 24px, 1180px); }
    .hero-visual { min-height: 320px; }
    .float-label { position: static; margin: 8px 4px 0 0; display: inline-flex; }
    .visual-orbit { padding: 18px; }
    .download-btn { width: 100%; }
    .page-cta { align-items: stretch; }
}
