/* ==========================================================================
   PIRO7 PROTOCOL · DESIGN SYSTEM & STYLESHEET
   Private Autonomous Agent Vaults for Tokenized US Equities on Robinhood Chain L2
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Fonts */
  --font-sans: "Figtree", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Consolas, monospace;
  --font-display: "Figtree", sans-serif;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* DARK THEME (DEFAULT / CYBER FOREST LUXURY) */
[data-theme="dark"] {
  --bg: #060e0a;
  --bg-subtle: #0a1711;
  --surface: #0e2018;
  --surface-card: rgba(14, 32, 24, 0.72);
  --surface-hover: #142c21;
  --surface-raised: #183528;
  
  --ink: #f0fdf4;
  --ink-secondary: #c5dbce;
  --muted: #7b9487;
  --dim: #4d6657;
  
  --line: rgba(74, 222, 128, 0.14);
  --line-strong: rgba(74, 222, 128, 0.26);
  --line-soft: rgba(255, 255, 255, 0.06);

  --accent: #22c55e;
  --accent-glow: rgba(34, 197, 94, 0.24);
  --accent-soft: #16a34a;
  --accent-light: #4ade80;
  --accent-ink: #042410;
  
  --up: #22c55e;
  --down: #ef4444;
  
  --glass: rgba(14, 32, 24, 0.65);
  --glass-border: rgba(74, 222, 128, 0.18);
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);

  --shader-1: rgba(34, 197, 94, 0.18);
  --shader-2: rgba(16, 185, 129, 0.12);
  --shader-3: rgba(5, 150, 105, 0.08);

  color-scheme: dark;
}

/* LIGHT THEME (SEVEN LIQUIDITY SAGE LUXURY) */
[data-theme="light"] {
  --bg: #f8faf8;
  --bg-subtle: #f0f5f1;
  --surface: #ffffff;
  --surface-card: rgba(255, 255, 255, 0.92);
  --surface-hover: #f3f7f4;
  --surface-raised: #eaf1ec;
  
  --ink: #0a1a12;
  --ink-secondary: #2a3d32;
  --muted: #566b5e;
  --dim: #7f9687;
  
  --line: rgba(10, 26, 18, 0.12);
  --line-strong: rgba(10, 26, 18, 0.24);
  --line-soft: rgba(10, 26, 18, 0.06);

  --accent: #12a150;
  --accent-glow: rgba(18, 161, 80, 0.18);
  --accent-soft: #0d823f;
  --accent-light: #25c064;
  --accent-ink: #ffffff;
  
  --up: #0a7a3c;
  --down: #c02617;
  
  --glass: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(10, 26, 18, 0.14);
  --glass-shadow: 0 20px 45px rgba(10, 26, 18, 0.08);

  --shader-1: rgba(133, 220, 156, 0.35);
  --shader-2: rgba(187, 233, 202, 0.28);
  --shader-3: rgba(66, 174, 92, 0.15);

  color-scheme: light;
}

/* --------------------------------------------------------------------------
   GLOBAL RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg);
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select {
  font-family: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 40px);
}

/* --------------------------------------------------------------------------
   AMBIENT SHADER BACKGROUND
   -------------------------------------------------------------------------- */
.shader-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -10;
  overflow: hidden;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.6;
  animation: blob-drift 24s infinite alternate ease-in-out;
}

.blob-1 {
  width: 50vw;
  height: 50vw;
  top: -15vw;
  left: -10vw;
  background: radial-gradient(circle, var(--shader-1) 0%, transparent 70%);
}

.blob-2 {
  width: 55vw;
  height: 55vw;
  bottom: -20vw;
  right: -10vw;
  background: radial-gradient(circle, var(--shader-2) 0%, transparent 70%);
  animation-duration: 28s;
  animation-delay: -7s;
}

