/* ==========================================================================
   BMPS Landing Page - Core Style System (Vanilla CSS3)
   ========================================================================== */

/* Design Tokens & Custom Variables */
:root {
  --primary: #FF7A00;
  --accent: #FF9D2F;
  --black: #0F0F10;
  --bg: #F3F3F3;
  --white: #FFFFFF;
  --light-gray: #ECECEC;
  --border-color: #0F0F10;
  --border-width: 4px;
  --border-radius: 28px;
  
  /* Shadows */
  --shadow: 10px 10px 0px #0F0F10;
  --shadow-hover: 16px 16px 0px #0F0F10;
  --shadow-glow: 0 15px 35px rgba(255, 122, 0, 0.15);
  
  /* Glassmorphism settings */
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-border: 2px solid rgba(255, 255, 255, 0.4);
  --glass-blur: blur(16px);
  
  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transition timings */
  --transition-smooth: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease-out;
}

/* ==========================================================================
   Global Reset & Base Styles
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  font-family: var(--font-body);
  color: var(--black);
  overflow-x: hidden;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hide standard cursor for premium custom cursor on desktops */
@media (pointer: fine) {
  * {
    cursor: none !important;
  }
}

/* ==========================================================================
   Custom Cursor & Glow Effects
   ========================================================================== */
.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.15s ease, height 0.15s ease, background-color 0.15s ease;
}

.cursor-glow {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.1s cubic-bezier(0.175, 0.885, 0.32, 1.275), width 0.2s, height 0.2s, background-color 0.2s;
}

/* Hover Cursor states */
.cursor-hover .cursor-dot {
  width: 12px;
  height: 12px;
  background-color: #FFFFFF;
}

.cursor-hover .cursor-glow {
  width: 60px;
  height: 60px;
  border-color: var(--accent);
  background-color: rgba(255, 122, 0, 0.1);
}

/* Mouse background dynamic glowing radial gradient */
.bg-mouse-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.08) 0%, rgba(255, 157, 47, 0.02) 50%, rgba(0,0,0,0) 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

/* ==========================================================================
   Global Dashboard Container Layout
   ========================================================================== */
.dashboard-wrapper {
  width: 100%;
  max-width: 1500px;
  position: relative;
  background-color: #EBEBEB;
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 1;
}

/* ==========================================================================
   Navigation Bar Styles
   ========================================================================== */
.navbar-container {
  width: 100%;
  background-color: var(--black);
  border-bottom: var(--border-width) solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition-smooth);
}

.navbar-container.sticky {
  padding: 5px 0px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.navbar-container.sticky .navbar {
  padding: 16px 24px;
}

/* Logo structure */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--primary);
  text-transform: uppercase;
}

/* Menu links */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: #9A9A9A;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Launch App Button */
.btn-launch {
  background-color: var(--primary);
  color: var(--black);
  border: 3px solid var(--border-color);
  padding: 12px 24px;
  border-radius: 40px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 4px 4px 0px var(--border-color);
  transition: var(--transition-fast);
}

.btn-launch:hover {
  background-color: var(--accent);
  box-shadow: 2px 2px 0px var(--border-color);
  transform: translate(2px, 2px);
}

.btn-icon {
  width: 22px;
  height: 22px;
  background-color: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.btn-launch:hover .btn-icon {
  transform: rotate(45deg);
  background-color: var(--white);
  color: var(--black);
}

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

/* ==========================================================================
   Main Grid Layout System
   ========================================================================== */
.main-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 24px;
  padding: 24px;
}

/* Common Card Base Style */
.grid-card {
  background: var(--glass-bg);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  backdrop-filter: var(--glass-blur);
  will-change: transform, box-shadow;
}

.grid-card:hover {
  box-shadow: var(--shadow-hover);
}

/* ==========================================================================
   Hero Left + Center Vault Card styling
   ========================================================================== */
.hero-vault-card {
  display: flex;
  padding: 48px;
  background: radial-gradient(circle at 80% 20%, rgba(255, 122, 0, 0.04) 0%, rgba(255,255,255,0.45) 60%);
}

.hero-info {
  width: 53%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* RWA Badge */
.badge-rwa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--white);
  border: 2px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--black);
  width: fit-content;
  box-shadow: 3px 3px 0px var(--border-color);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
}

