@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg: #050509;
  --surface: #0b0b13;
  --card: #10101a;
  --card2: #141421;
  --border: rgba(255, 255, 255, .08);
  --text: #f7f7fb;
  --muted: #9696aa;
  --purple: #7655f5;
  --purple2: #a78bfa;
  --cyan: #38d9ff;
  --green: #2ee6a6;
  --red: #ff6b8a;
  --shadow: 0 25px 80px rgba(0, 0, 0, .35)
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: radial-gradient(900px 500px at 8% -5%, rgba(118, 85, 245, .16), transparent 70%), radial-gradient(700px 500px at 100% 10%, rgba(56, 217, 255, .06), transparent 70%), var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .28;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 75%)
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
  font-family: "Space Grotesk", Inter, sans-serif
}

a {
  text-decoration: none
}

.navbar {
  background: rgba(5, 5, 9, .72);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  min-height: 72px
}

.navbar-brand {
  font-size: 24px;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: -.8px
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--purple), #4526bb);
  box-shadow: 0 0 28px rgba(118, 85, 245, .3)
}

.nav-link {
  color: #8f8fa3 !important;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 11px !important
}

.nav-link:hover,
.nav-link.active {
  color: #fff !important
}

.nav-link.active:after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--purple2);
  border-radius: 9px;
  margin: 7px auto 0;
  box-shadow: 0 0 12px var(--purple)
}

.navbar-toggler {
  border-color: var(--border)
}

.navbar-toggler:focus {
  box-shadow: none
}

.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #fff !important;
  background: linear-gradient(135deg, #7c5cff, #6041db);
  border: 1px solid rgba(167, 139, 250, .35);
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 12px 35px rgba(118, 85, 245, .2);
  transition: .25s
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(118, 85, 245, .35)
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #fff !important;
  background: rgba(255, 255, 255, .025);
  border: 1px solid var(--border);
  padding: 11px 20px;
  border-radius: 12px;
  font-weight: 600;
  transition: .25s
}

.btn-outline-custom:hover {
  background: #fff;
  color: #07070c !important;
  border-color: #fff;
  transform: translateY(-2px)
}

.hero {
  min-height: 820px;
  padding: 135px 0 90px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .23;
  background-image: linear-gradient(rgba(118, 85, 245, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(118, 85, 245, .1) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 72% 42%, black, transparent 62%)
}

.hero-title {
  font-size: clamp(50px, 6.5vw, 84px);
  line-height: .96;
  letter-spacing: -3.5px;
  font-weight: 800
}

.gradient-text {
  background: linear-gradient(90deg, #fff, #b9adff 48%, #68e4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent
}

.hero-description,
.section-description,
.muted {
  color: var(--muted);
  line-height: 1.8
}

.hero-description {
  font-size: 17px;
  max-width: 690px
}

.live-pill,
.rate-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 99px;
  border: 1px solid rgba(46, 230, 166, .22);
  background: rgba(46, 230, 166, .055);
  color: #7af1c4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px
}

.live-dot,
.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
  animation: pulse 1.3s infinite
}

@keyframes pulse {
  50% {
    opacity: .35;
    transform: scale(.7)
  }
}

.mining-live-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(118, 85, 245, .25);
  background: linear-gradient(145deg, rgba(118, 85, 245, .12), rgba(255, 255, 255, .025));
  box-shadow: var(--shadow)
}

.mining-live-card:after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -100px;
  bottom: -130px;
  border-radius: 50%;
  background: rgba(56, 217, 255, .08);
  filter: blur(35px)
}

.rate-number {
  font-family: "Space Grotesk";
  font-weight: 800;
  font-size: 42px;
  letter-spacing: -2px
}

.blink-rate {
  animation: blink 1.15s ease-in-out infinite;
  text-shadow: 0 0 25px rgba(124, 92, 255, .4)
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  45% {
    opacity: .58
  }

  52% {
    opacity: 1
  }

  60% {
    opacity: .72
  }
}

.hero-orbit {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: auto;
  box-shadow: 0 0 100px rgba(118, 85, 245, .1), inset 0 0 80px rgba(118, 85, 245, .05)
}

.hero-orbit:before,
.hero-orbit:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(56, 217, 255, .13)
}

.hero-orbit:before {
  inset: 48px
}

.hero-orbit:after {
  inset: 100px
}

.coin-core {
  width: 154px;
  height: 154px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 58px;
  background: radial-gradient(circle at 35% 25%, #d1c9ff, #7655f5 52%, #30206e);
  box-shadow: 0 0 90px rgba(118, 85, 245, .55), inset 0 0 35px rgba(255, 255, 255, .2)
}

.orbit-tag {
  position: absolute;
  padding: 9px 12px;
  border: 1px solid var(--border);
  background: rgba(10, 10, 18, .9);
  border-radius: 10px;
  color: #c9c9d7;
  font-size: 11px;
  box-shadow: var(--shadow)
}

.orbit-tag.one {
  top: 34px;
  right: 5px
}

.orbit-tag.two {
  left: -38px;
  bottom: 82px
}

.orbit-tag.three {
  right: 60px;
  bottom: 8px
}

.stat-card,
.crypto-card,
.feature-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, .16);
  transition: .3s
}

.stat-card {
  padding: 20px
}

.stat-card:hover,
.crypto-card:hover,
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 139, 250, .28);
  box-shadow: 0 25px 70px rgba(0, 0, 0, .3), 0 0 35px rgba(118, 85, 245, .06)
}

.stat-value {
  font-family: "Space Grotesk";
  font-size: 23px;
  font-weight: 700
}

.stat-label {
  font-size: 10px;
  color: #808095;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  margin-top: 5px
}

.crypto-card {
  padding: 28px
}

.feature-card {
  padding: 26px
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  color: #bcb0ff;
  background: linear-gradient(145deg, rgba(118, 85, 245, .2), rgba(118, 85, 245, .035));
  border: 1px solid rgba(118, 85, 245, .2)
}

section {
  padding: 105px 0
}

.dark-section {
  background: rgba(255, 255, 255, .012);
  border-top: 1px solid rgba(255, 255, 255, .035);
  border-bottom: 1px solid rgba(255, 255, 255, .035)
}

.section-title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.7px
}

.section-kicker {
  text-transform: uppercase;
  color: #a99cff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px
}

.badge-soft {
  background: rgba(118, 85, 245, .1);
  border: 1px solid rgba(118, 85, 245, .24);
  color: #b9adff
}

.progress {
  height: 8px;
  background: #252538;
  border-radius: 99px
}

.progress-bar {
  background: linear-gradient(90deg, var(--purple), #a78bfa);
  box-shadow: 0 0 15px rgba(118, 85, 245, .35)
}

.page-hero {
  padding: 155px 0 75px;
  background: radial-gradient(circle at 80% 15%, rgba(118, 85, 245, .14), transparent 35%);
  border-bottom: 1px solid var(--border)
}

.page-hero h1 {
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 800;
  letter-spacing: -2.7px
}

.dashboard-shell {
  background: linear-gradient(145deg, #10101b, #0a0a11);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden
}

.dash-top {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .018)
}

.dash-body {
  padding: 24px
}

.mini-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: #7e7e91
}

.mini-value {
  font-family: "Space Grotesk";
  font-size: 25px;
  font-weight: 700
}

.chart {
  height: 180px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(118, 85, 245, .09), transparent 70%), rgba(255, 255, 255, .015);
  border: 1px solid var(--border)
}

.chart svg {
  width: 100%;
  height: 100%
}

.market-row {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05)
}

.market-row:last-child {
  border-bottom: 0
}

.coin-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(118, 85, 245, .12);
  color: #b9adff
}

.price-up {
  color: var(--green)
}

.price-down {
  color: var(--red)
}

.trade-box {
  background: #0b0b12;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px
}

.trade-input {
  background: #151521;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #fff;
  padding: 12px;
  width: 100%
}

.product-preview {
  min-height: 280px;
  border: 1px dashed rgba(255, 255, 255, .12);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(118, 85, 245, .08), transparent 60%), rgba(255, 255, 255, .015)
}

.roadmap-wrap {
  overflow-x: auto;
  padding: 25px 0 45px
}

.roadmap {
  display: flex;
  gap: 20px;
  min-width: 1180px;
  position: relative;
  padding: 55px 25px 15px
}

.roadmap:before {
  content: "";
  position: absolute;
  left: 55px;
  right: 55px;
  top: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), rgba(118, 85, 245, .08))
}

.roadmap-item {
  width: 215px;
  flex: 0 0 215px;
  text-align: center;
  position: relative
}

.roadmap-dot {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  margin: 0 auto 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--purple), #4d32c0);
  border: 6px solid var(--surface);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, .4), 0 0 28px rgba(118, 85, 245, .25);
  font-weight: 800
}

.roadmap-item.future .roadmap-dot {
  background: #20202e;
  color: #858597;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08)
}

.roadmap-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  text-align: left;
  min-height: 240px
}

.roadmap-card ul {
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9
}