.blob-3 {
  width: 40vw;
  height: 40vw;
  top: 35vh;
  left: 30vw;
  background: radial-gradient(circle, var(--shader-3) 0%, transparent 70%);
  animation-duration: 20s;
  animation-delay: -12s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.8;
}

@keyframes blob-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vw, 4vh) scale(1.1); }
  100% { transform: translate(-4vw, 8vh) scale(0.95); }
}

/* --------------------------------------------------------------------------
   CHAIN STATUS BAR (TOP ANNOUNCEMENT)
   -------------------------------------------------------------------------- */
.chain-status-bar {
  background: var(--surface-card);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  padding: 6px 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.chain-status-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.status-left, .status-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.chain-badge {
  font-weight: 600;
  color: var(--accent);
}

.divider {
  color: var(--dim);
  opacity: 0.5;
}

.mono-stat {
  color: var(--ink-secondary);
}

.status-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-secondary);
}

.status-link:hover {
  color: var(--accent);
}

.pulse-icon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   HEADER NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  transition: all var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1440px;
  width: 100%;
  padding: 0 clamp(16px, 2.5vw, 36px);
  gap: 16px;
}

.brand-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.45));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.08) rotate(4deg);
  filter: drop-shadow(0 0 16px var(--accent-glow));
}

.footer-logo-img {
  width: 38px;
  height: 38px;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.logo-name {
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-accent-num {
  color: var(--accent);
  margin-left: 2px;
}

.badge-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid var(--accent);
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
  flex-wrap: nowrap;
  flex-shrink: 1;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
  padding: 4px 2px;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.nav-link:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.nav-link.text-accent {
  color: var(--accent);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

.network-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.network-badge-btn:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
  box-shadow: 0 0 12px var(--accent-glow);
  transform: translateY(-1px);
}

.net-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s infinite ease-in-out;
  flex-shrink: 0;
}

.net-current-name {
  color: var(--ink);
  letter-spacing: 0.02em;
}

.badge-tag-xs {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid var(--accent);
  text-transform: uppercase;
  line-height: 1;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  background: var(--surface-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.icon-btn svg {
  width: 16px;
  height: 16px;
}

.icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
  box-shadow: 0 4px 18px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-secondary {
  background: var(--surface-raised);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

.btn-glass {
  background: var(--surface-card);
  color: var(--ink);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 11px;
}

.btn-xs {
  padding: 4px 10px;
  font-size: 10px;
}

.btn-block {
  width: 100%;
}

.wallet-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 105px;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 24px;
  z-index: 99;
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-link {
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   LIVE TOKENIZED EQUITIES TICKER MARQUEE (PIRO TAPE)
   -------------------------------------------------------------------------- */
.ticker-marquee-section {
  background: var(--surface-raised);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 10px 0;
}

.tape-viewport {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.tape-track {
  display: inline-flex;
  gap: 36px;
  animation: tape-scroll 35s linear infinite;
}

.tape-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.ticker-symbol {
  font-weight: 700;
  color: var(--ink);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  background: var(--surface);
  border: 1px solid var(--line);
}

.ticker-price {
  color: var(--ink-secondary);
  font-weight: 500;
}

.ticker-change.up {
  color: var(--up);
  font-weight: 600;
}

.ticker-change.down {
  color: var(--down);
  font-weight: 600;
}

@keyframes tape-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  margin-bottom: 22px;
}

.hero-badge-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px var(--accent-glow));
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-headline {
  font-size: clamp(36px, 4.8vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: var(--ink);
}

.highlight-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.btn-icon {
  width: 16px;
  height: 16px;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--line);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--dim);
}

.protocol-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.metric-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.metric-change.up {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--up);
  font-weight: 600;
}

.metric-sub {
  font-size: 11px;
  color: var(--dim);
}

/* --------------------------------------------------------------------------
   HERO INTERACTIVE CONSOLE (SEVEN LIQUIDITY TERMINAL STYLE)
   -------------------------------------------------------------------------- */
.hero-console-wrapper {
  position: relative;
}

.console-box {
  background: var(--surface-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--surface-raised);
  border-bottom: 1px solid var(--line);
}

.console-controls {
  display: flex;
  gap: 6px;
}

.ctrl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ctrl-dot.red { background: #ef4444; }
.ctrl-dot.yellow { background: #f59e0b; }
.ctrl-dot.green { background: #10b981; }

.console-tabs-nav {
  display: flex;
  gap: 6px;
}

.c-tab {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  color: var(--muted);
  transition: all var(--transition-fast);
}

.c-tab:hover {
  color: var(--ink);
}

.c-tab.active {
  background: var(--surface);
  color: var(--accent);
  border: 1px solid var(--line);
}

.console-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--dim);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
}

.console-body {
  padding: 18px;
  min-height: 230px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
}

.c-pane {
  display: none;
}

.c-pane.active {
  display: block;
}

.console-log-line {
  margin-bottom: 6px;
  color: var(--ink-secondary);
}

.c-keyword {
  color: var(--accent);
  font-weight: 600;
}

.console-sub-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: 10px 12px;
  margin: 10px 0;
  font-size: 11px;
}

.progress-bar-line {
  display: flex;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 8px;
  background: var(--surface-raised);
}

.console-code-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: 12px;
  margin: 10px 0;
  font-size: 11px;
}

.c-type { color: #38bdf8; }
.c-struct { color: #f59e0b; }
.c-var { color: var(--ink); }

.console-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--surface-raised);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
}

.status-indicator-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

.address-link {
  color: var(--muted);
  text-decoration: underline;
}

.address-link:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   SECTION HEADINGS & LAYOUT
   -------------------------------------------------------------------------- */
.section {
  padding: clamp(64px, 8vw, 112px) 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head-left {
  max-width: 680px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.6;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   AGENT VAULTS GRID (PIRO VAULTS + SEVEN PRIVACY)
   -------------------------------------------------------------------------- */
.filter-pills {
  display: flex;
  gap: 8px;
  background: var(--surface-raised);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.f-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  color: var(--muted);
  transition: all var(--transition-fast);
}

.f-pill:hover {
  color: var(--ink);
}

.f-pill.active {
  background: var(--surface);
  color: var(--accent);
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.vaults-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
}

.vault-card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(20px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: all var(--transition-normal);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.vault-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow);
}

.vault-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.vault-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vault-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--line);
}

