/* fu-binance.com — analytics-platform theme (mixpanel-inspired purple-blue) */
:root {
  --indigo-950: #1E1B4B;
  --indigo-900: #312E81;
  --indigo-800: #3730A3;
  --violet-600: #7C3AED;
  --violet-500: #8B5CF6;
  --violet-400: #A78BFA;
  --violet-100: #EDE9FE;
  --blue-500:   #3B82F6;
  --blue-400:   #60A5FA;
  --blue-50:    #EFF6FF;
  --slate-900:  #0F172A;
  --slate-700:  #334155;
  --slate-500:  #64748B;
  --slate-200:  #E2E8F0;
  --white:      #FFFFFF;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(124,58,237,.15);
  --shadow-lg:  0 12px 40px rgba(124,58,237,.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: var(--white);
  color: var(--slate-700);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Typography ─────────────────────────────────── */
h1,h2,h3,h4 { font-weight: 800; color: var(--indigo-950); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -1.5px; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); letter-spacing: -0.8px; }
h3 { font-size: 1.2rem; }
p  { line-height: 1.75; }

a { color: var(--violet-600); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── Layout helpers ─────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: 96px; }
.section--alt { background: #F8F7FF; }
.section--dark { background: var(--indigo-950); color: var(--white); }
.section--dark h2,
.section--dark h3,
.section--dark p { color: var(--white); }

/* ── Gradient text ──────────────────────────────── */
.grad-text {
  background: linear-gradient(135deg, var(--violet-600) 0%, var(--blue-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all .2s ease;
  white-space: nowrap;
  min-height: 48px;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--violet-600), var(--blue-500));
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); color: var(--white); text-decoration: none; }
.btn-outline {
  background: transparent;
  color: var(--violet-600);
  border: 2px solid var(--violet-600);
}
.btn-outline:hover { background: var(--violet-100); color: var(--violet-600); text-decoration: none; }
.btn-ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.25);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); text-decoration: none; }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; border-radius: var(--radius-lg); }

