/* ============================================================
   Barteos Global Enterprise Design System
   Palette: Black (#0B0E0D), Green (#00D06C / #02CA02), Gold (#F59E0B / #D4AF37)
   Typography: Geometric Display Sans, Inter Body, Martian Mono
   ============================================================ */

:root {
  --bg-base: #0B0E0D;
  --bg-surface: #121715;
  --bg-surface-elevated: #18201C;
  --bg-subtle: #1F2823;
  --bg-card: rgba(18, 23, 21, 0.85);

  --border: rgba(0, 208, 108, 0.16);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(245, 158, 11, 0.28);
  --border-focus: #00D06C;

  --barteos-green: #00D06C;
  --green-bright: #02CA02;
  --green-glow: rgba(0, 208, 108, 0.22);
  --green-subtle: rgba(0, 208, 108, 0.08);

  --trade-gold: #F59E0B;
  --gold-metallic: #D4AF37;
  --gold-glow: rgba(245, 158, 11, 0.22);
  --gold-subtle: rgba(245, 158, 11, 0.1);

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-green: #34D399;
  --text-gold: #FCD34D;

  --display: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gut: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --grid-line: rgba(0, 208, 108, 0.14);
  --grid-gold: rgba(245, 158, 11, 0.14);
  --glass-bg: rgba(18, 23, 21, 0.72);
  --glass-heavy: rgba(11, 14, 13, 0.9);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: dark;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--body);
  font-size: clamp(15.5px, 1.05vw, 17.5px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
}

/* ---------- Futuristic Global 3D Cyber Backdrop ---------- */
.cyber-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.cyber-radial {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(0, 208, 108, 0.11) 0%, transparent 45%),
    radial-gradient(circle at 82% 24%, rgba(245, 158, 11, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(0, 208, 108, 0.07) 0%, transparent 55%);
}
.cyber-grid-floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -40px;
  height: 460px;
  opacity: 0.3;
  transform: perspective(640px) rotateX(68deg);
  transform-origin: bottom center;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.85) 75%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.85) 75%);
  animation: cyber-grid-drift 18s linear infinite;
}
@keyframes cyber-grid-drift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 0 54px, 0 54px; }
}

main, .site-footer {
  position: relative;
  z-index: 1;
}

/* ---------- Interactive 3D Tilt & Specular Spotlight System ---------- */
[data-tilt-3d] {
  position: relative;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(0, var(--ty, 0px), 0);
  transition: transform 0.35s var(--ease), border-color 0.3s ease, box-shadow 0.35s ease;
  will-change: transform;
}
[data-tilt-3d].is-tilting {
  transition: transform 0.08s linear, border-color 0.25s ease, box-shadow 0.25s ease;
}
[data-tilt-3d]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 208, 108, 0.15), transparent 55%);
  transition: opacity 0.3s ease;
  z-index: 1;
}
[data-tilt-3d][data-tilt-tone="gold"]::after {
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(245, 158, 11, 0.16), transparent 55%);
}
[data-tilt-3d]:hover::after {
  opacity: 1;
}
[data-tilt-3d] > * {
  position: relative;
  z-index: 2;
}
.depth-lift {
  transform: translateZ(24px);
  transition: transform 0.35s var(--ease);
}
[data-tilt-3d]:hover .depth-lift {
  transform: translateZ(38px);
}

/* ---------- Cybernetic HUD Corner Reticles & Beam ---------- */
.hud-reticle {
  position: absolute;
  width: 11px;
  height: 11px;
  pointer-events: none;
  z-index: 3;
}
.hud-tl { top: 8px; left: 8px; border-top: 2px solid var(--barteos-green); border-left: 2px solid var(--barteos-green); border-top-left-radius: 3px; }
.hud-tr { top: 8px; right: 8px; border-top: 2px solid var(--trade-gold); border-right: 2px solid var(--trade-gold); border-top-right-radius: 3px; }
.hud-bl { bottom: 8px; left: 8px; border-bottom: 2px solid var(--barteos-green); border-left: 2px solid var(--barteos-green); border-bottom-left-radius: 3px; }
.hud-br { bottom: 8px; right: 8px; border-bottom: 2px solid var(--trade-gold); border-right: 2px solid var(--trade-gold); border-bottom-right-radius: 3px; }

