/* Beyond Mine — Premium Web3 / AI Crypto Theme */
:root {
  --bm-bg: #0B1020;
  --bm-bg-2: #0E1530;
  --bm-surface: rgba(255, 255, 255, 0.04);
  --bm-surface-2: rgba(255, 255, 255, 0.06);
  --bm-border: rgba(255, 255, 255, 0.08);
  --bm-text: #E6EAF7;
  --bm-muted: #9AA3C4;
  --bm-blue: #3B82F6;
  --bm-cyan: #22D3EE;
  --bm-purple: #A855F7;
  --bm-pink: #EC4899;
  --bm-green: #22C55E;
  --bm-gradient: linear-gradient(135deg, #3B82F6 0%, #22D3EE 50%, #A855F7 100%);
  --bm-gradient-soft: linear-gradient(135deg, rgba(59,130,246,.18), rgba(168,85,247,.18));
  --bm-shadow: 0 20px 60px rgba(59,130,246,.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bm-bg);
  color: var(--bm-text);
  font-family: 'Space Grotesk', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Animated background orbs */
.bm-bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}
.bm-bg-orbs::before,
.bm-bg-orbs::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .35;
  animation: bmFloat 18s ease-in-out infinite;
}
.bm-bg-orbs::before {
  background: radial-gradient(circle, #3B82F6 0%, transparent 60%);
  top: -200px; left: -150px;
}
.bm-bg-orbs::after {
  background: radial-gradient(circle, #A855F7 0%, transparent 60%);
  bottom: -200px; right: -150px;
  animation-delay: -9s;
}
@keyframes bmFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.1); }
}

/* Particle canvas */
#bm-particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, h5 { font-weight: 700; letter-spacing: -0.02em; color: #fff; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.2; }
h3 { font-size: 1.35rem; }
p { color: var(--bm-muted); }
a { color: var(--bm-cyan); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }

.bm-gradient-text {
  background: var(--bm-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.bm-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bm-surface);
  border: 1px solid var(--bm-border);
  color: var(--bm-cyan);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Navbar */
.bm-navbar {
  background: rgba(11, 16, 32, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--bm-border);
  padding: .9rem 0;
  transition: all .3s;
}
.bm-navbar.scrolled { background: rgba(11, 16, 32, 0.92); box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.bm-logo {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 800; font-size: 1.25rem; color: #fff !important;
}
.bm-logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--bm-gradient);
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(59,130,246,.45);
  position: relative;
}
.bm-logo-mark::after {
  content: "";
  position: absolute; inset: 3px;
  border-radius: 8px;
  background: var(--bm-bg);
}
.bm-logo-mark i {
  position: relative; z-index: 1;
  background: var(--bm-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1rem;
}

.bm-navbar .nav-link {
  color: var(--bm-muted) !important;
  font-weight: 500;
  padding: .5rem .9rem !important;
  border-radius: 8px;
  transition: all .2s;
}
.bm-navbar .nav-link:hover,
.bm-navbar .nav-link.active { color: #fff !important; background: var(--bm-surface); }

.bm-navbar .navbar-toggler {
  border: 1px solid var(--bm-border);
  color: #fff;
}
.bm-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Buttons */
.bm-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.4rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
  white-space: nowrap;
}
.bm-btn-primary {
  background: var(--bm-gradient);
  color: #fff;
  box-shadow: 0 10px 30px rgba(59,130,246,.4);
}
.bm-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(168,85,247,.5);
  color: #fff;
}
.bm-btn-ghost {
  background: var(--bm-surface);
  color: #fff;
  border-color: var(--bm-border);
  backdrop-filter: blur(10px);
}
.bm-btn-ghost:hover { background: var(--bm-surface-2); color: #fff; border-color: var(--bm-cyan); }

.bm-btn-wallet {
  background: linear-gradient(135deg, rgba(59,130,246,.15), rgba(168,85,247,.15));
  border: 1px solid var(--bm-border);
  color: #fff;
  position: relative;
}
.bm-btn-wallet::before {
  content: ""; position: absolute; inset: 0; border-radius: 12px;
  padding: 1px; background: var(--bm-gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.bm-btn-wallet:hover { color: #fff; transform: translateY(-1px); }

/* Glass cards */
.bm-glass {
  background: var(--bm-surface);
  border: 1px solid var(--bm-border);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.75rem;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.bm-glass:hover {
  border-color: rgba(59,130,246,.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.bm-glass-gradient-border {
  position: relative;
}
.bm-glass-gradient-border::before {
  content: ""; position: absolute; inset: 0; border-radius: 20px;
  padding: 1px; background: var(--bm-gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .4; pointer-events: none;
}

/* Sections */
.bm-section { padding: 6rem 0; position: relative; }
.bm-section-sm { padding: 4rem 0; }
.bm-section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }

/* Hero */
.bm-hero {
  padding: 9rem 0 5rem;
  position: relative;
}
.bm-hero h1 span { display: inline-block; }
.bm-hero p.lead {
  font-size: 1.15rem;
  color: var(--bm-muted);
  max-width: 560px;
  margin: 1.25rem 0 2rem;
}
.bm-hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.bm-hero-stats {
  display: flex; gap: 2rem; margin-top: 3rem; flex-wrap: wrap;
}
.bm-hero-stats .item .num {
  font-size: 1.5rem; font-weight: 700; color: #fff;
  background: var(--bm-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bm-hero-stats .item .label { font-size: .85rem; color: var(--bm-muted); }

/* Hero dashboard mock */
.bm-dash {
  position: relative;
  padding: 1.25rem;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--bm-border);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  animation: bmFloatY 6s ease-in-out infinite;
}
@keyframes bmFloatY {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.bm-dash-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: .5rem .25rem 1rem; border-bottom: 1px solid var(--bm-border);
  margin-bottom: 1rem;
}
.bm-dash-head .title { font-weight: 600; color: #fff; }
.bm-dash-head .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bm-green); box-shadow: 0 0 12px var(--bm-green); }
.bm-dash-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; }
.bm-dash-card {
  padding: 1rem;
  border-radius: 14px;
  background: var(--bm-surface);
  border: 1px solid var(--bm-border);
}
.bm-dash-card .lbl { font-size: .75rem; color: var(--bm-muted); text-transform: uppercase; letter-spacing: .06em; }
.bm-dash-card .val { font-size: 1.35rem; font-weight: 700; color: #fff; margin-top: .25rem; }
.bm-dash-card .chg { font-size: .8rem; color: var(--bm-green); margin-top: .2rem; }
.bm-dash-chart { margin-top: 1rem; padding: 1rem; border-radius: 14px; background: var(--bm-surface); border: 1px solid var(--bm-border); }
.bm-spark { width: 100%; height: 90px; display: block; }
.bm-dash-assets { display: grid; gap: .5rem; margin-top: 1rem; }
.bm-asset {
  display: flex; align-items: center; gap: .75rem;
  padding: .65rem .85rem; border-radius: 12px;
  background: var(--bm-surface); border: 1px solid var(--bm-border);
}
.bm-asset .icn {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .8rem;
}
.bm-asset .name { flex: 1; color: #fff; font-weight: 600; font-size: .9rem; }
.bm-asset .pct { font-size: .85rem; color: var(--bm-green); }
.bm-asset .pct.down { color: #ef4444; }

/* Feature cards */
.bm-feature {
  height: 100%;
}
.bm-feature .icon-wrap {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--bm-gradient-soft);
  border: 1px solid var(--bm-border);
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}
.bm-feature .icon-wrap i {
  background: var(--bm-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bm-feature h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.bm-feature p { margin: 0; font-size: .95rem; }

/* Steps */
.bm-step {
  text-align: center; padding: 2rem 1.5rem; height: 100%;
}
.bm-step .num {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bm-gradient);
  color: #fff; font-weight: 700; font-size: 1.4rem;
  margin: 0 auto 1.25rem;
  box-shadow: 0 10px 30px rgba(59,130,246,.45);
  position: relative;
}
.bm-step .num::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgba(59,130,246,.4); animation: bmPulse 2s ease-out infinite;
}
@keyframes bmPulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Stats counters */
.bm-stat {
  text-align: center; padding: 2rem 1rem;
}
.bm-stat .num {
  font-size: 2.6rem; font-weight: 800;
  background: var(--bm-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bm-stat .label { color: var(--bm-muted); font-size: .95rem; margin-top: .25rem; }

/* Tokenomics */
.bm-token-legend { display: grid; gap: .75rem; }
.bm-token-legend .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .85rem 1rem; border-radius: 12px;
  background: var(--bm-surface); border: 1px solid var(--bm-border);
}
.bm-token-legend .row .left { display: flex; align-items: center; gap: .75rem; color: #fff; font-weight: 600; }
.bm-token-legend .row .swatch { width: 14px; height: 14px; border-radius: 4px; }
.bm-token-legend .row .pct { font-weight: 700; color: var(--bm-cyan); }

/* Roadmap */
.bm-roadmap { position: relative; padding: 2rem 0; }
.bm-roadmap::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, transparent, var(--bm-blue), var(--bm-purple), transparent);
  transform: translateX(-50%);
}
.bm-rm-item {
  width: 50%; padding: 1rem 2.5rem; position: relative;
}
.bm-rm-item:nth-child(odd) { left: 0; text-align: right; }
.bm-rm-item:nth-child(even) { left: 50%; }
.bm-rm-dot {
  position: absolute; top: 1.75rem;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bm-gradient);
  box-shadow: 0 0 20px rgba(59,130,246,.7);
}
.bm-rm-item:nth-child(odd) .bm-rm-dot { right: -9px; }
.bm-rm-item:nth-child(even) .bm-rm-dot { left: -9px; }
.bm-rm-card { padding: 1.5rem; }
.bm-rm-phase { color: var(--bm-cyan); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.bm-rm-card h3 { margin: .5rem 0; font-size: 1.2rem; }
.bm-rm-card p { margin: 0; font-size: .92rem; }

/* Testimonials */
.bm-testimonial { height: 100%; }
.bm-testimonial .stars { color: #fbbf24; margin-bottom: .9rem; }
.bm-testimonial p { color: #cdd3ee; font-style: italic; }
.bm-testimonial .who {
  display: flex; align-items: center; gap: .85rem; margin-top: 1.25rem;
}
.bm-testimonial .avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bm-gradient); display: grid; place-items: center;
  font-weight: 700; color: #fff;
}
.bm-testimonial .who .name { color: #fff; font-weight: 600; }
.bm-testimonial .who .role { color: var(--bm-muted); font-size: .85rem; }

/* FAQ */
.bm-faq .accordion-item {
  background: var(--bm-surface);
  border: 1px solid var(--bm-border) !important;
  border-radius: 14px !important;
  margin-bottom: .85rem;
  overflow: hidden;
}
.bm-faq .accordion-button {
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 1.15rem 1.25rem;
  box-shadow: none !important;
}
.bm-faq .accordion-button:not(.collapsed) {
  background: var(--bm-gradient-soft);
  color: #fff;
}
.bm-faq .accordion-button::after {
  filter: invert(1);
}
.bm-faq .accordion-body { color: var(--bm-muted); padding: 0 1.25rem 1.15rem; }

/* CTA */
.bm-cta {
  padding: 4rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(59,130,246,.12), rgba(168,85,247,.12));
  border: 1px solid var(--bm-border);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}
.bm-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(59,130,246,.2), transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(168,85,247,.2), transparent 50%);
}
.bm-cta > * { position: relative; z-index: 1; }

/* Footer */
.bm-footer {
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.4));
  border-top: 1px solid var(--bm-border);
  padding: 4rem 0 1.5rem;
  margin-top: 4rem;
}
.bm-footer h5 { font-size: 1rem; margin-bottom: 1.1rem; }
.bm-footer a.link { display: block; color: var(--bm-muted); margin-bottom: .55rem; font-size: .92rem; }
.bm-footer a.link:hover { color: #fff; }
.bm-socials { display: flex; gap: .65rem; margin-top: 1rem; }
.bm-socials a {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--bm-surface); border: 1px solid var(--bm-border);
  color: var(--bm-muted); transition: all .2s;
}
.bm-socials a:hover { background: var(--bm-gradient); color: #fff; border-color: transparent; transform: translateY(-2px); }
.bm-footer .newsletter {
  display: flex; gap: .5rem; margin-top: 1rem;
}
.bm-footer .newsletter input {
  flex: 1; padding: .65rem .85rem;
  background: var(--bm-surface); border: 1px solid var(--bm-border);
  color: #fff; border-radius: 10px; outline: none; font-size: .9rem;
}
.bm-footer .newsletter input::placeholder { color: var(--bm-muted); }
.bm-footer .newsletter button {
  padding: .65rem 1rem; border-radius: 10px; border: none;
  background: var(--bm-gradient); color: #fff; font-weight: 600; cursor: pointer;
}
.bm-footer .copy {
  text-align: center; padding-top: 2rem; margin-top: 2.5rem;
  border-top: 1px solid var(--bm-border); color: var(--bm-muted); font-size: .9rem;
}

/* Forms (login/register/contact) */
.bm-auth-wrap {
  min-height: calc(100vh - 80px);
  display: grid; place-items: center; padding: 8rem 1rem 4rem;
}
.bm-auth-card {
  width: 100%; max-width: 460px; padding: 2.5rem;
}
.bm-form-group { margin-bottom: 1.1rem; }
.bm-form-group label {
  display: block; color: #fff; font-size: .9rem;
  font-weight: 600; margin-bottom: .45rem;
}
.bm-input, .bm-textarea, .bm-select {
  width: 100%; padding: .8rem 1rem;
  background: var(--bm-surface); border: 1px solid var(--bm-border);
  color: #fff; border-radius: 12px; outline: none;
  font-size: .95rem; transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
.bm-input:focus, .bm-textarea:focus, .bm-select:focus {
  border-color: var(--bm-cyan);
  box-shadow: 0 0 0 4px rgba(34,211,238,.12);
}
.bm-textarea { min-height: 140px; resize: vertical; }
.bm-auth-card .bm-btn { width: 100%; justify-content: center; margin-top: .5rem; }
.bm-auth-foot { text-align: center; color: var(--bm-muted); margin-top: 1.25rem; font-size: .9rem; }

/* Page hero (inner pages) */
.bm-page-hero {
  padding: 9rem 0 4rem; text-align: center;
}
.bm-page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.bm-page-hero p { max-width: 640px; margin: 1rem auto 0; }

/* Donut chart */
.bm-donut { display: grid; place-items: center; }
.bm-donut svg { max-width: 320px; width: 100%; }

/* Utility */
.bm-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bm-border), transparent);
  border: 0; margin: 3rem 0;
}
.text-muted-2 { color: var(--bm-muted) !important; }

/* Dashboard preview page */
.bm-dp-grid { display: grid; grid-template-columns: 260px 1fr; gap: 1.5rem; }
.bm-dp-side { padding: 1.5rem; }
.bm-dp-side .nav-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .7rem .85rem; border-radius: 10px;
  color: var(--bm-muted); cursor: pointer; margin-bottom: .25rem;
  font-weight: 500;
}
.bm-dp-side .nav-item.active,
.bm-dp-side .nav-item:hover {
  background: var(--bm-gradient-soft); color: #fff;
}
.bm-dp-main { display: grid; gap: 1.25rem; }
.bm-dp-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.bm-kpi { padding: 1.25rem; }
.bm-kpi .lbl { color: var(--bm-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.bm-kpi .val { font-size: 1.7rem; font-weight: 700; color: #fff; margin: .25rem 0; }
.bm-kpi .chg.up { color: var(--bm-green); font-size: .85rem; }
.bm-kpi .chg.down { color: #ef4444; font-size: .85rem; }
.bm-chart-big { padding: 1.5rem; }
.bm-chart-big svg { width: 100%; height: 260px; }
.bm-table { width: 100%; }
.bm-table th, .bm-table td {
  padding: .85rem .75rem; text-align: left; font-size: .9rem;
  border-bottom: 1px solid var(--bm-border);
}
.bm-table th { color: var(--bm-muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.bm-table td { color: #fff; }

/* Badges */
.bm-badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
}
.bm-badge.green { background: rgba(34,197,94,.15); color: #4ade80; }
.bm-badge.blue { background: rgba(59,130,246,.15); color: #60a5fa; }
.bm-badge.purple { background: rgba(168,85,247,.15); color: #c084fc; }
