:root {
  --primary: #2980FE;
  --primary-soft: #EAF3FF;
  --primary-light: #F4F8FF;
  --text: #1F2937;
  --muted: #667085;
  --line: #E5EAF2;
  --bg: #F7FAFE;
  --card: #FFFFFF;
  --dark: #111827;
  --shadow: 0 18px 50px rgba(41, 128, 254, 0.10);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFE 48%, #FFFFFF 100%);
  line-height: 1.72;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(100% - 32px, 1180px); margin: 0 auto; }
.narrow { width: min(100% - 32px, 880px); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229,234,242,0.88);
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.logo, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}
.logo img, .footer-brand img { width: 34px; height: 34px; object-fit: contain; border-radius: 10px; }
.site-nav {
  display: none;
  position: absolute;
  left: 16px;
  right: 16px;
  top: 72px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.site-nav.open { display: grid; }
.site-nav a {
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.site-nav a:hover, .site-nav a.active { color: var(--primary); background: var(--primary-soft); }
.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--dark); border-radius: 99px; }

.section { padding: 72px 0; }
.section-tight { padding: 46px 0; }
.section-head { margin-bottom: 28px; }
.section-head.center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.eyebrow, .category-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 13px;
  font-weight: 800;
}
h1, h2, h3 { margin: 0 0 14px; line-height: 1.18; color: var(--dark); }
h1 { font-size: clamp(36px, 8vw, 68px); letter-spacing: -0.055em; }
h2 { font-size: clamp(28px, 5vw, 46px); letter-spacing: -0.04em; }
h3 { font-size: 20px; letter-spacing: -0.02em; }
p { margin: 0 0 16px; color: var(--muted); }
.lead { font-size: clamp(17px, 2.4vw, 21px); color: #4B5563; }
.small { font-size: 14px; color: var(--muted); }

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  border: none;
  box-shadow: 0 14px 30px rgba(41, 128, 254, 0.24);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}
.download-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(41, 128, 254, 0.28); }
.text-link { color: var(--primary); font-weight: 800; }

.launch-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 48px;
  background:
    radial-gradient(circle at 78% 22%, rgba(41,128,254,.18), transparent 30%),
    linear-gradient(180deg, #FFFFFF 0%, #F3F8FF 100%);
}
.launch-hero:before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  left: -160px;
  top: 80px;
  background: rgba(41,128,254,.07);
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 36px;
  align-items: center;
}
.hero-copy { max-width: 720px; }
.hero-copy .download-btn { margin: 12px 0 22px; }
.hero-tags, .floating-tags, .pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-tags span, .floating-tags span, .pill-row span {
  border: 1px solid rgba(41,128,254,.16);
  background: rgba(255,255,255,.82);
  color: #344054;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.hero-visual {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
}
.app-showcase {
  width: min(78vw, 390px);
  padding: 22px;
  border-radius: 36px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow);
}
.app-showcase img { width: 100%; border-radius: 28px; object-fit: contain; }
.floating-note {
  position: absolute;
  width: 170px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  border-radius: 18px;
  box-shadow: 0 15px 45px rgba(16,24,40,.08);
  font-size: 13px;
  color: var(--muted);
}
.floating-note strong { display: block; color: var(--dark); margin-bottom: 4px; }
.float-a { left: 0; top: 42px; }
.float-b { right: 0; top: 130px; }
.float-c { left: 16px; bottom: 58px; }
.float-d { right: 8px; bottom: 20px; }