.holo-top-beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--barteos-green), transparent);
  opacity: 0.75;
  pointer-events: none;
}
.holo-top-beam-gold {
  background: linear-gradient(90deg, transparent, var(--trade-gold), transparent);
}

img, svg, video, canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

/* ---------- Typography & Utility Roles ---------- */
.d1, .d2, .d3, .d4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}
.d1 { font-size: clamp(2.4rem, 5.2vw, 4.8rem); }
.d2 { font-size: clamp(1.9rem, 3.8vw, 3.4rem); }
.d3 { font-size: clamp(1.4rem, 2.4vw, 2.2rem); }
.d4 { font-size: clamp(1.15rem, 1.6vw, 1.45rem); font-weight: 700; line-height: 1.25; }

.mono {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--barteos-green);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 10px var(--green-bright);
}
.eyebrow-gold {
  color: var(--trade-gold);
}
.eyebrow-gold::before {
  background: var(--trade-gold);
  box-shadow: 0 0 10px var(--trade-gold);
}

.text-gradient-green {
  background: linear-gradient(135deg, #FFFFFF 20%, #00D06C 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-gold {
  background: linear-gradient(135deg, #FFFFFF 20%, #F59E0B 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gut);
  padding-right: var(--gut);
}

.section {
  padding-top: clamp(60px, 8vw, 120px);
  padding-bottom: clamp(60px, 8vw, 120px);
  position: relative;
}

.section-darker {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* ---------- Header & Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 14, 13, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0, 208, 108, 0.22);
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.55), 0 1px 24px rgba(0, 208, 108, 0.08);
  transition: all 0.3s var(--ease);
}
.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 8px;
  height: 8px;
  pointer-events: none;
}
.site-header::before {
  left: 12px;
  border-top: 2px solid rgba(0, 208, 108, 0.65);
  border-left: 2px solid rgba(0, 208, 108, 0.65);
}
.site-header::after {
  right: 12px;
  border-top: 2px solid rgba(245, 158, 11, 0.65);
  border-right: 2px solid rgba(245, 158, 11, 0.65);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: 76px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.brand-logo-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-logo-wrap::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 208, 108, 0.45);
  animation: holo-spin 16s linear infinite;
  pointer-events: none;
}
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--barteos-green);
  box-shadow: 0 0 18px var(--green-glow);
  object-fit: contain;
}
.brand-title {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}
.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}
.brand-sub {
  font-family: var(--mono);
  font-size: 0.56rem;
  font-weight: 700;
  color: var(--trade-gold);
  letter-spacing: 0.1em;
}

.header-telemetry {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.34rem 0.68rem;
  border-radius: 9999px;
  background: rgba(18, 23, 21, 0.9);
  border: 1px solid rgba(0, 208, 108, 0.22);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  white-space: nowrap;
}
.header-telemetry .sep {
  color: rgba(255, 255, 255, 0.18);
}

.header-quick-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.header-quick-link {
  padding: 0.38rem 0.62rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.header-quick-link:hover,
.header-quick-link.is-active {
  color: var(--barteos-green);
  background: rgba(0, 208, 108, 0.09);
}
.header-right {
  flex-shrink: 0;
  gap: 0.75rem;
}
.header-ctas {
  gap: 0.55rem;
}
.header-ctas .btn {
  padding: 0.55rem 0.95rem;
  font-size: 0.84rem;
}
@media (max-width: 1340px) {
  .header-telemetry { display: none; }
}
@media (max-width: 1120px) {
  .header-quick-nav { display: none; }
}

/* ---------- Header Right & Prominent Hamburger Menu ---------- */
.header-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(18, 23, 21, 0.9);
  border: 1.5px solid rgba(0, 208, 108, 0.5);
  border-radius: 12px;
  color: #fff;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  box-shadow: 0 0 16px rgba(0, 208, 108, 0.18);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  user-select: none;
}