/* ── Nav ────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-200);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav__logo img { height: 36px; width: auto; }
.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav__links a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--slate-700);
  transition: color .15s;
}
.nav__links a:hover { color: var(--violet-600); text-decoration: none; }
.nav__cta { display: flex; gap: 10px; align-items: center; }

/* hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--indigo-950);
  border-radius: 2px;
  transition: all .2s;
}
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-top: 1px solid var(--slate-200);
  background: var(--white);
}
.nav__mobile.open { display: flex; }
.nav__mobile a { font-size: 1rem; font-weight: 600; color: var(--slate-700); }

/* ── Hero ───────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(145deg, var(--indigo-950) 0%, var(--indigo-900) 55%, #1d1560 100%);
  overflow: hidden;
  padding-block: 120px 100px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 800px 600px at 80% 40%, rgba(124,58,237,.35) 0%, transparent 70%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,.2);
  border: 1px solid rgba(124,58,237,.4);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: .85rem;
  color: var(--violet-400);
  font-weight: 600;
  margin-bottom: 24px;
}
.hero__badge::before { content: '◆'; font-size: .7rem; }
.hero__title { color: var(--white); margin-bottom: 20px; }
.hero__title span { display: block; }
.hero__desc { color: #A5B4FC; font-size: 1.15rem; margin-bottom: 36px; max-width: 540px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__visual { position: relative; }
.hero__chart {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 28px;
  backdrop-filter: blur(8px);
}
.hero__chart-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.hero__chart-title { color: var(--white); font-weight: 700; font-size: 1.1rem; }
.hero__chart-badge { background: rgba(59,130,246,.25); color: var(--blue-400); border-radius: 999px; padding: 4px 12px; font-size: .8rem; font-weight: 600; }
.chart-svg { width: 100%; }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.hero__stat { text-align: center; }
.hero__stat-num { font-size: 1.4rem; font-weight: 800; color: var(--white); }
.hero__stat-lbl { font-size: .78rem; color: #94A3B8; }

/* floating cards */
.hero__float {
  position: absolute;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  backdrop-filter: blur(12px);
}
.hero__float--1 { top: -20px; right: -10px; }
.hero__float--2 { bottom: 20px; left: -20px; }
.hero__float-label { font-size: .75rem; color: #94A3B8; }
.hero__float-val { font-size: 1.2rem; font-weight: 800; color: var(--white); }
.hero__float-chg { font-size: .8rem; color: #34D399; font-weight: 600; }

/* ── Ticker band ────────────────────────────────── */
.ticker {
  background: var(--indigo-900);
  padding: 14px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ticker__track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}
.ticker__item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  color: var(--white);
  font-size: .9rem;
  font-weight: 500;
}
.ticker__sym { color: #A78BFA; font-weight: 700; }
.ticker__up { color: #34D399; }
.ticker__dn { color: #F87171; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Trust logos ────────────────────────────────── */
.logos {
  padding-block: 48px;
  border-bottom: 1px solid var(--slate-200);
}
.logos__label { text-align: center; font-size: .85rem; color: var(--slate-500); font-weight: 500; margin-bottom: 28px; letter-spacing: .5px; text-transform: uppercase; }
.logos__row { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.logos__item { display: flex; align-items: center; gap: 8px; opacity: .45; transition: opacity .2s; }
.logos__item:hover { opacity: .7; }
.logos__item svg { height: 28px; }
.logos__name { font-size: 1rem; font-weight: 700; color: var(--slate-700); }

/* ── Features grid ──────────────────────────────── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 64px;
}
.feat-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.feat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--violet-400); }
.feat-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--violet-100), var(--blue-50));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feat-card__icon svg { width: 28px; height: 28px; }
.feat-card__title { font-size: 1.15rem; margin-bottom: 10px; }
.feat-card__desc { font-size: .95rem; color: var(--slate-500); line-height: 1.7; }

/* ── Download section ───────────────────────────── */
.dl { padding-block: 96px; background: #F8F7FF; }
.dl__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.dl__kicker { font-size: .85rem; font-weight: 700; color: var(--violet-600); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.dl__title { margin-bottom: 16px; }
.dl__desc { color: var(--slate-500); margin-bottom: 36px; }
.dl__platforms { display: flex; flex-direction: column; gap: 16px; }
.dl__platform {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: box-shadow .2s, border-color .2s;
}
.dl__platform:hover { box-shadow: var(--shadow-sm); border-color: var(--violet-400); }
.dl__platform-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--violet-100), var(--blue-50));
  border-radius: var(--radius-sm);
}
.dl__platform-icon svg { width: 26px; height: 26px; }
.dl__platform-info { flex: 1; }
.dl__platform-name { font-weight: 700; font-size: 1rem; color: var(--indigo-950); }
.dl__platform-sub { font-size: .85rem; color: var(--slate-500); }
.dl__platform-btn { flex-shrink: 0; }
.dl__visual { position: relative; }
.dl__phone-mock {
  background: linear-gradient(160deg, var(--indigo-950), var(--indigo-900));
  border-radius: 32px;
  padding: 20px;
  border: 8px solid #2D2A6E;
  box-shadow: 0 30px 80px rgba(30,27,75,.6), 0 0 0 1px rgba(255,255,255,.1);
  max-width: 300px;
  margin: 0 auto;
}
.dl__phone-screen { background: var(--indigo-800); border-radius: 20px; overflow: hidden; }
.dl__phone-header { background: rgba(124,58,237,.3); padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; }
.dl__phone-brand { color: var(--white); font-weight: 800; font-size: .95rem; }
.dl__phone-dot { width: 10px; height: 10px; border-radius: 50%; background: #34D399; }
.dl__phone-body { padding: 16px; }
.dl__mini-chart { margin-bottom: 16px; }
.dl__phone-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.dl__phone-coin { display: flex; align-items: center; gap: 8px; }
.dl__phone-dot2 { width: 8px; height: 8px; border-radius: 50%; }
.dl__phone-sym { color: var(--white); font-weight: 700; font-size: .85rem; }
.dl__phone-px { font-size: .85rem; font-weight: 600; }

/* ── Stats band ─────────────────────────────────── */
.stats {
  background: linear-gradient(135deg, var(--violet-600) 0%, var(--blue-500) 100%);
  padding-block: 72px;
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stats__item { text-align: center; padding: 20px; border-right: 1px solid rgba(255,255,255,.2); }
.stats__item:last-child { border-right: none; }
.stats__num { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: var(--white); letter-spacing: -1px; }
.stats__lbl { font-size: .9rem; color: rgba(255,255,255,.75); margin-top: 6px; }

/* ── Why section ────────────────────────────────── */
.why__intro { max-width: 640px; margin-bottom: 64px; }
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-card {
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--slate-200);
  display: flex;
  gap: 20px;
  transition: box-shadow .2s;
}
.why-card:hover { box-shadow: var(--shadow-md); border-color: var(--violet-400); }
.why-card__num {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--violet-600), var(--blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}
.why-card__title { font-size: 1.1rem; margin-bottom: 8px; }
.why-card__desc { font-size: .92rem; color: var(--slate-500); }

/* ── Steps ──────────────────────────────────────── */
.steps { background: var(--indigo-950); }
.steps__intro { text-align: center; max-width: 600px; margin: 0 auto 72px; color: rgba(255,255,255,.8); }
.steps__intro h2 { color: var(--white); }
.steps__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.steps__row::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(16.66% + 24px);
  width: calc(66.66% - 48px);
  height: 2px;
  background: linear-gradient(90deg, var(--violet-600), var(--blue-500));
}
.step { text-align: center; padding: 0 32px; }
.step__circle {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet-600), var(--blue-500));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
  box-shadow: 0 0 32px rgba(124,58,237,.5);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  position: relative;
  z-index: 1;
}
.step__title { color: var(--white); font-size: 1.15rem; margin-bottom: 10px; }
.step__desc { color: rgba(255,255,255,.65); font-size: .92rem; line-height: 1.7; }

/* ── Testimonials ───────────────────────────────── */
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.testi-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow .2s;
}
.testi-card:hover { box-shadow: var(--shadow-md); }
.testi-card__stars { color: #F59E0B; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 16px; }
.testi-card__text { font-size: .95rem; color: var(--slate-700); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testi-card__author { display: flex; align-items: center; gap: 12px; }
.testi-card__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--violet-600), var(--blue-500));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--white); font-size: 1rem;
}
.testi-card__name { font-weight: 700; font-size: .95rem; color: var(--indigo-950); }
.testi-card__role { font-size: .82rem; color: var(--slate-500); }