.momentum-avatar { background: rgba(34, 197, 94, 0.15); color: var(--accent); }
.neutral-avatar { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.beta-avatar { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.macro-avatar { background: rgba(16, 185, 129, 0.15); color: #10b981; }

.vault-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.vault-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  display: inline-block;
}

.momentum-badge { background: rgba(34, 197, 94, 0.1); color: var(--accent); }
.neutral-badge { background: rgba(56, 189, 248, 0.1); color: #38bdf8; }
.beta-badge { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.macro-badge { background: rgba(16, 185, 129, 0.1); color: #10b981; }

.vault-price-box {
  text-align: right;
  font-family: var(--font-mono);
}

.price-label {
  display: block;
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
}

.price-val {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.price-sub {
  font-size: 11px;
  color: var(--dim);
}

.trend-up {
  color: var(--up);
  font-weight: 600;
}

.sparkline-box {
  height: 60px;
  width: 100%;
}

.sparkline-svg {
  width: 100%;
  height: 100%;
}

.vault-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
}

.v-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.v-lbl {
  color: var(--muted);
  font-family: var(--font-mono);
}

.v-val {
  font-weight: 600;
  color: var(--ink-secondary);
  font-family: var(--font-mono);
}

.holdings-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.holdings-legend {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--dim);
}

.holdings-progress {
  display: flex;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--surface-raised);
}

.h-seg.nvda { background: #12a150; }
.h-seg.aapl { background: #38bdf8; }
.h-seg.pltr { background: #a855f7; }
.h-seg.cash { background: #64748b; }

.vault-card-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   FULL PROTOCOL CONSOLE (SEVEN LIQUIDITY CLI SHOWCASE)
   -------------------------------------------------------------------------- */
.full-console-card {
  background: var(--surface-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

.console-tab-bar {
  display: flex;
  flex-wrap: wrap;
  background: var(--surface-raised);
  border-bottom: 1px solid var(--line);
}

.console-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  border-right: 1px solid var(--line);
  transition: all var(--transition-fast);
}

.console-tab-btn:hover {
  color: var(--ink);
  background: var(--surface-hover);
}

.console-tab-btn.active {
  background: var(--surface);
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

.tab-idx {
  font-size: 10px;
  color: var(--dim);
}

.console-main-pane {
  padding: clamp(20px, 3vw, 32px);
  min-height: 380px;
}

.c-pane-content {
  display: none;
}

.c-pane-content.active {
  display: block;
}

/* Terminal View */
.terminal-view {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-secondary);
}

.term-line {
  margin-bottom: 4px;
}

.prompt {
  color: var(--accent);
  font-weight: 700;
}

.cmd {
  color: var(--ink);
  font-weight: 600;
}

.term-interactive-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.terminal-cli-input {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
}

.terminal-cli-input:focus {
  border-color: var(--accent);
}

/* Code Editor */
.code-editor-mock {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
}

.code-linenums {
  display: flex;
  flex-direction: column;
  color: var(--dim);
  user-select: none;
  text-align: right;
  border-right: 1px solid var(--line);
  padding-right: 12px;
}

.code-pre {
  overflow-x: auto;
  flex: 1;
}

.c-comment { color: var(--dim); }
.c-keyword { color: #ec4899; }
.c-type { color: #38bdf8; }
.c-struct { color: #f59e0b; }
.c-func { color: #a855f7; }
.c-str { color: #22c55e; }

/* ZK Note Tool */
.zk-tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.zk-tool-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.zk-tool-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 6px;
}

.form-select, .form-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink);
}

.form-select:focus, .form-input:focus {
  border-color: var(--accent);
}

.zk-result-box {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.zk-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.note-display-field {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  word-break: break-all;
  background: var(--surface-raised);
  padding: 12px;
  border-radius: var(--radius-xs);
  border: 1px dashed var(--line);
  color: var(--accent);
  margin-bottom: 14px;
}

.note-warning-callout {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: #f59e0b;
  line-height: 1.5;
}

.callout-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* In-Kind Estimator */
.estimator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.range-slider {
  width: 100%;
  accent-color: var(--accent);
  height: 6px;
  background: var(--surface-raised);
  border-radius: 3px;
  outline: none;
}

.slider-display {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
  color: var(--ink);
}

.estimator-output-basket {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.estimator-output-basket h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.basket-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line-soft);
}

.b-asset { color: var(--muted); }
.b-val { font-weight: 600; color: var(--accent); }

.basket-summary {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   7-LAYER PRIVACY & RISK ARCHITECTURE (SEVEN STEPPER)
   -------------------------------------------------------------------------- */
.arch-stepper-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.arch-nav-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.arch-step-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-align: left;
  transition: all var(--transition-fast);
}

.arch-step-btn:hover {
  border-color: var(--line-strong);
  background: var(--surface-hover);
  transform: translateX(4px);
}

.arch-step-btn.active {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-info {
  display: flex;
  flex-direction: column;
}

.step-info strong {
  font-size: 14px;
  color: var(--ink);
}

.step-info span {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
}

.arch-display-card {
  background: var(--surface-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 40px);
  backdrop-filter: blur(20px);
  box-shadow: var(--glass-shadow);
  position: sticky;
  top: 96px;
}

.display-card-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 12px;
}

.display-card-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}

.display-card-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 24px;
}

.display-interactive-vis {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vis-diagram {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.node-box {
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line);
  font-weight: 600;
}

.node-box.user { background: var(--surface-raised); color: var(--ink); }
.node-box.zk-shield { background: var(--accent-glow); color: var(--accent); border-color: var(--accent); }

.arrow-line {
  color: var(--muted);
}

.display-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.d-lbl {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--muted);
}

.d-val {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   REAL-TIME SHIELDED TRADE STREAM (PIRO LIVE STREAM)
   -------------------------------------------------------------------------- */
.stream-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--accent-glow);
  border: 1px solid var(--accent);
}

.pulse-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 1.5s infinite;
}

.stream-table-wrapper {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

.table-filters {
  display: flex;
  gap: 8px;
  padding: 12px 18px;
  background: var(--surface-raised);
  border-bottom: 1px solid var(--line);
}

.table-f-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  color: var(--muted);
}

.table-f-btn.active {
  background: var(--surface);
  color: var(--accent);
  border: 1px solid var(--line);
}

.table-responsive {
  overflow-x: auto;
}

.stream-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 12px;
}

.stream-table th {
  text-align: left;
  padding: 12px 18px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: var(--surface-raised);
}

.stream-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-secondary);
}

.stream-table tr:hover {
  background: var(--surface-hover);
}

.event-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
}

.event-trade { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.event-deposit { background: rgba(34, 197, 94, 0.15); color: var(--accent); }
.event-redeem { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }

/* --------------------------------------------------------------------------
   PORTFOLIO & YIELD SIMULATOR
   -------------------------------------------------------------------------- */
.simulator-card-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.sim-controls-card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3.5vw, 36px);
}

.sim-input-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sim-val-pill {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  min-width: 90px;
  text-align: center;
}

.sim-time-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.t-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 8px 0;
  text-align: center;
  border-radius: var(--radius-xs);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all var(--transition-fast);
}