.menu-toggle:hover {
  border-color: var(--barteos-green);
  color: var(--barteos-green);
  box-shadow: 0 0 24px rgba(0, 208, 108, 0.38);
  transform: translateY(-1px);
}

.menu-toggle:active,
.menu-toggle.active {
  background: rgba(26, 34, 30, 0.95);
  border-color: var(--trade-gold);
  color: var(--trade-gold);
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.35);
}

.menu-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle.active .icon-hamburger {
  display: none;
}

.menu-toggle.active .icon-close {
  display: block;
}

/* Nav Dropdown Overlay & Drawer */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(11, 14, 13, 0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 2px solid rgba(0, 208, 108, 0.3);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.92), 0 0 40px rgba(0, 208, 108, 0.1);
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 999;
}

.nav-dropdown.is-open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.nav-dropdown-inner {
  padding: 2.2rem 1.5rem 2.5rem;
}

.nav-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-dropdown-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-dropdown-close:hover {
  border-color: var(--barteos-green);
  color: #fff;
  background: rgba(0, 208, 108, 0.1);
}

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.nav-dropdown-cat {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--trade-gold);
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.nav-dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-dropdown-link {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-dropdown-link:hover {
  background: rgba(0, 208, 108, 0.08);
  border-color: rgba(0, 208, 108, 0.3);
  transform: translateX(4px);
}

.nav-link-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.nav-dropdown-link:hover .nav-link-title {
  color: var(--barteos-green);
}

.nav-link-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
  line-height: 1.4;
}

.nav-dropdown-footer {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-dropdown-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Federated Model Section Styles */
.fed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 2.5rem;
}

.fed-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.fed-card:hover {
  border-color: var(--barteos-green);
  box-shadow: 0 12px 30px rgba(0, 208, 108, 0.12);
  transform: translateY(-4px);
}

.fed-card-gold {
  border-color: var(--border-gold);
}

.fed-card-gold:hover {
  border-color: var(--trade-gold);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.14);
}

.fed-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  background: rgba(0, 208, 108, 0.12);
  color: var(--barteos-green);
  border: 1px solid rgba(0, 208, 108, 0.25);
  margin-bottom: 1.25rem;
}

.fed-badge-gold {
  background: rgba(245, 158, 11, 0.12);
  color: var(--trade-gold);
  border-color: rgba(245, 158, 11, 0.25);
}

.fed-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 0.9rem;
  line-height: 1.3;
}

.fed-card-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.fed-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.fed-token-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.fed-pill {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.fed-pill.active {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.35);
  color: var(--trade-gold);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.72rem 1.45rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.22s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--barteos-green);
  color: #0B0E0D;
  border-color: var(--barteos-green);
  box-shadow: 0 4px 20px rgba(0, 208, 108, 0.35);
}
.btn-primary:hover {
  background: #02CA02;
  box-shadow: 0 6px 26px rgba(0, 208, 108, 0.5);
  transform: translateY(-1px);
}
.btn-gold {
  background: var(--trade-gold);
  color: #0B0E0D;
  border-color: var(--trade-gold);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}
.btn-gold:hover {
  background: #D4AF37;
  box-shadow: 0 6px 26px rgba(245, 158, 11, 0.45);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: var(--border-subtle);
}
.btn-outline:hover {
  border-color: var(--barteos-green);
  color: var(--barteos-green);
  background: var(--green-subtle);
}
.btn-outline-gold {
  background: transparent;
  color: var(--trade-gold);
  border-color: var(--border-gold);
}
.btn-outline-gold:hover {
  border-color: var(--trade-gold);
  background: var(--gold-subtle);
}
.btn-lg {
  padding: 0.92rem 1.85rem;
  font-size: 1.02rem;
  border-radius: 10px;
}