.animate-pulse {
  animation: pulse-dot 1.5s infinite alternate;
}

@keyframes pulse-dot {
  0% { transform: scale(0.85); opacity: 0.5; }
  100% { transform: scale(1.2); opacity: 1; }
}

/* Hero Titles & Desc */
.hero-title {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--black);
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #4C4C4D;
  margin-bottom: 32px;
  max-width: 90%;
}

/* Hero Button Options */
.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
}

.btn-primary {
  background-color: var(--black);
  color: var(--white);
  border: 3px solid var(--border-color);
  padding: 16px 28px;
  border-radius: 40px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 4px 4px 0px var(--primary);
  transition: var(--transition-fast);
}

.btn-primary:hover {
  background-color: #202022;
  box-shadow: 2px 2px 0px var(--primary);
  transform: translate(2px, 2px);
}

.btn-primary:hover .btn-icon {
  transform: rotate(45deg);
  background-color: var(--primary);
  color: var(--black);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--black);
  border: 3px solid var(--border-color);
  padding: 16px 28px;
  border-radius: 40px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 4px 4px 0px var(--border-color);
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  background-color: var(--light-gray);
  box-shadow: 2px 2px 0px var(--border-color);
  transform: translate(2px, 2px);
}

.btn-secondary .btn-icon {
  background-color: var(--border-color);
  color: var(--white);
}

.btn-secondary:hover .btn-icon {
  background-color: var(--black);
}

/* Chain Footer */
.hero-chain-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #7A7A7A;
}

.chain-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--black);
  font-weight: 700;
}

.chain-logo svg {
  width: 18px;
  height: 18px;
  fill: var(--black);
}

/* ==========================================================================
   Center Vault Visual Container Layout
   ========================================================================== */
.vault-container {
  width: 47%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 480px;
}

/* Dynamic Connection Lines */
.connection-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.glowing-path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.5;
  stroke-opacity: 0.15;
}

.glowing-dot {
  filter: drop-shadow(0 0 4px var(--accent));
}

/* 3D Vault Frame Casing */
.vault-perspective {
  perspective: 1000px;
  width: 200px;
  height: 200px;
  position: relative;
  z-index: 2;
}

.vault-box {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  transform: rotateX(-10deg) rotateY(15deg);
  transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vault-face {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 4px solid var(--border-color);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 35px rgba(255, 122, 0, 0.12), 0 0 10px rgba(0, 0, 0, 0.05);
}

/* Box panel definitions */
.vault-face.front { transform: translateZ(100px); }
.vault-face.back { transform: rotateY(180deg) translateZ(100px); }
.vault-face.left { transform: rotateY(-90deg) translateZ(100px); }
.vault-face.right { transform: rotateY(90deg) translateZ(100px); }
.vault-face.top { transform: rotateX(90deg) translateZ(100px); height: 200px; }
.vault-face.bottom { transform: rotateX(-90deg) translateZ(100px); height: 200px; }

.vault-outer-rim {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 2px dashed rgba(255, 122, 0, 0.4);
  border-radius: 12px;
}

.vault-brand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  width: 80%;
}

.vault-brand-logo {
  width: 32px;
  height: 32px;
  fill: var(--primary);
  margin-bottom: 8px;
}

.vault-brand-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}

.vault-brand-sub {
  font-size: 7px;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}

/* Vault Glowing Core */
.vault-core-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  transform: translate3d(-50%, -50%, 0);
  transform-style: preserve-3d;
  pointer-events: none;
}

.vault-core-glow {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, rgba(255, 122, 0, 0.4) 40%, rgba(255,122,0,0) 70%);
  filter: blur(10px);
  animation: pulse-core 2.5s infinite ease-in-out;
}

@keyframes pulse-core {
  0% { transform: scale(0.85); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.95; }
  100% { transform: scale(0.85); opacity: 0.5; }
}

.vault-core-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
}

.vault-core-ring.ring-1 {
  transform: rotateX(45deg) rotateY(45deg);
  animation: spin-core-1 5s linear infinite;
}

.vault-core-ring.ring-2 {
  transform: rotateX(60deg) rotateY(-45deg);
  animation: spin-core-2 7s linear infinite;
}

