/* babianspark.com — honeycomb.io 参照 — 黄+黑可观测性风 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow: #F0B90B;
  --yellow-dark: #C99A08;
  --yellow-light: #FFF3CC;
  --black: #0D0D1A;
  --dark: #111827;
  --dark-2: #1A1F36;
  --dark-3: #232B45;
  --gray: #8892A4;
  --gray-light: #C5CDD9;
  --white: #FFFFFF;
  --border: rgba(255,255,255,0.08);
  --radius: 8px;
  --radius-lg: 16px;
  --max-w: 1200px;
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--white);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* ─── TYPOGRAPHY ─── */
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.35; }
p { color: var(--gray-light); }

/* ─── LAYOUT ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-size: 1rem; font-weight: 600; cursor: pointer;
  border: none; transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap; min-height: 48px;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--yellow); color: var(--black);
  box-shadow: 0 4px 24px rgba(240,185,11,0.3);
}
.btn-primary:hover { background: var(--yellow-dark); box-shadow: 0 6px 32px rgba(240,185,11,0.45); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ─── NAV ─── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,26,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.nav-logo img, .nav-logo svg { height: 32px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: 32px; list-style: none;
}
.nav-links a {
  font-size: 0.9rem; color: var(--gray-light);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--yellow); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* ─── HERO ─── */