/* ---------- Hero Section & 3D DLT Command Viewport ---------- */
.hero-section {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-top: clamp(24px, 3vw, 44px);
  padding-bottom: clamp(48px, 6vw, 84px);
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.92;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-left {
  min-width: 0;
}

/* Right 3D Holographic Graphene Globe Console */
.hero-holo-console {
  position: relative;
  background: linear-gradient(160deg, rgba(18, 23, 21, 0.9), rgba(7, 9, 8, 0.94));
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(0, 208, 108, 0.38);
  border-radius: 24px;
  padding: 1.4rem 1.5rem;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.78),
    0 0 60px rgba(0, 208, 108, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  transform-style: preserve-3d;
}
.hero-holo-console::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(0, 208, 108, 0.13), transparent 62%);
  pointer-events: none;
}

.holo-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.holo-node-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--barteos-green);
  letter-spacing: 0.08em;
}
.holo-cluster-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
}

.holo-globe-stage {
  position: relative;
  width: 100%;
  height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
}

.holo-globe-canvas {
  width: 280px;
  height: 280px;
  max-width: 100%;
  cursor: grab;
  position: relative;
  z-index: 3;
  touch-action: none;
}
.holo-globe-canvas:active {
  cursor: grabbing;
}

.holo-orbit-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.holo-orbit-1 {
  width: 286px;
  height: 286px;
  border: 1px dashed rgba(0, 208, 108, 0.28);
  animation: holo-spin 26s linear infinite;
}
.holo-orbit-2 {
  width: 236px;
  height: 236px;
  border: 1px solid rgba(245, 158, 11, 0.34);
  border-top-color: transparent;
  border-left-color: transparent;
  animation: holo-spin-rev 14s linear infinite;
}
.holo-orbit-3 {
  width: 318px;
  height: 318px;
  border: 1px solid rgba(0, 208, 108, 0.14);
  transform: rotateX(72deg) rotateY(14deg);
  animation: holo-tilt-orbit 9s ease-in-out infinite alternate;
}

@keyframes holo-spin {
  to { transform: rotate(360deg); }
}
@keyframes holo-spin-rev {
  to { transform: rotate(-360deg); }
}
@keyframes holo-tilt-orbit {
  0% { transform: rotateX(72deg) rotateY(-12deg) rotateZ(0deg); }
  100% { transform: rotateX(68deg) rotateY(16deg) rotateZ(360deg); }
}

.holo-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.34rem 0.65rem;
  border-radius: 8px;
  background: rgba(18, 23, 21, 0.92);
  border: 1px solid rgba(0, 208, 108, 0.4);
  color: var(--text-primary);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
  transition: all 0.22s var(--ease);
}
.holo-chip:hover,
.holo-chip.is-active {
  transform: translateY(-2px) scale(1.05);
  border-color: var(--barteos-green);
  box-shadow: 0 0 18px rgba(0, 208, 108, 0.35);
}
.holo-chip.is-gold {
  border-color: rgba(245, 158, 11, 0.45);
}
.holo-chip.is-gold:hover,
.holo-chip.is-gold.is-active {
  border-color: var(--trade-gold);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.38);
}
.holo-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--barteos-green);
  box-shadow: 0 0 8px var(--barteos-green);
}
.holo-chip.is-gold .holo-chip-dot {
  background: var(--trade-gold);
  box-shadow: 0 0 8px var(--trade-gold);
}
.holo-chip-1 { top: 8px; left: 8px; animation: holo-float 5.2s ease-in-out infinite; }
.holo-chip-2 { top: 20px; right: 6px; animation: holo-float 6s ease-in-out infinite 0.7s; }
.holo-chip-3 { bottom: 22px; left: 4px; animation: holo-float 5.6s ease-in-out infinite 1.2s; }
.holo-chip-4 { bottom: 10px; right: 10px; animation: holo-float 4.9s ease-in-out infinite 0.4s; }