.vault-core-ring.ring-3 {
  transform: rotateX(-15deg) rotateY(80deg);
  animation: spin-core-3 9s linear infinite;
}

@keyframes spin-core-1 {
  from { transform: rotateX(45deg) rotateY(45deg) rotateZ(0deg); }
  to { transform: rotateX(45deg) rotateY(45deg) rotateZ(360deg); }
}

@keyframes spin-core-2 {
  from { transform: rotateX(60deg) rotateY(-45deg) rotateZ(360deg); }
  to { transform: rotateX(60deg) rotateY(-45deg) rotateZ(0deg); }
}

@keyframes spin-core-3 {
  from { transform: rotateX(-15deg) rotateY(80deg) rotateZ(0deg); }
  to { transform: rotateX(-15deg) rotateY(80deg) rotateZ(360deg); }
}

/* Floating badges surrounding the vault */
.floating-badge {
  position: absolute;
  background-color: var(--white);
  border: 3.5px solid var(--border-color);
  border-radius: 16px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-shadow: 5px 5px 0px var(--border-color);
  z-index: 10;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-badge:hover {
  transform: scale(1.08) translate(-2px, -2px) !important;
  box-shadow: 7px 7px 0px var(--border-color);
}

.badge-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon svg {
  width: 100%;
  height: 100%;
}

.badge-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  color: var(--black);
}

/* Positions around 600x600 viewBox standard */
.badge-treasury { top: 60px; left: 130px; }
.badge-deposits { top: 225px; left: 40px; }
.badge-realestate { top: 380px; left: 110px; }
.badge-bonds { top: 60px; right: 130px; }
.badge-loans { top: 225px; right: 40px; }
.badge-investments { top: 380px; right: 110px; }

/* Floating animation script delay */
.float-anim {
  animation: floating-badge-anim 4.5s ease-in-out infinite alternate;
  animation-delay: var(--delay);
}

@keyframes floating-badge-anim {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

/* ==========================================================================
   Tokenize Banking Assets (Form Card)
   ========================================================================== */
.tokenize-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tokenize-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.tokenize-header h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.8px;
}

.tokenize-status-dot {
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  border-radius: 50%;
}

.tokenize-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--black);
}

.form-group input, .form-group select {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  border: 3px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  outline: none;
  transition: var(--transition-fast);
}

.form-group input::placeholder {
  color: #A3A3A3;
}

.form-group input:focus, .form-group select:focus {
  background-color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.15);
}

/* Custom select drop-down arrow */
.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper select {
  appearance: none;
  cursor: pointer;
  padding-right: 40px;
}

.select-arrow {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--black);
  pointer-events: none;
  transition: var(--transition-fast);
}

.select-wrapper select:focus + .select-arrow {
  transform: translateY(-50%) rotate(180deg);
  color: var(--primary);
}

.select-arrow svg {
  width: 100%;
  height: 100%;
}

/* Submit Form Button */
.btn-submit {
  width: 100%;
  background-color: var(--primary);
  color: var(--black);
  border: 3px solid var(--border-color);
  padding: 16px;
  border-radius: 40px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 4px 4px 0px var(--border-color);
  margin-top: 10px;
  transition: var(--transition-fast);
}

.btn-submit:hover {
  background-color: var(--accent);
  box-shadow: 2px 2px 0px var(--border-color);
  transform: translate(2px, 2px);
}

.btn-submit .btn-icon {
  background-color: var(--black);
  color: var(--white);
}

.btn-submit:hover .btn-icon {
  transform: rotate(45deg);
  background-color: var(--white);
  color: var(--black);
}

/* ==========================================================================
   Bottom Cards Layout (3 cards row)
   ========================================================================== */
.bottom-card {
  grid-column: span 1;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
}

/* Universal top-right link indicator */
.card-arrow-link {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  background-color: var(--white);
  border: 3px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  box-shadow: 3px 3px 0px var(--border-color);
  z-index: 10;
  transition: var(--transition-fast);
}

.card-arrow-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-smooth);
}

.grid-card:hover .card-arrow-link {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 1px 1px 0px var(--border-color);
  transform: translate(2px, 2px) rotate(45deg);
}

