/* ei-binance.com — deep dark + teal theme, Loom-inspired layout */

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

:root {
  --bg:        #0a0f1a;
  --bg2:       #0d1626;
  --bg3:       #111d30;
  --teal:      #00d4aa;
  --teal2:     #00b898;
  --teal-dim:  #007a6a;
  --teal-glow: rgba(0, 212, 170, 0.12);
  --text:      #e8f4f2;
  --text2:     #8ecfc9;
  --text3:     #4a8a84;
  --white:     #ffffff;
  --border:    rgba(0, 212, 170, 0.15);
  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 4px 32px rgba(0, 0, 0, 0.45);
}

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

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ─── Container ─── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ─── NAV ─── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 26, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img { height: 32px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text2);
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  min-height: 44px;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: #0a0f1a;
}
.btn-primary:hover {
  background: var(--teal2);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 212, 170, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn-outline:hover {
  background: var(--teal-glow);
}
.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius);
  min-height: 52px;
}
.btn-xl {
  padding: 18px 40px;
  font-size: 1.1rem;
  border-radius: var(--radius);
  min-height: 58px;
}

/* ─── HERO ─── */
.hero {
  padding: 90px 0 0;
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(0, 212, 170, 0.12);
  border: 1px solid rgba(0, 212, 170, 0.3);
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 22px;
}
.hero-h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.hero-h1 span { color: var(--teal); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text2);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-hint {
  font-size: 0.82rem;
  color: var(--text3);
  margin-bottom: 56px;
}
.hero-visual {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  box-shadow: 0 -4px 60px rgba(0, 212, 170, 0.08), var(--shadow);
  padding: 20px;
}
.app-mockup-svg {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.trust-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.trust-label {
  font-size: 0.78rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── SECTION COMMON ─── */
section { padding: 88px 0; }
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-body {
  font-size: 1.05rem;
  color: var(--text2);
  max-width: 580px;
  line-height: 1.7;
}

/* ─── SPLIT FEATURE ─── */
.split-feature {
  background: var(--bg2);
}
.split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-inner.reverse { direction: rtl; }
.split-inner.reverse > * { direction: ltr; }
.split-text .section-body { margin-bottom: 32px; }
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.97rem;
  color: var(--text2);
}
.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background: var(--teal);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M16.7 5.3a1 1 0 0 0-1.4 0L8 12.6l-3.3-3.3a1 1 0 0 0-1.4 1.4l4 4a1 1 0 0 0 1.4 0l8-8a1 1 0 0 0 0-1.4z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
}
.split-visual-wrap {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

/* ─── PLATFORM CARDS ─── */
.platforms-section { background: var(--bg); }
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.platform-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.25s ease;
  cursor: pointer;
}
.platform-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 40px var(--teal-glow);
  transform: translateY(-2px);
}
.platform-icon {
  width: 52px;
  height: 52px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.platform-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.platform-desc {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 20px;
}
.platform-link {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ─── STEPS SECTION ─── */
.steps-section {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 52px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 30px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 60px;
  height: 60px;
  background: var(--bg2);
  border: 2px solid var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--teal);
}
.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.step-desc {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.6;
}

/* ─── STATS SECTION ─── */
.stats-section {
  background: linear-gradient(135deg, #0d1f2d 0%, #0a1a26 50%, #0a0f1a 100%);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.07) 0%, transparent 65%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--teal);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-desc {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.5;
}

/* ─── SECURITY SECTION ─── */
.security-section { background: var(--bg2); }
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.security-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.security-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.security-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.security-desc {
  font-size: 0.87rem;
  color: var(--text2);
  line-height: 1.6;
}

/* ─── CTA BAND ─── */
.cta-band {
  background: linear-gradient(90deg, #0d2a26 0%, #0a1f20 100%);
  border-top: 1px solid rgba(0, 212, 170, 0.2);
  border-bottom: 1px solid rgba(0, 212, 170, 0.2);
  text-align: center;
  padding: 72px 0;
}
.cta-band .section-title { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: var(--text2); font-size: 1.05rem; margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─── */
.site-footer {
  background: #06090f;
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text3);
  line-height: 1.7;
  margin: 14px 0 20px;
  max-width: 280px;
}
.footer-col-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--text2);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text3);
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── MOBILE ─── */
@media (max-width: 900px) {
  .split-inner { grid-template-columns: 1fr; gap: 36px; }
  .split-inner.reverse { direction: ltr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .hero { padding: 60px 0 0; }
  .hero-h1 { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-xl { width: 100%; max-width: 320px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-inner { gap: 24px; }
  .platforms-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .container, .container-sm { padding: 0 16px; }
  section { padding: 60px 0; }
  .cta-band { padding: 52px 0; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .nav-cta .btn-outline { display: none; }
}

/* ─── INLINE CHART SVG ─── */
.chart-area {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