/* ── FAQ ────────────────────────────────────────── */
.faq { background: #F8F7FF; }
.faq__intro { max-width: 580px; margin-bottom: 60px; }
.faq__list { max-width: 760px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); overflow: hidden; }
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: var(--indigo-950);
  text-align: left;
  gap: 12px;
}
.faq-item__q:hover { color: var(--violet-600); }
.faq-item__icon { font-size: 1.2rem; flex-shrink: 0; transition: transform .2s; color: var(--violet-600); }
.faq-item.open .faq-item__icon { transform: rotate(45deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .25s ease; }
.faq-item.open .faq-item__a { max-height: 400px; }
.faq-item__a-inner { padding: 0 24px 20px; color: var(--slate-500); font-size: .95rem; line-height: 1.75; }

/* ── Footer CTA ─────────────────────────────────── */
.footer-cta {
  background: linear-gradient(145deg, var(--indigo-950) 0%, #1d1560 100%);
  text-align: center;
  padding-block: 100px;
  position: relative;
  overflow: hidden;
}
.footer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 400px at 50% 50%, rgba(124,58,237,.4) 0%, transparent 70%);
}
.footer-cta__inner { position: relative; }
.footer-cta__badge { display: inline-block; background: rgba(124,58,237,.25); border: 1px solid rgba(124,58,237,.5); border-radius: 999px; padding: 6px 20px; font-size: .85rem; color: var(--violet-400); font-weight: 600; margin-bottom: 24px; }
.footer-cta__title { color: var(--white); margin-bottom: 16px; }
.footer-cta__desc { color: #A5B4FC; font-size: 1.1rem; max-width: 560px; margin: 0 auto 40px; }
.footer-cta__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── Site Footer ────────────────────────────────── */
.site-footer {
  background: #0D0B26;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-block: 64px 32px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 32px;
}
.site-footer__brand-desc { color: rgba(255,255,255,.5); font-size: .9rem; margin-top: 14px; line-height: 1.7; }
.site-footer__col-title { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.site-footer__links { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.site-footer__links a { color: rgba(255,255,255,.6); font-size: .9rem; transition: color .15s; }
.site-footer__links a:hover { color: var(--white); text-decoration: none; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer__copy { font-size: .82rem; color: rgba(255,255,255,.3); }
.site-footer__lang { display: flex; gap: 16px; }
.site-footer__lang a { font-size: .82rem; color: rgba(255,255,255,.4); transition: color .15s; }
.site-footer__lang a:hover { color: var(--white); text-decoration: none; }
.site-footer__lang a.active { color: var(--violet-400); }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { display: none; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .dl__inner { grid-template-columns: 1fr; }
  .dl__visual { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); }
  .stats__item:nth-child(2n) { }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding-block: 64px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding-block: 72px 60px; }
  .nav__links { display: none; }
  .nav__cta .btn { display: none; }
  .nav__cta .btn:last-child { display: inline-flex; padding: 10px 18px; font-size: .9rem; }
  .nav__hamburger { display: flex; }
  .features__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .steps__row { grid-template-columns: 1fr; gap: 48px; }
  .steps__row::before { display: none; }
  .testi__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__top { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .logos__row { gap: 28px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .footer-cta__actions { flex-direction: column; align-items: center; }
  .footer-cta__actions .btn { width: 100%; max-width: 320px; justify-content: center; }
}

@media (max-width: 390px) {
  .container { padding-inline: 16px; }
  h1 { font-size: 1.75rem; letter-spacing: -.5px; }
  .btn-lg { padding: 16px 24px; font-size: 1rem; }
}
