/* bawebix.com — Vue.js-inspired green frontend-framework landing page */
:root {
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-500: #22c55e;
  --green-400: #4ade80;
  --green-100: #dcfce7;
  --green-50:  #f0fdf4;
  --navy:      #0f172a;
  --navy-800:  #1e293b;
  --navy-700:  #334155;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --white:     #ffffff;
  --text-base: #1e293b;
  --text-muted:#475569;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.14);
  --transition: 0.2s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-base);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; }

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

/* ── Navigation ──────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(22,163,74,.12);
  box-shadow: 0 1px 0 rgba(0,0,0,.05);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img { height: 32px; width: auto; }
.nav-brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green-700);
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--green-700); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-outline {
  padding: 8px 18px;
  border: 1.5px solid var(--green-600);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-700);
  background: transparent;
  transition: all var(--transition);
}
.btn-outline:hover {
  background: var(--green-50);
  border-color: var(--green-700);
}
.btn-primary {
  padding: 9px 22px;
  background: var(--green-600);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(22,163,74,.3);
}
.btn-primary:hover {
  background: var(--green-700);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(22,163,74,.4);
}

/* Mobile nav toggle */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-base);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #052e16 100%);
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(22,163,74,.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(5,150,105,.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(22,163,74,.15);
  border: 1px solid rgba(22,163,74,.35);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-400);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--green-400);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-title .accent { color: var(--green-400); }
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.68);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 460px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}
.btn-hero-primary {
  padding: 14px 32px;
  background: var(--green-600);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(22,163,74,.4);
}
.btn-hero-primary:hover {
  background: var(--green-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22,163,74,.5);
}
.btn-hero-outline {
  padding: 14px 28px;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.06);
  transition: all var(--transition);
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.45);
  color: var(--white);
}
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.stat-item { }
.stat-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--green-400);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,.5);
  margin-top: 2px;
}

/* Hero visual panel */
.hero-visual {
  position: relative;
}
.browser-mockup {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.browser-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.browser-dot:nth-child(1) { background: #ff5f56; }
.browser-dot:nth-child(2) { background: #ffbd2e; }
.browser-dot:nth-child(3) { background: #27c93f; }
.browser-url {
  flex: 1;
  background: rgba(255,255,255,.08);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.75rem;
  color: rgba(255,255,255,.5);
  margin-left: 8px;
  font-family: monospace;
}
.browser-content {
  padding: 24px;
}
.chart-area {
  width: 100%;
  height: 180px;
  position: relative;
  overflow: hidden;
}
.chart-svg {
  width: 100%;
  height: 100%;
}
.ticker-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.ticker-card {
  background: rgba(22,163,74,.08);
  border: 1px solid rgba(22,163,74,.15);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.ticker-name { font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,.7); }
.ticker-price { font-size: 0.95rem; font-weight: 800; color: var(--white); margin: 2px 0; }
.ticker-change { font-size: 0.72rem; font-weight: 600; color: var(--green-400); }

/* ── Section common ───────────────────────────────────────────── */
section { padding: 80px 0; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 560px;
}
.section-head-center { text-align: center; }
.section-head-center .section-desc { margin: 0 auto; }

/* ── Why Binance (Features) ───────────────────────────────────── */
.features-section { background: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.feature-card {
  border: 1px solid rgba(22,163,74,.14);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  background: var(--white);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-600), var(--green-400));
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  border-color: rgba(22,163,74,.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.feature-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Ecosystem / Trading Types ───────────────────────────────── */
.ecosystem-section { background: var(--green-50); }
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.ecosystem-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--green-100);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: box-shadow var(--transition);
}
.ecosystem-card:hover { box-shadow: var(--shadow-md); }
.eco-icon-wrap {
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--green-600), var(--green-400));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.eco-body {}
.eco-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.eco-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.eco-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-700);
  transition: gap var(--transition);
}
.eco-link:hover { gap: 9px; }

/* ── Platform Steps ────────────────────────────────────────────── */
.steps-section { background: var(--white); }
.steps-visual {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}
.steps-visual::after {
  content: '';
  position: absolute;
  top: 32px; left: calc(12.5% + 16px); right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--green-200, #bbf7d0), var(--green-400), var(--green-200, #bbf7d0));
  z-index: 0;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(22,163,74,.35);
}
.step-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── CTA Banner ─────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #052e16 0%, #0f172a 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(22,163,74,.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.cta-copy {}
.cta-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}
.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.btn-cta-green {
  padding: 14px 32px;
  background: var(--green-600);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  transition: all var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(22,163,74,.4);
}
.btn-cta-green:hover {
  background: var(--green-500);
  transform: translateY(-2px);
}
.btn-cta-ghost {
  padding: 14px 28px;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  background: transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-cta-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.45);
}

/* ── Trust / Security ────────────────────────────────────────── */
.trust-section { background: var(--navy); padding: 72px 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.trust-card {
  text-align: center;
  padding: 28px 20px;
}
.trust-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--green-400);
  line-height: 1;
  margin-bottom: 8px;
}
.trust-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}
.trust-section .section-title { color: var(--white); }
.trust-section .section-desc { color: rgba(255,255,255,.55); }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-800);
  padding: 56px 0 32px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo-wrap img { height: 28px; }
.footer-brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
}
.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,.45);
  line-height: 1.65;
  max-width: 260px;
}
.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--green-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,.35);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 0.82rem;
  color: rgba(255,255,255,.35);
  transition: color var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,.6); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero { padding: 72px 0 64px; }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .steps-visual { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .steps-visual::after { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  section { padding: 56px 0; }
  .container { padding: 0 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .steps-visual { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn-hero-primary, .btn-hero-outline { width: 100%; text-align: center; }
  .cta-buttons { width: 100%; flex-direction: column; }
  .btn-cta-green, .btn-cta-ghost { width: 100%; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-stats { gap: 20px; }
}

@media (max-width: 390px) {
  .hero-title { font-size: 1.75rem; }
  .section-title { font-size: 1.5rem; }
  .trust-grid { grid-template-columns: 1fr; }
}

/* overflow-wrap防横向溢出 */
* { overflow-wrap: break-word; word-break: break-word; }