@keyframes holo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.holo-drag-hint {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.holo-telemetry-readout {
  background: rgba(7, 9, 8, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-green);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.holo-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.holo-metric-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.holo-metric-val {
  display: block;
  font-family: var(--mono);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--barteos-green);
}
.holo-metric-val.is-gold {
  color: var(--trade-gold);
}

.ticker-strip {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  background: rgba(18, 23, 21, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 208, 108, 0.3);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  box-shadow: 0 0 22px rgba(0, 208, 108, 0.14);
}
.ticker-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 10px var(--green-bright);
  animation: pulse-ring 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(2, 202, 2, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(2, 202, 2, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(2, 202, 2, 0); }
}

.hero-title {
  margin-bottom: 1.25rem;
}
.hero-desc {
  font-size: clamp(1.04rem, 1.3vw, 1.22rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 1.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Hero Stats Matrix */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border-subtle);
}
.stat-card {
  position: relative;
  background: rgba(18, 23, 21, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.15rem 1.05rem;
  overflow: hidden;
  transition: all 0.25s var(--ease);
}
.stat-card:hover {
  border-color: rgba(0, 208, 108, 0.55);
  box-shadow: 0 14px 32px rgba(0, 208, 108, 0.14);
  background: rgba(24, 32, 28, 0.9);
}
.stat-card.is-gold:hover {
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 14px 32px rgba(245, 158, 11, 0.14);
}
.stat-value {
  font-family: var(--mono);
  font-size: clamp(1.5rem, 2.1vw, 2.15rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}
.stat-green { color: var(--barteos-green); }
.stat-gold { color: var(--trade-gold); }
.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* ---------- Comparison Grid: Points vs Trade Cash ---------- */
.comp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
.comp-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 44px);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
.comp-card-bad {
  border-color: rgba(239, 68, 68, 0.2);
}
.comp-card-good {
  border-color: var(--border);
  box-shadow: 0 10px 40px rgba(0, 208, 108, 0.08);
}
.comp-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}
.comp-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.comp-icon-bad { background: rgba(239, 68, 68, 0.15); color: #EF4444; }
.comp-icon-good { background: var(--green-subtle); color: var(--barteos-green); }

.comp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.comp-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
}
.comp-bullet-bad { color: #EF4444; font-weight: bold; }
.comp-bullet-good { color: var(--barteos-green); font-weight: bold; }

/* ---------- 4 Ecosystem Pillars ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pillar-card:hover {
  border-color: var(--border);
  box-shadow: 0 12px 36px var(--green-glow);
  transform: translateY(-3px);
}
.pillar-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.pillar-badge {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background: var(--green-subtle);
  color: var(--barteos-green);
  border: 1px solid var(--border);
}
.pillar-badge-gold {
  background: var(--gold-subtle);
  color: var(--trade-gold);
  border-color: var(--border-gold);
}
.pillar-img-wrap {
  position: relative;
  margin: 1.6rem 0 1.1rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, rgba(0, 208, 108, 0.14), #070908 74%);
  border: 1px solid rgba(0, 208, 108, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.65rem;
  min-height: 220px;
  perspective: 800px;
  transform-style: preserve-3d;
}
.pillar-card.is-gold-pod .pillar-img-wrap {
  background: radial-gradient(circle at 50% 42%, rgba(245, 158, 11, 0.15), #070908 74%);
  border-color: rgba(245, 158, 11, 0.24);
}
.holo-stage-grid {
  position: absolute;
  inset: auto -15% -18px -15%;
  height: 92px;
  transform: perspective(360px) rotateX(68deg);
  background-image:
    linear-gradient(to right, rgba(0, 208, 108, 0.22) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 208, 108, 0.22) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.55;
  pointer-events: none;
}
.pillar-card.is-gold-pod .holo-stage-grid {
  background-image:
    linear-gradient(to right, rgba(245, 158, 11, 0.24) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 158, 11, 0.24) 1px, transparent 1px);
}
.holo-radar-ring {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 208, 108, 0.32);
  animation: holo-spin 20s linear infinite;
  pointer-events: none;
}
.pillar-card.is-gold-pod .holo-radar-ring {
  border-color: rgba(245, 158, 11, 0.34);
}
.pillar-img {
  position: relative;
  z-index: 2;
  max-height: 195px;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.72));
  transform: translateZ(22px);
  transition: transform 0.45s var(--ease), filter 0.35s ease;
}
.pillar-card:hover .pillar-img {
  transform: translateZ(42px) scale(1.06) translateY(-4px);
  filter: drop-shadow(0 20px 34px rgba(0, 208, 108, 0.24));
}
.pillar-card.is-gold-pod:hover .pillar-img {
  filter: drop-shadow(0 20px 34px rgba(245, 158, 11, 0.26));
}
.pillar-footer {
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ---------- Interactive Calculator ---------- */
.calc-container {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 56px);
  margin-top: 3rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.calc-field label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.96rem;
}
.calc-value-display {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--trade-gold);
}
.range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-subtle);
  outline: none;
  -webkit-appearance: none;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--barteos-green);
  cursor: pointer;
  border: 3px solid #0B0E0D;
  box-shadow: 0 0 12px var(--green-bright);
  transition: transform 0.15s;
}
.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-results-card {
  background: var(--bg-base);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}