/* Details at bottom corners */
.decor-bar {
  width: 40px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
  position: absolute;
  bottom: 24px;
  left: 36px;
}

.decor-bar.dark {
  background-color: var(--black);
}

/* Stat Text contents */
.bottom-card-info {
  margin-bottom: 20px;
  max-width: 80%;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--black);
  margin-bottom: 12px;
}

.stat-number.dark {
  color: var(--black);
}

.stat-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-title.dark {
  color: var(--black);
  opacity: 0.9;
}

.stat-desc {
  font-size: 14px;
  line-height: 1.5;
  color: #4C4C4D;
}

.stat-desc.dark {
  color: rgba(15, 15, 16, 0.75);
}

/* --------------------------------------------------------------------------
   Card 1 Specifics: Shield
   -------------------------------------------------------------------------- */
.shield-visual-container {
  align-self: flex-end;
  position: relative;
  width: 140px;
  height: 140px;
  margin-right: -10px;
  perspective: 600px;
}

.shield-wrapper {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(-15deg) rotateX(10deg);
  animation: shield-float 6s ease-in-out infinite alternate;
}

@keyframes shield-float {
  0% { transform: rotateY(-15deg) rotateX(10deg) translateY(0); }
  100% { transform: rotateY(-5deg) rotateX(15deg) translateY(-8px); }
}

.shield-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.checkmark-path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: draw-checkmark 1.5s ease-out forwards;
  animation-delay: 0.8s;
}

@keyframes draw-checkmark {
  to { stroke-dashoffset: 0; }
}

.shield-pedestal {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 8px;
  border-radius: 50%;
  background: rgba(15, 15, 16, 0.08);
  filter: blur(2px);
}

/* --------------------------------------------------------------------------
   Card 2 Specifics: Chart & Orange Color
   -------------------------------------------------------------------------- */
.bottom-card.value-card.orange-card {
  background: var(--primary);
  border-color: var(--border-color);
  box-shadow: var(--shadow);
}

.bottom-card.value-card.orange-card .card-arrow-link {
  background-color: var(--white);
  color: var(--black);
}

.bottom-card.value-card.orange-card:hover .card-arrow-link {
  background-color: var(--black);
  color: var(--white);
}

.chart-container {
  position: relative;
  width: 100%;
  max-width: 260px;
  height: 150px;
  align-self: flex-end;
  perspective: 1000px;
}

.chart-line-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.graph-line {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw-graph 2s ease-out forwards;
  animation-delay: 0.5s;
  filter: drop-shadow(0 2px 5px rgba(255,255,255,0.5));
}

@keyframes draw-graph {
  to { stroke-dashoffset: 0; }
}

.graph-dot {
  opacity: 0;
  animation: fade-in-dot 0.3s forwards;
}

.graph-dot:nth-child(2) { animation-delay: 0.7s; }
.graph-dot:nth-child(3) { animation-delay: 1.1s; }
.graph-dot:nth-child(4) { animation-delay: 1.5s; }
.graph-dot:nth-child(5) { animation-delay: 1.9s; }

@keyframes fade-in-dot {
  to { opacity: 1; transform: scale(1.2); }
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  padding: 0 10px;
  transform: rotateX(25deg) rotateY(-15deg);
  transform-style: preserve-3d;
}

.chart-bar-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
}

.chart-bar-3d {
  position: relative;
  width: 24px;
  height: var(--height);
  transform-style: preserve-3d;
  animation: bar-rise 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform-origin: bottom center;
  transform: scaleY(0);
}

@keyframes bar-rise {
  to { transform: scaleY(1); }
}

.bar-face {
  position: absolute;
  border: 2px solid var(--black);
}

.bar-face.front {
  width: 24px;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  transform: translateZ(8px);
}

.bar-face.back {
  width: 24px;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transform: rotateY(180deg) translateZ(8px);
}

.bar-face.left {
  width: 16px;
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
  transform: rotateY(-90deg) translateZ(12px);
}

.bar-face.right {
  width: 16px;
  height: 100%;
  background: rgba(255, 255, 255, 0.35);
  transform: rotateY(90deg) translateZ(12px);
}