.t-pill:hover {
  color: var(--ink);
}

.t-pill.active {
  background: var(--accent-glow);
  color: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
}

.sim-results-card {
  background: var(--surface-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3.5vw, 36px);
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sim-res-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.sim-res-val-big {
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.sim-res-sub {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--dim);
}

.sim-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.sim-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-secondary);
}

/* --------------------------------------------------------------------------
   INSTITUTIONAL SECURITY & VERIFICATION
   -------------------------------------------------------------------------- */
.security-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.sec-card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sec-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  color: var(--accent);
  transition: all var(--transition-fast);
}

.sec-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.sec-card:hover .sec-card-icon {
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
  transform: translateY(-2px);
}

.sec-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.sec-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.sec-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

.sec-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-secondary);
}

.sec-checklist .check-icon {
  color: var(--accent);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.sec-checklist span {
  color: var(--accent);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--surface-raised);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 80px) 0 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: 48px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--muted);
  max-width: 320px;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 6px;
}

.footer-col a {
  font-size: 13px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-social-row {
  margin-top: 18px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.footer-social-btn:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--accent-glow);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
}

.footer-bottom-x {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom-x:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   MODALS (FUND & REDEEM)
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 460px;
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-backdrop.open .modal-box {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-raised);
}

.modal-title-group h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 4px;
}