.calc-results-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--barteos-green), var(--trade-gold));
}
.roi-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}
.roi-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.roi-num {
  font-family: var(--mono);
  font-size: 1.45rem;
  font-weight: 800;
}

.roi-progress-wrap {
  padding-top: 0.35rem;
}
.roi-progress-track {
  width: 100%;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.roi-progress-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--barteos-green), var(--trade-gold));
  box-shadow: 0 0 14px rgba(0, 208, 108, 0.45);
  transition: width 0.35s var(--ease);
}

/* ---------- Community Ambassador Network ---------- */
.ambassador-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.ambassador-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.42);
  position: relative;
  background: #070908;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 40px rgba(245, 158, 11, 0.14);
}
.radar-hud-top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  background: rgba(7, 9, 8, 0.84);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
}
.radar-reticle-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}
.radar-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px dashed rgba(245, 158, 11, 0.52);
  box-shadow: 0 0 36px rgba(245, 158, 11, 0.18), inset 0 0 26px rgba(0, 208, 108, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: holo-spin 22s linear infinite;
}
.radar-circle-inner {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 1px solid rgba(0, 208, 108, 0.6);
  animation: holo-spin-rev 12s linear infinite;
}
.radar-coord-chip {
  position: absolute;
  top: 66px;
  right: 18px;
  z-index: 3;
  padding: 0.32rem 0.65rem;
  border-radius: 6px;
  background: rgba(11, 14, 13, 0.88);
  border: 1px solid rgba(0, 208, 108, 0.35);
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--text-green);
}
.ambassador-badge-float {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 3;
  background: rgba(11, 14, 13, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius);
  padding: 0.95rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* ---------- Form Hub & Tabs ---------- */
.form-hub-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
  margin-top: 2.5rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}
.hub-tabs {
  display: flex;
  gap: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.2rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.hub-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.65rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s var(--ease);
}
.hub-tab-btn:hover {
  color: #fff;
  background: var(--bg-subtle);
}
.hub-tab-btn.active {
  color: #0B0E0D;
  background: var(--barteos-green);
  border-color: var(--barteos-green);
  box-shadow: 0 4px 16px var(--green-glow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.form-group-full {
  grid-column: span 2;
}
.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--text-primary);
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  transition: all 0.2s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--barteos-green);
  box-shadow: 0 0 0 3px var(--green-subtle);
}
.form-helper {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}
.hp-field {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}

