:root {
  
  --bg-primary: #060B18;
  --bg-secondary: #0A1120;
  --surface: #0F1830;
  --surface-elevated: #131E3A;
  --surface-hover: #172444;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  
  --text-primary: #F2F5FC;
  --text-secondary: #9AA7C4;
  --text-tertiary: #66739A;

  
  --accent: #2E7CFF;
  --accent-bright: #5FA8FF;
  --accent-cyan: #22D3EE;
  --accent-dim: rgba(46, 124, 255, 0.14);
  --accent-border: rgba(46, 124, 255, 0.34);
  --accent-2: #5FA8FF;
  --accent-3: #1550C4;
  --gradient-accent: linear-gradient(135deg, #5FA8FF 0%, #2E7CFF 55%, #1550C4 100%);
  --gradient-accent-hover: linear-gradient(135deg, #78B8FF 0%, #4790FF 55%, #1E5EDC 100%);
  --gradient-text: linear-gradient(90deg, #5FA8FF 0%, #22D3EE 100%);
  --shadow-accent-glow: 0 8px 24px rgba(46, 124, 255, 0.34), 0 2px 8px rgba(46, 124, 255, 0.26);
  --shadow-accent-glow-lg: 0 22px 50px rgba(46, 124, 255, 0.38), 0 8px 20px rgba(21, 80, 196, 0.30);
  --shadow-3d: 0 1px 0 rgba(255,255,255,0.05) inset, 0 14px 34px rgba(0,0,0,0.45), 0 4px 12px rgba(0,0,0,0.32);
  --shadow-3d-hover: 0 1px 0 rgba(255,255,255,0.07) inset, 0 28px 60px rgba(0,0,0,0.55), 0 10px 24px rgba(0,0,0,0.36);
  --shadow-3d: 0 1px 0 rgba(255,255,255,0.06) inset, 0 14px 30px rgba(0,0,0,0.30), 0 4px 10px rgba(0,0,0,0.20);
  --shadow-3d-hover: 0 1px 0 rgba(255,255,255,0.08) inset, 0 26px 55px rgba(0,0,0,0.40), 0 8px 20px rgba(0,0,0,0.26);
  --dur: 200ms;
  --dur-slow: 340ms;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  
  --positive: #2FD68A;
  --positive-dim: rgba(47, 214, 138, 0.14);
  --negative: #FF5C6C;
  --negative-dim: rgba(255, 92, 108, 0.14);
  --neutral-signal: #8592B0;

  
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'SF Mono', 'IBM Plex Mono', Menlo, Consolas, monospace;

  
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);

  
  --nav-height: 76px;
  --container-max: 1280px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }

::selection { background: var(--accent-dim); color: var(--accent-bright); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--accent);
}
.hero-badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 16px; border-radius:999px;
  background:rgba(47,214,138,0.10); border:1px solid rgba(47,214,138,0.30);
  color:#5FE3AA; font-size:12.5px; font-weight:600; letter-spacing:0.02em;
}
.hero-badge-dot{ width:7px; height:7px; border-radius:50%; background:#2FD68A; box-shadow:0 0 0 0 rgba(47,214,138,0.6); animation:badgePulse 2s infinite; }
@keyframes badgePulse{
  0%{ box-shadow:0 0 0 0 rgba(47,214,138,0.55); }
  70%{ box-shadow:0 0 0 7px rgba(47,214,138,0); }
  100%{ box-shadow:0 0 0 0 rgba(47,214,138,0); }
}
.mono { font-family: var(--font-mono); }
.text-secondary { color: var(--text-secondary); }
.text-positive { color: var(--positive); }
.text-negative { color: var(--negative); }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.section { padding: var(--space-9) 0; }
.section-head {
  max-width: 620px;
  margin-bottom: var(--space-7);
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); margin-top: var(--space-3); }
.section-head p { color: var(--text-secondary); margin-top: var(--space-4); font-size: 16px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: var(--shadow-accent-glow);
  position: relative;
  overflow: hidden;
}
.btn-primary::before{
  content:''; position:absolute; inset:0; border-radius:inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0) 55%);
  pointer-events:none;
}
.btn-primary:hover { background: var(--gradient-accent-hover); box-shadow: var(--shadow-accent-glow-lg); transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn-secondary:hover { border-color: var(--accent-border); background: var(--accent-dim); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text-primary); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-buy{ background:rgba(47,214,138,0.14); color:var(--positive); border:1px solid rgba(47,214,138,0.35); }
.btn-buy:hover{ background:rgba(47,214,138,0.22); }
.btn-sell{ background:rgba(255,92,108,0.14); color:var(--negative); border:1px solid rgba(255,92,108,0.35); }
.btn-sell:hover{ background:rgba(255,92,108,0.22); }
.btn-icon {
  width: 40px; height: 40px; border-radius: var(--radius-full);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-secondary);
  transition: all 0.2s var(--ease);
}
.btn-icon:hover { color: var(--text-primary); border-color: var(--border-strong); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3d);
  transition: border-color 0.25s var(--ease), transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease);
}
.card-hover:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-3d-hover);
}
.glass {
  background: rgba(15, 24, 48, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--border);
}

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), height 0.3s var(--ease);
}
.nav.scrolled {
  height: 64px;
  background: rgba(6, 11, 24, 0.86);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.brand { display: flex; align-items: center; gap: var(--space-3); }
.brand-mark { width: 30px; height: 30px; flex-shrink: 0; }
.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-links { display: flex; align-items: center; gap: var(--space-6); }
.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a.active::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: var(--space-3); }
.nav-toggle { display: none; }

