/* babiaedge.com — Cloudflare-inspired infrastructure dark+orange */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #F6851B;
  --orange-dark: #d9700e;
  --orange-light: #ff9b3d;
  --dark: #1a1a1a;
  --dark2: #242424;
  --dark3: #2f2f2f;
  --dark4: #3a3a3a;
  --text: #ffffff;
  --text-muted: #a0a0a0;
  --text-sub: #cccccc;
  --border: rgba(255,255,255,0.08);
  --container: 1200px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Inter, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ─── NAV ─── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(26,26,26,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.nav-logo-hex {
  width: 36px; height: 36px; flex-shrink: 0;
}
.nav-logo-text {
  font-size: 20px; font-weight: 700; color: var(--text);
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 14px; color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: flex; align-items: center; gap: 12px;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.25); color: var(--text); }

/* ─── HERO ─── */
.hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #212121 50%, #1f1a14 100%);
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(246,133,27,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(246,133,27,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(246,133,27,0.12);
  border: 1px solid rgba(246,133,27,0.3);
  color: var(--orange-light);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-badge svg { flex-shrink: 0; }
.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero-desc {
  font-size: 17px;
  color: var(--text-sub);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn-hero {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn-hero:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-hero-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-hero-ghost:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.05); }
.hero-trust {
  display: flex; gap: 32px; flex-wrap: wrap;
}
.trust-item {
  display: flex; flex-direction: column; gap: 2px;
}
.trust-num {
  font-size: 28px; font-weight: 800; color: var(--text);
}
.trust-label { font-size: 13px; color: var(--text-muted); }

/* Hero visual */
.hero-visual {
  position: relative; display: flex; justify-content: center; align-items: center;
}
.hero-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  width: 100%; max-width: 380px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.card-header-title { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.card-live {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: #22c55e;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; } 50% { opacity: 0.3; }
}
.ticker-list { display: flex; flex-direction: column; gap: 12px; }
.ticker-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px;
  background: var(--dark3);
  border-radius: 8px;
}
.ticker-left { display: flex; align-items: center; gap: 10px; }
.ticker-dot {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.ticker-name { font-size: 14px; font-weight: 600; }
.ticker-pair { font-size: 11px; color: var(--text-muted); }
.ticker-right { text-align: right; }
.ticker-price { font-size: 14px; font-weight: 600; }
.ticker-change { font-size: 12px; }
.up { color: #22c55e; }
.down { color: #ef4444; }
.card-footer {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-muted);
  text-align: center;
}

/* ─── TRUST BAND ─── */
.trust-band {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 24px;
}
.trust-band-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-band-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 12px 40px;
  border-right: 1px solid var(--border);
}
.trust-band-item:last-child { border-right: none; }
.trust-band-num { font-size: 32px; font-weight: 800; color: var(--orange); }
.trust-band-label { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ─── SECTION GENERIC ─── */
.section { padding: 88px 24px; }
.section-inner { max-width: var(--container); margin: 0 auto; }
.section-label {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-sub {
  font-size: 17px; color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 56px;
}

/* ─── WHY CHOOSE ─── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.why-left {}
.why-features { display: flex; flex-direction: column; gap: 20px; }
.why-feat {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s;
}
.why-feat:hover { border-color: rgba(246,133,27,0.3); }
.why-feat-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(246,133,27,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-feat-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.why-feat-body p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.why-right {
  background: var(--orange);
  border-radius: 20px;
  padding: 40px 36px;
  display: flex; flex-direction: column; gap: 28px;
}
.why-right-title {
  font-size: 26px; font-weight: 800; color: #fff;
  line-height: 1.25;
}
.why-right-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.why-right-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: rgba(255,255,255,0.9);
}
.check-icon { flex-shrink: 0; margin-top: 2px; }
.why-right-cta {
  background: #fff;
  color: var(--orange);
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.1s, background 0.2s;
  align-self: flex-start;
}
.why-right-cta:hover { background: #f9f9f9; transform: translateY(-1px); }

/* ─── PLATFORMS ─── */
.platforms { background: var(--dark2); }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.platform-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.platform-card:hover { border-color: rgba(246,133,27,0.3); transform: translateY(-4px); }
.platform-icon {
  width: 52px; height: 52px;
  margin-bottom: 20px;
}
.platform-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.platform-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; }
.platform-dl {
  background: transparent;
  border: 1px solid var(--orange);
  color: var(--orange);
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.platform-dl:hover { background: var(--orange); color: #fff; }

/* ─── SECURITY SECTION ─── */
.security-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.security-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sec-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 20px;
}
.sec-card:first-child { grid-column: span 2; }
.sec-icon { font-size: 28px; margin-bottom: 12px; }
.sec-val { font-size: 28px; font-weight: 800; color: var(--orange); margin-bottom: 4px; }
.sec-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.security-text {}
.security-text h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.security-text p { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; }
.security-cta {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 13px 28px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s;
}
.security-cta:hover { background: var(--orange-dark); }

/* ─── PRICING / FEES ─── */
.fees { background: var(--dark2); }
.fees-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.fee-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
}
.fee-card.featured {
  border-color: var(--orange);
  position: relative;
}
.fee-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 3px 12px; border-radius: 100px;
  white-space: nowrap;
}
.fee-type { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.fee-rate { font-size: 38px; font-weight: 800; color: var(--orange); }
.fee-unit { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.fee-desc { font-size: 13px; color: var(--text-muted); margin-top: 12px; line-height: 1.5; }

/* ─── STEPS (Register) ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
}
.step-card {
  display: flex; flex-direction: column; gap: 16px;
}
.step-num {
  width: 48px; height: 48px;
  background: var(--orange);
  color: #fff;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800;
}
.step-card h3 { font-size: 18px; font-weight: 700; }
.step-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ─── CTA BAND ─── */
.cta-band {
  background: var(--orange);
  padding: 80px 24px;
}
.cta-band-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.cta-band p { font-size: 17px; color: rgba(255,255,255,0.8); margin-bottom: 36px; }
.cta-band-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: #fff;
  color: var(--orange);
  border: none;
  padding: 15px 36px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.1s, background 0.2s;
}
.btn-white:hover { background: #f5f5f5; transform: translateY(-2px); }
.btn-dark {
  background: rgba(0,0,0,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 15px 36px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-dark:hover { background: rgba(0,0,0,0.25); }

/* ─── FOOTER ─── */
.footer {
  background: #111111;
  border-top: 1px solid var(--border);
  padding: 64px 24px 32px;
}
.footer-inner { max-width: var(--container); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer-brand { }
.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand-text { font-size: 18px; font-weight: 700; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom-left { font-size: 13px; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 13px; color: var(--text-muted); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--text); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .fees-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .security-split { grid-template-columns: 1fr; }
  .security-visual { display: none; }
  .fees-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .trust-band-inner { gap: 0; }
  .trust-band-item { padding: 12px 20px; }
  .trust-band-num { font-size: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero { padding: 64px 20px 56px; }
  .hero-actions { flex-direction: column; }
  .btn-hero, .btn-hero-ghost { width: 100%; text-align: center; }
  .hero-trust { gap: 20px; }
  .trust-band-inner { flex-direction: column; }
  .trust-band-item { border-right: none; border-bottom: 1px solid var(--border); width: 100%; text-align: center; }
  .trust-band-item:last-child { border-bottom: none; }
  .fees-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 20px; }
  .cta-band { padding: 56px 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .platform-dl { min-height: 44px; }
  .btn-primary, .btn-hero, .btn-white, .why-right-cta, .security-cta { min-height: 44px; }
}
