/* ========== TOKENS — Chrome / Silver ========== */
:root {
  --chrome: #71717a;
  --chrome-light: #a1a1aa;
  --chrome-dark: #52525b;
  --chrome-shine: #d4d4d8;
  --chrome-dim: rgba(113, 113, 122, 0.07);
  --chrome-glow: rgba(113, 113, 122, 0.10);
  --silver: linear-gradient(135deg, #e4e4e7 0%, #fafafa 40%, #d4d4d8 100%);
  --silver-text: linear-gradient(135deg, #3f3f46 0%, #71717a 100%);
  --bg-base: #fafafa;
  --bg-raised: #ffffff;
  --bg-card: #ffffff;
  --bg-elevated: #f4f4f5;
  --text: #18181b;
  --text-muted: #52525b;
  --text-faint: #a1a1aa;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.14);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.5);
  --accent-cyan: #00d4ff;
}

/* ========== RESET ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', system-ui, sans-serif;
  background: var(--bg-base);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== ACCESSIBILITY ========== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 20px;
  background: var(--chrome);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--chrome);
  outline-offset: 2px;
}

/* ========== LAYOUT ========== */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ========== NAVIGATION ========== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.nav-logo {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  flex-shrink: 0;
}

.nav-wordmark {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.04);
}

.nav-cta {
  margin-left: 8px;
  padding: 7px 16px !important;
  background: var(--text) !important;
  color: #fff !important;
  font-weight: 500 !important;
  border-radius: 980px !important;
  font-size: 13px !important;
  transition: opacity 0.15s !important;
}
.nav-cta:hover {
  opacity: 0.8 !important;
  background: var(--text) !important;
  transform: none;
}

.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 20px;
  padding: 6px 10px;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 900px) {
  .hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 28px 20px;
    gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 14px; width: 100%; }
  .nav-cta { margin-left: 0 !important; text-align: center; margin-top: 8px; }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: min(70vh, 640px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 36px 0 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(161, 161, 170, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 75% 70%, rgba(113, 113, 122, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .hero { padding: 24px 0 0; min-height: auto; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 8px;
  border-radius: 980px;
  border: 1px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(8px);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--chrome);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 480px;
  margin-bottom: 20px;
  font-weight: 400;
}

@media (max-width: 900px) {
  .hero-sub { margin: 0 auto 20px; }
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .hero-actions { justify-content: center; }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 980px;
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--text);
  color: #fff;
}
.btn-primary:hover {
  opacity: 0.85;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-hover);
  color: var(--text);
}
.btn-outline:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: var(--chrome-light);
}

.btn-ghost {
  background: none;
  border: none;
  color: var(--text-muted);
  font-weight: 500;
  padding: 9px 6px;
}
.btn-ghost:hover { color: var(--text); }
.btn-ghost svg { transition: transform 0.15s; }
.btn-ghost:hover svg { transform: translateX(3px); }

/* ========== HERO VISUAL ========== */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .hero-visual { display: none; }
}

.mesh-map {
  width: 100%;
  max-width: 560px;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
}

/* ========== STATS BAR ========== */
.stats-bar {
  position: relative;
  z-index: 1;
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats-grid > div {
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.stats-grid > div:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--border);
}

.stat-value {
  font-family: 'SF Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 600;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 12px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .stats-grid > div:nth-child(2)::after { display: none; }
}

/* ========== TRUST BAR ========== */
.trust-bar {
  padding: 18px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.trust-bar p {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.trust-bar .trust-highlights {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.trust-highlights span {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 450;
}
.trust-highlights span::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--chrome-light);
  flex-shrink: 0;
}

/* ========== SECTIONS ========== */
.section {
  padding: clamp(48px, 8vw, 80px) 0;
}
.section-alt {
  background: var(--bg-raised);
}

.section-header {
  margin-bottom: 24px;
}
.section-header.center { text-align: center; }

.section-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--chrome);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 10px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.55;
}
.section-header.center .section-desc {
  margin: 0 auto;
}

/* ========== FEATURES ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: var(--chrome-dark);
}

.feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}

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

/* ========== HOW IT WORKS ========== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 16.7%;
  right: 16.7%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--chrome-light);
  color: var(--chrome-dark);
  font-family: 'SF Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.step h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.steps-link {
  text-align: center;
  margin-top: 20px;
}
.steps-link a {
  color: var(--chrome-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.15s;
}
.steps-link a:hover { color: var(--text); }

@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before {
    top: 0; bottom: 0; left: 24px; right: auto;
    width: 1px; height: auto;
  }
  .step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    text-align: left;
    padding: 0;
  }
  .step-num { margin-bottom: 0; }
  .step-text { padding-top: 4px; }
}

/* ========== NETWORK STATUS ========== */
.net-status-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.net-status-header .section-title {
  margin-bottom: 0;
}
.net-status-header .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
  animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.net-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.toggle-dashboard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 980px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.toggle-dashboard:hover {
  border-color: var(--border-hover);
  color: var(--text);
}
.toggle-dashboard .chevron {
  transition: transform 0.25s;
  font-size: 11px;
}
.toggle-dashboard.active .chevron {
  transform: rotate(180deg);
}