.bar-face.top {
  width: 24px;
  height: 16px;
  background: var(--white);
  top: 0;
  transform: rotateX(90deg) translateY(-8px);
  transform-origin: top center;
}

/* --------------------------------------------------------------------------
   Card 3 Specifics: Institutional Split Building Card
   -------------------------------------------------------------------------- */
.bottom-card.institutional-card {
  padding: 0;
  display: block;
}

.split-layout {
  display: flex;
  width: 100%;
  height: 100%;
}

.split-image-container {
  width: 45%;
  height: 380px;
  position: relative;
  overflow: hidden;
  border-right: var(--border-width) solid var(--border-color);
}

.split-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-image-container:hover .split-image {
  transform: scale(1.15);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0) 60%, rgba(255,255,255,0.05) 100%);
  pointer-events: none;
}

.split-info {
  width: 55%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 380px;
}

.split-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.split-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #4C4C4D;
  margin-bottom: 24px;
}

.btn-learn {
  background-color: var(--white);
  color: var(--black);
  border: 3px solid var(--border-color);
  padding: 12px 24px;
  border-radius: 40px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 4px 4px 0px var(--border-color);
  width: fit-content;
  transition: var(--transition-fast);
}

.btn-learn:hover {
  background-color: var(--light-gray);
  box-shadow: 2px 2px 0px var(--border-color);
  transform: translate(2px, 2px);
}

.btn-learn .btn-icon {
  background-color: var(--primary);
  color: var(--white);
}

.btn-learn:hover .btn-icon {
  transform: rotate(45deg);
  background-color: var(--black);
  color: var(--white);
}

/* ==========================================================================
   Black Footer Layout
   ========================================================================== */
.footer-container {
  background-color: var(--black);
  border-top: var(--border-width) solid var(--border-color);
  padding: 48px;
}

.footer-top {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

/* Footer Brand Logo */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-icon {
  width: 32px;
  height: 32px;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.footer-brand-subtitle {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--primary);
  text-transform: uppercase;
}

/* Tagline & Copyright */
.footer-tagline {
  font-size: 13px;
  font-weight: 500;
  color: #9A9A9A;
  max-width: 320px;
}

.footer-copyright {
  font-size: 12px;
  color: #707072;
}

/* Social icons layout */
.footer-socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  background-color: #202022;
  color: var(--white);
  border: 2px solid #323235;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-fast);
}

.social-btn:hover {
  background-color: var(--primary);
  color: var(--black);
  border-color: var(--border-color);
  transform: translateY(-4px);
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Responsive Breakpoints & Grid Layout Adjustments
   ========================================================================== */

/* Laptop / Desktop Shrinking (max-width: 1200px) */
@media (max-width: 1200px) {
  .hero-vault-card {
    flex-direction: column;
    gap: 40px;
    padding: 32px;
  }
  .hero-info, .vault-container {
    width: 100%;
  }
  .vault-container {
    min-height: 400px;
  }
}

/* Tablet Layout (max-width: 992px) */
@media (max-width: 992px) {
  body {
    padding: 10px;
  }
  
  .main-grid {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 16px;
  }

  .bottom-card {
    grid-column: span 1;
    min-height: 340px;
  }

  /* Split layout vertical stacks */
  .bottom-card.institutional-card {
    height: auto;
  }
  .split-layout {
    flex-direction: column;
  }
  .split-image-container {
    width: 100%;
    height: 240px;
    border-right: none;
    border-bottom: var(--border-width) solid var(--border-color);
  }
  .split-info {
    width: 100%;
    height: auto;
    padding: 32px;
    gap: 20px;
  }

  .nav-menu {
    display: none; /* Can expand to simple hamburger in real app */
  }

  .hero-title {
    font-size: 40px;
  }
}

/* Mobile Layout (max-width: 768px) */
@media (max-width: 768px) {
  body {
    padding: 0px;
  }
  
  .dashboard-wrapper {
    border-radius: 0px;
    border-width: 0px;
  }

  .navbar {
    padding: 16px;
  }
  
  .hero-title {
    font-size: 32px;
  }

  .stat-number {
    font-size: 60px;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  /* Custom cursor disabled for mobile */
  .cursor-dot, .cursor-glow {
    display: none;
  }
}