.faq .accordion-item {
  background: var(--card);
  border: 1px solid var(--border);
  margin-bottom: 12px;
  border-radius: 14px;
  overflow: hidden
}

.faq .accordion-button {
  background: var(--card);
  color: #fff;
  box-shadow: none;
  padding: 19px;
  font-weight: 600
}

.faq .accordion-button:not(.collapsed) {
  background: #171724
}

.faq .accordion-body {
  background: var(--card);
  color: var(--muted);
  line-height: 1.8
}

.form-control {
  background: rgba(255, 255, 255, .025) !important;
  color: #fff !important;
  border-color: var(--border) !important;
  border-radius: 11px;
  padding: 12px 14px
}

.form-control:focus {
  border-color: rgba(118, 85, 245, .55) !important;
  box-shadow: 0 0 0 .2rem rgba(118, 85, 245, .1) !important
}

.table-dark-custom {
  --bs-table-bg: transparent;
  --bs-table-color: #fff;
  border-color: var(--border)
}

.table-dark-custom thead th {
  color: #7e7e91;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom-color: var(--border)
}

.table-dark-custom tbody td {
  padding: 15px 9px;
  border-bottom-color: rgba(255, 255, 255, .05)
}

footer {
  background: #030307;
  border-top: 1px solid var(--border);
  padding: 75px 0 24px
}

footer a {
  display: block;
  color: var(--muted);
  margin-bottom: 10px
}

footer a:hover {
  color: #fff
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 45px;
  padding-top: 20px;
  color: #77778a;
  font-size: 12px
}

.shimmer {
  position: relative;
  overflow: hidden
}

.shimmer:after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .07), transparent);
  transform: skewX(-18deg);
  animation: shimmer 4.5s infinite
}

@keyframes shimmer {
  0% {
    left: -120%
  }

  35%,
  100% {
    left: 140%
  }
}

@media(max-width:991px) {
  .hero {
    min-height: auto;
    padding: 135px 0 80px
  }

  .hero-orbit {
    width: 330px;
    height: 330px;
    margin-top: 60px
  }

  .coin-core {
    width: 120px;
    height: 120px;
    font-size: 44px
  }

  section {
    padding: 80px 0
  }

  .section-title {
    font-size: 35px
  }

  .page-hero {
    padding: 135px 0 65px
  }
}

@media(max-width:575px) {
  .hero-title {
    letter-spacing: -2.2px
  }

  .hero-description {
    font-size: 16px
  }

  .hero-orbit {
    width: 280px;
    height: 280px
  }

  .orbit-tag.two {
    left: -5px
  }

  .rate-number {
    font-size: 34px
  }

  .section-title {
    font-size: 31px
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important
  }
}

.exchange-chart {
  height: 330px
}

/* production UI additions */
.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap
}

.hero-note {
  color: #8f8fa3;
  font-size: 12px
}

.hero-note i {
  color: #a78bfa;
  margin-right: 5px
}

.hero-trust-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap
}

.hero-trust-row>div,
.staking-principles>div,
.trust-check-list>div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #b2b2c2;
  font-size: 12px
}

.hero-trust-row i,
.staking-principles i {
  color: #55e7b2
}

.hero-dashboard-card {
  border: 1px solid rgba(167, 139, 250, .2);
  border-radius: 25px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(20, 20, 36, .96), rgba(8, 8, 15, .96));
  box-shadow: 0 35px 100px rgba(0, 0, 0, .4), 0 0 80px rgba(118, 85, 245, .08)
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 99px;
  background: rgba(46, 230, 166, .07);
  border: 1px solid rgba(46, 230, 166, .18);
  color: #79eec3;
  font-size: 11px
}

.status-chip>span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2ee6a6;
  box-shadow: 0 0 10px #2ee6a6;
  display: inline-block;
  animation: pulse 1.3s infinite;
}

.hero-metric {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 15px;
  background: rgba(255, 255, 255, .02)
}

.hero-metric strong {
  display: block;
  font: 700 25px "Space Grotesk";
  margin-top: 6px
}

.hero-metric small {
  font-size: 9px;
  color: #6f6f83;
  letter-spacing: 1px
}

.network-visual {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  position: relative
}

.network-line {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 21px;
  height: 1px;
  background: linear-gradient(90deg, #7655f5, rgba(118, 85, 245, .15));
  z-index: 0
}

.network-node {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #77778c;
  font-size: 10px
}

.network-node i {
  width: 42px;
  height: 42px;
  margin: auto auto 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: #10101b;
  border: 1px solid rgba(255, 255, 255, .07);
  font-size: 16px
}

.network-node.active {
  color: #bdb2ff
}

.network-node.active i {
  color: #bdb2ff;
  border-color: rgba(118, 85, 245, .4);
  box-shadow: 0 0 25px rgba(118, 85, 245, .15)
}

.phase-number {
  font: 700 12px "Space Grotesk";
  color: #a78bfa
}

.trust-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9c9caf;
  font-size: 11px
}

.trust-strip i {
  color: #5be9b4
}

.about-principle-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.digital-economy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.economy-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, .02)
}

.economy-card i {
  display: block;
  color: #a78bfa;
  font-size: 23px;
  margin-bottom: 20px
}

.economy-card strong {
  display: block;
  font-family: "Space Grotesk"
}

.economy-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 6px
}

.future-timeline>div {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.future-timeline>div:last-child {
  border-bottom: 0
}

.future-timeline>div>span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(118, 85, 245, .1);
  border: 1px solid rgba(118, 85, 245, .2);
  color: #b9adff;
  font-size: 11px;
  font-weight: 800
}

.future-timeline strong,
.future-timeline small {
  display: block
}

.future-timeline small {
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.6
}

.trust-check-list {
  display: grid;
  gap: 13px
}

.trust-check-list i {
  color: #58e5b2
}

.staking-principles {
  display: grid;
  gap: 13px
}

.staking-pool-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015))
}

.staking-rate {
  font: 800 30px "Space Grotesk";
  color: #b9adff
}

.wallet-hero {
  padding-bottom: 90px
}

@media(max-width:575px) {
  .digital-economy-grid {
    grid-template-columns: 1fr
  }

  .network-visual {
    gap: 2px
  }

  .network-node {
    font-size: 8px
  }

  .hero-trust-row {
    gap: 10px
  }

  .staking-pool-card {
    align-items: flex-start;
    flex-direction: column
  }

  .staking-pool-card .text-end {
    text-align: left !important
  }
}


/* =========================================================
   Light / Dark Theme
   ========================================================= */
:root {
  --theme-bg: #05050b;
  --theme-bg-soft: #090913;
  --theme-surface: #10101d;
  --theme-surface-2: #151528;
  --theme-text: #f7f7fb;
  --theme-heading: #ffffff;
  --theme-muted: #9696aa;
  --theme-border: rgba(255, 255, 255, .085);
  --theme-border-strong: rgba(124, 92, 255, .28);
  --theme-grid: rgba(255, 255, 255, .025);
  --theme-shadow: 0 25px 70px rgba(0, 0, 0, .28);
  --theme-input: rgba(255, 255, 255, .025);
}

html[data-theme="light"] {
  --theme-bg: #f6f7fb;
  --theme-bg-soft: #eef0f7;
  --theme-surface: #ffffff;
  --theme-surface-2: #f4f5fa;
  --theme-text: #20202d;
  --theme-heading: #11111b;
  --theme-muted: #68697b;
  --theme-border: rgba(24, 24, 45, .10);
  --theme-border-strong: rgba(101, 74, 230, .24);
  --theme-grid: rgba(30, 30, 50, .035);
  --theme-shadow: 0 20px 60px rgba(40, 40, 70, .10);
  --theme-input: #ffffff;
}

html,
body {
  background-color: var(--theme-bg);
  color: var(--theme-text);
}

body {
  background:
    radial-gradient(700px 400px at 10% 0%, rgba(124, 92, 255, .10), transparent 70%),
    radial-gradient(600px 420px at 95% 15%, rgba(56, 217, 255, .06), transparent 70%),
    var(--theme-bg);
}

body:before {
  opacity: .45;
  background-image:
    linear-gradient(var(--theme-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--theme-grid) 1px, transparent 1px);
}

html[data-theme="light"] body:before {
  opacity: .75;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--theme-heading);
}

.navbar {
  background: color-mix(in srgb, var(--theme-bg) 82%, transparent);
  border-bottom-color: var(--theme-border);
}

.nav-link {
  color: var(--theme-muted) !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--theme-heading) !important;
}

.stat-card,
.crypto-card,
.feature-card,
.modern-card,
.mining-live-card,
.roadmap-card,
.faq .accordion-item {
  background: linear-gradient(145deg,
      color-mix(in srgb, var(--theme-surface) 96%, transparent),
      color-mix(in srgb, var(--theme-surface-2) 88%, transparent));
  border-color: var(--theme-border);
  box-shadow: var(--theme-shadow);
}

.stat-card:hover,
.crypto-card:hover,
.feature-card:hover {
  border-color: var(--theme-border-strong);
}

.muted,
.section-description,
.hero-description,
.faq .accordion-body,
.roadmap-card ul {
  color: var(--theme-muted) !important;
}