/* ---------- Barteos Creed & Mission ---------- */
.creed-box {
  background: radial-gradient(circle at top right, rgba(0, 208, 108, 0.08), transparent 60%), var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 56px);
  margin-top: 3rem;
  position: relative;
}
.creed-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.creed-point {
  background: rgba(11, 14, 13, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.creed-num {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--trade-gold);
  margin-bottom: 0.6rem;
}

/* ---------- AI Concierge Drawer & Launcher ---------- */
.concierge-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: var(--bg-surface);
  border: 1.5px solid var(--barteos-green);
  border-radius: 9999px;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0, 208, 108, 0.35);
  transition: all 0.25s var(--ease);
}
.concierge-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 208, 108, 0.5);
  background: var(--bg-surface-elevated);
}
.concierge-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--barteos-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0B0E0D;
  font-weight: 800;
  font-size: 0.75rem;
}
.concierge-label {
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
}
.concierge-badge {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--trade-gold);
  background: var(--gold-subtle);
  padding: 2px 6px;
  border-radius: 4px;
}

.concierge-drawer {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: min(420px, calc(100vw - 32px));
  height: min(600px, calc(100vh - 120px));
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s var(--ease);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
}
.concierge-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border-subtle);
}
.drawer-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
}
.drawer-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  font-size: 1.2rem;
  line-height: 1;
}
.drawer-close:hover {
  color: #fff;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.chat-msg {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
}
.chat-bot {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  align-self: flex-start;
  color: var(--text-primary);
}
.chat-user {
  background: var(--barteos-green);
  color: #0B0E0D;
  font-weight: 500;
  align-self: flex-end;
}
.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.prompt-btn {
  background: rgba(0, 208, 108, 0.08);
  border: 1px solid var(--border);
  color: var(--text-green);
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.15s;
}
.prompt-btn:hover {
  background: rgba(0, 208, 108, 0.2);
}