.hero {
  background: linear-gradient(160deg, #0D0D1A 0%, #131929 40%, #1A1030 100%);
  padding: 100px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 65% 50%, rgba(240,185,11,0.07) 0%, transparent 70%);
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(240,185,11,0.12); border: 1px solid rgba(240,185,11,0.3);
  color: var(--yellow); padding: 6px 14px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; margin-bottom: 20px;
  letter-spacing: 0.02em; text-transform: uppercase;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero-desc { font-size: 1.1rem; color: var(--gray-light); margin-bottom: 36px; max-width: 480px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-stats {
  display: flex; gap: 32px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-size: 1.5rem; font-weight: 800; color: var(--yellow); }
.stat-label { font-size: 0.8rem; color: var(--gray); }

/* Hero visual — code-style dashboard */
.hero-visual {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.hero-visual-bar {
  background: var(--dark-3);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #FF5F57; }
.dot-y { background: #FFBD2E; }
.dot-g { background: #28C840; }
.hero-chart { padding: 24px; }
.chart-title { font-size: 0.75rem; color: var(--gray); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.chart-bars {
  display: flex; align-items: flex-end; gap: 4px;
  height: 140px; padding-bottom: 8px;
}
.bar {
  flex: 1; border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, rgba(240,185,11,0.9), rgba(240,185,11,0.4));
  transition: height 0.5s ease;
}
.chart-metric {
  margin-top: 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.metric-val { font-size: 1.8rem; font-weight: 800; color: var(--white); }
.metric-badge {
  background: rgba(52,211,153,0.15);
  color: #34D399; border-radius: 6px;
  padding: 4px 10px; font-size: 0.8rem; font-weight: 700;
}

/* ─── LOGOS BAND ─── */
.logos-band {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--dark-2);
}
.logos-label {
  text-align: center; font-size: 0.82rem; color: var(--gray);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 24px;
}
.logos-grid {
  display: flex; flex-wrap: wrap; gap: 32px 48px;
  align-items: center; justify-content: center;
}
.logo-pill {
  display: flex; align-items: center; gap: 8px;
  color: var(--gray-light); font-size: 0.88rem; font-weight: 600; opacity: 0.7;
}
.logo-pill svg { flex-shrink: 0; }

/* ─── SOLUTIONS GRID ─── */
.solutions-header { text-align: center; margin-bottom: 56px; }
.solutions-header p { max-width: 560px; margin: 16px auto 0; font-size: 1.05rem; }
.solutions-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.sol-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--transition), transform var(--transition);
}
.sol-card:hover { border-color: rgba(240,185,11,0.4); transform: translateY(-3px); }
.sol-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(240,185,11,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.sol-icon svg { color: var(--yellow); }
.sol-card h3 { margin-bottom: 10px; }
.sol-card p { font-size: 0.92rem; }

/* ─── HOW IT WORKS ─── */
.hiw { background: var(--black); }
.hiw-header { text-align: center; margin-bottom: 64px; }
.hiw-header p { max-width: 520px; margin: 16px auto 0; }
.hiw-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  position: relative;
}
.hiw-steps::before {
  content: '';
  position: absolute; top: 28px; left: calc(16.66% + 16px); right: calc(16.66% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--yellow) 0%, rgba(240,185,11,0.2) 100%);
}
.step-card { text-align: center; padding: 0 16px; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--yellow); color: var(--black);
  font-size: 1.3rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; position: relative; z-index: 1;
}
.step-card h3 { margin-bottom: 10px; }
.step-card p { font-size: 0.92rem; }

/* ─── FEATURES (WHAT BINANCE DOES) ─── */
.features-list { display: flex; flex-direction: column; gap: 96px; }
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-tag {
  display: inline-block;
  background: rgba(240,185,11,0.1); color: var(--yellow);
  padding: 4px 12px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.feature-text h2 { margin-bottom: 16px; }
.feature-text p { margin-bottom: 24px; }
.feature-bullets { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-bullets li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.92rem; color: var(--gray-light);
}
.bullet-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--yellow); flex-shrink: 0; margin-top: 8px;
}
.feature-visual {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  min-height: 280px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.fv-header { font-size: 0.75rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.fv-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.fv-row:last-child { border-bottom: none; }
.fv-coin { display: flex; align-items: center; gap: 10px; }
.fv-coin-dot { width: 28px; height: 28px; border-radius: 50%; }
.fv-coin-name { font-size: 0.9rem; font-weight: 600; }
.fv-coin-sub { font-size: 0.75rem; color: var(--gray); }
.fv-price { text-align: right; }
.fv-price-val { font-size: 0.9rem; font-weight: 700; }
.fv-price-chg { font-size: 0.75rem; }
.fv-price-chg.up { color: #34D399; }
.fv-price-chg.dn { color: #F87171; }

/* ─── DARK CTA BLOCK ─── */
.dark-cta-block {
  background: linear-gradient(135deg, #1A0F00 0%, #1A1A00 50%, #0D0D1A 100%);
  border-top: 1px solid rgba(240,185,11,0.15);
  border-bottom: 1px solid rgba(240,185,11,0.15);
}
.dark-cta-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  padding: 96px 0;
}
.dark-cta-left h2 { margin-bottom: 16px; }
.dark-cta-left p { margin-bottom: 32px; font-size: 1.05rem; }
.dark-cta-right {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.cta-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.cta-card-num { font-size: 1.6rem; font-weight: 800; color: var(--yellow); margin-bottom: 4px; }
.cta-card-label { font-size: 0.82rem; color: var(--gray); }

/* ─── TESTIMONIALS ─── */
.testimonials { background: var(--dark-3); }
.testimonials-header { text-align: center; margin-bottom: 52px; }
.testimonials-header p { max-width: 480px; margin: 12px auto 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
}
.testi-quote { font-size: 0.95rem; line-height: 1.65; color: var(--gray-light); margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--black); font-size: 0.9rem; flex-shrink: 0;
}
.testi-name { font-size: 0.88rem; font-weight: 600; }
.testi-meta { font-size: 0.78rem; color: var(--gray); }

/* ─── FOOTER ─── */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-desc { color: var(--gray); font-size: 0.88rem; margin-top: 12px; max-width: 260px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img, .footer-logo svg { height: 28px; width: auto; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.88rem; color: var(--gray-light); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--yellow); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 0.82rem; color: var(--gray); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.82rem; color: var(--gray); transition: color var(--transition); }
.footer-legal a:hover { color: var(--gray-light); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .hiw-steps { grid-template-columns: 1fr; }
  .hiw-steps::before { display: none; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse { direction: ltr; }
  .dark-cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .solutions-grid { grid-template-columns: 1fr; }
  .dark-cta-right { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  h1 { font-size: 1.9rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 390px) {
  .container { padding: 0 16px; }
  .btn-lg { padding: 14px 22px; }
  h1 { font-size: 1.7rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