.dark-section {
  background: var(--theme-bg-soft);
  border-color: var(--theme-border);
}

.page-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(124, 92, 255, .12), transparent 34%),
    var(--theme-bg);
}

.table-dark-custom {
  --bs-table-bg: transparent;
  --bs-table-color: var(--theme-text);
  border-color: var(--theme-border);
}

.table-dark-custom thead th {
  color: var(--theme-muted);
  border-bottom-color: var(--theme-border);
}

.table-dark-custom tbody td {
  border-bottom-color: var(--theme-border);
}

.form-control {
  background: var(--theme-input) !important;
  color: var(--theme-text) !important;
  border-color: var(--theme-border) !important;
}

.form-control::placeholder {
  color: var(--theme-muted);
}

.faq .accordion-button,
.faq .accordion-button:not(.collapsed) {
  background: var(--theme-surface);
  color: var(--theme-heading);
}

footer {
  background: color-mix(in srgb, var(--theme-bg) 92%, #000 8%);
  border-top-color: var(--theme-border);
}

footer a {
  color: var(--theme-muted);
}

/* Theme switch */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--theme-border);
  background: var(--theme-input);
  color: var(--theme-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .25s ease;
  cursor: pointer;
}

.theme-toggle:hover {
  border-color: var(--theme-border-strong);
  color: var(--primary-2, #a78bfa);
  transform: translateY(-1px);
}

.theme-toggle .theme-icon-sun {
  display: none;
}

html[data-theme="light"] .theme-toggle .theme-icon-moon {
  display: none;
}

html[data-theme="light"] .theme-toggle .theme-icon-sun {
  display: inline-block;
}

.theme-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--theme-muted);
}

@media (max-width: 991px) {
  .theme-toggle {
    margin: 8px 0 12px;
  }
}


/* Theme Compatibility Override */
:root {
  --sx-bg-primary: #f7f8fc;
  --sx-bg-secondary: #ffffff;
  --sx-bg-card: #ffffff;
  --sx-text-primary: #171725;
  --sx-text-secondary: #5f6478;
  --sx-text-muted: #858a9e;
  --sx-border: #e4e6ef;
  --sx-primary: #6948f5;
}

html.dark,
[data-theme="dark"],
body.dark-mode {
  --sx-bg-primary: #0d0d16;
  --sx-bg-secondary: #12121d;
  --sx-bg-card: #181824;
  --sx-text-primary: #ffffff;
  --sx-text-secondary: #a5a7b8;
  --sx-text-muted: #7e8194;
  --sx-border: #292938;
  --sx-primary: #7654ff;
}


/* =========================================================
   FINAL LIGHT-MODE COMPONENT OVERRIDES
   Fixes legacy hard-coded dark colors without changing
   the existing dark-mode appearance.
   ========================================================= */

html[data-theme="light"] {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --card: #ffffff;
  --card2: #f4f5fa;
  --border: rgba(25, 27, 48, .10);
  --text: #171725;
  --muted: #62677a;
  --purple: #6948f5;
  --purple2: #6948f5;
  --cyan: #168fb2;
  --green: #12b886;
  --red: #dc4b62;
  --shadow: 0 20px 60px rgba(35, 38, 65, .10);
}

/* Page/background */
html[data-theme="light"] body {
  color: var(--theme-text);
  background:
    radial-gradient(700px 420px at 8% -5%, rgba(118, 85, 245, .10), transparent 70%),
    radial-gradient(650px 430px at 100% 10%, rgba(56, 217, 255, .055), transparent 70%),
    var(--theme-bg);
}

html[data-theme="light"] body:before {
  background-image:
    linear-gradient(rgba(40, 40, 65, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 40, 65, .035) 1px, transparent 1px);
  opacity: .65;
}

/* Header / navigation */
html[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, .84);
  border-bottom-color: var(--theme-border);
}

html[data-theme="light"] .navbar-brand,
html[data-theme="light"] .navbar-brand:hover {
  color: #171725 !important;
}

html[data-theme="light"] .nav-link {
  color: #656a7d !important;
}

html[data-theme="light"] .nav-link:hover,
html[data-theme="light"] .nav-link.active {
  color: #171725 !important;
}

html[data-theme="light"] .navbar-toggler {
  background: #ffffff !important;
  border-color: #dfe1eb;
}

html[data-theme="light"] .navbar-toggler-icon {
  filter: invert(1);
}

/* Headings and normal content */
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5,
html[data-theme="light"] h6 {
  color: #171725;
}

html[data-theme="light"] .hero-title,
html[data-theme="light"] .section-title,
html[data-theme="light"] .page-hero h1 {
  color: #171725;
}