.pulse-rule {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-border) 50%, transparent);
  opacity: 0.6;
}

.drawer {
  position: fixed; inset: 0; z-index: 900;
  visibility: hidden;
  pointer-events: none;
}
.drawer.open { visibility: visible; pointer-events: auto; }
.drawer-scrim {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.drawer.open .drawer-scrim { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(320px, 84vw);
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  padding: var(--space-6) var(--space-5);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  display: flex; flex-direction: column; gap: var(--space-2);
}
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-panel a {
  padding: var(--space-4) var(--space-2);
  font-size: 17px;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}
.drawer-close { align-self: flex-end; }

.footer {
  border-top: 1px solid var(--border);
  padding: var(--space-8) 0 var(--space-6);
  background: var(--bg-secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: var(--space-6);
  padding-bottom: var(--space-7);
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}
.footer-col a, .footer-col p { color: var(--text-secondary); font-size: 13.5px; }
.footer-col li { margin-bottom: var(--space-3); }
.footer-col a:hover { color: var(--text-primary); }
.footer-brand p { max-width: 280px; margin-top: var(--space-4); color: var(--text-secondary); font-size: 13.5px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--space-6); border-top: 1px solid var(--border);
  flex-wrap: wrap; gap: var(--space-3);
}
.footer-bottom span { color: var(--text-tertiary); font-size: 12.5px; }
.disclaimer {
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text-tertiary);
  font-size: 12.5px;
  line-height: 1.65;
}
.disclaimer strong { color: var(--text-secondary); }

.toast-stack {
  position: fixed; bottom: var(--space-5); right: var(--space-5); z-index: 1200;
  display: flex; flex-direction: column; gap: var(--space-3); max-width: 340px;
}
.toast {
  background: var(--surface-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: var(--space-3);
  animation: toast-in 0.35s var(--ease);
  font-size: 13.5px;
}
.toast.leaving { animation: toast-out 0.25s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(30px); } }
.toast-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.toast-dot.success { background: var(--positive); }
.toast-dot.info { background: var(--accent); }
.toast-dot.error { background: var(--negative); }

