* {
  box-sizing: border-box;
}

:root {
  --primary: #2980FE;
  --primary-dark: #1768da;
  --primary-soft: #edf5ff;
  --primary-soft-2: #f6f9ff;
  --white: #ffffff;
  --gray-25: #fbfcfe;
  --gray-50: #f6f8fb;
  --gray-100: #edf0f5;
  --gray-200: #dfe5ee;
  --gray-500: #677184;
  --gray-700: #2f3a4a;
  --gray-900: #111827;
  --shadow: 0 18px 45px rgba(42, 86, 143, .09);
  --radius: 22px;
  --radius-sm: 16px;
  --container: 1180px;
}

html {
  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: linear-gradient(180deg, #ffffff 0%, #f8fbff 42%, #ffffff 100%);
  line-height: 1.75;
  overflow-x: hidden;
}

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

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

p {
  margin: 0 0 14px;
}

ul, ol {
  padding-left: 20px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(223, 229, 238, .8);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(calc(100% - 28px), var(--container));
  margin: 0 auto;
  min-height: 66px;
  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(--gray-900);
  letter-spacing: -.02em;
}

.logo img,
.footer-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  border-radius: 14px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

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

.site-nav {
  position: absolute;
  top: 66px;
  left: 14px;
  right: 14px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: grid;
}

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

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

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

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

.product-hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0 28px;
}

.product-hero::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -160px;
  top: -100px;
  background: radial-gradient(circle, rgba(41,128,254,.18), rgba(41,128,254,0) 68%);
  pointer-events: none;
}

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

.hero-copy h1 {
  margin: 14px 0 16px;
  color: var(--gray-900);
  font-size: clamp(34px, 9vw, 62px);
  line-height: 1.08;
  letter-spacing: -.05em;
}

.hero-copy .lead {
  color: var(--gray-500);
  font-size: 17px;
  max-width: 690px;
}

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

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

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

.security-tags span,
.blue-chip {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  background: #fff;
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  font-size: 13px;
  font-weight: 700;
}

.app-visual {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
  padding: 20px;
  border-radius: 30px;
  background: linear-gradient(145deg, #f4f8ff 0%, #ffffff 55%, #eef6ff 100%);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.app-visual img {
  max-height: 430px;
  object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(26, 64, 116, .16));
}

.float-card {
  position: absolute;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(223, 229, 238, .85);
  box-shadow: 0 14px 36px rgba(27, 64, 110, .1);
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 760;
  backdrop-filter: blur(12px);
}

.float-card strong {
  display: block;
  color: var(--gray-900);
  font-size: 16px;
}

.card-assets {
  left: 12px;
  top: 24px;
}

.card-cold {
  right: 10px;
  top: 88px;
}

.card-swap {
  left: 22px;
  bottom: 42px;
}

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

.section {
  padding: 42px 0;
}

.section-head {
  margin-bottom: 22px;
}

.section-head.center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2,
.product-copy h2,
.page-hero h1,
.article-card h2,
.cta-section h2 {
  margin: 10px 0 12px;
  color: var(--gray-900);
  line-height: 1.18;
  letter-spacing: -.03em;
}

.section-head h2,
.product-copy h2,
.cta-section h2 {
  font-size: clamp(28px, 5vw, 42px);
}

.section-head p,
.product-copy p,
.page-hero p {
  color: var(--gray-500);
}

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

.shortcut-card,
.feature-card,
.category-card,
.risk-card,
.faq-item,
.article-card,
.side-card,
.step-card,
.notice-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 28px rgba(42, 86, 143, .055);
}

.shortcut-card {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.shortcut-card .icon,
.feature-card .icon,
.category-card .icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 900;
}

.shortcut-card h3,
.feature-card h3,
.category-card h3,
.risk-card h3,
.step-card h3 {
  margin: 0;
  color: var(--gray-900);
  line-height: 1.35;
}

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

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