html[data-theme="light"] .gradient-text {
  background: linear-gradient(90deg, #6948f5 0%, #4f7df5 52%, #25afd3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .hero-description,
html[data-theme="light"] .section-description,
html[data-theme="light"] .muted {
  color: #62677a !important;
}

html[data-theme="light"] .hero-note,
html[data-theme="light"] .hero-trust-row>div,
html[data-theme="light"] .staking-principles>div,
html[data-theme="light"] .trust-check-list>div {
  color: #62677a;
}

/* Buttons */
html[data-theme="light"] .btn-primary-custom {
  color: #ffffff !important;
  background: linear-gradient(135deg, #7652f6, #5937dc);
  border-color: rgba(89, 55, 220, .28);
}

html[data-theme="light"] .btn-outline-custom {
  color: #25263a !important;
  background: #ffffff;
  border-color: #dfe1eb;
}

html[data-theme="light"] .btn-outline-custom:hover {
  color: #ffffff !important;
  background: #6948f5;
  border-color: #6948f5;
}

/* Hero / feature cards */
html[data-theme="light"] .hero-dashboard-card,
html[data-theme="light"] .dashboard-shell {
  background: #ffffff;
  color: #171725;
  border-color: #e0e2ec;
  box-shadow: 0 25px 65px rgba(35, 38, 65, .12);
}

html[data-theme="light"] .hero-metric,
html[data-theme="light"] .stat-card,
html[data-theme="light"] .crypto-card,
html[data-theme="light"] .feature-card,
html[data-theme="light"] .modern-card,
html[data-theme="light"] .mining-live-card,
html[data-theme="light"] .roadmap-card,
html[data-theme="light"] .economy-card,
html[data-theme="light"] .staking-pool-card,
html[data-theme="light"] .faq .accordion-item {
  background: #ffffff;
  color: #171725;
  border-color: #e1e3ed;
  box-shadow: 0 15px 45px rgba(35, 38, 65, .075);
}

html[data-theme="light"] .hero-metric:hover,
html[data-theme="light"] .stat-card:hover,
html[data-theme="light"] .crypto-card:hover,
html[data-theme="light"] .feature-card:hover {
  border-color: rgba(105, 72, 245, .28);
  box-shadow: 0 22px 55px rgba(35, 38, 65, .11);
}

html[data-theme="light"] .dash-top {
  background: #fafaff;
  border-bottom-color: #e4e5ee;
}

html[data-theme="light"] .dash-body {
  color: #171725;
}

/* Metric text */
html[data-theme="light"] .mini-label,
html[data-theme="light"] .stat-label,
html[data-theme="light"] .hero-metric small,
html[data-theme="light"] .hero-metric .mini-label {
  color: #73788b !important;
}

html[data-theme="light"] .mini-value,
html[data-theme="light"] .rate-number,
html[data-theme="light"] .stat-value,
html[data-theme="light"] .hero-metric strong {
  color: #171725;
}

html[data-theme="light"] .blink-rate {
  color: #4f36d5;
  text-shadow: 0 0 20px rgba(105, 72, 245, .18);
}

/* Network / roadmap */
html[data-theme="light"] .network-node {
  color: #6f7487;
}

html[data-theme="light"] .network-node.active {
  color: #5538d8;
}

html[data-theme="light"] .network-node i {
  background: #ffffff;
  border-color: #e1e3ed;
  color: #64697b;
}

html[data-theme="light"] .network-node.active i {
  color: #6948f5;
  border-color: rgba(105, 72, 245, .32);
  box-shadow: 0 0 18px rgba(105, 72, 245, .10);
}

html[data-theme="light"] .roadmap-dot {
  border-color: #ffffff;
}

html[data-theme="light"] .roadmap-item.future .roadmap-dot {
  background: #f0f1f6;
  color: #74798b;
  box-shadow: 0 0 0 1px #dfe1ea;
}

html[data-theme="light"] .roadmap-card ul {
  color: #62677a;
}

/* Icon boxes */
html[data-theme="light"] .icon-box {
  color: #6948f5;
  background: #f1edff;
  border-color: #ded6ff;
}

/* Status */
html[data-theme="light"] .live-pill,
html[data-theme="light"] .rate-live,
html[data-theme="light"] .status-chip {
  color: #109c76;
  background: #ecfbf6;
  border-color: #c7f2e4;
}

html[data-theme="light"] .status-chip>span {
  background: #16c995;
}

/* Progress */
html[data-theme="light"] .progress {
  background: #e9eaf1;
}

/* Inputs / trade UI */
html[data-theme="light"] .trade-box {
  background: #ffffff;
  border-color: #e0e2eb;
}

html[data-theme="light"] .trade-input,
html[data-theme="light"] .form-control {
  background: #ffffff !important;
  color: #171725 !important;
  border-color: #dfe1eb !important;
}

html[data-theme="light"] .trade-input::placeholder,
html[data-theme="light"] .form-control::placeholder {
  color: #858a9e;
}

html[data-theme="light"] .chart {
  background: linear-gradient(180deg, rgba(105, 72, 245, .08), transparent 70%), #fafaff;
  border-color: #e1e3ed;
}

html[data-theme="light"] .product-preview {
  background: radial-gradient(circle, rgba(105, 72, 245, .07), transparent 60%), #fafaff;
  border-color: #dfe1eb;
}

/* FAQ */
html[data-theme="light"] .faq .accordion-button,
html[data-theme="light"] .faq .accordion-button:not(.collapsed) {
  background: #ffffff;
  color: #171725;
}

html[data-theme="light"] .faq .accordion-body {
  color: #62677a !important;
}

/* Tables / market rows */
html[data-theme="light"] .table-dark-custom {
  --bs-table-bg: transparent;
  --bs-table-color: #171725;
  color: #171725;
}

html[data-theme="light"] .table-dark-custom thead th {
  color: #73788b;
}

html[data-theme="light"] .table-dark-custom tbody td,
html[data-theme="light"] .market-row {
  border-bottom-color: #e5e6ee;
}

html[data-theme="light"] .coin-avatar {
  background: #f1edff;
  color: #6948f5;
}

/* Sections */
html[data-theme="light"] .dark-section {
  background: rgba(240, 241, 247, .72);
  border-top-color: #e3e4ed;
  border-bottom-color: #e3e4ed;
}

html[data-theme="light"] .page-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(105, 72, 245, .10), transparent 34%),
    var(--theme-bg);
}

/* Footer */
html[data-theme="light"] footer {
  background: #17152b;
  color: #ffffff;
  border-top-color: #2a2742;
}

html[data-theme="light"] footer h4,
html[data-theme="light"] footer h5,
html[data-theme="light"] footer h6 {
  color: #ffffff;
}

html[data-theme="light"] footer .muted,
html[data-theme="light"] footer a,
html[data-theme="light"] footer .footer-bottom {
  color: #b9b8ca !important;
}

html[data-theme="light"] footer a:hover {
  color: #ffffff !important;
}

/* Theme toggle */
html[data-theme="light"] .theme-toggle {
  color: #292b3c;
  background: #ffffff;
  border-color: #dfe1eb;
}

/* Prevent accidental white text on normal light surfaces */
html[data-theme="light"] .hero-dashboard-card .text-secondary,
html[data-theme="light"] .dash-body .text-secondary {
  color: #62677a !important;
}

html[data-theme="light"] .hero-dashboard-card .fw-bold {
  color: #171725;
}

html[data-theme="light"] .trust-strip {
  color: #62677a;
}

/* Explicit dark surfaces remain dark in both themes */
html[data-theme="light"] .sx-dark-surface,
html[data-theme="light"] [data-theme-surface="dark"] {
  background: #171722 !important;
  color: #ffffff !important;
}


/* =========================================================
   FINAL DARK-MODE OVERRIDES
   Restores high-contrast dark theme for every component.
   ========================================================= */

html[data-theme="dark"] {
  --bg: #050509;
  --surface: #0b0b13;
  --card: #10101a;
  --card2: #141421;
  --border: rgba(255, 255, 255, .08);
  --text: #f7f7fb;
  --muted: #9696aa;
  --purple: #7655f5;
  --purple2: #a78bfa;
  --cyan: #38d9ff;
  --green: #2ee6a6;
  --red: #ff6b8a;
  --shadow: 0 25px 80px rgba(0, 0, 0, .35);
}

html[data-theme="dark"] body {
  background:
    radial-gradient(900px 500px at 8% -5%, rgba(118, 85, 245, .16), transparent 70%),
    radial-gradient(700px 500px at 100% 10%, rgba(56, 217, 255, .06), transparent 70%),
    #050509;
  color: #f7f7fb;
}

html[data-theme="dark"] body:before {
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  opacity: .28;
}

/* Header */
html[data-theme="dark"] .navbar {
  background: rgba(5, 5, 9, .82) !important;
  border-bottom-color: rgba(255, 255, 255, .10);
}

html[data-theme="dark"] .navbar-brand,
html[data-theme="dark"] .navbar-brand:hover {
  color: #fff !important;
}

html[data-theme="dark"] .nav-link {
  color: #8f8fa3 !important;
}

html[data-theme="dark"] .nav-link:hover,
html[data-theme="dark"] .nav-link.active {
  color: #fff !important;
}

/* Global content */
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6 {
  color: #f7f7fb;
}

html[data-theme="dark"] p,
html[data-theme="dark"] li,
html[data-theme="dark"] label {
  color: inherit;
}

html[data-theme="dark"] .hero-title,
html[data-theme="dark"] .section-title,
html[data-theme="dark"] .page-hero h1 {
  color: #f7f7fb;
}

html[data-theme="dark"] .hero-description,
html[data-theme="dark"] .section-description,
html[data-theme="dark"] .muted {
  color: #9696aa !important;
}

html[data-theme="dark"] .gradient-text {
  background: linear-gradient(90deg, #fff, #b9adff 48%, #68e4ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Prevent Bootstrap utility classes from becoming unreadable */
html[data-theme="dark"] .text-secondary {
  color: #9696aa !important;
}

html[data-theme="dark"] .text-body,
html[data-theme="dark"] .text-dark,
html[data-theme="dark"] .text-black {
  color: #f7f7fb !important;
}

/* All normal sections */
html[data-theme="dark"] section,
html[data-theme="dark"] main,
html[data-theme="dark"] .section,
html[data-theme="dark"] .content-section {
  color: #f7f7fb;
}

html[data-theme="dark"] .dark-section {
  background: rgba(255, 255, 255, .012) !important;
  border-top-color: rgba(255, 255, 255, .035);
  border-bottom-color: rgba(255, 255, 255, .035);
}

/* Fix sections that became white in dark mode */
html[data-theme="dark"] .bg-white,
html[data-theme="dark"] .bg-light,
html[data-theme="dark"] .light-section,
html[data-theme="dark"] .section-light {
  background: #0b0b13 !important;
  color: #f7f7fb !important;
}

/* Cards */
html[data-theme="dark"] .hero-dashboard-card {
  background: linear-gradient(145deg, rgba(20, 20, 36, .96), rgba(8, 8, 15, .96)) !important;
  color: #f7f7fb;
  border-color: rgba(167, 139, 250, .20);
}

html[data-theme="dark"] .hero-metric,
html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .crypto-card,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .modern-card,
html[data-theme="dark"] .mining-live-card,
html[data-theme="dark"] .roadmap-card,
html[data-theme="dark"] .economy-card,
html[data-theme="dark"] .staking-pool-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)) !important;
  color: #f7f7fb;
  border-color: var(--border);
}

html[data-theme="dark"] .hero-metric strong,
html[data-theme="dark"] .mini-value,
html[data-theme="dark"] .rate-number,
html[data-theme="dark"] .stat-value {
  color: #f7f7fb !important;
}

html[data-theme="dark"] .hero-metric small,
html[data-theme="dark"] .mini-label,
html[data-theme="dark"] .stat-label {
  color: #7e7e91 !important;
}

