:root {
  --brand: #4B8BF5;
  --brand-2: #3b7de8;
  --brand-dark: #2f6fd8;
  --brand-soft: #89BEF6;
  --bg: #ffffff;
  --bg-alt: #f6f9fe;
  --text: #1a2035;
  --text-2: #5f6672;
  --muted: #9aa3b4;
  --line: #e9ecf3;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(44,97,196,.08);
  --shadow-lg: 0 25px 60px rgba(44,97,196,.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-img {
  height: 48px;
  width: 48px;
  display: block;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 10px;
}
.logo-text {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(90deg, #4B8BF5, #6aa0f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 1px;
}
.footer-logo { display: inline-flex; align-items: center; gap: 10px; }
.footer-logo-img {
  height: 52px;
  width: 52px;
  background: #fff;
  border-radius: 12px;
  padding: 3px;
  object-position: center 30%;
}
.footer-logo-text {
  background: linear-gradient(90deg, #8fb8ff, #cfe0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.header-right { display: flex; align-items: center; gap: 14px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(75,139,245,.28);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: #f0f4fb; }
.btn-lg { padding: 14px 44px; font-size: 16px; border-radius: 12px; }
.header-cta { padding: 9px 22px; font-size: 14px; }

/* Hamburger */
.menu-toggle {
  width: 30px; height: 30px;
  background: transparent; border: none;
  display: inline-flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 5px;
  cursor: pointer; padding: 0;
}
.menu-toggle span {
  width: 22px; height: 2px; background: #555; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%);
  transition: transform .3s ease;
  z-index: 35;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { list-style: none; margin: 0; padding: 12px 20px 30px; }
.mobile-menu li a {
  display: block; padding: 14px 0;
  font-size: 16px; color: var(--text);
}
.mobile-menu li {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.mobile-menu .sub-title {
  padding: 14px 0 4px;
  font-size: 16px;
  font-weight: 600;
}
.mobile-menu .has-sub a {
  padding: 8px 0 8px 16px;
  color: var(--text-2);
  font-size: 15px;
}
.mobile-menu .menu-cta { color: var(--brand); font-weight: 600; }

/* Marquee banner */
.marquee {
  background: #f2f5fb;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px;
  overflow: hidden;
}
.marquee-icon { flex-shrink: 0; display: inline-flex; }
.marquee-text {
  white-space: nowrap;
  color: var(--text-2);
  font-size: 14px;
  animation: scroll-left 30s linear infinite;
}
@keyframes scroll-left {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

/* Hero */
.hero {
  padding: 80px 20px 60px;
  background: radial-gradient(ellipse at top right, #eaf1fd 0%, #fff 55%);
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-text { text-align: left; }
.hero-title {
  font-size: 44px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 22px;
  color: #1a2035;
  letter-spacing: -.5px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-2);
  margin: 0 0 36px;
  max-width: 520px;
}

/* Phone mockups */
.hero-phone {
  margin-top: 0; justify-self: end; width: 100%;
  position: relative;
}
.hero-phone::before {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(75,139,245,.18) 0%, transparent 70%);
  top: 20px; right: -40px;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}
.phone-stack {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
  height: 560px;
  z-index: 1;
}
.phone {
  position: absolute;
  border-radius: 36px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e9edf5;
  overflow: hidden;
}
.phone-left {
  width: 240px; height: 480px;
  left: 0; top: 50px;
  z-index: 1;
  padding: 14px 10px;
}
.phone-right {
  width: 260px; height: 520px;
  right: 0; top: 0;
  z-index: 2;
  background: #fff;
}
.phone-screen { padding: 8px; }
.chain-group { margin-bottom: 12px; }
.chain-group-title {
  font-size: 12px; color: var(--text-2); font-weight: 600;
  margin: 6px 4px 6px;
}
.token-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.token-grid-2 { grid-template-columns: repeat(2, 1fr); }
.token-cell {
  position: relative;
  background: #fff;
  border: 1px solid #eef2f9;
  border-radius: 10px;
  padding: 14px 4px 10px;
  text-align: center;
  font-size: 10px;
}
.tc-icon {
  width: 28px; height: 28px; margin: 0 auto 6px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px;
}
.tc-icon i { line-height: 1; }
.tc-eth { background: #627eea; }
.tc-btc { background: #f7931a; }
.tc-tron { background: #ef4444; }
.tc-arb { background: #28a0f0; }
.tc-zk { background: #222; }
.tc-op { background: #ff0420; }
.tc-bnb { background: #f3ba2f; }
.tc-ava { background: #e84142; }
.tc-name { color: #2e3548; font-weight: 500; }
.tc-tick {
  position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand); color: #fff;
  font-size: 12px; display: flex; align-items: center; justify-content: center;
}
.tc-tick.static { position: static; transform: none; }
.tc-plus {
  position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 1px solid #d8dfe9; color: #9aa3b4;
  font-size: 12px; display: flex; align-items: center; justify-content: center;
}
.card-row {
  margin-top: 16px;
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid #eef2f9;
  border-radius: 10px; padding: 10px 12px;
  position: relative;
}
.card-icon {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, #4B8BF5, #89BEF6);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px;
}
.card-label { flex: 1; font-size: 12px; font-weight: 600; }
.card-row .tc-tick {
  position: static; transform: none;
  width: 18px; height: 18px; font-size: 11px;
}

/* Right phone (wallet) */
.phone-notch {
  position: absolute;
  top: 8px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #111;
  border-radius: 20px;
}
.phone-time {
  text-align: right;
  padding: 14px 22px 0;
  font-size: 13px;
  font-weight: 600;
  color: #222;
}
.phone-header {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px 6px;
}
.wallet-dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: #eaf1fd;
  display: flex; align-items: center; justify-content: center;
}
.wallet-meta { flex: 1; line-height: 1.2; }
.wallet-label { font-size: 11px; color: var(--text-2); }
.wallet-account { font-size: 14px; font-weight: 600; }
.wallet-account span { color: var(--text-2); font-weight: 400; }
.scan-icon { opacity: .8; }
.balance-card {
  margin: 6px 16px 0;
  background: linear-gradient(135deg, #4B8BF5, #6aa0f7);
  color: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  position: relative;
}
.balance-num { font-size: 20px; font-weight: 700; }
.balance-addr { font-size: 11px; opacity: .9; margin-top: 6px; }
.balance-chain {
  display: inline-block;
  margin-top: 8px;
  background: rgba(255,255,255,.2);
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 11px;
}
.action-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 14px 16px 6px; gap: 4px; text-align: center;
}
.act { font-size: 11px; color: #2e3548; }
.act-icon {
  width: 38px; height: 38px; margin: 0 auto 4px;
  background: #eef3fc;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  font-size: 18px;
}
.tabs {
  display: flex; gap: 18px;
  padding: 8px 18px 6px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.tab { color: var(--text-2); padding-bottom: 6px; font-weight: 500; }
.tab.active { color: var(--text); font-weight: 600; border-bottom: 2px solid var(--brand); }
.asset-list { list-style: none; padding: 4px 16px; margin: 0; }
.asset-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f3f8;
}
.asset-list li:last-child { border-bottom: none; }
.asset-list b { font-size: 13px; font-weight: 600; display: block; }
.asset-list span { font-size: 11px; color: var(--muted); }
.al-ico {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px;
}
.al-ico.usdt { background: #26a17b; }
.al-ico.trx { background: #ef4444; }
.al-ico.ton { background: #0088cc; }
.al-name { flex: 1; }
.al-val { text-align: right; }

/* Stats (blue band) */
.stats {
  background: linear-gradient(160deg, #4B8BF5 0%, #6aa0f7 100%);
  color: #fff;
  padding: 70px 20px 80px;
}
.stats-inner { max-width: 1100px; margin: 0 auto; }
.stats-head { margin-bottom: 44px; max-width: 640px; }
.stats-head h2 { font-size: 32px; margin: 0 0 16px; font-weight: 700; }
.stats-head p { font-size: 16px; opacity: .92; margin: 0; line-height: 1.7; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stat-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 34px 30px;
  backdrop-filter: blur(10px);
}
.stat-num {
  font-size: 44px; font-weight: 700;
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 10px;
}
.stat-num span { font-size: 22px; font-weight: 500; opacity: .9; }
.stat-label { font-size: 14px; opacity: .85; line-height: 1.6; }

/* Generic section */
.section-title {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 10px;
}
.section-sub {
  text-align: center;
  color: var(--text-2);
  font-size: 16px;
  margin: 0 auto 40px;
  max-width: 560px;
}

/* Features */
.features {
  padding: 80px 20px;
  background: var(--bg-alt);
}
.features-inner { max-width: 1100px; margin: 0 auto; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #cfdcf5;
}
.f-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 26px;
}
.f-icon-1 { background: #e8f0fe; color: #4B8BF5; }
.f-icon-2 { background: #fdecec; color: #ef4444; }
.f-icon-3 { background: #fff4e0; color: #f59e0b; }
.f-icon-4 { background: #e7f7ef; color: #10b981; }
.f-icon-5 { background: #efe8ff; color: #7c3aed; }
.f-icon-6 { background: #ffe8f3; color: #ec4899; }
.feature h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; }
.feature p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.7; }

/* CTA Band */
.cta-band {
  background: linear-gradient(135deg, #2f6fd8, #4B8BF5);
  padding: 60px 20px;
  color: #fff;
  text-align: center;
}
.cta-inner { max-width: 760px; margin: 0 auto; }
.cta-band h2 {
  font-size: 26px; font-weight: 700; margin: 0 0 28px; line-height: 1.5;
}

/* Contact */
.contact-section { padding: 80px 20px; }
.contact-inner { max-width: 1100px; margin: 0 auto; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.contact-card {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-soft);
  box-shadow: var(--shadow);
}
.c-icon {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid #d8dfe9;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--brand);
  font-size: 24px;
}
.c-title { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.c-desc { font-size: 14px; color: var(--brand); word-break: break-all; margin-bottom: 6px; }
.c-hint { font-size: 12px; color: var(--muted); }

/* Footer */
.site-footer {
  background: #0f1a31;
  color: #cdd5e5;
  padding: 50px 20px 30px;
  position: relative;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap; gap: 20px;
}
.footer-logo { display: inline-flex; align-items: center; gap: 10px; }
.footer-logo .logo-text { color: #e8efff; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #cdd5e5; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between;
  padding: 20px 0 10px;
  font-size: 13px; color: #8c97ad; flex-wrap: wrap; gap: 10px;
}
.footer-note {
  font-size: 12px; color: #7a8398; margin: 10px 0 0; line-height: 1.7;
}
.back-top {
  position: fixed; right: 20px; bottom: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); cursor: pointer;
  display: none; align-items: center; justify-content: center;
  z-index: 30; color: var(--brand); font-size: 20px;
}
.back-top.show { display: inline-flex; }

/* About / Contact page */
.page-wrap { max-width: 860px; margin: 0 auto; padding: 60px 20px; }
.page-wrap h1 {
  font-size: 32px; margin: 0 0 18px; font-weight: 700;
}
.page-wrap h2 {
  font-size: 22px; margin: 36px 0 14px; font-weight: 700;
  padding-left: 12px; border-left: 4px solid var(--brand);
}
.page-wrap h3 {
  font-size: 17px; margin: 22px 0 10px; font-weight: 600;
  color: #2e3548;
  display: flex; align-items: center; gap: 10px;
}
.page-wrap h3 .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, #4B8BF5, #6aa0f7);
  color: #fff; font-size: 13px; font-weight: 700;
}
.page-wrap p, .page-wrap li {
  font-size: 15px; color: #3a4258; line-height: 1.9;
}
.page-wrap ul { padding-left: 22px; }
.page-wrap .lede {
  font-size: 17px; color: var(--text-2);
  background: var(--bg-alt);
  border-left: 4px solid var(--brand);
  padding: 18px 20px;
  border-radius: 6px;
  margin-bottom: 26px;
}
.page-wrap .callout {
  background: linear-gradient(135deg, #f0f6ff, #fff);
  border: 1px solid #dce8fb;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 20px 0;
}

/* Responsive */
@media (max-width: 960px) {
  .hero { padding: 50px 20px 30px; }
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-text { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-title { font-size: 30px; }
  .hero-title br { display: none; }
  .hero-phone { margin-top: 20px; }
  .stats-grid,
  .feature-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .phone-stack { height: 520px; max-width: 540px; }
  .phone-left { left: 10%; width: 220px; height: 440px; top: 60px; }
  .phone-right { right: 10%; width: 240px; height: 480px; }
  .section-title { font-size: 24px; }
  .stats-head h2 { font-size: 26px; }
  .header-cta { display: none; }
  .cta-band h2 { font-size: 20px; }
}
@media (max-width: 520px) {
  .phone-stack { height: 460px; }
  .phone-left { left: 0; width: 190px; height: 390px; top: 50px; }
  .phone-right { right: 0; width: 215px; height: 430px; }
  .balance-num { font-size: 17px; }
  .stat-num { font-size: 38px; }
  .stat-num span { font-size: 18px; }
  .logo-img { height: 40px; width: 40px; }
  .logo-text { font-size: 18px; }
  .hero { padding: 30px 16px 10px; }
  .hero-title { font-size: 24px; }
  .hero-sub { font-size: 15px; }
  .token-grid { gap: 4px; }
  .tc-icon { width: 24px; height: 24px; font-size: 12px; }
  .token-cell { font-size: 9px; }
}