.modal-scrim {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(6,7,8,0.65);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease);
  padding: var(--space-5);
}
.modal-scrim.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--surface-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 420px;
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s var(--ease);
}
.modal-scrim.open .modal { transform: translateY(0) scale(1); }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: var(--space-4); }
.modal-head h3 { font-size: 20px; }
.modal-row { display: flex; justify-content: space-between; padding: var(--space-3) 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.modal-row span:first-child { color: var(--text-secondary); }
.modal-actions { display: flex; gap: var(--space-3); margin-top: var(--space-5); }

.cmdk-scrim {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(6,7,8,0.6);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 12vh;
  opacity: 0; visibility: hidden; transition: opacity 0.2s var(--ease);
}
.cmdk-scrim.open { opacity: 1; visibility: visible; }
.cmdk {
  width: 100%; max-width: 560px;
  background: var(--surface-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(-10px);
  transition: transform 0.25s var(--ease);
}
.cmdk-scrim.open .cmdk { transform: translateY(0); }
.cmdk-input {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--border);
  padding: var(--space-5); font-size: 16px; color: var(--text-primary);
}
.cmdk-input:focus { outline: none; }
.cmdk-list { max-height: 320px; overflow-y: auto; padding: var(--space-2); }
.cmdk-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm);
  color: var(--text-secondary); font-size: 14px;
}
.cmdk-item.active { background: var(--accent-dim); color: var(--text-primary); }
.cmdk-item kbd { font-family: var(--font-mono); font-size: 11px; color: var(--text-tertiary); }

.field { margin-bottom: var(--space-5); }
.field label {
  display: block; font-size: 13px; font-weight: 500; color: var(--text-secondary);
  margin-bottom: var(--space-2);
}
.field input, .field select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text-primary);
  font-size: 14.5px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--accent-border); background: var(--surface-elevated); }
.field input.invalid { border-color: var(--negative); }
.field-error { font-size: 12.5px; color: var(--negative); margin-top: var(--space-2); display: none; }
.field-error.show { display: block; }
.field-hint { font-size: 12.5px; color: var(--text-tertiary); margin-top: var(--space-2); }
.checkbox-row { display: flex; align-items: flex-start; gap: var(--space-3); font-size: 13.5px; color: var(--text-secondary); }
.checkbox-row input { margin-top: 3px; accent-color: var(--accent); }

.skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-hover) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-tertiary); }