/* Dashboard shell */
html[data-theme="dark"] .dashboard-shell {
  background: linear-gradient(145deg, #10101b, #0a0a11) !important;
  color: #f7f7fb;
  border-color: var(--border);
}

html[data-theme="dark"] .dash-top {
  background: rgba(255, 255, 255, .018) !important;
  border-bottom-color: var(--border);
}

html[data-theme="dark"] .dash-body {
  color: #f7f7fb;
}

/* Wallet / P2P / Exchange preview content */
html[data-theme="dark"] .wallet-preview,
html[data-theme="dark"] .p2p-preview,
html[data-theme="dark"] .exchange-preview,
html[data-theme="dark"] .market-card,
html[data-theme="dark"] .trade-box,
html[data-theme="dark"] .product-preview {
  background: linear-gradient(145deg, #10101b, #0a0a11) !important;
  color: #f7f7fb !important;
  border-color: var(--border);
}

html[data-theme="dark"] .wallet-preview *,
html[data-theme="dark"] .p2p-preview *,
html[data-theme="dark"] .exchange-preview *,
html[data-theme="dark"] .market-card * {
  color: inherit;
}

html[data-theme="dark"] .wallet-preview .text-secondary,
html[data-theme="dark"] .p2p-preview .text-secondary,
html[data-theme="dark"] .exchange-preview .text-secondary {
  color: #9696aa !important;
}

/* Specific values inside dark preview cards */
html[data-theme="dark"] .wallet-preview strong,
html[data-theme="dark"] .p2p-preview strong,
html[data-theme="dark"] .exchange-preview strong {
  color: #f7f7fb !important;
}

html[data-theme="dark"] .wallet-preview small,
html[data-theme="dark"] .p2p-preview small,
html[data-theme="dark"] .exchange-preview small {
  color: #7e7e91 !important;
}

/* P2P rows */
html[data-theme="dark"] .market-row {
  border-bottom-color: rgba(255, 255, 255, .05);
  color: #f7f7fb;
}

/* Forms */
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select,
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select {
  background-color: #10101a !important;
  color: #f7f7fb !important;
  border-color: rgba(255, 255, 255, .10) !important;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: #77778c !important;
}

/* Tables */
html[data-theme="dark"] table,
html[data-theme="dark"] .table {
  color: #f7f7fb;
}

html[data-theme="dark"] th {
  color: #9696aa !important;
}

html[data-theme="dark"] td {
  color: #f7f7fb;
  border-color: rgba(255, 255, 255, .06);
}

/* FAQ */
html[data-theme="dark"] .faq .accordion-item {
  background: #10101a !important;
  border-color: var(--border);
}

html[data-theme="dark"] .faq .accordion-button,
html[data-theme="dark"] .faq .accordion-button:not(.collapsed) {
  background: #10101a !important;
  color: #f7f7fb !important;
}

html[data-theme="dark"] .faq .accordion-body {
  color: #9696aa !important;
}

/* Roadmap / feature content */
html[data-theme="dark"] .roadmap-card p,
html[data-theme="dark"] .roadmap-card li,
html[data-theme="dark"] .feature-card p,
html[data-theme="dark"] .economy-card span {
  color: #9696aa;
}

/* Icons / status */
html[data-theme="dark"] .icon-box {
  color: #bcb0ff;
  background: linear-gradient(145deg, rgba(118, 85, 245, .2), rgba(118, 85, 245, .05));
}

html[data-theme="dark"] .live-pill,
html[data-theme="dark"] .rate-live,
html[data-theme="dark"] .status-chip {
  color: #79eec3;
}

/* Buttons */
html[data-theme="dark"] .btn-outline-custom {
  color: #f7f7fb !important;
  background: transparent;
  border-color: rgba(255, 255, 255, .14);
}

html[data-theme="dark"] .btn-outline-custom:hover {
  color: #fff !important;
  background: rgba(118, 85, 245, .14);
}

/* Charts */
html[data-theme="dark"] .chart {
  background: linear-gradient(180deg, rgba(118, 85, 245, .09), transparent 70%), rgba(255, 255, 255, .015);
  border-color: var(--border);
}

/* Footer stays dark */
html[data-theme="dark"] footer {
  background: #050509;
  color: #fff;
  border-top-color: rgba(255, 255, 255, .08);
}

html[data-theme="dark"] footer a {
  color: #9696aa;
}

html[data-theme="dark"] footer a:hover {
  color: #fff;
}

/* Theme toggle */
html[data-theme="dark"] .theme-toggle {
  color: #fff;
  background: #10101a;
  border-color: rgba(255, 255, 255, .10);
}

/* Keep explicitly dark promotional surfaces */
html[data-theme="dark"] .sx-dark-surface,
html[data-theme="dark"] [data-theme-surface="dark"] {
  background: #171722 !important;
  color: #fff !important;
}

/* =========================================================
   FINAL DARK FOOTER CONTRAST FIX
   Footer links/content must remain readable in dark mode.
   ========================================================= */
html[data-theme="dark"] footer,
html[data-theme="dark"] footer .container {
  color: #f7f7fb !important;
}

html[data-theme="dark"] footer h4,
html[data-theme="dark"] footer h5,
html[data-theme="dark"] footer h6 {
  color: #ffffff !important;
}

html[data-theme="dark"] footer p,
html[data-theme="dark"] footer .muted,
html[data-theme="dark"] footer .text-secondary,
html[data-theme="dark"] footer .small {
  color: #a5a7b8 !important;
}

html[data-theme="dark"] footer a,
html[data-theme="dark"] footer a:not(.btn):not(.button),
html[data-theme="dark"] footer .footer-link {
  display: block;
  color: #a5a7b8 !important;
  opacity: 1 !important;
  text-decoration: none;
}

html[data-theme="dark"] footer a:hover,
html[data-theme="dark"] footer a:focus,
html[data-theme="dark"] footer a:not(.btn):not(.button):hover {
  color: #ffffff !important;
}

html[data-theme="dark"] footer .trust-strip,
html[data-theme="dark"] footer .trust-strip span {
  color: #a5a7b8 !important;
}

html[data-theme="dark"] footer .trust-strip i {
  color: #5be9b4 !important;
}

html[data-theme="dark"] footer .form-control,
html[data-theme="dark"] footer input {
  color: #f7f7fb !important;
  background: #10101a !important;
  border-color: rgba(255, 255, 255, .12) !important;
}

html[data-theme="dark"] footer .form-control::placeholder,
html[data-theme="dark"] footer input::placeholder {
  color: #8b8ea2 !important;
  opacity: 1 !important;
}

html[data-theme="dark"] footer .footer-bottom,
html[data-theme="dark"] footer .footer-bottom span {
  color: #85899d !important;
  border-top-color: rgba(255, 255, 255, .08) !important;
}


/* =========================================================
   AX ROADMAP — redesigned phase timeline
   ========================================================= */
.ax-roadmap-page {
  --ax-purple: #7655f5;
  --ax-purple-light: #9a86ff;
  --ax-green: #22d39b;
  --ax-orange: #ff7a18;
  --ax-line: rgba(118, 85, 245, .65);
}

.ax-roadmap-hero {
  padding: 115px 20px 20px;
}

.ax-roadmap-hero .ax-roadmap-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(118, 85, 245, .13);
  border: 1px solid rgba(118, 85, 245, .25);
  color: var(--ax-purple-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .7px;
}

.ax-roadmap-hero h1 {
  margin: 10px 0 0;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -2.8px;
  font-weight: 800;
}

.ax-roadmap-hero p {
  margin: 18px auto 0;
  max-width: 780px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.ax-roadmap-hero p span {
  color: var(--ax-purple-light);
  font-weight: 700;
}

.ax-roadmap-section {
  padding: 15px 0 18px;
}

.ax-roadmap-scroll {
  overflow-x: auto;
  overflow-y: visible;
  padding: 12px 0 22px;
  scrollbar-color: rgba(118, 85, 245, .45) transparent;
}

.ax-roadmap-track {
  width: max-content;
  min-width: 1320px;
  margin: 0 auto;
  padding: 24px 48px 10px;
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.ax-phase {
  width: 205px;
  flex: 0 0 205px;
  position: relative;
  text-align: center;
  padding-top: 0;
}

.ax-phase-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(118, 85, 245, .72);
  border-radius: 50%;
  background: var(--bg);
  color: var(--ax-purple-light);
  font-size: 11px;
  font-weight: 800;
  z-index: 4;
}

.ax-phase-icon {
  width: 70px;
  height: 70px;
  margin: 48px auto 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid rgba(118, 85, 245, .55);
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--surface) 72%, transparent), 0 0 25px rgba(118, 85, 245, .13);
  color: var(--ax-purple-light);
  font-size: 27px;
  position: relative;
  z-index: 3;
}

.ax-phase h3 {
  margin: 0;
  min-height: 27px;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--text);
}

.ax-phase p {
  margin: 13px auto 0;
  max-width: 195px;
  min-height: 62px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.ax-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  padding: 5px 9px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.ax-status.completed {
  color: var(--green);
  background: rgba(46, 230, 166, .11);
}

.ax-status.running {
  color: var(--ax-orange);
  background: rgba(255, 122, 24, .12);
}

.ax-status.upcoming {
  color: var(--muted);
  background: rgba(127, 130, 148, .10);
}

.ax-status i {
  font-size: 9px;
}

.ax-connector {
  width: 92px;
  height: 2px;
  flex: 0 0 92px;
  margin-top: 81px;
  position: relative;
  background: var(--line, var(--ax-line));
}

.ax-connector:after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
  background: var(--ax-purple);
  box-shadow: 0 0 10px rgba(118, 85, 245, .6);
}

.ax-connector.active {
  background: linear-gradient(90deg, var(--ax-purple), var(--ax-orange));
}

.ax-connector.active:after {
  background: var(--ax-orange);
  box-shadow: 0 0 10px rgba(255, 122, 24, .6);
}

.ax-phase.active .ax-phase-number {
  border-color: var(--ax-orange);
  color: var(--ax-orange);
}

.ax-phase.active .ax-phase-icon {
  border-color: rgba(255, 122, 24, .72);
  color: var(--ax-orange);
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--surface) 72%, transparent), 0 0 30px rgba(255, 122, 24, .18);
}

.ax-phase.active h3 {
  color: var(--ax-orange);
}

.ax-upcoming-group {
  width: 520px;
  flex: 0 0 520px;
  position: relative;
  margin-left: 0;
  padding: 30px 18px 12px;
  border: 1px dashed rgba(150, 154, 176, .45);
  border-radius: 22px;
}