/* ========== OPERATOR DASHBOARD ========== */
.dashboard-expand {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, margin 0.4s ease;
  margin-top: 0;
}
.dashboard-expand.open {
  max-height: 3000px;
  opacity: 1;
  margin-top: 18px;
}

.dashboard h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}
.dashboard-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.filters label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.filters input,
.filters select {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.15s;
}
.filters input:focus,
.filters select:focus {
  border-color: var(--chrome-light);
  box-shadow: 0 0 0 3px rgba(113, 113, 122, 0.08);
}

.table-wrap {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow-x: auto;
  background: var(--bg-card);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th, td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  white-space: nowrap;
}
th {
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--bg-elevated);
  font-weight: 600;
}

.mono {
  font-family: 'SF Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
}
.status-pill {
  display: inline-block;
  border-radius: 980px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.status-online {
  color: #15803d;
  background: rgba(34, 197, 94, 0.1);
}
.status-offline {
  color: #b45309;
  background: rgba(217, 119, 6, 0.08);
}

.table-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-muted);
  font-size: 12px;
  margin: 12px 2px 0;
  flex-wrap: wrap;
}
.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pagination button {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 12px;
  font-family: inherit;
  transition: border-color 0.15s;
}
.pagination button:hover:not(:disabled) { border-color: var(--border-hover); }
.pagination button:disabled { opacity: 0.35; cursor: not-allowed; }
.pagination select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  font-family: inherit;
}

/* ========== SECURITY ========== */
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 768px) {
  .security-grid { grid-template-columns: 1fr; gap: 24px; }
}

.security-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.security-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.security-list .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.security-list .check svg {
  width: 12px;
  height: 12px;
  color: var(--chrome-dark);
}

.security-link {
  margin-top: 16px;
}
.security-link a {
  color: var(--chrome-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.security-link a:hover { color: var(--text); }

.crypto-stack {
  background: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
}
.crypto-stack-header {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 7px;
}
.crypto-stack-header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.crypto-stack-header span:nth-child(1) { background: #ff5f57; }
.crypto-stack-header span:nth-child(2) { background: #febc2e; }
.crypto-stack-header span:nth-child(3) { background: #28c840; }
.crypto-stack-title {
  margin-left: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'SF Mono', ui-monospace, SFMono-Regular, monospace;
}

.crypto-stack-body {
  padding: 14px 16px;
  font-family: 'SF Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  line-height: 1.8;
}
.crypto-stack-body .layer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.crypto-stack-body .layer-label {
  color: rgba(255, 255, 255, 0.35);
  min-width: 90px;
  text-align: right;
  font-size: 11px;
  text-transform: uppercase;
}
.crypto-stack-body .layer-value {
  color: var(--chrome-shine);
}
.crypto-stack-body .layer-desc {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
}

/* ========== DEVELOPER SECTION ========== */
.dev-section {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.dev-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.code-block {
  background: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-align: left;
  margin: 18px 0 16px;
  overflow: hidden;
}
.code-block-header {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 7px;
}
.code-block-header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.code-block-header span:nth-child(1) { background: #ff5f57; }
.code-block-header span:nth-child(2) { background: #febc2e; }
.code-block-header span:nth-child(3) { background: #28c840; }

.code-block pre {
  padding: 14px 16px;
  font-family: 'SF Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  line-height: 1.7;
  overflow-x: auto;
  color: rgba(255, 255, 255, 0.7);
}
.code-block pre .kw { color: #bf7af0; }
.code-block pre .str { color: #a8e6a3; }
.code-block pre .fn { color: #7eb6ff; }
.code-block pre .comment { color: rgba(255, 255, 255, 0.35); }

/* ========== CTA BANNER ========== */
.cta-banner {
  position: relative;
  padding: 40px 0;
  text-align: center;
  overflow: hidden;
  background: var(--bg-raised);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-banner h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  position: relative;
}
.cta-banner p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
  position: relative;
}
.cta-banner .btn { position: relative; }
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== FOOTER ========== */
.site-footer {
  padding: 32px 0 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 24px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-brand .brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .footer-logo {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}
.footer-brand .brand-name {
  font-weight: 600;
  font-size: 15px;
}
.footer-brand .brand-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
  font-weight: 400;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copyright {
  font-size: 12px;
  color: var(--text-faint);
}
.footer-portals {
  display: flex;
  gap: 18px;
  align-items: center;
}
.footer-portals a {
  font-size: 12px;
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.15s;
  font-weight: 400;
}
.footer-portals a:hover { color: var(--text-muted); }

/* ========== SKELETON LOADING ========== */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--bg-base, #fafafa) 25%, #f0f0f0 50%, var(--bg-base, #fafafa) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 6px;
}


/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .dashboard-expand { transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
