* {
  box-sizing: border-box;
}

:root {
  --primary: #2980FE;
  --primary-soft: #EAF3FF;
  --primary-tint: #F4F8FF;
  --white: #ffffff;
  --page: #F7FAFE;
  --light: #EEF3F8;
  --line: #DDE7F1;
  --text: #1E2A36;
  --muted: #667789;
  --deep: #111827;
  --shadow: 0 18px 50px rgba(41, 128, 254, 0.12);
  --soft-shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
}

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(--text);
  background: linear-gradient(180deg, #ffffff 0%, var(--page) 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 16px;
  color: var(--muted);
}

ul, ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

li + li {
  margin-top: 8px;
}

h1, h2, h3 {
  margin: 0;
  color: var(--deep);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(36px, 10vw, 76px);
}

h2 {
  font-size: clamp(28px, 6vw, 48px);
}

h3 {
  font-size: 22px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(221, 231, 241, 0.9);
}

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

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.brand-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--deep);
}

.nav-toggle {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--deep);
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 22px;
  cursor: pointer;
}

.site-nav {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 78px;
  display: none;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.site-nav.is-open {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

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

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

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

.section {
  padding: 56px 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

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

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

.launch-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 34px;
}

.launch-hero::before,
.gradient-bg::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  top: -130px;
  background: radial-gradient(circle, rgba(41, 128, 254, 0.16), rgba(41, 128, 254, 0));
  z-index: -1;
}

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

.hero-copy {
  display: grid;
  gap: 20px;
}

.hero-copy p {
  font-size: 18px;
  max-width: 660px;
}

.hero-tags,
.float-tags,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.float-tags span,
.pill-row span {
  border-radius: 999px;
  padding: 9px 13px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(41, 128, 254, 0.08);
  font-size: 14px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 142px;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-weight: 900;
  border: 1px solid var(--primary);
  box-shadow: 0 14px 30px rgba(41, 128, 254, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.hero-visual,
.app-showcase {
  position: relative;
}

.phone-stage {
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: 22px;
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(41, 128, 254, 0.12), rgba(255, 255, 255, 0.86)),
    var(--primary-tint);
  border: 1px solid rgba(41, 128, 254, 0.16);
  box-shadow: var(--shadow);
}

.phone-stage img {
  max-height: 440px;
  object-fit: contain;
  filter: drop-shadow(0 28px 35px rgba(41, 128, 254, 0.18));
}

.floating-label {
  position: absolute;
  display: none;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  color: var(--deep);
  font-weight: 800;
  box-shadow: var(--soft-shadow);
  font-size: 14px;
}

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

.highlight-card,
.category-card,
.risk-card,
.faq-item,
.info-card,
.step-card,
.notice-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.04);
}

.highlight-card {
  display: grid;
  gap: 10px;
}

.highlight-card .mini-label,
.category-card .mini-label {
  color: var(--primary);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.text-link {
  color: var(--primary);
  font-weight: 900;
}

.launch-card,
.big-feature-card {
  position: relative;
  display: grid;
  gap: 26px;
  align-items: center;
  padding: 26px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.big-feature-card::after {
  content: "";
  position: absolute;
  inset: auto -120px -160px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(41, 128, 254, 0.08);
  pointer-events: none;
}

.wallet-feature {
  background: linear-gradient(135deg, #ffffff, #F4F8FF);
}

.cold-wallet-feature {
  background: linear-gradient(135deg, #F7FAFE, #ffffff);
}

.swap-feature {
  background: linear-gradient(135deg, #ffffff, #F7FBFF);
}

.dapp-feature {
  background: linear-gradient(135deg, #F4F8FF, #ffffff);
}

.feature-copy,
.page-copy {
  display: grid;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.feature-media {
  position: relative;
  z-index: 1;
  border-radius: 26px;
  padding: 18px;
  background: var(--primary-tint);
  border: 1px solid rgba(41, 128, 254, 0.14);
}

.feature-media img {
  margin: 0 auto;
  max-height: 360px;
  object-fit: contain;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  margin: 0;
  color: var(--text);
  font-weight: 650;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

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

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

.step-number {
  position: absolute;
  top: 18px;
  left: 20px;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

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

.risk-card strong,
.notice-card strong {
  color: var(--deep);
}

.app-category-center {
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--primary-tint), #ffffff);
  border: 1px solid var(--line);
}

.category-card {
  min-height: 188px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--deep);
}

.faq-item p {
  margin-top: 12px;
}

.cta-section {
  text-align: center;
  padding: 48px 24px;
  border-radius: 34px;
  background: linear-gradient(135deg, #EAF3FF, #ffffff);
  border: 1px solid rgba(41, 128, 254, 0.18);
  box-shadow: var(--shadow);
}

.cta-section p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero {
  padding: 54px 0 26px;
  background: linear-gradient(180deg, #ffffff, #F4F8FF);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  width: min(940px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.page-layout {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 70px;
  display: grid;
  gap: 22px;
}

.article-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 24px;
  box-shadow: var(--soft-shadow);
}

.article-panel h2,
.info-card h2,
.notice-card h2 {
  font-size: 26px;
  margin-bottom: 14px;
}

.sidebar-panel {
  display: grid;
  gap: 16px;
}

.guide-grid,
.download-steps,
.two-col-grid {
  display: grid;
  gap: 16px;
}

.download-panel {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.download-steps .step-card {
  text-align: left;
}

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

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

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

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

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

.footer-note {
  font-size: 13px;
  color: var(--muted);
}

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

@media (min-width: 900px) {
  .section {
    padding: 82px 0;
  }

  .nav-toggle {
    display: none;
  }

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

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

  .hero-grid {
    grid-template-columns: 1.02fr 0.98fr;
    min-height: 650px;
  }

  .hero-copy p {
    font-size: 20px;
  }

  .floating-label {
    display: inline-flex;
  }

  .label-asset { top: 14%; left: -4%; }
  .label-cold { top: 26%; right: -2%; }
  .label-swap { bottom: 24%; left: 2%; }
  .label-dapp { bottom: 10%; right: 8%; }

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

  .big-feature-card {
    grid-template-columns: 1.05fr 0.95fr;
    padding: 44px;
  }

  .big-feature-card.reverse .feature-copy {
    order: 2;
  }

  .big-feature-card.reverse .feature-media {
    order: 1;
  }

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

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

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

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

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

  .article-panel {
    padding: 34px;
  }

  .footer-inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }

  .footer-note {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1180px) {
  .site-nav a {
    padding: 10px 14px;
  }
}