.ax-upcoming-title {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
}

.ax-upcoming-phases {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.ax-upcoming-phases .ax-phase {
  width: 150px;
  flex-basis: 150px;
}

.ax-upcoming-phases .ax-phase-icon {
  width: 64px;
  height: 64px;
  margin-top: 48px;
  color: var(--muted);
  border-color: rgba(140, 144, 164, .35);
  box-shadow: 0 0 0 9px color-mix(in srgb, var(--surface) 70%, transparent);
}

.ax-upcoming-phases .ax-phase-number {
  border-color: rgba(140, 144, 164, .45);
  color: var(--muted);
}

.ax-upcoming-phases .ax-phase h3 {
  color: var(--text);
}

.ax-upcoming-phases .ax-phase p {
  min-height: 62px;
}

.ax-upcoming-phases .ax-connector {
  width: 35px;
  flex-basis: 35px;
  margin-top: 80px;
  background: repeating-linear-gradient(90deg, rgba(140, 144, 164, .65) 0 7px, transparent 7px 13px);
}

.ax-upcoming-phases .ax-connector:after {
  background: #777b8e;
  box-shadow: none;
}

.ax-roadmap-principles {
  padding: 10px 0 70px;
}

.ax-principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  overflow: hidden;
}

.ax-principle {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  min-height: 94px;
  position: relative;
}

.ax-principle+.ax-principle:before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: var(--border);
}

.ax-principle-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ax-purple-light);
  background: rgba(118, 85, 245, .10);
  border: 1px solid rgba(118, 85, 245, .16);
  font-size: 22px;
}

.ax-principle h4 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}

.ax-principle p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

/* Light mode roadmap tuning */
html[data-theme="light"] .ax-roadmap-hero h1,
html[data-theme="light"] .ax-phase h3,
html[data-theme="light"] .ax-principle h4 {
  color: var(--sx-text-primary, #171725);
}

html[data-theme="light"] .ax-roadmap-hero p,
html[data-theme="light"] .ax-phase p,
html[data-theme="light"] .ax-principle p {
  color: var(--sx-text-secondary, #5f6478);
}

html[data-theme="light"] .ax-roadmap-track {
  background: transparent;
}

html[data-theme="light"] .ax-phase-number,
html[data-theme="light"] .ax-phase-icon {
  background: #fff;
}

html[data-theme="light"] .ax-principles {
  background: rgba(255, 255, 255, .92);
  border-color: #e4e6ef;
}

html[data-theme="light"] .ax-upcoming-group {
  border-color: #d7dae5;
}

html[data-theme="light"] .ax-upcoming-phases .ax-phase-icon {
  background: #fff;
}

/* Mobile/tablet: turn the wide roadmap into a clean vertical timeline */
@media (max-width: 991.98px) {
  .ax-roadmap-hero {
    padding-top: 105px;
  }

  .ax-roadmap-scroll {
    overflow-x: hidden;
  }

  .ax-roadmap-track {
    width: 100%;
    min-width: 0;
    padding: 15px 12px 0 42px;
    display: block;
  }

  .ax-phase,
  .ax-upcoming-group,
  .ax-upcoming-phases .ax-phase {
    width: 100%;
    flex: none;
    text-align: left;
  }

  .ax-phase {
    min-height: 175px;
    padding-left: 78px;
  }

  .ax-phase-number {
    left: 0;
    transform: none;
  }

  .ax-phase-icon {
    position: absolute;
    left: 34px;
    top: 24px;
    margin: 0;
    width: 58px;
    height: 58px;
    font-size: 22px;
  }

  .ax-phase h3 {
    padding-top: 31px;
  }

  .ax-phase p {
    max-width: 520px;
    min-height: 0;
    margin-left: 0;
  }

  .ax-connector {
    width: 2px;
    height: 35px;
    margin: -25px 0 -10px 28px;
    background: var(--ax-purple);
  }

  .ax-connector:after {
    display: none;
  }

  .ax-upcoming-group {
    margin-top: 10px;
    padding: 35px 16px 10px;
  }

  .ax-upcoming-phases {
    display: block;
  }

  .ax-upcoming-phases .ax-phase {
    min-height: 165px;
  }

  .ax-upcoming-phases .ax-phase-icon {
    left: 34px;
    top: 24px;
    margin: 0;
  }

  .ax-upcoming-phases .ax-connector {
    width: 2px;
    height: 28px;
    margin: -18px 0 -5px 28px;
  }

  .ax-principles {
    grid-template-columns: 1fr 1fr;
  }

  .ax-principle+.ax-principle:before {
    display: none;
  }

  .ax-principle:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .ax-principle:nth-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 575.98px) {
  .ax-roadmap-hero h1 {
    font-size: 40px;
    letter-spacing: -1.8px;
  }

  .ax-roadmap-hero p {
    font-size: 15px;
  }

  .ax-phase {
    min-height: 185px;
    padding-left: 70px;
  }

  .ax-phase-icon {
    left: 30px;
  }

  .ax-upcoming-phases .ax-phase-icon {
    left: 30px;
  }

  .ax-principles {
    grid-template-columns: 1fr;
  }

  .ax-principle,
  .ax-principle:nth-child(odd) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .ax-principle:last-child {
    border-bottom: 0;
  }

  .ax-principle+.ax-principle:before {
    display: none;
  }
}

/* =========================================================
   Mobile roadmap redesign
   Keep the roadmap vertical on phones/tablets so users never
   need to perform a long horizontal swipe.
   ========================================================= */
@media (max-width: 767.98px) {
  .ax-roadmap-section {
    padding: 10px 0 30px;
    overflow: hidden;
  }

  .ax-roadmap-scroll {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    padding: 10px 0 0;
  }

  .ax-roadmap-track {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100%;
    margin: 0;
    padding: 18px 18px 0 64px;
    display: block;
    position: relative;
  }

  /* One continuous timeline rail */
  .ax-roadmap-track::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 38px;
    bottom: 28px;
    width: 2px;
    background: linear-gradient(180deg,
        rgba(118, 85, 245, .8) 0%,
        rgba(118, 85, 245, .8) 54%,
        rgba(140, 144, 164, .38) 78%,
        rgba(140, 144, 164, .18) 100%);
    border-radius: 999px;
  }

  .ax-phase,
  .ax-upcoming-phases .ax-phase {
    width: 100% !important;
    max-width: 100%;
    min-height: 0 !important;
    flex: none !important;
    padding: 0 0 34px 0;
    text-align: left;
    position: relative;
  }

  .ax-phase-number {
    left: -49px !important;
    top: 0;
    transform: none !important;
    width: 38px;
    height: 38px;
    font-size: 10px;
    background: var(--bg);
    box-shadow: 0 0 0 6px var(--bg);
  }

  .ax-phase-icon,
  .ax-upcoming-phases .ax-phase-icon {
    left: -49px !important;
    top: 52px;
    width: 38px;
    height: 38px;
    margin: 0;
    font-size: 16px;
    border-width: 1px;
    box-shadow: 0 0 0 6px var(--bg), 0 0 18px rgba(118, 85, 245, .12);
  }

  .ax-phase h3 {
    padding: 0;
    margin: 0;
    min-height: 0;
    font-size: 18px;
    line-height: 1.25;
  }

  .ax-status {
    margin-top: 8px;
    font-size: 10px;
    padding: 5px 8px;
  }

  .ax-phase p,
  .ax-upcoming-phases .ax-phase p {
    max-width: none;
    min-height: 0;
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.65;
  }

  /* Horizontal connectors become short vertical timeline segments. */
  .ax-connector,
  .ax-upcoming-phases .ax-connector {
    width: 2px !important;
    height: 28px !important;
    margin: -16px 0 18px -35px !important;
    background: var(--ax-purple) !important;
    opacity: .75;
    position: relative;
    z-index: 2;
  }

  .ax-connector:after,
  .ax-upcoming-phases .ax-connector:after {
    display: block;
    width: 6px;
    height: 6px;
    top: 0;
    right: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--ax-purple);
    box-shadow: 0 0 8px rgba(118, 85, 245, .55);
  }

  .ax-connector.active {
    background: linear-gradient(180deg, var(--ax-purple), var(--ax-orange)) !important;
  }

  .ax-connector.active:after {
    background: var(--ax-orange);
  }

  /* Upcoming is a compact section instead of a nested horizontal row. */
  .ax-upcoming-group {
    width: 100% !important;
    max-width: 100%;
    margin: 4px 0 0 !important;
    padding: 42px 16px 14px !important;
    border-radius: 18px;
    background: rgba(255, 255, 255, .018);
  }

  .ax-upcoming-title {
    top: 14px;
    left: 16px;
    transform: none;
    font-size: 10px;
    letter-spacing: 1px;
  }

  .ax-upcoming-phases {
    display: block !important;
  }

  .ax-upcoming-phases .ax-phase {
    padding-bottom: 30px;
  }

  .ax-upcoming-phases .ax-phase:last-child {
    padding-bottom: 12px;
  }

  .ax-upcoming-phases .ax-phase-number {
    background: var(--card);
    box-shadow: 0 0 0 6px var(--card);
  }

  .ax-upcoming-phases .ax-phase-icon {
    background: var(--card);
    box-shadow: 0 0 0 6px var(--card), 0 0 16px rgba(118, 85, 245, .08);
  }

  .ax-upcoming-phases .ax-connector {
    background: repeating-linear-gradient(180deg,
        rgba(140, 144, 164, .65) 0 6px,
        transparent 6px 11px) !important;
    opacity: 1;
  }

  .ax-upcoming-phases .ax-connector:after {
    display: none;
  }

  .ax-roadmap-principles {
    padding: 24px 0 55px;
  }

  .ax-principles {
    border-radius: 16px;
  }
}