.modal-title-with-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-header-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.modal-close-btn {
  font-size: 24px;
  color: var(--muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  color: var(--ink);
}

.modal-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.token-input-box {
  display: flex;
  align-items: center;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: 8px 12px;
}

.modal-input {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.token-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  background: var(--surface);
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line);
}

.token-circle.eth {
  color: var(--accent);
}

.balance-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  margin-top: 6px;
}

.modal-summary-box, .in-kind-breakdown-card {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.in-kind-breakdown-card h4 {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-secondary);
}

.zk-note-preview-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.note-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--muted);
}

.note-txt-small {
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--surface-raised);
  border: 1px dashed var(--line);
  padding: 8px;
  border-radius: var(--radius-xs);
  color: var(--accent);
  word-break: break-all;
}

/* --------------------------------------------------------------------------
   TOAST NOTIFICATIONS
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 300;
  pointer-events: none;
}

.toast {
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  animation: toast-slide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes toast-slide {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* --------------------------------------------------------------------------
   ROBINHOOD CHAIN NETWORK SELECTOR & DROPDOWN
   -------------------------------------------------------------------------- */
.network-dropdown-wrap {
  position: relative;
}

.network-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--accent);
  color: var(--ink);
  transition: all var(--transition-fast);
}

.network-badge-btn:hover {
  background: var(--accent-glow);
  box-shadow: 0 0 12px var(--accent-glow);
}