.highlight-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: -20px;
  position: relative;
  z-index: 3;
}
.highlight-card, .mini-card, .risk-card, .faq-item, .info-card, .step-card, .category-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 12px 34px rgba(16,24,40,.04);
}
.highlight-card .tag, .mini-card .tag, .risk-card .tag { color: var(--primary); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.highlight-card h3 { font-size: 18px; margin-top: 8px; }

.big-feature-card {
  display: grid;
  gap: 26px;
  align-items: center;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.big-feature-card.gradient { background: linear-gradient(135deg, #FFFFFF 0%, #F3F8FF 100%); }
.feature-media {
  min-height: 260px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(160deg, #F8FBFF 0%, #EAF3FF 100%);
  border: 1px solid rgba(41,128,254,.12);
  overflow: hidden;
}
.feature-media img { width: min(92%, 430px); max-height: 420px; object-fit: contain; }
.feature-list, .check-list, .clean-list {
  margin: 18px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.feature-list li, .check-list li, .clean-list li {
  position: relative;
  padding-left: 26px;
  color: #475467;
}
.feature-list li:before, .check-list li:before, .clean-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px var(--primary-soft);
}
.feature-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.feature-links a {
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 800;
  font-size: 14px;
}
.wallet-feature .feature-media { background: linear-gradient(150deg, #FDFEFF, #ECF5FF); }
.cold-wallet-feature .feature-media { background: linear-gradient(150deg, #F7FAFC, #EAF3FF); }
.swap-feature .feature-media { background: linear-gradient(150deg, #FFFFFF, #EEF6FF); }
.dapp-feature .feature-media { background: linear-gradient(150deg, #F8FBFF, #EDF4FF); }

.process-steps {
  display: grid;
  gap: 14px;
  counter-reset: step;
}
.step-card { position: relative; padding-left: 74px; min-height: 120px; }
.step-card:before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
  font-weight: 900;
  font-size: 13px;
}

.risk-grid, .category-grid, .info-grid, .faq-grid { display: grid; gap: 16px; }
.risk-card { border-left: 4px solid var(--primary); }
.risk-card h3 { margin-top: 8px; }
.app-category-center {
  padding: 26px;
  border-radius: 32px;
  background: linear-gradient(180deg, #F4F8FF 0%, #FFFFFF 100%);
  border: 1px solid var(--line);
}
.category-card { min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; }
.category-card strong { color: var(--primary); }

.page-hero {
  padding: 62px 0 38px;
  background:
    radial-gradient(circle at 82% 20%, rgba(41,128,254,.16), transparent 26%),
    linear-gradient(180deg, #FFFFFF 0%, #F4F8FF 100%);
}
.page-hero-grid { display: grid; gap: 24px; align-items: center; }
.page-summary {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(41,128,254,.15);
  border-radius: 22px;
  background: rgba(255,255,255,.78);
}
.content-layout { display: grid; gap: 22px; align-items: start; }
.article-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 14px 38px rgba(16,24,40,.04);
}
.article-panel + .article-panel { margin-top: 18px; }
.side-panel {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FF 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
}
.notice-box {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(41,128,254,.15);
  background: var(--primary-light);
  color: #475467;
}
.notice-box strong { color: var(--dark); }
.cta-section {
  text-align: center;
  padding: 44px 24px;
  border-radius: 34px;
  background: linear-gradient(135deg, #F4F8FF 0%, #FFFFFF 100%);
  border: 1px solid var(--line);
}
.cta-section .download-btn { margin-top: 12px; }

.download-steps { counter-reset: download; display: grid; gap: 14px; }
.download-steps .info-card { padding-left: 72px; position: relative; }
.download-steps .info-card:before {
  counter-increment: download;
  content: counter(download);
  position: absolute;
  left: 20px;
  top: 22px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--dark);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin-top: 12px; }

.site-footer {
  margin-top: 60px;
  padding: 44px 0 24px;
  background: #FFFFFF;
  border-top: 1px solid var(--line);
}
.footer-grid { display: grid; gap: 24px; }
.site-footer h3 { font-size: 16px; margin-bottom: 12px; }
.site-footer a { display: block; color: var(--muted); margin: 8px 0; font-weight: 700; }
.site-footer a:hover { color: var(--primary); }
.footer-bottom { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

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

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    gap: 2px;
  }
  .site-nav a { white-space: nowrap; }
  .launch-hero { padding: 92px 0 70px; }
  .hero-grid { grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr); gap: 56px; }
  .highlight-bar { grid-template-columns: repeat(3, 1fr); }
  .big-feature-card { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 38px; }
  .big-feature-card.reverse .feature-copy { order: 2; }
  .big-feature-card.reverse .feature-media { order: 1; }
  .risk-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .page-hero-grid { grid-template-columns: 1.1fr .9fr; }
  .content-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .side-panel { position: sticky; top: 96px; }
  .footer-grid { grid-template-columns: 1.4fr .8fr .8fr; }
}

@media (min-width: 1120px) {
  .process-steps { grid-template-columns: repeat(6, 1fr); }
  .step-card { padding: 72px 18px 20px; min-height: 210px; }
  .step-card:before { left: 18px; top: 18px; }
}

@media (max-width: 420px) {
  .container, .narrow { width: min(100% - 24px, 1180px); }
  .section { padding: 52px 0; }
  .hero-visual { min-height: 380px; }
  .floating-note { width: 142px; padding: 11px; font-size: 12px; }
  .float-a { top: 18px; }
  .float-b { top: 106px; }
  .float-c { bottom: 70px; }
  .float-d { bottom: 12px; }
  .big-feature-card, .article-panel { padding: 20px; }
  .download-btn { width: 100%; }
}