.hero {
  position: relative;
  padding-top: calc(var(--nav-height) + var(--space-8));
  padding-bottom: var(--space-9);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%; right: -10%;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(46,124,255,0.22), transparent 70%);
  pointer-events: none;
  animation: heroDrift 12s ease-in-out infinite alternate;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -14%; left: -8%;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(34,211,238,0.14), transparent 70%);
  pointer-events: none;
  animation: heroDrift 14s ease-in-out infinite alternate-reverse;
}
@keyframes heroDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-24px, 18px) scale(1.06); }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: var(--space-8);
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(38px, 5vw, 64px);
  margin-top: var(--space-4);
}
.hero-copy h1 em { background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
.hero-copy p {
  margin-top: var(--space-5);
  font-size: 17.5px;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: var(--space-4); margin-top: var(--space-7); }
.hero-meta { display: flex; gap: var(--space-6); margin-top: var(--space-8); }
.hero-meta div { border-left: 1px solid var(--border); padding-left: var(--space-4); }
.hero-meta .num { font-family: var(--font-mono); font-size: 22px; color: var(--text-primary); }
.hero-meta .label { font-size: 12px; color: var(--text-tertiary); margin-top: 2px; }

.hero-panel {
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-3d-hover);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease);
  will-change: transform;
}
.hero-panel:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translateY(-4px);
}
.hp-float-pl{
  position:absolute; top:-34px; left:24px; z-index:2;
  display:flex; align-items:center; gap:10px;
  background:rgba(15,24,48,0.92); border:1px solid var(--border-strong);
  border-radius:14px; padding:10px 16px; box-shadow:var(--shadow-3d-hover);
  backdrop-filter:blur(10px);
  animation:floatY 4s ease-in-out infinite;
}
.hp-float-icon{ color:var(--positive); font-size:16px; }
.hp-float-label{ font-size:10.5px; color:var(--text-tertiary); }
.hp-float-val{ font-family:var(--font-mono); font-size:15px; color:var(--positive); font-weight:600; }
.hp-demo-badge{
  position:absolute; top:16px; right:16px; z-index:2;
  background:var(--gradient-accent); color:#fff; font-size:10.5px; font-weight:700;
  letter-spacing:0.04em; padding:5px 11px; border-radius:999px; box-shadow:var(--shadow-accent-glow);
}
@keyframes floatY{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-6px); } }
.hp-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-4); }
.hp-asset { display: flex; align-items: center; gap: var(--space-3); }
.hp-asset-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-dim); border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--accent);
}
.hp-asset-name { font-weight: 600; font-size: 14.5px; }
.hp-asset-sub { font-size: 12px; color: var(--text-tertiary); }
.hp-price { text-align: right; }
.hp-price .val { font-family: var(--font-mono); font-size: 20px; }
.hp-price .chg { font-family: var(--font-mono); font-size: 12.5px; }
.hp-chart { height: 180px; margin: var(--space-4) 0; position: relative; }
.hp-tabs { display: flex; gap: var(--space-2); margin-bottom: var(--space-3); }
.hp-tab {
  padding: 6px 13px; border-radius: var(--radius-full); font-size: 12px;
  color: var(--text-tertiary); border: 1px solid var(--border);
}
.hp-tab.active { color: var(--accent); border-color: var(--accent-border); background: var(--accent-dim); }
.hp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin: var(--space-4) 0; }
.hp-stat { font-size: 11.5px; color: var(--text-tertiary); }
.hp-stat b { display: block; font-family: var(--font-mono); font-size: 13px; color: var(--text-primary); margin-top: 2px; font-weight: 400; }
.hp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.hp-note { text-align: center; font-size: 11px; color: var(--text-tertiary); margin-top: var(--space-4); }

.trust-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item {
  padding: var(--space-7) var(--space-5);
  border-right: 1px solid var(--border);
  text-align: center;
}
.trust-item:last-child { border-right: none; }
.trust-item .count { font-family: var(--font-display); font-size: 40px; color: var(--accent); }
.trust-item .desc { margin-top: var(--space-2); font-size: 13.5px; color: var(--text-secondary); }

