/* ==========================================================================
   VANGUARD PLATFORM - PREMIUM SPLIT SCREEN DESIGN SYSTEM
   Aesthetics: Deep Black (#0A0A0A), Muted Gray (#1A1A1A), Border (#2A2A2A)
   ========================================================================== */

/* Design Tokens & Variables */
:root {
  --bg-primary: #0A0A0A;
  --bg-secondary: #141414;
  --bg-tertiary: #1D1D1D;
  --border-color: #2A2A2A;
  
  --text-primary: #FFFFFF;
  --text-secondary: #E5E5E5;
  --text-muted: #A3A3A3;
  
  --accent-gold: #E2B857;
  --accent-emerald: #10B981;
  --accent-blue: #3B82F6;
  --accent-red: #EF4444;
  
  --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.08);
  --shadow-premium: 0 15px 50px rgba(0, 0, 0, 0.6);
  
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Settings */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Custom Scrollbar for Form Container */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #333333;
}

/* Header & Navigation */
.nav-bar {
  background-color: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: 70px;
}

.nav-container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  line-height: 1.1;
  transition: var(--transition-smooth);
}

.social-by-small {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  text-transform: lowercase;
  opacity: 0.8;
  margin-bottom: 2.5px;
}

.vanguard-large {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  color: var(--text-primary);
}

.brand-logo:hover .vanguard-large {
  color: var(--accent-gold);
  text-shadow: 0 0 10px rgba(226, 184, 87, 0.3);
}

.status-indicator {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  margin-right: 10px;
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse-glow 2s infinite;
}

.status-text {
  color: var(--text-secondary);
}

@keyframes pulse-glow {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Split Layout Container */
.split-layout-container {
  display: flex;
  min-height: 100vh;
  padding-top: 70px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* Left Pane (Introductory content) */
.info-pane {
  flex: 1.1;
  position: sticky;
  top: 70px;
  height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 80px 48px 60px 48px;
  overflow: hidden;
  border-right: 1px solid var(--border-color);
}

.glow-bg {
  position: absolute;
  top: 50%;
  left: 20%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(226, 184, 87, 0.02) 0%, rgba(16, 185, 129, 0.01) 60%, rgba(0,0,0,0) 100%);
  z-index: 1;
  pointer-events: none;
}

.info-content {
  z-index: 2;
  position: relative;
  max-width: 540px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.hero-subtitle-form {
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 500;
  color: var(--accent-gold);
  margin-top: -10px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-subhead {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.investor-pitch-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent-gold);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.pitch-card-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  margin-bottom: 12px;
  font-weight: 600;
}

.pitch-card-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);
  font-weight: 300;
}

.trust-banner {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

/* Right Pane (Form card) */
.form-pane {
  flex: 0.9;
  display: flex;
  flex-direction: column;
  padding: 40px 48px 60px 48px;
}

.form-pane-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.onboarding-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow-premium);
  position: relative;
}

.form-card-header {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
}

/* Form Section Blocks */
.form-section-block {
  margin-bottom: 36px;
}

.section-block-title {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.badge-confidential {
  font-size: 0.7rem;
  background-color: rgba(226, 184, 87, 0.08);
  border: 1px solid rgba(226, 184, 87, 0.2);
  color: var(--accent-gold);
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 500;
}

/* Inputs and Groups */
.input-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.input-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-input {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition-smooth);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:hover {
  background-color: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
}

.form-input:focus {
  border-color: var(--accent-gold);
  background-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 10px rgba(226, 184, 87, 0.1);
}

/* Custom Select Box styling */
.custom-select-wrapper {
  position: relative;
  user-select: none;
  width: 100%;
}

.custom-select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.custom-select-trigger:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.07);
}

.custom-select-wrapper.open .custom-select-trigger {
  border-color: var(--accent-gold);
  background-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 10px rgba(226, 184, 87, 0.15);
}

.custom-select-value {
  color: #4a4a4a; /* Placeholder style initially */
  transition: color 0.2s ease;
}

.custom-select-value.selected {
  color: var(--text-primary);
}

.custom-select-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: transform 0.3s ease, color 0.3s ease;
}

.custom-select-wrapper.open .custom-select-arrow {
  transform: rotate(180deg);
  color: var(--accent-gold);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background-color: #0e0e0e;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  z-index: 150;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: none;
  max-height: 240px;
  overflow-y: auto;
  padding: 6px 0;
}