.product-section,
.cold-wallet-section,
.swap-section,
.dapp-section {
  display: grid;
  gap: 26px;
  align-items: center;
  padding: 24px;
  border-radius: 30px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.cold-wallet-section,
.dapp-section {
  background: linear-gradient(145deg, var(--primary-soft-2), #fff);
}

.product-image {
  border-radius: 26px;
  padding: 18px;
  background: linear-gradient(145deg, #f6f9ff, #ffffff);
  border: 1px solid var(--gray-200);
  min-height: 260px;
  display: grid;
  place-items: center;
}

.product-image img {
  max-height: 380px;
  object-fit: contain;
}

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

.point-list li {
  position: relative;
  padding: 12px 12px 12px 38px;
  background: var(--gray-25);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  color: var(--gray-700);
}

.point-list li::before {
  content: "✓";
  position: absolute;
  left: 13px;
  top: 12px;
  color: var(--primary);
  font-weight: 900;
}

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

.step-card {
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 8px;
}

.safety-panel {
  padding: 26px;
  border-radius: 30px;
  background: linear-gradient(145deg, #eef6ff 0%, #ffffff 78%);
  border: 1px solid var(--gray-200);
}

.risk-grid,
.category-grid,
.faq-grid,
.guide-grid {
  display: grid;
  gap: 14px;
}

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

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

.category-card,
.feature-card {
  padding: 20px;
  display: grid;
  gap: 10px;
}

.faq-item {
  padding: 20px;
}

.faq-item h3 {
  margin: 0 0 8px;
  color: var(--gray-900);
  font-size: 18px;
}

.cta-section {
  text-align: center;
  padding: 42px 22px;
  border-radius: 32px;
  background: linear-gradient(135deg, #eef6ff 0%, #ffffff 58%, #f5f8fc 100%);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

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

.page-hero {
  padding: 46px 0 26px;
  background:
    radial-gradient(circle at top right, rgba(41, 128, 254, .14), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.page-hero .container {
  max-width: 980px;
}

.page-hero h1 {
  font-size: clamp(32px, 7vw, 52px);
}

.detail-layout {
  display: grid;
  gap: 18px;
  width: min(calc(100% - 36px), var(--container));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.article-card {
  padding: 22px;
}

.article-card h2 {
  font-size: 24px;
}

.article-card h3,
.side-card h3,
.notice-card h3 {
  color: var(--gray-900);
  margin: 0 0 10px;
}

.side-card,
.notice-card {
  padding: 20px;
}

.side-stack {
  display: grid;
  gap: 14px;
  align-content: start;
}

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

.info-list li {
  padding: 12px;
  border-radius: 14px;
  background: var(--gray-25);
  border: 1px solid var(--gray-200);
}

.number-list {
  display: grid;
  gap: 12px;
  padding-left: 0;
  list-style: none;
  counter-reset: item;
}

.number-list li {
  padding: 14px 14px 14px 48px;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  background: var(--white);
  position: relative;
}

.number-list li::before {
  counter-increment: item;
  content: counter(item);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.download-panel {
  margin-top: 22px;
  padding: 20px;
  border-radius: 22px;
  background: var(--primary-soft-2);
  border: 1px solid var(--gray-200);
  display: grid;
  gap: 12px;
}

.download-page-card {
  max-width: 880px;
  margin: 0 auto;
  padding: 26px;
  border-radius: 30px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.site-footer {
  background: #f4f7fb;
  border-top: 1px solid var(--gray-200);
  padding-top: 38px;
}

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

.site-footer p {
  color: var(--gray-500);
  max-width: 560px;
}

.site-footer h3 {
  margin: 0 0 12px;
  color: var(--gray-900);
}

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

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

.footer-bottom {
  border-top: 1px solid var(--gray-200);
  margin-top: 26px;
  padding: 18px;
  text-align: center;
}

.footer-bottom p {
  margin: 0 auto;
  font-size: 13px;
}

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

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

  .article-card,
  .download-page-card {
    padding: 32px;
  }
}

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

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

  .site-nav a {
    white-space: nowrap;
  }

  .hero-grid,
  .product-section,
  .swap-section {
    grid-template-columns: 1.02fr .98fr;
  }

  .cold-wallet-section,
  .dapp-section {
    grid-template-columns: .92fr 1.08fr;
  }

  .cold-wallet-section .product-image,
  .dapp-section .product-image {
    order: 1;
  }

  .cold-wallet-section .product-copy,
  .dapp-section .product-copy {
    order: 2;
  }

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

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

  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.5fr .7fr .7fr;
  }
}

@media (min-width: 1120px) {
  .product-hero {
    padding: 72px 0 44px;
  }

  .section {
    padding: 58px 0;
  }

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

  .shortcut-card {
    min-height: 190px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .header-inner {
    width: min(calc(100% - 20px), var(--container));
  }

  .site-nav {
    left: 10px;
    right: 10px;
    grid-template-columns: 1fr;
  }

  .app-visual {
    min-height: 340px;
    padding: 14px;
  }

  .float-card {
    position: static;
    margin: 6px;
    display: inline-block;
  }

  .product-section,
  .cold-wallet-section,
  .swap-section,
  .dapp-section {
    padding: 18px;
    border-radius: 24px;
  }

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