.net-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s infinite;
}

.badge-tag-xs {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid var(--accent);
}

/* --------------------------------------------------------------------------
   ROBINHOOD CHAIN L2 DEDICATED SECTION
   -------------------------------------------------------------------------- */
.rh-chain-section {
  background:
    radial-gradient(circle at 15% 30%, var(--shader-1), transparent 50%),
    radial-gradient(circle at 85% 70%, var(--shader-2), transparent 50%),
    var(--bg-subtle);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rh-network-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}

.rh-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  margin-bottom: clamp(32px, 5vw, 48px);
}

.rh-feature-card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(20px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(16px);
  transition: all var(--transition-normal);
  position: relative;
}

.rh-feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--glass-shadow);
}

.rh-card-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-weight: 700;
}

.rh-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  color: var(--accent);
  transition: all var(--transition-fast);
}

.rh-feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.rh-feature-card:hover .rh-feature-icon {
  border-color: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
  transform: translateY(-2px);
}

.rh-feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.rh-feature-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.rh-feature-tag {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-secondary);
}

/* --------------------------------------------------------------------------
   ROBINHOOD CHAIN BRIDGE & FAUCET HUB
   -------------------------------------------------------------------------- */
.rh-bridge-hub-box {
  background: var(--surface-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

.rh-hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-raised);
  border-bottom: 1px solid var(--line);
  padding: 0 16px;
  flex-wrap: wrap;
}

.rh-hub-tabs {
  display: flex;
  flex-wrap: wrap;
}

.rh-tab-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 14px 20px;
  color: var(--muted);
  border-right: 1px solid var(--line);
  transition: all var(--transition-fast);
}

.rh-tab-btn:hover {
  color: var(--ink);
  background: var(--surface-hover);
}

.rh-tab-btn.active {
  background: var(--surface);
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

.rh-hub-body {
  padding: clamp(20px, 3vw, 36px);
  min-height: 320px;
}

.rh-tab-content {
  display: none;
}

.rh-tab-content.active {
  display: block;
}

/* Bridge Tab */
.bridge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.bridge-flow-form h4, .faucet-info h4, .rpc-action-box h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.bridge-direction-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
}

.bridge-box {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bridge-box.to-box {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.b-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--muted);
}

.b-net {
  font-size: 14px;
  color: var(--ink);
}

.b-bal {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--dim);
}

.bridge-swap-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--accent);
  transition: all var(--transition-fast);
}

.bridge-swap-arrow:hover {
  border-color: var(--accent);
  transform: rotate(180deg);
}

.bridge-status-preview {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.bridge-status-preview h5, .faucet-receipt-box h5 {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.bridge-tip-box {
  background: var(--surface-raised);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xs);
  padding: 10px 12px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--ink-secondary);
  line-height: 1.5;
  margin-top: 6px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.bridge-tip-box .tip-icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Faucet Tab */
.faucet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.faucet-drops-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.f-drop-item {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.faucet-receipt-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.faucet-log-item {
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-secondary);
}

/* RPC Config Tab */
.rpc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.rpc-details-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rpc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
}

.rpc-lbl {
  font-family: var(--font-mono);
  color: var(--muted);
}

.rpc-val {
  font-family: var(--font-mono);
  color: var(--ink);
}