.custom-option {
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.custom-option:hover {
  background-color: rgba(226, 184, 87, 0.08);
  color: var(--accent-gold);
  padding-left: 20px;
}

.custom-option.selected {
  background-color: rgba(226, 184, 87, 0.12);
  color: var(--accent-gold);
  font-weight: 500;
}

/* Invalid state for custom select */
.custom-select-trigger.invalid-field {
  border-color: #ef4444 !important;
  background-color: rgba(239, 68, 68, 0.03) !important;
}

.form-input.invalid-field {
  border-color: var(--accent-red);
  background-color: rgba(239, 68, 68, 0.02);
}

.select-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23A3A3A3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

.select-input option {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

/* Checkbox Layout */
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 4px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 28px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-secondary);
  user-select: none;
  min-height: 20px;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-custom {
  position: absolute;
  top: 0;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.checkbox-container:hover input ~ .checkbox-custom {
  border-color: rgba(255, 255, 255, 0.2);
}

.checkbox-container input:checked ~ .checkbox-custom {
  background-color: var(--text-primary);
  border-color: var(--text-primary);
}

.checkbox-custom::after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid var(--bg-primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkbox-custom::after {
  display: block;
}

/* Warnings and Notes */
.privacy-note {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.privacy-icon {
  font-size: 0.95rem;
}

.disclaimer-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 8px;
}

.error-msg {
  font-size: 0.78rem;
  color: var(--accent-red);
  margin-top: 6px;
  display: none;
}

.error-msg.visible {
  display: block;
}

/* Auto-save status indicator */
.sync-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background-color: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  margin-bottom: 24px;
  font-size: 0.8rem;
}

.sync-dot {
  width: 6px;
  height: 6px;
  background-color: var(--text-muted);
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.sync-text {
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

/* Sync indicator states */
.sync-indicator.syncing .sync-dot {
  background-color: var(--accent-blue);
  box-shadow: 0 0 6px var(--accent-blue);
  animation: pulse-sync 1s infinite alternate;
}
.sync-indicator.syncing .sync-text {
  color: var(--accent-blue);
}

.sync-indicator.saved .sync-dot {
  background-color: var(--accent-emerald);
  box-shadow: 0 0 6px var(--accent-emerald);
}
.sync-indicator.saved .sync-text {
  color: var(--accent-emerald);
}

.sync-indicator.error .sync-dot {
  background-color: var(--accent-red);
  box-shadow: 0 0 6px var(--accent-red);
}
.sync-indicator.error .sync-text {
  color: var(--accent-red);
}

@keyframes pulse-sync {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

.form-alert-banner {
  background-color: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--accent-red);
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 24px;
}

/* Submit Actions */
.form-actions {
  display: flex;
  margin-top: 10px;
}

.submit-btn {
  width: 100%;
  font-family: var(--font-sans);
  background-color: var(--text-primary);
  color: var(--bg-primary);
  border: 1px solid var(--text-primary);
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.submit-btn:hover {
  background-color: transparent;
  color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.submit-btn:disabled {
  background-color: var(--bg-tertiary);
  border-color: var(--border-color);
  color: var(--text-muted);
  cursor: not-allowed;
}

/* Success Card View */
.success-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 36px;
  animation: scale-up 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scale-up {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.success-header {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.success-icon-badge {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.success-check-svg {
  width: 100%;
  height: 100%;
}
.success-check-circle {
  stroke: var(--accent-emerald);
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-linecap: round;
  animation: stroke-circle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.success-check-path {
  stroke: var(--accent-emerald);
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-width: 3;
  stroke-linecap: round;
  animation: stroke-path 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke-circle {
  100% { stroke-dashoffset: 0; }
}
@keyframes stroke-path {
  100% { stroke-dashoffset: 0; }
}

.success-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.assigned-id-badge {
  display: flex;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  padding: 14px 24px;
  border-radius: 4px;
  min-width: 200px;
}

.assigned-id-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.assigned-id-value {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
}

.success-body {
  margin-bottom: 10px;
}

.success-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.info-alert-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(59, 130, 246, 0.01);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 4px;
  padding: 12px 18px;
  text-align: left;
}

.info-alert-box .alert-icon {
  font-size: 1.1rem;
  color: var(--accent-blue);
}

.info-alert-box .alert-text {
  font-size: 0.8rem;
  color: rgba(147, 197, 253, 0.9);
  line-height: 1.4;
}

/* Footer Section */
.vanguard-footer {
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  padding: 30px 40px;
  margin-top: auto;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1350px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-copyright {
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--text-secondary);
}

/* Responsive States */
@media (max-width: 960px) {
  .split-layout-container {
    flex-direction: column;
    min-height: auto;
  }
  
  .info-pane {
    position: relative;
    top: 0;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 30px 24px 10px 24px;
    align-items: center;
    text-align: center;
  }
  
  .info-pane .hero-headline {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }
  
  .info-pane .hero-subtitle-form {
    font-size: 1.1rem;
    margin-bottom: 12px;
    margin-top: 0;
  }
  
  .info-pane .hero-subhead {
    font-size: 0.92rem;
    margin-bottom: 10px;
    line-height: 1.5;
  }
  
  .info-content {
    max-width: 100%;
  }

  .investor-pitch-card {
    border-left: none;
    border-top: 3px solid var(--accent-gold);
    text-align: left;
  }

  .form-pane {
    padding: 5px 20px 40px 20px;
  }
  
  .form-pane-container {
    max-width: 100%;
  }
}

@media (max-width: 500px) {
  .onboarding-card {
    padding: 24px 18px;
  }
  .success-card {
    padding: 32px 18px;
  }
}

/* Protocol Security Section styles */
.protocol-security-section {
  margin-top: 32px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.protocol-title {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  margin-bottom: 20px;
  font-weight: 600;
}

.protocol-list {
  list-style: none;
}

.protocol-list li {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 14px;
  position: relative;
  padding-left: 18px;
}

.protocol-list li::before {
  content: "•";
  color: var(--accent-gold);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1rem;
}

.protocol-list li:last-child {
  margin-bottom: 0;
}

/* Success Card Bullets */
.success-bullets-list {
  list-style: none;
  text-align: left;
  margin-top: 10px;
}

.success-bullets-list li {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
  position: relative;
  padding-left: 20px;
}

.success-bullets-list li::before {
  content: "■";
  color: var(--accent-emerald);
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 0.75rem;
}

.success-bullets-list li:last-child {
  margin-bottom: 0;
}

.optional-text {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: none;
  font-weight: 400;
  margin-left: 4px;
}

/* Team Association & Referral Preview Styling */
.team-association-group {
  margin-top: 10px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.team-checkbox-text {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.team-referral-text-preview {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--accent-gold);
  font-style: italic;
  background-color: rgba(226, 184, 87, 0.02);
  border: 1px dashed rgba(226, 184, 87, 0.25);
  padding: 12px 16px;
  border-radius: 4px;
  line-height: 1.4;
  word-break: break-all;
}

.team-checkbox-container {
  display: flex;
  align-items: center;
}

.selection-chance-badge {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.selection-chance-badge.boosted {
  background-color: rgba(226, 184, 87, 0.05);
  border-color: rgba(226, 184, 87, 0.4);
  box-shadow: 0 0 10px rgba(226, 184, 87, 0.1);
}

.chance-value.boosted {
  color: var(--accent-gold) !important;
  text-shadow: 0 0 8px rgba(226, 184, 87, 0.2);
}

/* 3D Background elements and overlays */
canvas#galaxy {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: -2;
  pointer-events: none;
  background-color: #0A0A0A;
}

.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .main-content, .platform-showcase-section, .vanguard-footer {
  position: relative;
  z-index: 2;
}

/* Progress spine bar */
.spine {
  position: fixed; right: 28px; top: 50%; transform: translateY(-50%);
  z-index: 20; width: 2px; height: 280px;
  background: rgba(226, 184, 87, 0.12);
}

.spine-fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: linear-gradient(var(--accent-gold), var(--accent-emerald));
  box-shadow: 0 0 12px var(--accent-gold);
  transition: height .08s linear;
}

.spine-label {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%) rotate(0);
  font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: .15em; color: var(--text-secondary);
  writing-mode: vertical-rl;
  white-space: nowrap;
}

/* Hide spine on narrow screens to prevent text overlap */
@media (max-width: 768px) {
  .spine {
    display: none;
  }
}

/* Premium Typography setup variables */
:root {
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-mono: 'Space Mono', monospace;
}

/* Navbar blend difference overlay */
.nav-bar {
  mix-blend-mode: difference;
  background: transparent;
  border-bottom: none;
}

