:root {
  --bg-0: #040c15;
  --bg-1: #0a1a2a;
  --bg-2: #0f2b40;
  --text: #eaf4ff;
  --muted: #9bb4ca;
  --card: rgba(7, 22, 37, 0.78);
  --border: rgba(124, 193, 245, 0.26);
  --border-strong: rgba(124, 193, 245, 0.5);
  --primary: #38f2c5;
  --primary-2: #2a8dff;
  --danger: #ff6b8d;
  --shadow: 0 18px 45px rgba(0, 3, 12, 0.5);
}

body[data-theme='light'] {
  --bg-0: #eef4fb;
  --bg-1: #dceaf7;
  --bg-2: #c7dcf1;
  --text: #0c2034;
  --muted: #3f5f7d;
  --card: rgba(255, 255, 255, 0.86);
  --border: rgba(41, 98, 144, 0.22);
  --border-strong: rgba(41, 98, 144, 0.42);
  --primary: #0ebf9b;
  --primary-2: #2d73d6;
  --shadow: 0 18px 35px rgba(33, 79, 120, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 580px at -12% -18%, rgba(57, 143, 255, 0.26), transparent 60%),
    radial-gradient(860px 520px at 108% -10%, rgba(56, 242, 197, 0.17), transparent 62%),
    repeating-linear-gradient(
      0deg,
      rgba(135, 201, 255, 0.09) 0px,
      rgba(135, 201, 255, 0.09) 1px,
      transparent 1px,
      transparent 34px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(135, 201, 255, 0.09) 0px,
      rgba(135, 201, 255, 0.09) 1px,
      transparent 1px,
      transparent 34px
    ),
    linear-gradient(160deg, #061221 0%, #0a1f33 45%, #123149 100%);
  background-attachment: fixed;
  background-size: cover, cover, 34px 34px, 34px 34px, cover;
  letter-spacing: 0.01em;
}

.mesh-bg {
  position: fixed;
  inset: -25% -10% auto -10%;
  height: 60vh;
  background:
    radial-gradient(circle at 20% 40%, rgba(56, 242, 197, 0.2), transparent 42%),
    radial-gradient(circle at 70% 30%, rgba(42, 141, 255, 0.22), transparent 44%),
    radial-gradient(circle at 50% 60%, rgba(146, 196, 255, 0.14), transparent 40%);
  filter: blur(26px);
  pointer-events: none;
  z-index: -2;
  opacity: 0.45;
  animation: meshFloat 18s ease-in-out infinite alternate;
}

.network-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.45;
}

.network-bg::before,
.network-bg::after {
  content: '';
  position: absolute;
  inset: 0;
}

.network-bg::before {
  background:
    linear-gradient(24deg, transparent 48%, rgba(115, 188, 255, 0.12) 49%, rgba(115, 188, 255, 0.12) 51%, transparent 52%),
    linear-gradient(154deg, transparent 48%, rgba(115, 188, 255, 0.1) 49%, rgba(115, 188, 255, 0.1) 51%, transparent 52%),
    linear-gradient(94deg, transparent 48%, rgba(86, 228, 197, 0.08) 49%, rgba(86, 228, 197, 0.08) 51%, transparent 52%);
  background-size: 240px 240px, 320px 320px, 280px 280px;
  background-position: 0 0, 40px 60px, 120px 30px;
  animation: networkDrift 32s linear infinite;
}

.network-bg::after {
  background:
    radial-gradient(circle at 6% 14%, rgba(118, 201, 255, 0.52) 0 2px, transparent 3px),
    radial-gradient(circle at 12% 36%, rgba(118, 201, 255, 0.46) 0 2px, transparent 3px),
    radial-gradient(circle at 18% 52%, rgba(118, 201, 255, 0.45) 0 2px, transparent 3px),
    radial-gradient(circle at 24% 70%, rgba(118, 201, 255, 0.4) 0 2px, transparent 3px),
    radial-gradient(circle at 32% 24%, rgba(118, 201, 255, 0.42) 0 2px, transparent 3px),
    radial-gradient(circle at 36% 48%, rgba(118, 201, 255, 0.38) 0 2px, transparent 3px),
    radial-gradient(circle at 42% 82%, rgba(86, 228, 197, 0.34) 0 2px, transparent 3px),
    radial-gradient(circle at 46% 66%, rgba(118, 201, 255, 0.42) 0 2px, transparent 3px),
    radial-gradient(circle at 52% 20%, rgba(118, 201, 255, 0.48) 0 2px, transparent 3px),
    radial-gradient(circle at 58% 44%, rgba(118, 201, 255, 0.4) 0 2px, transparent 3px),
    radial-gradient(circle at 61% 32%, rgba(118, 201, 255, 0.42) 0 2px, transparent 3px),
    radial-gradient(circle at 67% 74%, rgba(86, 228, 197, 0.33) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 54%, rgba(118, 201, 255, 0.44) 0 2px, transparent 3px),
    radial-gradient(circle at 74% 19%, rgba(118, 201, 255, 0.5) 0 2px, transparent 3px),
    radial-gradient(circle at 79% 33%, rgba(118, 201, 255, 0.43) 0 2px, transparent 3px),
    radial-gradient(circle at 83% 58%, rgba(118, 201, 255, 0.45) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 78%, rgba(86, 228, 197, 0.35) 0 2px, transparent 3px),
    radial-gradient(circle at 92% 36%, rgba(118, 201, 255, 0.45) 0 2px, transparent 3px),
    radial-gradient(circle at 95% 18%, rgba(118, 201, 255, 0.4) 0 2px, transparent 3px),
    radial-gradient(circle at 25% 84%, rgba(86, 228, 197, 0.35) 0 2px, transparent 3px),
    radial-gradient(circle at 57% 86%, rgba(86, 228, 197, 0.35) 0 2px, transparent 3px);
  animation: nodePulseBg 4.1s ease-in-out infinite, nodeShiftBg 15s ease-in-out infinite;
}