.market-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: var(--space-5); flex-wrap: wrap; gap: var(--space-4);
}
.chip-row { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.chip {
  padding: 8px 16px; border-radius: var(--radius-full); font-size: 13px;
  border: 1px solid var(--border-strong); color: var(--text-secondary);
  transition: all 0.2s var(--ease);
}
.chip.active, .chip:hover { color: var(--text-primary); border-color: var(--accent-border); background: var(--accent-dim); }
.search-box {
  display: flex; align-items: center; gap: var(--space-2);
  border: 1px solid var(--border-strong); border-radius: var(--radius-full);
  padding: 9px 16px; min-width: 220px; background: var(--surface);
}
.search-box input { background: transparent; border: none; color: var(--text-primary); font-size: 13.5px; width: 100%; }
.search-box input:focus { outline: none; }
.search-box svg { flex-shrink: 0; color: var(--text-tertiary); }

.market-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.market-card { padding: var(--space-5); position: relative; }
.mc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.mc-symbol { font-weight: 600; font-size: 15px; }
.mc-name { font-size: 12px; color: var(--text-tertiary); margin-top: 2px; }
.mc-watch { color: var(--text-tertiary); transition: color 0.2s var(--ease); }
.mc-watch:hover, .mc-watch.active { color: var(--accent); }
.mc-price { font-family: var(--font-mono); font-size: 22px; margin-top: var(--space-4); }
.mc-change { font-family: var(--font-mono); font-size: 12.5px; margin-top: 4px; display: inline-block; padding: 2px 8px; border-radius: var(--radius-full); }
.mc-change.up { color: var(--positive); background: var(--positive-dim); }
.mc-change.down { color: var(--negative); background: var(--negative-dim); }
.mc-spark { height: 40px; margin-top: var(--space-4); }

.intel-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-5); }
.intel-card { padding: var(--space-6); }
.intel-card h3 { font-size: 16px; font-family: var(--font-body); font-weight: 600; margin-bottom: var(--space-5); }
.sentiment-row { display: flex; justify-content: space-between; align-items: center; padding: var(--space-3) 0; border-bottom: 1px solid var(--border); }
.sentiment-row:last-child { border-bottom: none; }
.sentiment-tag { font-size: 12px; padding: 4px 12px; border-radius: var(--radius-full); font-weight: 500; }
.sentiment-tag.bullish, .sentiment-tag.positive { color: var(--positive); background: var(--positive-dim); }
.sentiment-tag.bearish { color: var(--negative); background: var(--negative-dim); }
.sentiment-tag.neutral { color: var(--neutral-signal); background: rgba(124,139,161,0.12); }
.vol-meter { display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-5); }
.vol-track { flex: 1; height: 6px; border-radius: 4px; background: var(--border); overflow: hidden; }
.vol-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--positive), var(--accent) 60%, var(--negative)); }
.pulse-list { display: flex; flex-direction: column; gap: var(--space-4); }
.pulse-item { display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; margin-right: var(--space-3); display: inline-block; box-shadow: 0 0 0 4px currentColor; animation: pulse-glow 2.2s infinite; }
@keyframes pulse-glow { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.pulse-dot.active { color: rgba(63,200,138,0.25); background: var(--positive); }
.pulse-dot.stable { color: rgba(124,139,161,0.25); background: var(--neutral-signal); }
.pulse-dot.positive { color: rgba(20, 102, 232,0.22); background: var(--accent); }
.pulse-dot.volatile { color: rgba(226,104,90,0.25); background: var(--negative); }
.intel-disclaimer { font-size: 11.5px; color: var(--text-tertiary); margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px dashed var(--border); }

.edu-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); }
.edu-card { padding: var(--space-5); }
.edu-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-tertiary); margin-bottom: var(--space-4); font-family: var(--font-mono); }
.edu-card h4 { font-size: 15.5px; font-family: var(--font-body); font-weight: 600; margin-bottom: var(--space-2); }
.edu-card p { font-size: 13px; color: var(--text-secondary); }
.edu-diff { display: inline-block; margin-top: var(--space-4); font-size: 11px; padding: 3px 10px; border-radius: var(--radius-full); border: 1px solid var(--border-strong); color: var(--text-tertiary); }

.security-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.security-item { padding: var(--space-6) var(--space-5); }
.security-icon { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--accent-dim); display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: var(--space-5); }
.security-item h4 { font-size: 15.5px; font-family: var(--font-body); font-weight: 600; margin-bottom: var(--space-2); }
.security-item p { font-size: 13.5px; color: var(--text-secondary); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); align-items: start; }
.price-card { padding: var(--space-6); }
.price-card.featured { border-color: var(--accent-border); background: linear-gradient(180deg, var(--accent-dim), var(--surface) 60%); position: relative; transform: scale(1.03); }
.price-badge { position: absolute; top: -13px; left: var(--space-6); background: var(--accent); color: #14110a; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-full); letter-spacing: 0.02em; }
.price-tier { font-size: 13px; color: var(--text-tertiary); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; }
.price-name { font-family: var(--font-display); font-size: 26px; margin: var(--space-2) 0 var(--space-3); }
.price-desc { font-size: 13.5px; color: var(--text-secondary); margin-bottom: var(--space-5); }
.price-list { display: flex; flex-direction: column; gap: var(--space-3); margin: var(--space-6) 0; }
.price-list li { display: flex; gap: var(--space-3); font-size: 13.5px; color: var(--text-secondary); align-items: flex-start; }
.price-list svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.testi-card { padding: var(--space-6); }
.testi-quote { font-family: var(--font-display); font-size: 17px; line-height: 1.55; color: var(--text-primary); }
.testi-person { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-5); }
.testi-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-dim); border: 1px solid var(--accent-border); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.testi-name { font-size: 13.5px; font-weight: 600; }
.testi-role { font-size: 12px; color: var(--text-tertiary); }

