:root {
  --green: #21c17a;
  --green-dark: #18a868;
  --black: #111111;
  --text: #1a1a1a;
  --muted: #6b7280;
  --line: #eceff3;
  --bg: #ffffff;
  --orange: #ff8a3d;
  --blue: #4f8cff;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
}

.brand-icon svg {
  width: 100%;
  height: 100%;
}

.menu-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-content: center;
  gap: 5px;
}

.menu-btn span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--black);
}

.mobile-nav {
  position: fixed;
  inset: 64px 16px auto;
  z-index: 49;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  gap: 4px;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 600;
}

.mobile-nav a:hover {
  background: #f5f7fa;
}

.hero {
  padding: 8px 20px 0;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 0 auto 24px;
  padding: 4px;
  border-radius: 999px;
  background: #f3f5f7;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.04);
}

.badge-brand {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.badge-text {
  padding: 0 14px;
  color: #4b5563;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}

.hero h1 {
  margin: 0 0 28px;
  font-size: clamp(2.4rem, 9vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.download-group {
  display: grid;
  gap: 18px;
  justify-items: center;
  margin-bottom: 34px;
}

.btn-download {
  min-width: 220px;
  padding: 16px 42px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.22);
}

.store-icons {
  display: flex;
  gap: 14px;
}

.store-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(33, 193, 122, 0.28);
  transition: transform 0.2s ease;
}

.store-btn svg {
  width: 22px;
  height: 22px;
}

.store-btn:hover {
  transform: translateY(-1px);
}

.phone-stage {
  position: relative;
  min-height: 520px;
  margin: 0 auto;
  max-width: 420px;
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 170px;
  padding: 10px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.1);
  font-size: 0.72rem;
  line-height: 1.35;
  font-weight: 600;
  text-align: left;
}

.float-card p {
  margin: 0;
}

.float-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.float-card--orange {
  top: 36px;
  left: 0;
}

.float-card--orange .float-icon {
  background: rgba(255, 138, 61, 0.14);
}

.float-card--green {
  top: 150px;
  right: 0;
}

.float-card--green .float-icon {
  background: rgba(33, 193, 122, 0.14);
}

.float-card--blue {
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 280px;
}

.float-card--blue .float-icon {
  background: rgba(79, 140, 255, 0.14);
}

.phone {
  position: relative;
  z-index: 1;
  width: min(100%, 280px);
  margin: 0 auto;
  padding: 12px;
  border-radius: 34px;
  background: linear-gradient(160deg, #8b5cf6 0%, #6d28d9 55%, #4c1d95 100%);
  box-shadow: 0 28px 60px rgba(76, 29, 149, 0.28);
}

.phone-notch {
  width: 92px;
  height: 18px;
  margin: 0 auto 10px;
  border-radius: 0 0 14px 14px;
  background: rgba(0, 0, 0, 0.22);
}

.phone-screen {
  overflow: hidden;
  border-radius: 24px;
  background: #f7f8fb;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.chat-back {
  font-size: 1.4rem;
  line-height: 1;
  color: #9ca3af;
}

.chat-title strong {
  display: block;
  font-size: 0.95rem;
}

.chat-title small {
  color: var(--muted);
  font-size: 0.72rem;
}

.chat-body {
  min-height: 300px;
  padding: 16px 12px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.chat-bubble {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 0.82rem;
}

.chat-bubble.bot {
  justify-self: start;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
}

.chat-bubble.user {
  justify-self: end;
  background: var(--green);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.chat-label {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.72rem;
}

.chat-price {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.chat-change {
  margin: 4px 0 10px;
  color: var(--green-dark);
  font-size: 0.74rem;
  font-weight: 600;
}

.chat-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.chat-actions span {
  padding: 6px 0;
  border-radius: 8px;
  background: #f3f5f7;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
}

.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #fff;
  border-top: 1px solid var(--line);
  color: #9ca3af;
  font-size: 0.8rem;
}

.chat-input em {
  color: var(--green-dark);
  font-style: normal;
  font-weight: 700;
}

.investors {
  padding: 56px 20px 24px;
  text-align: center;
}

.investors h2 {
  margin: 0 0 28px;
  font-size: clamp(1.2rem, 4.8vw, 1.55rem);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.logo-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.logo-item {
  flex: 0 0 auto;
  min-width: 110px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #f7f8fa;
  color: #9ca3af;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.logo-csc {
  color: #7c2946;
}

.logo-okx {
  font-size: 0.72rem;
}

.logo-dwf {
  font-size: 0.76rem;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.web3 {
  padding: 36px 20px 12px;
  text-align: center;
}

.web3 h2 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 2.8rem);
  letter-spacing: -0.05em;
  font-weight: 800;
}

.web3-sub {
  margin: 10px 0 28px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
}

.stats {
  display: grid;
  gap: 14px;
}

.stat {
  padding: 22px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fafbfc 0%, #f3f5f7 100%);
  border: 1px solid var(--line);
}

.stat strong {
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.stat span {
  margin-left: 2px;
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 800;
}

.stat p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-blocks {
  padding: 20px;
  display: grid;
  gap: 16px;
}

.feature-card {
  padding: 24px 20px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.feature-card ul {
  margin: 0;
  padding-left: 18px;
  color: #4b5563;
  line-height: 1.7;
  font-size: 0.94rem;
}

.feature-card li + li {
  margin-top: 8px;
}

.feature-cta {
  margin-top: 18px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(33, 193, 122, 0.12);
  color: var(--green-dark);
  font-weight: 700;
}

.bottom-cta {
  padding: 48px 20px 28px;
  text-align: center;
}

.bottom-cta h2 {
  margin: 0 0 22px;
  font-size: clamp(1.8rem, 7vw, 2.4rem);
  letter-spacing: -0.04em;
}

.site-footer {
  padding: 28px 20px 40px;
  text-align: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 12px 0 16px;
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

@media (min-width: 768px) {
  .hero,
  .investors,
  .web3,
  .feature-blocks,
  .bottom-cta,
  .site-footer {
    width: min(100% - 40px, 920px);
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .float-card--orange {
    left: 8%;
  }

  .float-card--green {
    right: 8%;
  }
}

@media (max-width: 380px) {
  .badge-text {
    font-size: 0.72rem;
    padding: 0 10px;
  }

  .float-card {
    max-width: 145px;
    font-size: 0.66rem;
  }

  .float-card--blue {
    max-width: 240px;
  }
}