.cursor-glow {
  position: fixed;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  background: radial-gradient(circle, rgba(110, 220, 255, 0.22), rgba(58, 180, 255, 0.04) 58%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

body.glow-active .cursor-glow {
  opacity: 1;
}

body[data-theme='light'] .network-bg {
  opacity: 0.32;
}

body[data-theme='light'] .network-bg::before {
  background:
    linear-gradient(24deg, transparent 48%, rgba(56, 116, 166, 0.12) 49%, rgba(56, 116, 166, 0.12) 51%, transparent 52%),
    linear-gradient(154deg, transparent 48%, rgba(56, 116, 166, 0.1) 49%, rgba(56, 116, 166, 0.1) 51%, transparent 52%),
    linear-gradient(94deg, transparent 48%, rgba(36, 136, 118, 0.08) 49%, rgba(36, 136, 118, 0.08) 51%, transparent 52%);
}

body[data-theme='light'] .network-bg::after {
  background:
    radial-gradient(circle at 6% 14%, rgba(66, 129, 179, 0.36) 0 2px, transparent 3px),
    radial-gradient(circle at 12% 36%, rgba(66, 129, 179, 0.32) 0 2px, transparent 3px),
    radial-gradient(circle at 18% 52%, rgba(66, 129, 179, 0.32) 0 2px, transparent 3px),
    radial-gradient(circle at 24% 70%, rgba(66, 129, 179, 0.28) 0 2px, transparent 3px),
    radial-gradient(circle at 32% 24%, rgba(66, 129, 179, 0.32) 0 2px, transparent 3px),
    radial-gradient(circle at 36% 48%, rgba(66, 129, 179, 0.28) 0 2px, transparent 3px),
    radial-gradient(circle at 42% 82%, rgba(40, 138, 120, 0.24) 0 2px, transparent 3px),
    radial-gradient(circle at 46% 66%, rgba(66, 129, 179, 0.3) 0 2px, transparent 3px),
    radial-gradient(circle at 52% 20%, rgba(66, 129, 179, 0.34) 0 2px, transparent 3px),
    radial-gradient(circle at 58% 44%, rgba(66, 129, 179, 0.3) 0 2px, transparent 3px),
    radial-gradient(circle at 61% 32%, rgba(66, 129, 179, 0.32) 0 2px, transparent 3px),
    radial-gradient(circle at 67% 74%, rgba(40, 138, 120, 0.24) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 54%, rgba(66, 129, 179, 0.31) 0 2px, transparent 3px),
    radial-gradient(circle at 74% 19%, rgba(66, 129, 179, 0.35) 0 2px, transparent 3px),
    radial-gradient(circle at 79% 33%, rgba(66, 129, 179, 0.3) 0 2px, transparent 3px),
    radial-gradient(circle at 83% 58%, rgba(66, 129, 179, 0.32) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 78%, rgba(40, 138, 120, 0.25) 0 2px, transparent 3px),
    radial-gradient(circle at 92% 36%, rgba(66, 129, 179, 0.32) 0 2px, transparent 3px),
    radial-gradient(circle at 95% 18%, rgba(66, 129, 179, 0.28) 0 2px, transparent 3px),
    radial-gradient(circle at 25% 84%, rgba(40, 138, 120, 0.26) 0 2px, transparent 3px),
    radial-gradient(circle at 57% 86%, rgba(40, 138, 120, 0.26) 0 2px, transparent 3px);
}

.bg-shape {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
  opacity: 0.3;
}

.bg-shape-1 {
  width: 320px;
  height: 320px;
  background: rgba(28, 155, 255, 0.42);
  top: -90px;
  left: -80px;
}

.bg-shape-2 {
  width: 300px;
  height: 300px;
  background: rgba(20, 241, 199, 0.35);
  right: -80px;
  bottom: -60px;
}

body[data-theme='light'] {
  background:
    radial-gradient(940px 560px at -12% -18%, rgba(58, 134, 211, 0.26), transparent 60%),
    radial-gradient(820px 500px at 108% -10%, rgba(20, 170, 145, 0.18), transparent 62%),
    repeating-linear-gradient(
      0deg,
      rgba(88, 132, 171, 0.12) 0px,
      rgba(88, 132, 171, 0.12) 1px,
      transparent 1px,
      transparent 34px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(88, 132, 171, 0.12) 0px,
      rgba(88, 132, 171, 0.12) 1px,
      transparent 1px,
      transparent 34px
    ),
    linear-gradient(160deg, #eef4fb 0%, #e2ecf6 45%, #d3e2f1 100%);
  background-size: cover, cover, 34px 34px, 34px 34px, cover;
}

.container {
  width: min(1180px, 94vw);
  margin: 24px auto 90px;
  display: grid;
  gap: 18px;
}

.container > section,
.container > header,
.container > div {
  scroll-margin-top: 16px;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 10px;
  z-index: 30;
  background: rgba(8, 26, 43, 0.82);
  border-color: rgba(124, 193, 245, 0.32);
  box-shadow: 0 14px 28px rgba(0, 5, 18, 0.35);
}

.brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #a4ffe9;
  letter-spacing: 0.03em;
  font-size: 1.04rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #041b2c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

.menu {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.menu a {
  text-decoration: none;
  color: #d2e8fb;
  border: 1px solid rgba(127, 199, 255, 0.22);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.menu a:hover {
  border-color: rgba(127, 199, 255, 0.58);
  background: rgba(18, 49, 74, 0.5);
}

.menu .menu-cta {
  color: #031623;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color: transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.menu .menu-cta:hover {
  transform: translateY(-1px);
}

.theme-toggle {
  min-width: 112px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 10, 18, 0.72);
  display: grid;
  place-items: center;
  z-index: 100;
  padding: 16px;
}

.overlay-card {
  width: min(460px, 96vw);
}

.overlay-card-lg {
  width: min(600px, 96vw) !important;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, rgba(56, 242, 197, 0.08), transparent 35%, rgba(42, 141, 255, 0.08));
  pointer-events: none;
}

.gradient-border {
  border-color: transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(120deg, rgba(56, 242, 197, 0.7), rgba(42, 141, 255, 0.72), rgba(56, 242, 197, 0.32)) border-box;
  border: 1px solid transparent;
}

.hero h1 {
  margin: 8px 0 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.7rem, 2.3vw + 0.9rem, 2.7rem);
  line-height: 1.13;
}

.eyebrow {
  margin: 0;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.subtitle {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.56;
  font-size: 1rem;
}

.metrics {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  margin: 0;
  border: 1px solid rgba(127, 199, 255, 0.3);
  border-radius: 14px;
  background: rgba(5, 24, 40, 0.84);
  padding: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.metric:hover {
  transform: translateY(-2px);
  border-color: rgba(127, 199, 255, 0.58);
}

.metric-value {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  color: #98fbe6;
  font-size: 1.26rem;
  font-weight: 700;
}

.metric-label {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.hero {
  animation: riseIn 0.8s ease-out;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.36fr 0.9fr;
  gap: 20px;
  align-items: start;
}

.hero-login {
  border: 1px solid rgba(127, 199, 255, 0.36);
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(165deg, rgba(7, 27, 44, 0.96), rgba(8, 31, 52, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-login h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.before-after {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ba-card {
  border: 1px solid rgba(127, 199, 255, 0.28);
  border-radius: 12px;
  background: rgba(6, 24, 40, 0.74);
  padding: 11px;
}

.ba-card.success {
  border-color: rgba(109, 255, 215, 0.45);
}

.ba-card h4 {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: #d5ecff;
}

.ba-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  color: #c2ddf5;
  font-size: 0.84rem;
}

.hero-login .hint {
  margin: 0 0 10px;
}

.hero-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 10px 15px;
  font-weight: 700;
  color: #031623;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border: 1px solid transparent;
  box-shadow: 0 10px 20px rgba(20, 241, 199, 0.24);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.hero-btn:hover {
  transform: translateY(-1px);
}

.hero-btn.ghost-link {
  background: rgba(8, 31, 52, 0.9);
  color: #c8def3;
  border-color: var(--border);
  box-shadow: none;
}

.password-field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.password-toggle {
  min-width: 82px;
  padding-inline: 10px;
}

.login-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #c0d8ee;
  font-size: 0.84rem;
}

.login-meta label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link-muted {
  color: #8fc7f3;
  text-decoration: none;
}

.link-muted:hover {
  text-decoration: underline;
}

.inline-error {
  border: 1px solid rgba(255, 156, 180, 0.55);
  background: rgba(84, 20, 36, 0.5);
  color: #ffd8e2;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.84rem;
}

.deposit-wallet-card {
  margin: 10px 0;
  padding: 12px;
  border: 1px solid rgba(127, 199, 255, 0.32);
  border-radius: 12px;
  background: rgba(8, 31, 52, 0.72);
}

.deposit-wallet-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.wallet-title {
  margin: 0 0 8px;
  color: #e6f4ff;
  font-size: 0.92rem;
}

.deposit-wallet-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  color: #d7ecff;
  font-size: 0.84rem;
}

.deposit-wallet-address {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(5, 20, 33, 0.82);
  border: 1px solid rgba(127, 199, 255, 0.22);
  color: #f0f7ff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.86rem;
  word-break: break-all;
}

.deposit-wallet-qr-wrap {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.deposit-wallet-qr {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  border: 1px solid rgba(127, 199, 255, 0.35);
  background: #ffffff;
  padding: 6px;
}

.wallet-qr-thumb {
  margin-top: 8px;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  border: 1px solid rgba(127, 199, 255, 0.34);
  background: #ffffff;
  padding: 4px;
}

.withdraw-platforms {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.exchange-card {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(127, 199, 255, 0.35);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(8, 31, 52, 0.75);
  text-decoration: none;
  color: #d9ecff;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.exchange-card:hover {
  transform: translateY(-2px);
  border-color: rgba(127, 199, 255, 0.6);
}

.exchange-logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #eaf5ff;
  background: linear-gradient(135deg, #1e4f75, #16324d);
  border: 1px solid rgba(148, 205, 255, 0.35);
}

.exchange-logo-binance { background: linear-gradient(135deg, #f3ba2f, #876300); color: #1b1402; }
.exchange-logo-coinbase { background: linear-gradient(135deg, #0f68ff, #0034a0); }
.exchange-logo-upbit { background: linear-gradient(135deg, #1a6eb2, #0a3354); }
.exchange-logo-okx { background: linear-gradient(135deg, #ffffff, #9fb3c6); color: #081a2a; }
.exchange-logo-bybit { background: linear-gradient(135deg, #f7a600, #8d5f00); color: #161004; }
.exchange-logo-bitget { background: linear-gradient(135deg, #00e8b5, #00725a); color: #04201a; }
.exchange-logo-nexo { background: linear-gradient(135deg, #6f7cff, #38409a); }
.exchange-logo-kraken { background: linear-gradient(135deg, #7e68ff, #3f2a9a); }
.exchange-logo-bingx { background: linear-gradient(135deg, #1b8bff, #0048a6); }
.exchange-logo-cryptocom { background: linear-gradient(135deg, #174f8a, #0c2846); }
.exchange-logo-mexc { background: linear-gradient(135deg, #2ebd85, #14543b); }
.exchange-logo-kucoin { background: linear-gradient(135deg, #01bc8d, #00634a); }
.exchange-logo-gate { background: linear-gradient(135deg, #ff4d4f, #8e1718); }
.exchange-logo-htx { background: linear-gradient(135deg, #3f86ff, #ff6a3d); }
.exchange-logo-bitstamp { background: linear-gradient(135deg, #0cc286, #055840); }
.exchange-logo-bitfinex { background: linear-gradient(135deg, #8cc63e, #34530f); }
.exchange-logo-gemini { background: linear-gradient(135deg, #23d6d3, #0d5f73); }
.exchange-logo-bity { background: linear-gradient(135deg, #ff7a18, #7a3200); }
.exchange-logo-luno { background: linear-gradient(135deg, #ffd84a, #7b6200); color: #1a1605; }
.exchange-logo-changelly { background: linear-gradient(135deg, #1fd1ff, #0b5d9a); }
.exchange-logo-paybis { background: linear-gradient(135deg, #35d07f, #15613b); }
.exchange-logo-moonpay { background: linear-gradient(135deg, #8b7cff, #352d8f); }

.auth-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.how-it-works {
  animation: riseIn 0.95s ease-out;
}

.trust-section,
.faq-section {
  animation: riseIn 0.95s ease-out;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trust-card {
  border: 1px solid rgba(127, 199, 255, 0.28);
  border-radius: 14px;
  padding: 13px;
  background: rgba(7, 27, 44, 0.74);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.trust-card:hover {
  transform: translateY(-2px);
  border-color: rgba(127, 199, 255, 0.54);
}

.trust-card h3 {
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-chip {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  color: #03253b;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.trust-card p {
  margin: 0;
  color: #c7ddf1;
  line-height: 1.45;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid rgba(127, 199, 255, 0.28);
  border-radius: 12px;
  background: rgba(7, 27, 44, 0.74);
  padding: 10px 12px;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(127, 199, 255, 0.58);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #d8ebff;
}

.faq-item p {
  margin: 8px 0 0;
  color: #c7ddf1;
}

.sticky-mobile-cta {
  display: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.testimonial-card {
  border: 1px solid rgba(127, 199, 255, 0.28);
  border-radius: 14px;
  background: rgba(7, 27, 44, 0.76);
  padding: 13px;
  display: grid;
  gap: 8px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  border-color: rgba(127, 199, 255, 0.56);
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.74rem;
  color: #041b2c;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.testimonial-card p {
  margin: 0;
  color: #d0e6f9;
  line-height: 1.5;
}

.testimonial-card span {
  font-size: 0.8rem;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.step {
  margin: 0;
  border: 1px solid rgba(127, 199, 255, 0.28);
  border-radius: 14px;
  padding: 13px;
  background: rgba(7, 27, 44, 0.74);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.step:hover {
  transform: translateY(-2px);
  border-color: rgba(127, 199, 255, 0.54);
}

.step-no {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #042130;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.step p {
  margin: 10px 0 2px;
  color: #c7ddf1;
}

h2,
h3 {
  margin: 0 0 12px;
  font-family: 'Space Grotesk', sans-serif;
}

.form {
  display: grid;
  gap: 10px;
}

.form > p,
.form > small {
  margin: 0;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid button {
  grid-column: 1 / -1;
}

input,
select,
button {
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  font-family: inherit;
}

input,
select {
  padding: 11px 12px;
  background: rgba(8, 31, 52, 0.88);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus,
select:focus {
  outline: none;
  border-color: rgba(133, 245, 223, 0.82);
  box-shadow: 0 0 0 3px rgba(133, 245, 223, 0.16);
  background: rgba(9, 35, 58, 0.95);
}

input::placeholder {
  color: #9ab1c6;
}

button {
  cursor: pointer;
  border: none;
  padding: 11px 14px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #031623;
  box-shadow: 0 10px 20px rgba(20, 241, 199, 0.24);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(20, 241, 199, 0.3);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  filter: saturate(0.8);
}

button.tracking-disabled,
button.tracking-disabled:disabled {
  background: linear-gradient(135deg, #5f7285, #3f5366);
  color: #d8e5f0;
  border: 1px solid rgba(184, 205, 224, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 18px rgba(3, 12, 22, 0.42);
  opacity: 1;
  filter: none;
  transform: none;
}

button.tracking-disabled:hover {
  filter: none;
  transform: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 18px rgba(3, 12, 22, 0.42);
}

button.ghost {
  background: rgba(8, 31, 52, 0.85);
  color: #c8def3;
  border: 1px solid var(--border);
  box-shadow: none;
}

button.danger {
  background: linear-gradient(135deg, #ff5b5b, #c92525);
  color: #fff;
  border: 1px solid rgba(255, 120, 120, 0.55);
  box-shadow: 0 10px 20px rgba(201, 37, 37, 0.3);
}

button.danger:hover {
  filter: brightness(1.07);
  box-shadow: 0 12px 24px rgba(201, 37, 37, 0.4);
}

.wallet-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.wallet-actions .edit-wallet-btn,
.wallet-actions .delete-wallet-btn {
  min-height: 36px;
  padding: 9px 12px;
  font-size: 0.84rem;
}

.hint {
  color: var(--muted);
  margin: 10px 0 0;
  font-size: 0.9rem;
}

#clientSection {
  animation: riseIn 0.75s ease-out;
}

.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.row.between {
  justify-content: space-between;
}

.row.center {
  align-items: center;
}

.output {
  font-weight: 700;
  color: var(--primary);
  min-width: 220px;
  align-self: center;
  border: 1px dashed rgba(20, 241, 199, 0.45);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(6, 24, 41, 0.55);
}

.track-grid {
  grid-template-columns: 1fr 120px auto;
  align-items: center;
}

.track-grid select {
  min-width: 0;
}

.track-visualizer {
  margin-top: 12px;
  border: 1px solid rgba(127, 199, 255, 0.45);
  border-radius: 12px;
  padding: 12px;
  background: rgba(6, 24, 41, 0.75);
  overflow: hidden;
}

.scan-header {
  font-size: 0.9rem;
  color: #85f5df;
}

.scan-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.scan-percent {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #7fc7ff;
}

.scan-progress-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(127, 199, 255, 0.18);
  margin-bottom: 10px;
  overflow: hidden;
}

.scan-progress-bar {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1c9bff, #85f5df);
  box-shadow: 0 0 18px rgba(127, 199, 255, 0.75);
  transition: width 0.28s ease;
}

.chain-line {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 8px 0;
}

.chain-line::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(127, 199, 255, 0.2), rgba(127, 199, 255, 0.85), rgba(127, 199, 255, 0.2));
}

.chain-node {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #1c9bff;
  box-shadow: 0 0 0 5px rgba(28, 155, 255, 0.2);
  position: relative;
  z-index: 1;
  animation: nodePulse 1.7s infinite ease-in-out;
}

.scan-pulse {
  position: absolute;
  top: calc(50% - 8px);
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #85f5df;
  box-shadow: 0 0 20px rgba(133, 245, 223, 0.85);
  animation: scanMove 2.2s infinite linear;
  z-index: 2;
}

.scan-hud {
  margin-top: 10px;
  height: 86px;
  border: 1px solid rgba(127, 199, 255, 0.25);
  border-radius: 12px;
  background:
    linear-gradient(rgba(127, 199, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 199, 255, 0.08) 1px, transparent 1px),
    rgba(7, 27, 44, 0.72);
  background-size: 18px 18px, 18px 18px, auto;
  position: relative;
  overflow: hidden;
}

.radar-ring {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(133, 245, 223, 0.8);
  left: calc(50% - 13px);
  top: calc(50% - 13px);
  animation: radarPulse 2.2s infinite ease-out;
}

.ring-2 {
  animation-delay: 0.55s;
}

.ring-3 {
  animation-delay: 1.1s;
}

.radar-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #85f5df;
  box-shadow: 0 0 16px rgba(133, 245, 223, 0.95);
  left: 12%;
  top: 50%;
  transform: translateY(-50%);
  animation: dotSweep 2.6s infinite ease-in-out;
}

.scan-stream {
  margin-top: 8px;
  color: #7fc7ff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  display: flex;
  gap: 12px;
  white-space: nowrap;
  overflow: hidden;
}

.scan-stream span {
  opacity: 0;
  animation: streamFade 2.8s infinite ease-in-out;
}

.scan-stream span:nth-child(2) { animation-delay: 0.22s; }
.scan-stream span:nth-child(3) { animation-delay: 0.45s; }
.scan-stream span:nth-child(4) { animation-delay: 0.68s; }
.scan-stream span:nth-child(5) { animation-delay: 0.91s; }

.scan-stream span {
  letter-spacing: 0.01em;
}

.track-status {
  margin-top: 8px;
  color: #c8def3;
  font-size: 0.9rem;
}

.track-stage {
  margin-top: 6px;
  color: #9ac5ea;
  font-size: 0.82rem;
}

.track-summary {
  margin-top: 12px;
  border: 1px solid rgba(127, 199, 255, 0.45);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(8, 31, 52, 0.85);
  color: #d5eaff;
  font-weight: 600;
  line-height: 1.45;
}

.insight-card {
  margin-top: 14px;
  border: 1px solid rgba(127, 199, 255, 0.34);
  border-radius: 12px;
  background: rgba(7, 27, 44, 0.72);
  padding: 12px;
}

.insight-card h3 {
  margin: 0 0 10px;
  font-family: 'Space Grotesk', sans-serif;
  color: #d5eaff;
}

.client-top-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.status-meta {
  display: grid;
  gap: 5px;
  color: #bedbf4;
  font-size: 0.86rem;
}

.status-steps {
  margin-top: 10px;
  display: grid;
  gap: 7px;
}

.status-step {
  border: 1px solid rgba(127, 199, 255, 0.28);
  border-radius: 8px;
  padding: 7px 9px;
  color: #a7caea;
  font-size: 0.82rem;
  background: rgba(8, 31, 52, 0.72);
}

.status-step.active {
  border-color: rgba(133, 245, 223, 0.8);
  color: #dcfff5;
  box-shadow: 0 0 18px rgba(133, 245, 223, 0.16);
}

.status-step.done {
  border-color: rgba(127, 199, 255, 0.72);
  color: #d7ebff;
}

.health-score-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.7rem;
  color: #85f5df;
}

.health-score-track {
  margin-top: 8px;
  height: 10px;
  border-radius: 999px;
  background: rgba(127, 199, 255, 0.2);
}

.health-score-bar {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #4ae8ff, #85f5df);
  transition: width 0.4s ease;
}

.health-trend {
  margin-top: 9px;
  color: #cfe7ff;
  font-size: 0.84rem;
}

.health-notes {
  margin-top: 4px;
  color: #95bde0;
  font-size: 0.8rem;
}

.action-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
  color: #d8edff;
  line-height: 1.5;
}

.live-badge {
  border-radius: 999px;
  min-width: 28px;
  text-align: center;
  padding: 3px 9px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #031623;
  font-weight: 700;
  font-size: 0.78rem;
}

.alerts-list {
  display: grid;
  gap: 8px;
}

.alert-empty {
  color: #9ac5ea;
  font-size: 0.82rem;
}

.alert-item {
  border-radius: 10px;
  border: 1px solid rgba(127, 199, 255, 0.32);
  background: rgba(8, 31, 52, 0.78);
  padding: 8px 10px;
}

.alert-item.info { border-color: rgba(127, 199, 255, 0.45); }
.alert-item.success { border-color: rgba(133, 245, 223, 0.65); }
.alert-item.warning { border-color: rgba(255, 211, 92, 0.75); }
.alert-item.error { border-color: rgba(255, 156, 180, 0.85); }

.alert-main {
  color: #dff0ff;
  font-size: 0.84rem;
}

.alert-time {
  margin-top: 2px;
  color: #98c3e8;
  font-size: 0.75rem;
}

.doc-upload-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.doc-upload-form input[type='file'] {
  background: rgba(8, 31, 52, 0.75);
  border: 1px solid rgba(127, 199, 255, 0.3);
  border-radius: 10px;
  color: #cfe7ff;
  padding: 8px;
}

.doc-list {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.doc-item {
  border: 1px solid rgba(127, 199, 255, 0.33);
  border-radius: 10px;
  padding: 9px;
  background: rgba(8, 31, 52, 0.72);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.doc-name {
  color: #e0efff;
  font-size: 0.84rem;
  text-decoration: none;
}

.doc-name:hover {
  text-decoration: underline;
}

.doc-meta {
  margin-top: 2px;
  color: #95bde0;
  font-size: 0.74rem;
}

.risk-panel {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px;
}

.risk-main,
.confidence-wrap {
  border: 1px solid rgba(127, 199, 255, 0.38);
  border-radius: 12px;
  background: rgba(7, 27, 44, 0.75);
  padding: 12px;
}

.risk-label {
  color: #9cc8eb;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.risk-score {
  margin-top: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  color: #85f5df;
}

.risk-badge {
  margin-top: 8px;
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

.risk-badge.low { background: #72ffdc; color: #083824; }
.risk-badge.medium { background: #ffd35c; color: #3d2b00; }
.risk-badge.high { background: #ff9cb4; color: #3c0916; }

.confidence-value {
  margin-top: 6px;
  font-family: 'Space Grotesk', sans-serif;
  color: #7fc7ff;
}

.confidence-track {
  margin-top: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(127, 199, 255, 0.2);
}

.confidence-bar {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #1c9bff, #85f5df);
  transition: width 0.35s ease;
}

.kpi-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.kpi-card {
  border: 1px solid rgba(127, 199, 255, 0.34);
  border-radius: 12px;
  background: rgba(7, 27, 44, 0.76);
  padding: 10px;
  min-height: 92px;
}

.kpi-title {
  color: #9cc8eb;
  font-size: 0.78rem;
}

.kpi-value {
  margin-top: 5px;
  color: #e7f3ff;
  font-family: 'Space Grotesk', sans-serif;
}

.kpi-trend {
  margin-top: 4px;
  font-size: 0.75rem;
  color: #9ac5ea;
}

.severity-legend {
  margin-top: 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #b8d8f4;
}

.risk-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.risk-dot.low { background: #72ffdc; }
.risk-dot.medium { background: #ffd35c; }
.risk-dot.high { background: #ff9cb4; }

.timeline-filters {
  display: inline-flex;
  gap: 6px;
}

.filter-btn {
  border: 1px solid rgba(127, 199, 255, 0.35);
  background: rgba(8, 31, 52, 0.85);
  color: #c8def3;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.78rem;
  cursor: pointer;
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #031623;
  border-color: transparent;
}

.timeline-wrap,
.flow-graph-wrap {
  margin-top: 14px;
  border: 1px solid rgba(127, 199, 255, 0.38);
  border-radius: 12px;
  padding: 12px;
  background: rgba(7, 27, 44, 0.7);
}

.timeline-wrap h4,
.flow-graph-wrap h4 {
  margin: 0 0 10px;
  font-family: 'Space Grotesk', sans-serif;
  color: #cbe7ff;
}

.track-timeline {
  display: grid;
  gap: 10px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  align-items: center;
}

.timeline-date {
  color: #7fc7ff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
}

.timeline-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(127, 199, 255, 0.2);
  overflow: hidden;
}

.timeline-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1c9bff, #85f5df);
  animation: fillGrow 0.7s ease;
}

.timeline-tag {
  margin-left: 8px;
  font-size: 0.76rem;
  color: #b4d8f6;
}

.flow-graph {
  position: relative;
  border: 1px dashed rgba(127, 199, 255, 0.35);
  border-radius: 12px;
  min-height: 220px;
  padding: 12px;
  background: rgba(4, 20, 36, 0.72);
}

.flow-node {
  position: absolute;
  border: 1px solid rgba(127, 199, 255, 0.48);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(8, 31, 52, 0.9);
  font-size: 0.78rem;
  color: #d9ecff;
  max-width: 180px;
  line-height: 1.35;
}

.flow-node.main {
  border-color: rgba(133, 245, 223, 0.65);
  box-shadow: 0 0 18px rgba(133, 245, 223, 0.28);
}

.flow-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.flow-line {
  stroke: #7fc7ff;
  stroke-width: 2;
  stroke-dasharray: 6 6;
  animation: dashMove 1.9s linear infinite;
}

.flow-arrow {
  fill: #7fc7ff;
}

.flow-line.low { stroke: #72ffdc; }
.flow-line.medium { stroke: #ffd35c; }
.flow-line.high { stroke: #ff9cb4; }

.tx-link {
  border: none;
  background: transparent;
  color: #7fc7ff;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 10, 18, 0.62);
  z-index: 120;
  display: flex;
  justify-content: flex-end;
}

.drawer {
  height: 100vh;
  width: min(560px, 98vw);
  border-radius: 0;
  border-left: 1px solid rgba(127, 199, 255, 0.35);
  overflow-y: auto;
  padding-bottom: 24px;
}

.tx-modal-card {
  width: auto;
}

.drawer-tabs {
  display: flex;
  gap: 8px;
  margin: 8px 0 12px;
}

.tab-btn {
  border: 1px solid rgba(127, 199, 255, 0.35);
  background: rgba(8, 31, 52, 0.8);
  color: #c8def3;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  cursor: pointer;
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #031623;
  border-color: transparent;
}

.tx-modal-body {
  display: grid;
  gap: 8px;
  color: #d9ecff;
}

.tx-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 8px;
  border-bottom: 1px solid rgba(127, 199, 255, 0.2);
  padding-bottom: 6px;
  word-break: break-word;
}

.tx-key {
  color: #89c6fb;
  font-weight: 600;
}

.balance-input {
  width: 120px;
}

.activity-log-wrap {
  margin-top: 14px;
  border: 1px solid rgba(127, 199, 255, 0.38);
  border-radius: 12px;
  padding: 12px;
  background: rgba(7, 27, 44, 0.7);
}

.activity-log-wrap h4 {
  margin: 0 0 8px;
  color: #cbe7ff;
  font-family: 'Space Grotesk', sans-serif;
}

.activity-log {
  max-height: 160px;
  overflow: auto;
  display: grid;
  gap: 6px;
  padding-right: 4px;
}

.activity-log::-webkit-scrollbar {
  width: 8px;
}

.activity-log::-webkit-scrollbar-thumb {
  background: rgba(127, 199, 255, 0.35);
  border-radius: 999px;
}

.activity-item {
  font-size: 0.82rem;
  color: #b8d8f4;
  border-left: 2px solid rgba(127, 199, 255, 0.5);
  padding-left: 8px;
}

.activity-item.error {
  border-left-color: #ff9cb4;
  color: #ffd2dc;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(127, 199, 255, 0.26);
  border-radius: 12px;
  background: rgba(4, 20, 36, 0.55);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 11px 10px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

tbody tr:hover {
  background: rgba(127, 199, 255, 0.1);
}

th {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: #88cbff;
  letter-spacing: 0.08em;
}

.user-badge {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 31, 52, 0.85);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.9rem;
}

.balance-box {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(127, 199, 255, 0.45);
  border-radius: 12px;
  background: rgba(8, 31, 52, 0.9);
  color: #e7f3ff;
  padding: 10px 14px;
  font-weight: 700;
}

.balance-value {
  color: #85f5df;
  font-family: 'Space Grotesk', sans-serif;
}

.tag {
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.8rem;
  font-weight: 700;
}

.tag.active {
  color: #083824;
  background: #72ffdc;
}

.tag.inactive {
  color: #3c0916;
  background: #ff9cb4;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: rgba(7, 26, 43, 0.98);
  color: #d5eaff;
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-strong);
  max-width: min(420px, 88vw);
}

.site-footer {
  width: min(1180px, 94vw);
  margin: 0 auto 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(8, 26, 43, 0.7);
  box-shadow: var(--shadow);
}

.footer-inner {
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}

.footer-brand {
  margin-bottom: 8px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  align-content: start;
}

.footer-links a {
  color: #9ad1ff;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 860px) {
  .top-nav {
    flex-direction: column;
    align-items: flex-start;
    top: 8px;
  }

  .auth-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .before-after,
  .testimonials-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .track-grid {
    grid-template-columns: 1fr;
  }

  .client-top-grid {
    grid-template-columns: 1fr;
  }

  .doc-upload-form {
    grid-template-columns: 1fr;
  }

  .track-grid button,
  .track-grid select {
    width: 100%;
  }

  .risk-panel {
    grid-template-columns: 1fr;
  }

  .kpi-grid {
    grid-template-columns: 1fr 1fr;
  }

  .card {
    padding: 18px;
  }

  .site-footer {
    border-radius: 14px;
  }

  .timeline-filters {
    width: 100%;
    justify-content: flex-start;
  }

  .drawer {
    width: 100vw;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .login-meta {
    align-items: flex-start;
  }

  .sticky-mobile-cta {
    display: inline-flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 130;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 12px;
    padding: 11px 14px;
    font-weight: 700;
    color: #031623;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 12px 24px rgba(20, 241, 199, 0.32);
  }

  .tx-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@keyframes riseIn {
  from {
    transform: translateY(10px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes nodePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }

  50% {
    transform: scale(1.25);
    opacity: 1;
  }
}

@keyframes scanMove {
  0% {
    left: 0;
  }

  100% {
    left: calc(100% - 16px);
  }
}

@keyframes radarPulse {
  0% {
    transform: scale(0.3);
    opacity: 0.95;
  }

  100% {
    transform: scale(3.5);
    opacity: 0;
  }
}

@keyframes dotSweep {
  0% {
    left: 12%;
  }

  50% {
    left: 82%;
  }

  100% {
    left: 12%;
  }
}

@keyframes streamFade {
  0%,
  100% {
    opacity: 0.15;
    transform: translateY(4px);
  }

  50% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fillGrow {
  from {
    width: 0;
  }
}

@keyframes dashMove {
  to {
    stroke-dashoffset: -24;
  }
}

@keyframes meshFloat {
  from {
    transform: translateY(-12px) scale(1);
  }

  to {
    transform: translateY(14px) scale(1.06);
  }
}

@keyframes networkDrift {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-120px);
  }
}

@keyframes nodePulseBg {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

@keyframes nodeShiftBg {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}
