 :root {
  --primary: #2980FE;
  --primary-dark: #1768d8;
  --white: #ffffff;
  --gray-25: #f9fbff;
  --gray-50: #f4f7fb;
  --gray-100: #eef3f8;
  --gray-200: #dfe7f0;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #172033;
  --blue-soft: #edf5ff;
  --blue-tint: #f6faff;
  --radius: 22px;
  --shadow: 0 18px 45px rgba(41, 128, 254, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.72;
  overflow-x: hidden;
}

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

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

p {
  margin: 0 0 16px;
}

h1, h2, h3 {
  color: var(--gray-900);
  line-height: 1.22;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(32px, 8vw, 60px);
}

h2 {
  font-size: clamp(25px, 5vw, 42px);
}

h3 {
  font-size: 20px;
}

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

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

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

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

.site-nav {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 76px;
  display: none;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.site-nav.open {
  display: grid;
  gap: 4px;
}

.site-nav a {
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--gray-700);
  font-size: 15px;
}

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

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

.nav-toggle span {
  width: 19px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 99px;
  display: block;
}

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

.product-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 12%, rgba(41,128,254,.16), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  padding: 56px 0 42px;
}

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

.eyebrow,
.category-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 14px;
}

.hero-lead {
  max-width: 660px;
  color: var(--gray-500);
  font-size: 18px;
}

.security-tags,
.mini-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.security-tags span,
.mini-tags span,
.tag-list span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--white);
  color: var(--gray-700);
  border: 1px solid var(--gray-100);
  font-size: 13px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  border: 1px solid var(--primary);
  box-shadow: 0 14px 26px rgba(41,128,254,.22);
  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 34px rgba(41,128,254,.28);
}

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

.hero-note {
  color: var(--gray-500);
  font-size: 14px;
}

.app-visual {
  position: relative;
  min-height: 360px;
  border-radius: 30px;
  background: linear-gradient(145deg, #ffffff 0%, #edf5ff 100%);
  border: 1px solid rgba(41,128,254,.12);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  padding: 26px;
  isolation: isolate;
}

.app-visual:before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(41, 128, 254, .16);
  filter: blur(10px);
  z-index: -1;
}

.app-visual img {
  max-height: 430px;
  object-fit: contain;
}

.float-card,
.asset-status-card {
  position: absolute;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(223,231,240,.8);
  box-shadow: 0 16px 36px rgba(23,32,51,.10);
  border-radius: 18px;
  padding: 12px 14px;
  color: var(--gray-700);
  font-size: 13px;
}

.asset-status-card {
  top: 20px;
  left: 16px;
}

.float-card.cold {
  right: 12px;
  top: 22%;
}

.float-card.swap {
  left: 12px;
  bottom: 24%;
}

.float-card.dapp {
  right: 18px;
  bottom: 20px;
}

.section {
  padding: 62px 0;
}

.section-soft {
  background: var(--gray-25);
}

.section-gradient {
  background: linear-gradient(180deg, #f6faff 0%, #ffffff 100%);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head p,
.page-hero p {
  color: var(--gray-500);
  font-size: 17px;
}

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

.shortcut-card,
.feature-card,
.category-card,
.risk-card,
.info-card,
.faq-item,
.step-card,
.guide-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(23,32,51,.05);
}

.shortcut-card {
  padding: 20px;
  min-height: 158px;
}

.shortcut-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 12px;
}

.shortcut-card p,
.feature-card p,
.category-card p,
.risk-card p,
.info-card p,
.guide-card p,
.step-card p {
  color: var(--gray-500);
  font-size: 15px;
}

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

.product-section,
.cold-wallet-section,
.swap-section,
.dapp-section,
.split-section {
  display: grid;
  gap: 26px;
  align-items: center;
}

.visual-panel {
  padding: 20px;
  background: linear-gradient(145deg, #ffffff, #f3f8ff);
  border: 1px solid var(--gray-100);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.visual-panel img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  margin: 0 auto;
}

.points {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.points li {
  position: relative;
  padding-left: 28px;
  color: var(--gray-700);
}

.points li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(41,128,254,.12);
}

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

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

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

.risk-grid,
.category-grid,
.card-grid,
.faq-grid,
.guide-layout {
  display: grid;
  gap: 16px;
}

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

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

.category-card {
  padding: 22px;
}

.category-card h3 {
  margin-bottom: 8px;
}

.faq-item {
  padding: 20px;
}

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

.cta-section {
  padding: 70px 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(41,128,254,.13), transparent 28%),
    linear-gradient(135deg, #f6faff, #edf5ff);
}

.cta-box {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
  padding: 34px 22px;
  border-radius: 30px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(223,231,240,.8);
  box-shadow: var(--shadow);
}

.page-hero {
  padding: 54px 0 30px;
  background: linear-gradient(180deg, #f6faff 0%, #ffffff 100%);
}

.page-shell {
  padding: 34px 0 68px;
}

.guide-layout {
  align-items: start;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(23,32,51,.05);
}

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

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

.side-panel {
  background: var(--blue-tint);
  border: 1px solid rgba(41,128,254,.12);
  border-radius: 26px;
  padding: 22px;
}

.side-panel h3 {
  font-size: 18px;
}

.checklist,
.number-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--gray-700);
}

.tip-box,
.safety-panel {
  margin: 20px 0;
  padding: 18px;
  border-radius: 20px;
  background: var(--blue-soft);
  border: 1px solid rgba(41,128,254,.14);
}

.download-shell {
  padding: 54px 0 70px;
}

.download-panel {
  display: grid;
  gap: 24px;
  background: linear-gradient(145deg, #ffffff, #f6faff);
  border: 1px solid var(--gray-100);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 26px;
}

.download-panel .download-btn {
  width: fit-content;
}

.site-footer {
  background: #f7f9fc;
  border-top: 1px solid var(--gray-100);
  padding: 34px 0 20px;
}

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

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.footer-brand p,
.footer-bottom {
  color: var(--gray-500);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--gray-700);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 22px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

@media (min-width: 560px) {
  .feature-shortcuts,
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .risk-grid,
  .card-grid,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 820px) {
  .product-hero {
    padding: 86px 0 58px;
  }

  .hero-grid,
  .product-section,
  .cold-wallet-section,
  .swap-section,
  .dapp-section,
  .split-section,
  .download-panel {
    grid-template-columns: 1.05fr .95fr;
  }

  .cold-wallet-section {
    grid-template-columns: .95fr 1.05fr;
  }

  .cold-wallet-section .visual-panel {
    order: -1;
  }

  .feature-shortcuts {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

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

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

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

  .feature-shortcuts {
    grid-template-columns: repeat(6, 1fr);
  }

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

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

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (max-width: 420px) {
  .container,
  .section-inner,
  .page-shell,
  .download-shell,
  .hero-grid,
  .header-inner,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 24px, 1180px);
  }

  .app-visual {
    min-height: 300px;
    padding: 18px;
  }

  .float-card,
  .asset-status-card {
    position: static;
    margin: 8px 0;
    width: 100%;
  }

  .download-btn {
    width: 100%;
  }

  .hero-actions .download-btn {
    width: 100%;
  }
}