@media (max-width: 575.98px) {
  .ax-roadmap-hero {
    padding: 90px 16px 18px;
  }

  .ax-roadmap-hero h1 {
    font-size: clamp(34px, 10vw, 42px);
  }

  .ax-roadmap-hero p {
    font-size: 14px;
    line-height: 1.65;
  }

  .ax-roadmap-track {
    padding-left: 58px;
    padding-right: 14px;
  }

  .ax-roadmap-track::before {
    left: 27px;
  }

  .ax-phase-number,
  .ax-phase-icon,
  .ax-upcoming-phases .ax-phase-number,
  .ax-upcoming-phases .ax-phase-icon {
    left: -44px !important;
  }

  .ax-phase-icon,
  .ax-upcoming-phases .ax-phase-icon {
    top: 50px;
  }

  .ax-phase h3 {
    font-size: 17px;
  }

  .ax-phase p,
  .ax-upcoming-phases .ax-phase p {
    font-size: 12.5px;
  }

  .ax-upcoming-group {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

/* =========================================================
   Roadmap v2 — clean responsive timeline
   No horizontal scrolling; current phase is visually dominant.
   ========================================================= */
.ax-roadmap-section {
  padding: 34px 0 36px;
  overflow: hidden
}

.ax-roadmap-summary {
  max-width: 920px;
  margin: 0 auto 46px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  box-shadow: 0 18px 55px rgba(0, 0, 0, .18)
}

.ax-summary-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0
}

.ax-summary-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, .3);
  background: rgba(118, 85, 245, .08);
  color: #a78bfa;
  font-size: 18px
}

.ax-summary-item.completed .ax-summary-icon {
  color: #22d39b;
  border-color: rgba(34, 211, 155, .25);
  background: rgba(34, 211, 155, .07)
}

.ax-summary-item.active .ax-summary-icon {
  color: #ff9a3d;
  border-color: rgba(255, 122, 24, .35);
  background: rgba(255, 122, 24, .08);
  box-shadow: 0 0 22px rgba(255, 122, 24, .12)
}

.ax-summary-item div {
  display: flex;
  flex-direction: column;
  line-height: 1.05
}

.ax-summary-item strong {
  font: 800 24px "Space Grotesk", Inter, sans-serif;
  color: var(--text)
}

.ax-summary-item span:not(.ax-summary-icon) {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700
}

.ax-summary-item.active span:not(.ax-summary-icon) {
  color: #ff9a3d
}

.ax-summary-divider {
  width: 1px;
  height: 42px;
  background: var(--border)
}

.ax-roadmap-timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 4px 0 8px
}

.ax-roadmap-timeline:before {
  content: "";
  position: absolute;
  left: 48px;
  top: 34px;
  bottom: 34px;
  width: 2px;
  background: linear-gradient(180deg, #7655f5 0%, #7655f5 57%, #ff7a18 64%, rgba(140, 144, 164, .42) 73%, rgba(140, 144, 164, .2) 100%);
  border-radius: 999px
}

.ax-roadmap-step {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 22px;
  position: relative;
  margin-bottom: 16px
}

.ax-step-rail {
  position: relative;
  min-height: 112px;
  display: flex;
  align-items: flex-start;
  justify-content: center
}

.ax-step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid rgba(167, 139, 250, .65);
  color: #a78bfa;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 0 0 6px var(--bg)
}

.ax-step-icon {
  position: absolute;
  top: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid rgba(118, 85, 245, .5);
  color: #a78bfa;
  font-size: 21px;
  box-shadow: 0 0 0 7px var(--bg), 0 0 24px rgba(118, 85, 245, .12)
}

.ax-step-card {
  min-height: 112px;
  padding: 22px 22px 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease
}

.ax-step-card:hover {
  transform: translateY(-2px);
  border-color: rgba(118, 85, 245, .35)
}

.ax-step-copy {
  min-width: 0
}

.ax-step-card h3 {
  margin: 0;
  color: var(--text);
  font: 800 20px/1.2 "Space Grotesk", Inter, sans-serif;
  letter-spacing: -.3px
}

.ax-step-card p {
  margin: 8px 0 0;
  max-width: 650px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6
}

.ax-roadmap-step.current .ax-step-card {
  border-color: rgba(255, 122, 24, .58);
  background: linear-gradient(145deg, rgba(255, 122, 24, .11), rgba(255, 255, 255, .025));
  box-shadow: 0 0 0 1px rgba(255, 122, 24, .08), 0 18px 55px rgba(255, 122, 24, .09)
}

.ax-roadmap-step.current .ax-step-number {
  border-color: #ff7a18;
  color: #ff9a3d;
  box-shadow: 0 0 0 6px var(--bg), 0 0 18px rgba(255, 122, 24, .2)
}

.ax-roadmap-step.current .ax-step-icon {
  border-color: rgba(255, 122, 24, .8);
  color: #ff8a25;
  box-shadow: 0 0 0 7px var(--bg), 0 0 30px rgba(255, 122, 24, .2)
}

.ax-roadmap-step.current .ax-step-card h3 {
  color: #ff9a3d
}

.ax-current-label {
  margin-bottom: 6px;
  color: #ff9a3d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px
}

.ax-roadmap-step.upcoming .ax-step-number {
  border-color: rgba(140, 144, 164, .45);
  color: #858a9e;
  box-shadow: 0 0 0 6px var(--bg)
}

.ax-roadmap-step.upcoming .ax-step-icon {
  border-color: rgba(140, 144, 164, .32);
  color: #8e94a8;
  box-shadow: 0 0 0 7px var(--bg)
}

.ax-roadmap-step.upcoming .ax-step-card {
  background: rgba(255, 255, 255, .012);
  border-color: rgba(140, 144, 164, .2)
}

.ax-upcoming-divider {
  margin: 24px 0 22px 98px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #858a9e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px
}

.ax-upcoming-divider:before,
.ax-upcoming-divider:after {
  content: "";
  height: 1px;
  flex: 1;
  background: repeating-linear-gradient(90deg, rgba(140, 144, 164, .4) 0 6px, transparent 6px 11px)
}

.ax-roadmap-step .ax-status {
  flex: 0 0 auto;
  margin: 0;
  border-radius: 9px;
  padding: 8px 11px;
  font-size: 10px
}

.ax-roadmap-step .ax-status.running {
  box-shadow: inset 0 0 0 1px rgba(255, 122, 24, .12)
}

html[data-theme="light"] .ax-roadmap-summary {
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 55px rgba(35, 42, 70, .08)
}

html[data-theme="light"] .ax-step-number {
  background: #fff;
  box-shadow: 0 0 0 6px #f7f8fc
}

html[data-theme="light"] .ax-step-icon {
  background: #fff;
  box-shadow: 0 0 0 7px #f7f8fc, 0 0 20px rgba(118, 85, 245, .1)
}

html[data-theme="light"] .ax-roadmap-step.current .ax-step-number {
  box-shadow: 0 0 0 6px #f7f8fc
}

html[data-theme="light"] .ax-roadmap-step.current .ax-step-icon {
  box-shadow: 0 0 0 7px #f7f8fc, 0 0 25px rgba(255, 122, 24, .15)
}

html[data-theme="light"] .ax-roadmap-step.upcoming .ax-step-number {
  box-shadow: 0 0 0 6px #f7f8fc
}

html[data-theme="light"] .ax-roadmap-step.upcoming .ax-step-icon {
  box-shadow: 0 0 0 7px #f7f8fc
}

html[data-theme="light"] .ax-roadmap-step .ax-step-card {
  background: #fff
}