.rpc-code {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--surface-raised);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  color: var(--accent);
}

.rpc-action-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   WEB3 WALLET MODAL & ACCOUNT STYLES
   -------------------------------------------------------------------------- */
.wallet-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0;
}

.wallet-provider-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  text-align: left;
  transition: all var(--transition-fast);
  cursor: pointer;
  width: 100%;
}

.wallet-provider-btn:hover {
  border-color: var(--accent);
  background: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.w-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.w-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.w-icon-wrap.metamask-icon {
  color: #f6851b;
}

.w-icon-wrap.coinbase-icon {
  color: #0052ff;
}

.w-icon-wrap.phantom-icon {
  color: #ab9ff2;
}

.w-icon-wrap.demo-icon {
  color: var(--accent);
}

.w-info-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.w-info-wrap strong {
  font-size: 13px;
  color: var(--ink);
}

.w-info-wrap span {
  font-size: 11px;
  color: var(--muted);
}

.smart-acc-btn {
  border-color: var(--line-strong);
  background: var(--accent-glow);
}

.modal-wallet-footer {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--dim);
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}

.account-card-box {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.acc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
}

.acc-lbl {
  color: var(--muted);
}

.acc-val {
  color: var(--ink);
  word-break: break-all;
}

.account-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}

/* --------------------------------------------------------------------------
   RESPONSIVENESS (MOBILE / TABLET / DESKTOP)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
  
  .arch-stepper-grid {
    grid-template-columns: 1fr;
  }

  .arch-display-card {
    position: static;
  }

  .simulator-card-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .bridge-grid, .faucet-grid, .rpc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1140px) {
  .site-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .zk-tool-grid {
    grid-template-columns: 1fr;
  }

  .estimator-grid {
    grid-template-columns: 1fr;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
  }

  .chain-status-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   DOCUMENTATION PAGE (DOCS.HTML) STYLES
   -------------------------------------------------------------------------- */
.docs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0 80px;
}

.docs-sidebar {
  position: sticky;
  top: 90px;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  backdrop-filter: blur(16px);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.docs-sidebar-header {
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.docs-sidebar-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.docs-nav-group {
  margin-bottom: 20px;
}

.docs-nav-group:last-child {
  margin-bottom: 0;
}

.docs-group-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
  padding-left: 8px;
}

.docs-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.docs-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  color: var(--ink-secondary);
  transition: all var(--transition-fast);
  border-left: 2px solid transparent;
}

.docs-nav-link:hover {
  background: var(--surface-hover);
  color: var(--accent);
  border-left-color: var(--accent);
}

.docs-nav-link.active {
  background: var(--accent-glow);
  color: var(--accent);
  border-left-color: var(--accent);
  font-weight: 600;
}

.docs-content {
  min-width: 0;
}

.docs-header-hero {
  padding: 30px;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 40px;
  backdrop-filter: blur(16px);
}

.docs-section {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 32px;
  backdrop-filter: blur(16px);
  scroll-margin-top: 100px;
}

.docs-section-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.docs-section-title .sec-num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--surface-raised);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line);
}

.docs-lead {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.docs-paragraph {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.docs-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.docs-card {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.docs-card h4 {
  font-size: 15px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.docs-callout {
  border-left: 3px solid var(--accent);
  background: var(--surface-raised);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  padding: 16px 20px;
  margin: 20px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.docs-callout.warning {
  border-left-color: #f59e0b;
}

.docs-callout-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.docs-callout.warning .docs-callout-icon {
  color: #f59e0b;
}

.docs-callout-content {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

.docs-callout-content strong {
  color: var(--ink);
}

.docs-table-wrap {
  margin: 20px 0;
  overflow-x: auto;
}

.docs-code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: 2px 6px;
  color: var(--accent);
}

@media (max-width: 1024px) {
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    position: static;
    max-height: none;
  }

  .docs-grid-2 {
    grid-template-columns: 1fr;
  }
}