.drawer-footer {
  padding: 0.85rem 1rem;
  background: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 0.5rem;
}
.drawer-input {
  flex: 1;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: #fff;
  font-size: 0.88rem;
  padding: 0.55rem 0.85rem;
  outline: none;
}
.drawer-input:focus {
  border-color: var(--barteos-green);
}
.drawer-send {
  background: var(--barteos-green);
  color: #0B0E0D;
  border: none;
  border-radius: 8px;
  padding: 0 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #070908;
  border-top: 1px solid var(--border-subtle);
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: 32px;
  color: var(--text-secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.footer-col-title {
  font-family: var(--display);
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: var(--barteos-green);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-holo-console { max-width: 540px; margin: 0 auto; width: 100%; }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .comp-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .ambassador-wrap { grid-template-columns: 1fr; }
  .creed-points { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fed-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-dropdown-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .nav-dropdown-actions { flex-direction: column; }
  .nav-dropdown-actions .btn { width: 100%; justify-content: center; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group-full { grid-column: span 1; }
  .hero-stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .header-ctas .header-cta-wallet { display: none; }
  .menu-toggle .menu-label { display: none; }
  .menu-toggle { padding: 8px 12px; }
  .holo-globe-stage { height: 270px; }
  .creed-hero { padding: 84px 0 36px; }
  .creed-meta-bar { gap: 0.5rem; }
  .d1 { font-size: clamp(1.9rem, 7.5vw, 2.75rem); }
  .d2 { font-size: clamp(1.55rem, 6vw, 2.2rem); }
  .d3 { font-size: clamp(1.2rem, 4.8vw, 1.5rem); }
  .btn-lg { width: 100%; justify-content: center; }
}

/* Grid & Card Mobile Overflow Safeguards */
.fed-card, .creed-box, .comp-card, .pillar-card {
  min-width: 0;
  overflow-wrap: break-word;
}

@media (prefers-reduced-motion: reduce) {
  .cyber-grid-floor,
  .holo-orbit-1,
  .holo-orbit-2,
  .holo-orbit-3,
  .holo-chip,
  .holo-radar-ring,
  .radar-circle,
  .radar-circle-inner,
  .brand-logo-wrap::after {
    animation: none !important;
  }
  [data-tilt-3d] {
    transform: none !important;
  }
}

/* ---------- Barteos Creed Document Page Styles ---------- */
.creed-hero {
  padding: clamp(86px, 11vw, 124px) 0 48px;
  background: radial-gradient(circle at 50% 12%, rgba(245, 158, 11, 0.14), transparent 58%),
              radial-gradient(circle at 82% 32%, rgba(0, 208, 108, 0.1), transparent 52%),
              rgba(11, 14, 13, 0.72);
  border-bottom: 1px solid rgba(0, 208, 108, 0.2);
  position: relative;
  overflow: hidden;
}
.creed-hero-orbital {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 680px;
  height: 680px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.22;
}
.creed-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.creed-breadcrumb a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.creed-breadcrumb a:hover {
  color: var(--barteos-green);
}
.creed-doc-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
}
.creed-nav-strip {
  position: sticky;
  top: 72px;
  z-index: 40;
  background: rgba(11, 14, 13, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 0.6rem 1rem;
  margin: -1.5rem auto 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.creed-nav-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  white-space: nowrap;
}
.creed-nav-pill {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}
.creed-nav-pill:hover,
.creed-nav-pill.active {
  color: #fff;
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
}
.creed-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
}
.creed-meta-tag {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--trade-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.creed-meta-tag.green {
  background: rgba(0, 208, 108, 0.12);
  color: var(--barteos-green);
  border-color: rgba(0, 208, 108, 0.3);
}
.creed-preamble-box {
  background: radial-gradient(circle at top right, rgba(0, 208, 108, 0.06), transparent 60%),
              var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  margin-bottom: 3.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.creed-preamble-box p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.4rem;
}
.creed-preamble-box p:last-child {
  margin-bottom: 0;
}
.creed-section-divider {
  margin: 4rem 0 2.5rem;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(11, 14, 13, 0.8));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.creed-section-divider h3 {
  color: var(--trade-gold);
  font-size: 1.25rem;
  font-family: var(--heading);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}
.creed-section-divider p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}
.creed-article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.creed-card {
  position: relative;
  background: rgba(18, 23, 21, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  transition: all 0.28s var(--ease);
  overflow: hidden;
}
.creed-card:hover {
  border-color: rgba(245, 158, 11, 0.48);
  background: rgba(24, 32, 28, 0.92);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(245, 158, 11, 0.1);
}
.creed-card-header {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}
.creed-card-num {
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--trade-gold);
  background: rgba(245, 158, 11, 0.1);
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  white-space: nowrap;
}
.creed-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.creed-card-body {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.75;
}
.creed-card-body p {
  margin: 0 0 0.75rem;
}
.creed-card-body p:last-child {
  margin: 0;
}
.creed-sublist {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.creed-sublist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
}
.creed-sublist-num {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--trade-gold);
  font-size: 0.85rem;
  flex-shrink: 0;
  padding-top: 0.1rem;
}
.creed-version-box {
  margin-top: 4rem;
  padding: 2.25rem;
  text-align: center;
  background: rgba(11, 14, 13, 0.7);
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius);
}
@media print {
  .site-header, .site-footer, .creed-nav-strip, .btn, #conciergeDrawer, #conciergeToggleBtn {
    display: none !important;
  }
  body, .creed-hero, .creed-doc-container, .creed-preamble-box, .creed-card {
    background: #fff !important;
    color: #111 !important;
    border-color: #ccc !important;
    box-shadow: none !important;
  }
  .creed-card-title, h1, h2, h3, h4 {
    color: #000 !important;
  }
  .creed-card-num, .creed-meta-tag {
    color: #7a5800 !important;
    border-color: #999 !important;
    background: #f4f4f4 !important;
  }
}