html[data-theme="light"] .ax-roadmap-step.current .ax-step-card {
  background: linear-gradient(145deg, rgba(255, 122, 24, .08), #fff)
}

@media(max-width:767.98px) {
  .ax-roadmap-section {
    padding: 18px 0 28px
  }

  .ax-roadmap-summary {
    margin: 0 0 34px;
    padding: 14px 10px;
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
    border-radius: 16px
  }

  .ax-summary-item {
    gap: 7px
  }

  .ax-summary-icon {
    width: 34px;
    height: 34px;
    font-size: 14px
  }

  .ax-summary-item strong {
    font-size: 19px
  }

  .ax-summary-item span:not(.ax-summary-icon) {
    font-size: 9px
  }

  .ax-summary-divider {
    height: 34px
  }

  .ax-roadmap-timeline {
    padding: 0 2px 0 0
  }

  .ax-roadmap-timeline:before {
    left: 24px;
    top: 30px;
    bottom: 30px
  }

  .ax-roadmap-step {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 12px
  }

  .ax-step-rail {
    min-height: 138px
  }

  .ax-step-number {
    width: 30px;
    height: 30px;
    font-size: 9px
  }

  .ax-step-icon {
    top: 42px;
    width: 48px;
    height: 48px;
    font-size: 18px
  }

  .ax-step-card {
    min-height: 138px;
    padding: 18px 14px 18px 16px;
    display: block;
    border-radius: 16px
  }

  .ax-step-card h3 {
    font-size: 17px
  }

  .ax-step-card p {
    font-size: 12px;
    line-height: 1.55;
    margin-top: 7px
  }

  .ax-roadmap-step .ax-status {
    margin-top: 12px;
    display: inline-flex
  }

  .ax-current-label {
    font-size: 8px;
    margin-bottom: 5px
  }

  .ax-upcoming-divider {
    margin: 22px 0 18px 58px;
    font-size: 9px
  }
}

@media(max-width:430px) {
  .ax-roadmap-hero {
    padding-left: 14px;
    padding-right: 14px
  }

  .ax-roadmap-hero h1 {
    font-size: 36px;
    letter-spacing: -1.6px
  }

  .ax-roadmap-hero p {
    font-size: 13px
  }

  .ax-roadmap-summary {
    margin-left: 0;
    margin-right: 0
  }

  .ax-summary-icon {
    display: none
  }

  .ax-summary-item {
    justify-content: center
  }

  .ax-summary-item strong {
    font-size: 18px
  }

  .ax-summary-item span:not(.ax-summary-icon) {
    font-size: 8.5px
  }

  .ax-roadmap-timeline:before {
    left: 22px
  }

  .ax-roadmap-step {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px
  }

  .ax-step-number {
    left: 22px
  }

  .ax-step-icon {
    left: 22px
  }

  .ax-step-card {
    padding: 16px 13px;
    min-height: 132px
  }

  .ax-step-card h3 {
    font-size: 16px
  }

  .ax-step-card p {
    font-size: 11.5px
  }

  .ax-upcoming-divider {
    margin-left: 52px
  }
}

/* Wallet staking experience */
.staking-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(650px 320px at 12% 18%, rgba(118, 85, 245, .08), transparent 70%)
}

.staking-highlight-card {
  min-height: 170px;
  border-color: rgba(118, 85, 245, .28);
  background: linear-gradient(145deg, rgba(118, 85, 245, .10), rgba(255, 255, 255, .025));
  box-shadow: 0 20px 60px rgba(0, 0, 0, .18)
}

.staking-step-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
  transition: .25s
}

.staking-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 139, 250, .3);
  box-shadow: 0 20px 55px rgba(0, 0, 0, .22)
}

.staking-step-card .flow-number {
  font: 700 12px "Space Grotesk";
  color: #a78bfa;
  margin-bottom: 18px
}

.staking-step-card h4 {
  margin-top: 18px
}

.staking-step-card p {
  font-size: 13px;
  line-height: 1.75;
  margin-bottom: 0
}

.staking-plan-section {
  background: rgba(255, 255, 255, .014)
}

.staking-plan-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
  position: relative;
  overflow: hidden
}

.staking-plan-card.active-plan {
  border-color: rgba(118, 85, 245, .38);
  box-shadow: 0 0 45px rgba(118, 85, 245, .08)
}

.staking-plan-card.active-plan:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, #7655f5, #68e4ff)
}

.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px
}

.plan-number {
  font: 800 12px "Space Grotesk";
  color: #a78bfa;
  letter-spacing: 1px
}

.plan-status {
  font-size: 10px;
  font-weight: 700;
  color: #b9adff;
  padding: 5px 9px;
  border-radius: 99px;
  border: 1px solid rgba(118, 85, 245, .25);
  background: rgba(118, 85, 245, .08)
}

.staking-plan-card h4 {
  margin-bottom: 10px
}

.staking-plan-card p {
  font-size: 13px;
  line-height: 1.75
}

.staking-plan-card ul {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 2
}

.staking-rate-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  overflow: hidden
}

.staking-rate-card:hover {
  transform: translateY(-5px);
  border-color: rgba(167, 139, 250, .35);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .22)
}

.featured-rate-card {
  border-color: rgba(118, 85, 245, .42);
  box-shadow: 0 0 45px rgba(118, 85, 245, .10)
}

.featured-rate-card:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #7655f5, #68e4ff)
}

.rate-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.rate-plan-label {
  font: 800 11px "Space Grotesk";
  letter-spacing: 1.2px;
  color: #a78bfa
}

.rate-value {
  font: 800 46px/1 "Space Grotesk";
  color: #f7f7fb;
  margin: 28px 0 12px
}

.rate-value span {
  font-size: 14px;
  font-weight: 700;
  color: #a9a8bc;
  letter-spacing: .5px
}

.staking-rate-card h4 {
  margin-bottom: 10px
}

.staking-rate-card p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 20px
}

.rate-meta {
  display: grid;
  gap: 9px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px
}

.rate-meta i {
  color: #55e7b2;
  margin-right: 7px
}

.staking-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px 17px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, .02);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65
}

.staking-disclaimer i {
  color: #a78bfa;
  margin-top: 2px;
  flex: 0 0 auto
}

html[data-theme="light"] .staking-section {
  background: radial-gradient(650px 320px at 12% 18%, rgba(118, 85, 245, .06), transparent 70%)
}

html[data-theme="light"] .staking-step-card,
html[data-theme="light"] .staking-plan-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(247, 247, 252, .95));
  box-shadow: 0 15px 45px rgba(20, 20, 40, .07)
}

html[data-theme="light"] .staking-highlight-card {
  background: linear-gradient(145deg, rgba(118, 85, 245, .06), rgba(255, 255, 255, .96))
}

html[data-theme="light"] .staking-rate-card {
  background: linear-gradient(145deg, #ffffff, #f7f7fc);
  box-shadow: 0 15px 45px rgba(20, 20, 40, .07)
}

html[data-theme="light"] .rate-value {
  color: #171725
}

html[data-theme="light"] .featured-rate-card {
  border-color: rgba(118, 85, 245, .32)
}

@media(max-width:767px) {
  .staking-rate {
    font-size: 25px
  }

  .staking-highlight-card {
    min-height: auto
  }

  .staking-plan-card,
  .staking-step-card {
    padding: 21px
  }

  .staking-disclaimer {
    font-size: 10px
  }
}

/* Section title sub variant */
.section-title-sub {
  font-size: 34px;
}

/* Scroll reveal animation utilities */
.reveal-animate {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease, border-color .3s ease, box-shadow .3s ease;
}

.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* About Page & Mission Sections */
.about-mission-section {
  position: relative;
}

.mission-card {
  padding: 2rem;
  border: 1px solid rgba(124, 92, 255, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.mission-card.vision-card {
  border-color: rgba(74, 201, 255, 0.16);
}

.mission-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 92, 255, 0.12);
  color: #8f7cff;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.vision-card .mission-icon {
  background: rgba(74, 201, 255, 0.10);
  color: #62d9ff;
}

.status-inline {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.status-inline.live {
  color: #18c894;
  background: rgba(24, 200, 148, 0.10);
}

.status-inline.planned {
  color: #9d88ff;
  background: rgba(124, 92, 255, 0.10);
}

.closing-card {
  padding: 3.25rem 2rem;
  border: 1px solid rgba(124, 92, 255, 0.18);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.08), rgba(74, 201, 255, 0.04));
}

.about-closing-section {
  padding-top: 1rem;
  padding-bottom: 6rem;
}

@media (max-width: 767.98px) {
  .mission-card {
    padding: 1.5rem;
  }

  .closing-card {
    padding: 2.25rem 1.25rem;
  }

  .about-closing-section {
    padding-bottom: 4rem;
  }
}

/* Hash Rate Trading Trends & Blink Effects */
.hash-trend-up {
  color: #22c55e !important;
  animation: blinkUp 1.15s ease-in-out infinite;
  text-shadow: 0 0 25px rgba(34, 197, 94, .5);
  transition: color 0.3s ease;
}

.hash-trend-down {
  color: #ef4444 !important;
  animation: blinkDown 1.15s ease-in-out infinite;
  text-shadow: 0 0 25px rgba(239, 68, 68, .5);
  transition: color 0.3s ease;
}

.hash-trend-stable {
  color: inherit;
  animation: none !important;
  text-shadow: none !important;
  transition: color 0.3s ease;
}

@keyframes blinkUp {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 25px rgba(34, 197, 94, .7);
  }
  50% {
    opacity: .55;
    text-shadow: 0 0 10px rgba(34, 197, 94, .2);
  }
}

@keyframes blinkDown {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 25px rgba(239, 68, 68, .7);
  }
  50% {
    opacity: .55;
    text-shadow: 0 0 10px rgba(239, 68, 68, .2);
  }
}

/* Hide Google reCAPTCHA v3 Badge / Drawer */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}