.cta-band { text-align: center; padding: var(--space-9) 0; position: relative; }
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); }
.cta-band p { color: var(--text-secondary); margin: var(--space-4) 0 var(--space-6); }
.cta-band-actions { display: flex; justify-content: center; gap: var(--space-4); }

.brand-house {
  font-weight: 300;
  color: var(--text-secondary);
  margin-left: 3px;
}
.sidebar-brand .brand-house,
.footer-brand .brand-house { color: var(--text-secondary); }

#page-loader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
#page-loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark svg { width: 40px; height: 40px; animation: loader-pulse 1.1s ease-in-out infinite; }
@keyframes loader-pulse { 0%, 100% { opacity: 0.55; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.04); } }
.loader-word {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--text-tertiary);
}
.loader-bar { width: 120px; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 40%; background: var(--accent); animation: loader-sweep 1.1s ease-in-out infinite; }
@keyframes loader-sweep { 0% { transform: translateX(-100%); } 100% { transform: translateX(340%); } }
@media (prefers-reduced-motion: reduce) {
  .loader-mark svg, .loader-bar span { animation: none; }
}

[data-tooltip] { position: relative; }
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--surface-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-size: 11.5px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  box-shadow: var(--shadow-sm);
  z-index: 400;
}
[data-tooltip]:hover::after, [data-tooltip]:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mc-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.25s var(--ease), opacity 0.22s var(--ease), margin-top 0.25s var(--ease);
  pointer-events: none;
}
.market-card:hover .mc-detail { max-height: 100px; opacity: 1; margin-top: var(--space-4); pointer-events: auto; }
.mc-detail div { font-size: 11px; color: var(--text-tertiary); }
.mc-detail b { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 13px; color: var(--text-primary); margin-top: 3px; }
.mc-detail .mc-detail-trend { grid-column: 1 / -1; padding-top: var(--space-2); border-top: 1px solid var(--border); }

.radar-widget { padding: var(--space-5); }
.radar-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-4) 0; border-bottom: 1px solid var(--border);
}
.radar-row:last-child { border-bottom: none; }
.radar-asset { display: flex; align-items: center; gap: var(--space-3); }
.radar-ring {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 9.5px; flex-shrink: 0;
  border: 1.5px solid currentColor;
}
.radar-ring.bullish, .radar-ring.positive { color: var(--positive); }
.radar-ring.neutral { color: var(--neutral-signal); }
.radar-ring.volatile { color: var(--negative); }
.radar-name { font-size: 13.5px; font-weight: 600; }
.radar-tags { font-size: 11.5px; color: var(--text-tertiary); margin-top: 2px; }
.radar-vol { display: flex; gap: 3px; }
.radar-vol span { width: 4px; height: 12px; border-radius: 2px; background: var(--border); }
.radar-vol span.on { background: var(--accent); }

.quick-actions { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3); margin-bottom: var(--space-6); }
.quick-action {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4);
  padding: var(--space-4); border-radius: var(--radius-md);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}
.quick-action:hover { border-color: var(--accent-border); background: var(--accent-dim); transform: translateY(-2px); }
.quick-action .qa-icon {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  background: var(--accent-dim); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.quick-action span.qa-label { font-size: 13px; font-weight: 600; }

.sidebar-nav { position: relative; }
.sidebar-nav a { position: relative; z-index: 1; }
