@property --item-opacity {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

:root {
  /* Core Theme Variables */
  --c-bg: #070709;
  --c-highlight: #e51c51;
  --c-accent2: #ff4d79;
  --c-accent3: #ffffff;
  
  --nav-text: #e2e8f0;
  --nav-text-muted: #94a3b8;
  
  /* Typography */
  --nav-font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-brand: "League Spartan", sans-serif; 
  
  --font-size-base: 1rem;
  --nav-height: 5rem;
  --nav-height-mobile: 4rem;
  --container-max-width: 75rem;
  
  /* Dropdown Glass Hue */
  --glass-hue1: 350; 
  --glass-hue2: 340; 
  --ease: cubic-bezier(0.5, 1, 0.89, 1);
}

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

body {
  font-family: var(--nav-font);
  background: var(--c-bg);
  color: var(--nav-text);
  min-height: 100vh;
  cursor: none; 
  /* THIS IS THE FIX: Only hide horizontal overflow, allow vertical scrolling! */
  overflow-x: hidden; 
  overflow-y: auto; 
  display: flex;
  flex-direction: column;
}

/* =========================================
   CUSTOM CURSOR & BACKGROUND
   ========================================= */
#cursor-dot {
  width: 8px; height: 8px; background: var(--c-highlight); border-radius: 50%; position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); transition: transform 0.1s, width 0.2s, height 0.2s, background 0.2s;
}
#cursor-ring {
  width: 36px; height: 36px; border: 1.5px solid rgba(229, 28, 81, 0.5); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none;
  z-index: 9998; transform: translate(-50%, -50%); transition: transform 0.12s cubic-bezier(0.23, 1, 0.32, 1), width 0.3s, height 0.3s, border-color 0.3s;
}

body:has(button:hover) #cursor-dot, body:has(a:hover) #cursor-dot, body:has(.option:hover) #cursor-dot, body:has(input:hover) #cursor-dot, body:has(.select-trigger:hover) #cursor-dot { width: 16px; height: 16px; background: var(--c-accent3); }
body:has(button:hover) #cursor-ring, body:has(a:hover) #cursor-ring, body:has(.option:hover) #cursor-ring, body:has(input:hover) #cursor-ring, body:has(.select-trigger:hover) #cursor-ring { width: 64px; height: 64px; border-color: var(--c-accent3); }

#spotlight-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 0; width: 100%; height: 100%; }

body::before {
  content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(229, 28, 81, 0.05), transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 77, 121, 0.05), transparent 50%),
              radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.02), transparent 50%);
  animation: backgroundShift 15s ease infinite; z-index: -1;
}
@keyframes backgroundShift { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.1) rotate(5deg); } }

/* =========================================
   1. BRAND TEXT & LAYOUT FIX
   ========================================= */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  /* Kills the browser default underline and borders */
  text-decoration: none !important; 
  border: none !important;
  outline: none !important;
  color: var(--nav-text) !important;
  font-family: var(--font-brand) !important; 
  font-weight: 900 !important;
  font-size: 1.5rem;
  letter-spacing: 2px;
  transition: all 0.2s ease;
}

.brand-link:hover {
  color: var(--c-highlight) !important;
}

.nav-container { 
  max-width: var(--container-max-width); 
  margin: 0 auto; 
  padding: 0 1.5rem; 
  height: var(--nav-height); 
  display: flex; 
  align-items: center; 
  justify-content: space-between; /* Brand Left, Menu Right */
}

/* =========================================
   2. NAV LIST & ITEM ANCHORING
   ========================================= */
.nav-menu { display: flex; align-items: center; }
.nav-list { 
  display: flex; 
  list-style: none !important; 
  gap: 2.5rem; /* <-- INCREASE THIS to handle the spacing */
  align-items: center; 
  margin: 0; 
  padding: 0;
}

.nav-item { 
  position: relative; /* THIS KEEPS DROPDOWN ATTACHED TO THE WORD */
}

/* =========================================
   3. UNIFIED LINK & BUTTON STYLING
   ========================================= */
.nav-link, 
.nav-dropdown-toggle {
  all: unset;
  position: relative;
  display: flex; 
  align-items: center;
  gap: 0.5rem;
  /* FIX: No horizontal padding, use margin instead */
  padding: 0.6rem 0; 
  margin: 0 1.2rem; 
  cursor: none; 
  color: var(--nav-text-muted); 
  font-family: var(--nav-font);
  font-size: var(--font-size-base);
  font-weight: 500; 
  transition: all 0.3s ease;
}

/* --- SOFT HOVER GLOW --- */
.nav-link::before,
.nav-dropdown-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(229, 28, 81, 0.2) 0%, rgba(229, 28, 81, 0) 75%);
  filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

/* --- ANIMATED HIGHLIGHT BAR --- */
.nav-link::after,
.nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  /* FIX: Start at 0 width, grow to 100% of the word */
  width: 0;
  height: 2px;
  background: var(--c-highlight);
  box-shadow: 0 0 12px var(--c-highlight);
  transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* --- HOVER & ACTIVE STATES --- */
.nav-link:hover, 
.nav-link.active,
.nav-dropdown-toggle:hover {
  color: white !important;
}

.nav-link.active {
  color: var(--c-highlight) !important; /* Selected Red */
}

.nav-link:hover::before, .nav-link.active::before, .nav-dropdown-toggle:hover::before { opacity: 1; }
.nav-link:hover::after, 
.nav-link.active::after, 
.nav-dropdown-toggle:hover::after,
.nav-item--dropdown:hover .nav-dropdown-toggle::after { 
  width: 100%; 
}

/* Modern Chevron Animation */
.liquid-chevron {
  transition: transform 0.4s ease, opacity 0.3s;
  opacity: 0.7;
}

.nav-item--dropdown:hover .liquid-chevron {
  transform: rotate(180deg);
  color: var(--c-highlight);
  opacity: 1;
}

/* =========================================
   CLEAN GLASS DROPDOWN (CROSS-BROWSER FIX)
   ========================================= */
.nav-submenu {
  position: absolute;
  top: calc(100% + 10px); /* Sits below the word with a slight gap */
  left: 50%;
  transform: translateX(-50%) translateY(10px); /* Centers it and pushes it down for the animation */
  min-width: 240px;
  
  /* THE FIX: Standard Glassmorphism */
  background: rgba(10, 5, 7, 0.85); /* Deep dark background */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); /* Safari support */
  border: 1px solid rgba(229, 28, 81, 0.2); /* Subtle brand red border */
  border-radius: 16px;
  
  padding: 0.8rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(229, 28, 81, 0.05); /* Deep shadow with faint red glow */
  
  /* Animation states */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth ease-out */
  list-style: none !important;
  z-index: 1000;
}

/* Hover state to reveal the menu */
.nav-item--dropdown:hover .nav-submenu,
.nav-item--dropdown[aria-expanded="true"] .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0); /* Slides up into place */
}

/* The links inside the menu */
.submenu-link {
  display: flex !important;
  align-items: center !important;
  gap: 12px;
  padding: 0.8rem 1.2rem;
  color: var(--nav-text-muted);
  text-decoration: none !important;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  
  /* Remove the complex gradient backgrounds from previous code */
  background: transparent !important; 
  border: none !important;
}

/* Hover state for the links */
.submenu-link:hover {
  background: rgba(229, 28, 81, 0.1) !important; /* Simple red highlight */
  color: white !important;
}

/* Icon styling */
.submenu-link i {
  width: 20px;
  text-align: center;
  font-size: 1.1rem;
  color: var(--c-highlight);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.submenu-link:hover i {
  transform: scale(1.2);
  color: white;
}

/* Optional: faint divider line between items */
.nav-submenu li:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  margin-bottom: 2px;
  padding-bottom: 2px;
}
/* =========================================
   4. DROPDOWN (ALIGNED TO WORD)
   ========================================= */
.nav-submenu {
  position: absolute;
  top: 100%; /* Sits exactly below the button */
  left: 50%;
  transform: translateX(-50%) translateY(10px); /* Centers the box under the word */
  min-width: 220px;
  background: rgba(10, 5, 7, 0.95);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(229, 28, 81, 0.3);
  border-radius: 12px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  list-style: none !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.nav-item--dropdown:hover .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.submenu-link {
  display: block;
  padding: 0.7rem 1rem;
  color: var(--nav-text-muted);
  text-decoration: none !important;
  border-radius: 8px;
  transition: 0.2s;
  font-size: 0.95rem;
}

.submenu-link:hover {
  background: rgba(229, 28, 81, 0.1);
  color: white;
}

/* =========================================
   3. DROPDOWN (GLASSMORPISM FIX)
   ========================================= */
.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: rgba(10, 5, 7, 0.95); /* Deep glass background */
  backdrop-filter: blur(20px);
  border: 1px solid rgba(229, 28, 81, 0.3);
  border-radius: 12px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
  list-style: none !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.nav-item--dropdown:hover .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu-link {
  display: block;
  padding: 0.8rem 1rem;
  color: var(--nav-text-muted);
  text-decoration: none !important;
  border-radius: 8px;
  transition: 0.2s;
}

.submenu-link:hover {
  background: rgba(229, 28, 81, 0.1);
  color: white;
}

/* =========================================
   UNIVERSAL RED GLASS DROPDOWNS
   (Applies to both the middle dropdown AND the top menu submenu)
   ========================================= */
/* .dropdown, .nav-submenu {
  background: linear-gradient(235deg, rgba(229, 28, 81, 0.25), transparent 45%), 
              linear-gradient(45deg , rgba(179, 20, 60, 0.25), transparent 45%), 
              rgba(10, 5, 7, 0.9);
  backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(229, 28, 81, 0.4);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(229, 28, 81, 0.2);
  position: absolute; z-index: 1000; display: flex; flex-direction: column;
}

.dropdown { --radius: 20px; border-radius: var(--radius); padding: 15px; top: calc(100% + 15px); left: 0; width: 100%; min-height: 275px; }
.nav-submenu { --radius: 12px; border-radius: var(--radius); padding: 0.5rem; gap: 0.25rem; top: calc(100% + 0.5rem); left: 0; min-width: 14rem; }

.dropdown { opacity: 0; visibility: hidden; transform: translateY(-20px) scale(0.95); transition: all 0.4s var(--ease); }
.dropdown.active { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto; }

.nav-submenu { opacity: 0; visibility: hidden; transform: translateY(-0.5rem); transition: all 0.3s var(--ease); }
.nav-item--dropdown:hover .nav-submenu, .nav-item--dropdown[aria-expanded="true"] .nav-submenu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; } */

/* =========================================
   UNIVERSAL SHINE & GLOW ELEMENTS
   ========================================= */
/* .shine, .glow { --hue: var(--glass-hue1); }
.shine-bottom, .glow-bottom { --hue: var(--glass-hue2); --conic: 135deg; }

.shine, .shine::before, .shine::after {
  pointer-events: none; border-radius: 0; border-top-right-radius: inherit; border-bottom-left-radius: inherit; border: 1px solid transparent; width: 75%; height: auto; min-height: 0px; aspect-ratio: 1; display: block; position: absolute; right: -1px; top: -1px; left: auto; z-index: 1; --start: 12%; background: conic-gradient(from var(--conic, -45deg) at center in oklch, transparent var(--start,0%), hsl(var(--hue), 80%, 60%), transparent var(--end,50%)) border-box; mask: linear-gradient(transparent), linear-gradient(black); -webkit-mask: linear-gradient(transparent), linear-gradient(black); mask-clip: padding-box, border-box; -webkit-mask-clip: padding-box, border-box; mask-composite: subtract; -webkit-mask-composite: destination-out;
}
.shine::before, .shine::after { content: ""; width: auto; inset: -2px; mask: none; -webkit-mask: none; }
.shine::after { z-index: 2; --start: 17%; --end: 33%; background: conic-gradient(from var(--conic, -45deg) at center in oklch, transparent var(--start,0%), hsl(var(--hue), 80%, 85%), transparent var(--end,50%)); }
.shine-bottom { top: auto; bottom: -1px; left: -1px; right: auto; }

.glow {
  pointer-events: none; border-top-right-radius: calc(var(--radius) * 2.5); border-bottom-left-radius: calc(var(--radius) * 2.5); border: calc(var(--radius) * 1.25) solid transparent; inset: calc(var(--radius) * -2); width: 75%; height: auto; min-height: 0px; aspect-ratio: 1; display: block; position: absolute; left: auto; bottom: auto; mask: url('https://assets.codepen.io/13471/noise-base.png'); -webkit-mask: url('https://assets.codepen.io/13471/noise-base.png'); mask-mode: luminance; mask-size: 29%; opacity: 1; filter: blur(12px) saturate(1.25) brightness(0.5); mix-blend-mode: plus-lighter; z-index: 3;
}
.glow.glow-bottom { inset: calc(var(--radius) * -2); top: auto; right: auto; }
.glow::before, .glow::after { content: ""; position: absolute; inset: 0; border: inherit; border-radius: inherit; background: conic-gradient(from var(--conic, -45deg) at center in oklch, transparent var(--start,0%), hsl(var(--hue), 95%, 60%), transparent var(--end,50%)) border-box; mask: linear-gradient(transparent), linear-gradient(black); -webkit-mask: linear-gradient(transparent), linear-gradient(black); mask-clip: padding-box, border-box; -webkit-mask-clip: padding-box, border-box; mask-composite: subtract; -webkit-mask-composite: destination-out; filter: saturate(2) brightness(1); }
.glow::after { --start: 15%; --end: 35%; border-width: calc(var(--radius) * 1.75); border-radius: calc(var(--radius) * 2.75); inset: calc(var(--radius) * -0.25); z-index: 4; opacity: 0.75; }

.dropdown:not(.active) .glow, .dropdown:not(.active) .shine, .nav-item--dropdown:not(:hover):not([aria-expanded="true"]) .nav-submenu .glow, .nav-item--dropdown:not(:hover):not([aria-expanded="true"]) .nav-submenu .shine { opacity: 0; animation: glowoff 0.25s var(--ease) both; }
.dropdown.active .glow, .dropdown.active .shine, .nav-item--dropdown:hover .nav-submenu .glow, .nav-item--dropdown:hover .nav-submenu .shine, .nav-item--dropdown[aria-expanded="true"] .nav-submenu .glow, .nav-item--dropdown[aria-expanded="true"] .nav-submenu .shine { animation: glow 1s var(--ease) both; }
.shine { animation-delay: 0s; animation-duration: 2s; }
.glow { animation-delay: 0.2s; }
.shine-bottom { animation-delay: 0.1s; animation-duration: 1.8s; }
.glow-bottom { animation-delay: 0.3s; }

@keyframes glow { 0% { opacity: 0; } 3% { opacity: 1; } 10% { opacity: 0; } 12% { opacity: 0.7; } 16% { opacity: 0.3; animation-timing-function: var(--ease); } 100% { opacity: 1; animation-timing-function: var(--ease); } }
@keyframes glowoff { to { opacity: 0; } } */

/* =========================================
   DROPDOWN LINKS & OPTIONS HOVERS
   (Separated from nav-links to prevent bugs)
   ========================================= */
.option, .submenu-link {
  --item-hue: 350;
  position: relative; cursor: none; font-size: var(--font-size-base); color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease-in, --item-opacity 0.3s ease-in; z-index: 10; border: 1px solid transparent;
  background: linear-gradient(90deg in oklch, hsl(var(--item-hue) 60% 30% / var(--item-opacity)), hsl(var(--item-hue) 70% 35% / var(--item-opacity)) 24% 32%, hsl(var(--item-hue) 5% 7% / 0) 95%) border-box;
}
.option::before, .submenu-link::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: inherit; pointer-events: none;
  background: linear-gradient(90deg in oklch, hsl(var(--item-hue) 80% 45% / var(--item-opacity)), hsl(var(--item-hue) 90% 55% / var(--item-opacity)) 20% 32%, hsl(var(--item-hue) 2% 12% / 0) 95%) border-box;
  mask: linear-gradient(transparent), linear-gradient(to right, black, transparent); -webkit-mask: linear-gradient(transparent), linear-gradient(to right, black, transparent);
  mask-clip: padding-box, border-box; -webkit-mask-clip: padding-box, border-box; mask-composite: subtract; -webkit-mask-composite: destination-out;
}

.option:hover, .submenu-link:hover { 
  --item-opacity: 0.5; color: white; transition: all 0.1s ease-out, --item-opacity 0.1s ease-out; 
}

/* --- CLEAN, STATIC SELECTION STATE --- */
.option.selected, .submenu-link.active { 
  background: rgba(229, 28, 81, 0.15) !important; 
  color: var(--c-highlight) !important; 
  border: 1px solid rgba(229, 28, 81, 0.4) !important; 
  animation: none !important; 
  transform: none !important;
  box-shadow: none !important;
}

.option.selected i, 
.option.selected span {
  color: var(--c-highlight) !important;
  animation: none !important;
  transform: none !important;
}

.option.selected::after { 
  content: "\f00c"; 
  font-family: "Font Awesome 6 Free"; 
  font-weight: 900; 
  color: var(--c-highlight); 
  font-size: 1.2rem; 
  position: absolute; 
  right: 20px; 
}

/* --- BASE OPTION STYLES --- */
.option { padding: 15px 20px; border-radius: 12px; margin-bottom: 8px; display: flex; align-items: center; gap: 15px; opacity: 1; }
.submenu-link { padding: 0.5rem 1rem; border-radius: 8px; display: block; text-decoration: none !important; font-weight: 500; }

.option i { font-size: 1.4rem; min-width: 30px; position: relative; z-index: 1; transition: transform 0.3s; }
.option:hover i { transform: scale(1.2) rotate(10deg); }
.option span { flex: 1; font-size: 1rem; position: relative; z-index: 1; }

/* =========================================
   NEW COLORED SHADOW CTA BUTTON
   ========================================= */
.nav-cta { margin-left: 1rem; }
.cta-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.5rem; min-width: 120px;
  font-family: var(--nav-font); font-size: var(--font-size-base); font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;
  color: white; text-decoration: none; background: linear-gradient(135deg, #e51c51, #ff4d79); border: 1px solid transparent; border-radius: 50px;
  box-shadow: 0 10px 30px rgba(229, 28, 81, 0.4), 0 5px 15px rgba(255, 77, 121, 0.3); cursor: none; overflow: hidden; isolation: isolate; transition: transform 0.15s var(--ease-bounce), box-shadow 0.15s ease-out;
}
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 15px 40px rgba(229, 28, 81, 0.5), 0 8px 20px rgba(255, 77, 121, 0.4); }
.cta-button:active { transform: translateY(0); box-shadow: 0 8px 20px rgba(229, 28, 81, 0.4), 0 4px 10px rgba(255, 77, 121, 0.3); }
.cta-button svg { width: 1rem; height: 1rem; transition: transform 0.2s; position: relative; z-index: 1;}
.cta-button:hover svg { transform: translateX(2px); }
.cta-button span { position: relative; z-index: 1; }

/* Mobile Navigation */
.nav-toggle { display: none; flex-direction: column; justify-content: center; width: 2rem; height: 2rem; background: none; border: none; cursor: none; z-index: 101; }
.hamburger-line { width: 100%; height: 2px; background: linear-gradient(135deg, #e51c51 0%, #ff4d79 100%); border-radius: 5px; margin-bottom: 0.25rem; transition: all 0.3s; }
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-overlay { display: none; }

@media (max-width: 768px) { .nav-container { height: var(--nav-height-mobile); } }
@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-menu { position: fixed; top: 0; right: 0; width: 100%; max-width: 20rem; height: 100vh; background: rgba(7, 7, 9, 0.95); backdrop-filter: blur(20px); border-left: 1px solid rgba(255,255,255,0.1); padding: 5rem 1.5rem 1.5rem; flex-direction: column; align-items: stretch; transform: translateX(100%); transition: transform 0.3s; z-index: 100; }
  .nav-menu.active { transform: translateX(0); }
  .nav-overlay { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.8); opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 99; }
  .nav-overlay.active { opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; width: 100%; }
  .nav-link { justify-content: space-between; width: 100%; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-submenu { position: static; box-shadow: none; border: none; background: transparent; padding: 0; }
  .nav-submenu .shine, .nav-submenu .glow { display: none; } 
}
/* =========================================
   MAIN CONTENT & GLITCH HEADER
   ========================================= */
.main-content { 
  flex: 1; 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
  width: 100%; 
  padding: 120px 20px 40px; 
  position: relative; 
  z-index: 50; /* BOOTED UP TO 50 SO IT OVERLAPS EVERYTHING BELOW IT */
}.container { width: 100%; max-width: 500px; position: relative; z-index: 1; }
.title-wrap { text-align: center; margin-bottom: 40px; animation: titleFloat 3s ease-in-out infinite; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5)); }

@keyframes titleFloat { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }

/* =========================================
   BULLETPROOF GLITCH TEXT (WITH FALLBACK)
   ========================================= */

.glitch { 
    font-family: var(--font-brand); 
    font-size: 4rem; 
    font-weight: 900; 
    letter-spacing: -0.02em; 
    
    /* 1. THE FALLBACK: Solid White */
    color: #ffffff !important; 
    
    position: relative; 
    display: inline-block; 
    animation: glitch-main 5s infinite; 
    
    /* Forces Firefox hardware acceleration to paint immediately */
    transform: translateZ(0); 
    will-change: background-position, transform;
}

/* 2. PROGRESSIVE ENHANCEMENT: Only runs if the browser can handle it natively */
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
    .glitch {
        /* THE FIX: Solid white safety net underneath the gradient */
        background-color: #ffffff;
        background-image: linear-gradient(135deg, var(--c-highlight), #ff8a9f, var(--c-highlight)); 
        
        background-size: 200% 200%; 
        -webkit-background-clip: text; 
        background-clip: text; 
        
        /* Safely overrides the solid color */
        color: transparent !important; 
        -webkit-text-fill-color: transparent !important; 
        
        /* Adds the gradient shift back in */
        animation: glitch-main 5s infinite, gradientShift 3s ease-in-out infinite; 
    }
}

.glitch::before, .glitch::after { 
    content: attr(data-text); 
    position: absolute; top: 0; left: 0; 
    font-family: var(--font-brand); font-size: inherit; font-weight: inherit; 
    letter-spacing: inherit; pointer-events: none; 
}

.glitch::before { 
    color: var(--c-accent2); /* Safari/Fallback Support */
    -webkit-text-fill-color: var(--c-accent2); 
    clip-path: polygon(0 30%, 100% 30%, 100% 50%, 0 50%); 
    animation: glitch-before 5s infinite; opacity: 0.7; 
}

.glitch::after { 
    color: var(--c-accent3); /* Safari/Fallback Support */
    -webkit-text-fill-color: var(--c-accent3); 
    clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%); 
    animation: glitch-after 5s infinite; opacity: 0.7; 
}

@keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes glitch-main { 0%, 94%, 100% { transform: none; } 95% { transform: skewX(-0.5deg); } 96% { transform: skewX(0.8deg) translateX(-3px); } 97% { transform: none; } 98% { transform: translateX(3px); } 99% { transform: skewX(-0.3deg); } }
@keyframes glitch-before { 0%, 94%, 100% { transform: none; opacity: 0; } 95% { transform: translateX(-6px); opacity: 0.7; } 96% { transform: translateX(4px) scaleY(1.02); opacity: 0.7; } 97% { transform: none; opacity: 0; } 98%, 99% { transform: translateX(-3px); opacity: 0.5; } }
@keyframes glitch-after { 0%, 95%, 100% { transform: none; opacity: 0; } 96% { transform: translateX(6px); opacity: 0.7; } 97% { transform: translateX(-4px); opacity: 0.7; } 98% { transform: none; opacity: 0; } 99% { transform: translateX(2px); opacity: 0.4; } }

/* =========================================
   CUSTOM SELECT MENU (Placeholder Bar)
   ========================================= */
.custom-select { position: relative; width: 100%; }

.select-trigger {
  background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; 
  padding: 20px 25px; cursor: none; display: flex; justify-content: space-between; align-items: center;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); position: relative; z-index: 20; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.select-trigger:hover { transform: translateY(-2px); border-color: rgba(229, 28, 81, 0.4); box-shadow: 0 10px 25px rgba(229, 28, 81, 0.2); }
.select-trigger.active { border-color: var(--c-highlight); box-shadow: 0 0 20px rgba(229, 28, 81, 0.3); }

.selected-option { display: flex; align-items: center; gap: 15px; color: white; font-size: 1.1rem; font-weight: 600; position: relative; z-index: 10; }
.selected-option i { font-size: 1.5rem; }
.arrow { color: white; font-size: 1.2rem; transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); position: relative; z-index: 10; }
.select-trigger.active .arrow { transform: rotate(180deg); }

/* Search Box */
.search-box { position: relative; margin-bottom: 15px; z-index: 10; }
.search-box input {
  width: 100%; padding: 15px 45px 15px 20px; font-family: var(--nav-font); color: white; font-size: 1rem; cursor: none; outline: none;
  background: linear-gradient(to bottom, rgba(229, 28, 81, 0.05) 50%, rgba(229, 28, 81, 0.2) 180%); background-size: 100% 300%; background-position: 0% 0%; background-repeat: no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; transition: all 0.3s ease; 
}
.search-box input::placeholder { color: rgba(255, 255, 255, 0.3); }
.search-box input:focus { border-color: rgba(229, 28, 81, 0.5); background-position: 0% 50%; box-shadow: 0 0 20px rgba(229, 28, 81, 0.2); }
.search-box i { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: rgba(255, 255, 255, 0.4); font-size: 1.1rem; transition: color 0.3s; }
.search-box input:focus + i { color: var(--c-highlight); }

/* Scrollbar */
.options-container { overflow-y: auto; overflow-x: hidden; max-height: 320px; padding-right: 5px; z-index: 10; position: relative; }
.options-container::-webkit-scrollbar { width: 8px; }
.options-container::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.02); border-radius: 10px; }
.options-container::-webkit-scrollbar-thumb { background: var(--c-highlight); border-radius: 10px; transition: all 0.3s ease; }
.options-container::-webkit-scrollbar-thumb:hover { background: var(--c-accent2); }

.option.hidden { display: none; }
.no-results { text-align: center; padding: 40px 20px; color: rgba(255, 255, 255, 0.3); font-size: 1.1rem; display: none; z-index: 10; position: relative; }
.no-results.show { display: block; animation: fadeIn 0.3s ease; }
.no-results i { font-size: 3rem; margin-bottom: 15px; opacity: 0.3; }

.ripple { display: none !important; }

.particle { position: fixed; width: 10px; height: 10px; background: rgba(255, 255, 255, 0.1); border-radius: 50%; pointer-events: none; animation: float 6s infinite; z-index: 0; }
@keyframes float { 0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: 0; } 10% { opacity: 0.3; } 90% { opacity: 0.3; } 100% { transform: translateY(-100vh) translateX(50px) scale(0); opacity: 0; } }

@media (max-width: 768px) { .glitch { font-size: 2.5rem; } .select-trigger { padding: 18px 20px; } .dropdown { max-height: 400px; } .options-container { max-height: 280px; } }
@media (max-width: 480px) { .glitch { font-size: 2rem; } .select-trigger { padding: 15px 18px; border-radius: 15px; } .dropdown { border-radius: 15px; max-height: 350px; } .options-container { max-height: 240px; } }

/* =========================================
   PREMIUM DASHBOARD - CONSOLIDATED CSS
   ========================================= */

/* Container Logic */
.dashboard-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 50px 20px;
}

.dashboard-container {
  width: 100%;
  max-width: 1100px;
  height: 550px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(40px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid; /* FORCES SIDEBAR POSITION */
  grid-template-columns: 260px 1fr;
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0,0,0,0.7);
}

/* Sidebar Styling */
.dashboard-sidebar {
  background: rgba(0, 0, 0, 0.3);
  padding: 40px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-head h2 { font-family: var(--font-brand); color: white; font-size: 1.4rem; }
.sidebar-head p { font-size: 0.65rem; color: var(--c-highlight); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 30px; }

.dash-tab {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  margin-bottom: 8px;
  background: transparent;
  border: none;
  border-radius: 15px;
  cursor: none;
  transition: 0.3s;
  text-align: left;
}

.dash-tab.active, .dash-tab:hover { background: rgba(229, 28, 81, 0.1); }

.dash-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px; color: rgba(255,255,255,0.4);
}

.dash-tab.active .dash-icon { background: var(--c-highlight); color: white; box-shadow: 0 0 20px var(--c-red-glow); }
.dash-icon svg { width: 18px; height: 18px; }

.main-label { display: block; font-size: 0.9rem; font-weight: 600; color: white; }
.sub-label { display: block; font-size: 0.7rem; color: #64748b; }

/* Content Area */
.dashboard-main { padding: 40px; overflow-y: auto; }
.panel { display: none; }
.panel.active { display: block; }

.badge {
  padding: 5px 12px; font-size: 0.6rem; font-weight: 800; text-transform: uppercase;
  color: var(--c-highlight); border: 1px solid var(--c-red-glow); border-radius: 20px;
}

.panel-top h1 { font-family: var(--font-brand); font-size: 3rem; color: white; margin: 15px 0 30px; }

/* The 2x2 Grid Fix */
.grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.stat-card {
  padding: 25px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}

.stat-card:hover { border-color: var(--c-highlight); background: rgba(255, 255, 255, 0.05); }

.val { 
  font-family: var(--font-brand); font-size: 2.2rem; font-weight: 900; 
  color: var(--c-highlight); display: block; font-variant-numeric: tabular-nums;
}

.lab { font-size: 0.75rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; }

/* =========================================
   TESTIMONIALS
   ========================================= */

   /* =========================================
   TESTIMONIALS SECTION STYLES
   ========================================= */
.testimonials-section {
  padding: 80px 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-subtitle {
  color: #94a3b8;
  font-size: 1.1rem;
  margin-top: 10px;
  max-width: 600px;
  margin-inline: auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 35px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--c-highlight);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(229, 28, 81, 0.1);
}

.rating {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}

.rating i {
  color: var(--c-highlight); /* Red stars to match theme */
  font-size: 0.85rem;
}

.testimonial-content {
  font-family: var(--nav-font);
  font-style: italic;
  color: #e2e8f0;
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-highlight), #ff4d79);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-family: var(--font-brand);
  font-size: 0.9rem;
  box-shadow: 0 5px 15px rgba(229, 28, 81, 0.3);
}

.author-info h4 {
  font-size: 1rem;
  color: white;
  margin-bottom: 2px;
}

.author-info p {
  color: #64748b;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive Grid Fix */
@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .panel-title {
    font-size: 2rem;
  }
}

/* =========================================
   TRUST SECTION STYLES (CENTERED)
   ========================================= */
.trust-section {
  width: 100%;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
}

.trust-container {
  width: 100%;
  max-width: 1100px; /* Matches Dashboard Width */
  margin: 0 auto;
}

.trust-header {
  text-align: center;
  margin-bottom: 60px;
}

.trust-badge {
  display: inline-block;
  padding: 5px 15px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--c-highlight);
  border: 1px solid var(--c-red-glow); /* Kept exactly how you had it! */
  border-radius: 20px;
  background: rgba(229, 28, 81, 0.05); /* Your exact original soft background */
  letter-spacing: 1.5px;
  margin-bottom: 15px;
}

.trust-title {
  font-family: var(--font-brand); /* League Spartan */
  font-size: 3rem;
  color: #fff;
  line-height: 1;
  margin-bottom: 15px;
}

.trust-subtitle {
  color: #94a3b8;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Grid Layout */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trust-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 30px;
  transition: all 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-5px);
  border-color: var(--c-highlight);
  background: rgba(255, 255, 255, 0.04);
}

.trust-rating {
  margin-bottom: 15px;
  color: var(--c-highlight);
  font-size: 0.8rem;
}

.trust-quote {
  color: #e2e8f0;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 0.95rem;
}

.trust-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--c-highlight), #ff4d79);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
}

.user-meta h4 {
  font-size: 0.9rem;
  color: #fff;
}

.user-meta p {
  font-size: 0.7rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mobile Fix */
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-title { font-size: 2.2rem; }
}

#star-field {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #070709; /* Your brand black */
  z-index: -1; /* Strictly behind everything */
  overflow: hidden;
}

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
}

/* Subtle twinkle animation that doesn't use much CPU */
@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Ensure your content wrapper is transparent so stars show through */
.page-wrapper {
  position: relative;
  z-index: 1;
  background: transparent;
}


/* =========================================
   SERVICES DROPDOWN ICONS
   ========================================= */
.submenu-link {
  display: flex !important;
  align-items: center !important;
  gap: 12px; /* Space between icon and text */
  padding: 0.8rem 1.2rem;
  color: var(--nav-text-muted);
  text-decoration: none !important;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  white-space: nowrap;
}

.submenu-link i {
  width: 20px; /* Keeps icons aligned in a straight vertical line */
  text-align: center;
  font-size: 1.1rem;
  color: var(--c-highlight); /* Branded red icons */
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hover State */
.submenu-link:hover {
  background: rgba(229, 28, 81, 0.1); /* Subtle red tint */
  color: white !important;
}

.submenu-link:hover i {
  transform: scale(1.2); /* Icon pops on hover */
  color: white; /* Icon turns white to match text */
}

/* Optional: Add a very subtle separator between items */
.nav-submenu li:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* =========================================
   MARKETING FEATURES GRID
   ========================================= */
.features-section {
  width: 100%;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.features-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

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

.features-title {
  font-family: var(--font-brand); /* League Spartan */
  font-size: 3rem;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 15px;
}

.features-subtitle {
  color: #94a3b8;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: left; /* Kept left-aligned for professional readability */
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: none;
}

/* Glass Hover Effect */
.feature-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--c-highlight); /* Brand Red Border */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(229, 28, 81, 0.1);
}

/* Icon Styling */
.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(229, 28, 81, 0.2), rgba(255, 77, 121, 0.05));
  border: 1px solid rgba(229, 28, 81, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--c-highlight); /* Brand Red Icon */
  margin-bottom: 25px;
  transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, #e51c51, #ff4d79);
  color: white;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 20px rgba(229, 28, 81, 0.3);
}

.feature-card h3 {
  font-family: var(--font-brand); /* League Spartan */
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.feature-card p {
  color: #94a3b8;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Subtle Shimmer Line across card */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.feature-card:hover::before {
  left: 100%;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .features-title { font-size: 2.2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 30px 20px; }
}

/* =========================================
   SERVICES MARQUEE SCROLLER
   ========================================= */
.marquee-section {
    /* THE FIX: Forces the background to span the entire screen width */
    width: 100vw !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%); 
    padding: 40px 0; 
    z-index: 10;
    overflow: hidden;
}

.marquee-wrap {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(7, 7, 9, 0.4); /* Slight dark glass background */
  padding: 1.5rem 0;
  display: flex;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 40s linear infinite; 
    gap: 3rem;
    align-items: center;
    /* THE FIX: Prevents items from wrapping and hiding below the visible area */
    flex-wrap: nowrap !important; 
}

/* Pauses the entire animation when the mouse enters the track */
.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  font-family: var(--font-brand); /* League Spartan */
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--nav-text-muted); /* Gray text default */
  text-decoration: none !important;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: none; /* Keeps your custom cursor active */
}

/* Brand Red Hover State */
.marquee-item:hover {
  color: var(--c-highlight); 
  text-shadow: 0 0 20px rgba(229, 28, 81, 0.4);
  transform: scale(1.05) translateY(-2px); /* Pops out slightly */
}

/* The separator between words (using a red dot) */
.marquee-sep {
  color: var(--c-highlight);
  font-size: 0.8rem;
  margin: 0;
  display: flex;
  align-items: center;
  opacity: 0.5;
}

/* The infinite scrolling keyframe */
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================
   MORPHING BRAND 3D SECTION
   ========================================= */
.neural-section {
  position: relative;
  width: 100%;
  height: 80vh; /* Adjust height as needed */
  min-height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 10;
  margin-bottom: 50px;
}

#neural-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Behind the text */
  pointer-events: none; /* Allows scrolling over the object without getting stuck in 3D space */
}

#neural-container canvas {
  display: block;
}

.neural-overlay {
  position: relative;
  z-index: 2; 
  text-align: center;
  /* Allow mouse events so the hover script can detect the cursor */
  pointer-events: auto; 
  background: rgba(7, 7, 9, 0.4);
  backdrop-filter: blur(10px);
  padding: 40px 60px;
  border-radius: 20px;
  border: 1px solid rgba(229, 28, 81, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(229, 28, 81, 0.1);
  
  /* --- NEW TILT LOGIC --- */
  transform-style: preserve-3d;
  will-change: transform;
  /* Default transition for when the mouse leaves the tile */
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s;
}
/* =========================================
   GLOBAL REACH 3D GLOBE SECTION
   ========================================= */
.global-section {
  position: relative;
  width: 100%;
  height: 90vh; /* Fills most of the screen */
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Pushes text to the top */
  align-items: center;
  overflow: hidden;
  z-index: 10;
  margin: 80px 0;
}

#globe-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto; /* Allows the user to grab and spin the globe */
  cursor: grab;
}

#globe-container:active {
  cursor: grabbing;
}

.global-overlay {
  position: relative;
  top: 8%; /* Distance from the top of the section */
  z-index: 2;
  text-align: center;
  pointer-events: none;
  
  /* Forces perfect vertical stacking */
  display: flex;
  flex-direction: column;
  align-items: center; 
}

.global-overlay .glitch {
  font-size: 4rem;
  margin-bottom: 10px;
}

.global-sub {
  color: var(--nav-text-muted);
  font-size: 1.2rem;
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .global-overlay .glitch { font-size: 2.5rem; }
  .global-sub { font-size: 1rem; padding: 0 20px; }
}

/* =========================================
   EXCLUSIVE CONTACT SECTION
   ========================================= */
.exclusive-contact {
    width: 100%;
    padding: 120px 20px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.contact-container {
    width: 100%;
    max-width: 900px;
}

/* The Frosted Glass Card - Matched to "The Liqid Edge" */
.contact-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08); /* Matches Liqid Edge border */
    border-radius: 24px; /* Matches Liqid Edge radius */
    padding: 80px 40px;
    text-align: center;
    transition: all 0.4s ease;
    overflow: hidden;
    cursor: none;
}

/* Glass Hover Effect - Matched to "The Liqid Edge" */
.contact-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--c-highlight);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(229, 28, 81, 0.1);
}

/* Subtle Shimmer Line - Matched to "The Liqid Edge" */
.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-description {
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Manager Profile */
.manager-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.manager-avatar {
    width: 60px;
    height: 60px;
    flex-shrink: 0; /* THIS IS THE MAGIC FIX */
    background: linear-gradient(135deg, var(--c-highlight), #ff4d79);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 10px 20px rgba(229, 28, 81, 0.3);
}

.manager-info {
    text-align: left;
}

.manager-info h3 {
    font-family: var(--font-brand);
    font-size: 1.2rem;
    color: white;
    margin: 0;
}

.manager-info p {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Copy Button Interaction */
.copy-wrapper {
    position: relative;
    display: inline-block;
}

.copy-button {
    all: unset;
    cursor: none;
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 35px;
    border-radius: 100px;
    transition: all 0.3s ease;
    position: relative;
}

.btn-text {
    font-family: var(--nav-font);
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.copy-icon {
    color: var(--c-highlight);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.copy-button:hover {
    background: rgba(229, 28, 81, 0.1);
    border-color: var(--c-highlight);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(229, 28, 81, 0.2);
}

.copy-button:hover .copy-icon {
    transform: scale(1.2);
}

.copy-hint {
    margin-top: 15px;
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Success Message Overlay */
.success-message {
    position: absolute;
    inset: 0;
    background: var(--c-highlight);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: scale(0.9);
}

.copy-button.active .success-message {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 600px) {
    .contact-card { padding: 60px 20px; }
    .btn-text { font-size: 1rem; }
    .contact-description { font-size: 1rem; }
}
/* =========================================
   EXCLUSIVE CONTACT REVISIONS
   ========================================= */
.exclusive-header {
    text-align: center;
    margin-bottom: 20px; /* Space between badge and card */
    animation: fadeInDown 0.8s ease-out;
}

.contact-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.08); /* Slimmer border for the card */
    border-radius: 40px;
    padding: 60px 40px; /* Slightly tighter padding */
    text-align: center;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Rest of the styles (Manager profile, Copy button) remain the same as previous */



/* =========================================
FOOTER
 ========================================= */

/* =========================================
   LIQID NOISE FOOTER (PREMIUM GLASS)
   ========================================= */
.site-footer {
  width: 100%;
  background: rgba(7, 7, 9, 0.4); /* Deep glass background */
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 80px 20px 30px;
  margin-top: auto; 
  z-index: 100;
  position: relative;
  overflow: hidden; /* Contains the glowing orb */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Subtle glowing orb behind the footer */
/* Fixed glowing orb behind the footer */
.site-footer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%; /* Made wider for a smoother spread */
  height: 200%; /* Increased height to stop the sharp cut-off */
  background: radial-gradient(circle, rgba(229, 28, 81, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}


/* A sleek gradient highlight line on the top edge */
.site-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 28, 81, 0.5), transparent);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}

/* Metallic gradient text for the brand */
.footer-brand {
  font-family: var(--font-brand);
  font-size: 2.2rem;
  background: linear-gradient(135deg, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.footer-desc {
  color: var(--nav-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 320px;
}

/* Glassy Social Cards */
.social-links { 
  display: flex; 
  gap: 15px; 
}

/* Glassy Social Cards Base */
.social-links { 
  display: flex; 
  gap: 15px; 
}

.social-icon {
  display: flex; 
  align-items: center; 
  justify-content: center;
  width: 45px; 
  height: 45px; 
  border-radius: 12px; /* Keeps the dashboard tile look */
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden; /* Crucial: Hides the color fill until hover */
  text-decoration: none; 
  cursor: none;
  /* Safari overflow bug fix */
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  transition: all 0.35s cubic-bezier(0.310, -0.105, 0.430, 1.590);
  
}

/* The sliding liquid background */
.social-icon::before {
  content: '';
  width: 120%;
  height: 120%;
  position: absolute;
  /* Uses your brand red, but you can swap this to a linear-gradient if you want! */
  background: var(--c-highlight); 
  transform: rotate(45deg);
  /* Starts hidden off to the bottom left */
  top: 90%;
  left: -110%;
  transition: all 0.35s cubic-bezier(0.310, -0.105, 0.430, 1.590);
  z-index: 0;
}

/* The icon itself */
.social-icon i {
  position: relative;
  z-index: 1;
  color: white; 
  font-size: 1.2rem;
  transform: scale(0.8); /* Starts slightly smaller */
  transition: all 0.35s cubic-bezier(0.310, -0.105, 0.430, 1.590);
}

/* Hover States */
.social-icon:hover {
  border-color: var(--c-highlight);
  box-shadow: 0 10px 20px rgba(229, 28, 81, 0.3);
  transform: translateY(-6px);
}

/* The fill slides in */
.social-icon:hover::before {
  top: -10%;
  left: -10%;
}

/* The icon pops up to full size */
.social-icon:hover i {
  color: #fff;
  transform: scale(1);
}

.footer-heading {
  font-family: var(--font-brand);
  font-size: 1.2rem;
  color: white;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.footer-links, .footer-contact { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
}

.footer-links li { 
  margin-bottom: 15px; 
}

/* Animated Nav Links */
.footer-links a { 
  color: var(--nav-text-muted); 
  text-decoration: none; 
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: none;
}

/* Little red dot appears and pushes text on hover */
.footer-links a::before {
  content: '';
  position: absolute;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--c-highlight);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.footer-links a:hover { 
  color: white; 
  transform: translateX(12px); 
}

.footer-links a:hover::before {
  opacity: 1;
  transform: scale(1);
  left: -12px;
}

.footer-contact li { 
  color: var(--nav-text-muted); 
  display: flex; 
  gap: 12px; 
  align-items: center; 
  margin-bottom: 15px; 
  font-size: 0.95rem;
}

.footer-contact i { 
  color: var(--c-highlight); 
  font-size: 1.1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 25px;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* Mobile Responsiveness */
@media (max-width: 900px) { 
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } 
}
@media (max-width: 600px) { 
  .footer-grid { grid-template-columns: 1fr; gap: 30px; } 
  .site-footer { padding: 60px 20px 20px; }
}



/* =========================================
   ENHANCED 3D MOCKUP (LIQUID GLASS)
   ========================================= */
.hero-mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    perspective: 2000px;
    z-index: 5;
}

.hero-mockup {
    background: rgba(10, 5, 7, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transform: rotateX(12deg) rotateY(-5deg) rotateZ(1deg);
    animation: floatMockup 6s ease-in-out infinite;
    box-shadow: 0 50px 100px rgba(0,0,0,0.8);
}

.mockup-body {
    padding: 30px;
    text-align: left;
}

/* Internal UI elements */
.m-nav {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 35px;
}

.m-logo i { 
    color: var(--c-highlight); 
    font-size: 1.2rem; 
    filter: drop-shadow(0 0 10px var(--c-highlight)); 
}

.m-links { 
    display: flex; 
    gap: 20px; 
    color: rgba(255,255,255,0.3); 
    font-size: 1rem; 
}

.m-links i:hover { color: var(--c-highlight); }

.m-hero { 
    display: grid; 
    grid-template-columns: 1.2fr 1fr; 
    gap: 25px; 
    align-items: center; 
    margin-bottom: 35px; 
}

.m-tag { 
    display: inline-block; 
    padding: 4px 12px; 
    background: rgba(229, 28, 81, 0.15); 
    color: var(--c-highlight); 
    border-radius: 4px; 
    font-size: 0.65rem; 
    text-transform: uppercase; 
    font-weight: 800; 
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.m-title { 
    font-family: var(--font-brand); 
    color: white; 
    font-size: 2rem; 
    margin-bottom: 10px; 
    letter-spacing: 1px;
}

.m-subtitle { 
    color: #94a3b8; 
    font-size: 0.9rem; 
    margin-bottom: 25px; 
    line-height: 1.4;
}

.m-btn { 
    display: inline-flex; 
    align-items: center; 
    background: linear-gradient(135deg, var(--c-highlight), #ff4d79); 
    color: white; 
    padding: 12px 24px; 
    border-radius: 50px; 
    font-size: 0.85rem; 
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(229, 28, 81, 0.3);
}

.m-image-block {
    height: 160px; 
    background: rgba(255,255,255,0.02); 
    border: 1px solid rgba(229, 28, 81, 0.2);
    border-radius: 16px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: relative;
    overflow: hidden;
}

.m-chart-icon { 
    font-size: 4.5rem; 
    color: var(--c-highlight); 
    opacity: 0.5; 
    filter: drop-shadow(0 0 15px var(--c-highlight));
}

.m-hologram {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(229, 28, 81, 0.05), transparent);
    animation: scanline 3s linear infinite;
}

.m-cards { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 15px; 
}

.m-card { 
    background: rgba(255,255,255,0.03); 
    padding: 20px 15px; 
    border-radius: 12px; 
    text-align: center; 
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s ease;
}

.m-card:hover {
    background: rgba(229, 28, 81, 0.05);
    border-color: var(--c-highlight);
}

.m-card i { 
    display: block; 
    color: var(--c-highlight); 
    font-size: 1.4rem; 
    margin-bottom: 10px; 
}

.m-card span { 
    font-size: 0.7rem; 
    color: #94a3b8; 
    text-transform: uppercase; 
    font-weight: 700; 
    letter-spacing: 1px; 
}

/* Background Glow behind mockup */
.mockup-ambient-glow {
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    width: 100%; 
    height: 100%; 
    background: radial-gradient(circle, rgba(229, 28, 81, 0.15) 0%, transparent 70%);
    z-index: -1; 
    filter: blur(60px);
}

@keyframes floatMockup {
    0%, 100% { transform: rotateX(12deg) rotateY(-5deg) rotateZ(1deg) translateY(0); }
    50% { transform: rotateX(10deg) rotateY(-3deg) rotateZ(0deg) translateY(-25px); }
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}
.mockup-header {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    position: relative; /* Anchor for dots if needed, but flex is safer */
    min-height: 45px;
}

.mockup-dots {
    display: flex;
    gap: 8px;
    flex: 0 0 100px; /* Gives the dots a fixed area so they don't move */
}

.mockup-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    filter: brightness(0.9) saturate(1.2);
}

.dot.close { background: #ff5f56; box-shadow: 0 0 8px rgba(255, 95, 86, 0.3); }
.dot.min   { background: #ffbd2e; box-shadow: 0 0 8px rgba(255, 189, 46, 0.3); }
.dot.max   { background: #27c93f; box-shadow: 0 0 8px rgba(39, 201, 63, 0.3); }

.mockup-url {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px 15px;
    border-radius: 8px;
    margin: 0 20px; /* Space between dots/end and the bar */
    
    /* Text Styling */
    font-size: 0.75rem;
    color: var(--nav-text-muted);
    font-family: var(--nav-font);
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
}

.mockup-url i {
    color: var(--c-highlight);
    margin-right: 8px;
    font-size: 0.7rem;
    opacity: 0.8;
}

/* Spacer for the right side to keep URL centered */
.mockup-header::after {
    content: '';
    flex: 0 0 100px; /* Matches the width of .mockup-dots for perfect centering */
}

/* --- QUICK FIX FOR ICON ALIGNMENT IN BODY --- */
.m-nav i, .m-links i, .m-card i {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   HEADER ALIGNMENT FIX
   ========================================= */
.nav-container { 
  max-width: var(--container-max-width); 
  margin: 0 auto; 
  padding: 0 2rem; /* Increased side padding to keep it away from edges */
  height: var(--nav-height); 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
}

.nav-menu { 
  display: flex; 
  align-items: center; 
  gap: 2rem; /* Consistent gap between Nav Links and the CTA */
}

/* =========================================
   NEW 3D SMARTPHONE MOCKUP (HIGH-END APP UI)
   ========================================= */
.phone-mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px; 
    margin: 0 auto;
    perspective: 2000px;
    z-index: 5;
}

.phone-mockup-new {
    transform: rotateX(10deg) rotateY(-15deg) rotateZ(5deg);
    animation: floatMockup 6s ease-in-out infinite;
}

/* The Sleek Outer Hardware */
.phone-chassis {
    background: rgba(25, 25, 30, 0.4);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 45px;
    padding: 10px;
    position: relative;
    box-shadow: -30px 40px 80px rgba(0,0,0,0.8), inset 0 0 20px rgba(255,255,255,0.05);
}

.phone-notch-new {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #000;
    border-radius: 20px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
}

.camera-lens {
    width: 10px; height: 10px;
    background: #111;
    border: 1px solid #333;
    border-radius: 50%;
    box-shadow: inset 2px 2px 5px rgba(255,255,255,0.1);
}

/* The Screen Content */
.phone-screen-new {
    background: #050507;
    border-radius: 35px;
    height: 620px;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Ambient Screen Glow */
.phone-screen-new::before {
    content: '';
    position: absolute;
    top: -20%; left: -20%; width: 140%; height: 60%;
    background: radial-gradient(circle, rgba(229, 28, 81, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.sys-bar {
    display: flex; justify-content: space-between;
    padding: 15px 25px 0;
    font-size: 0.7rem; color: rgba(255,255,255,0.8);
    font-weight: 600; z-index: 10; position: relative;
}
.sys-icons { display: flex; gap: 5px; }

/* Internal UI Header */
.app-top {
    display: flex; justify-content: space-between; align-items: center;
    padding: 25px 20px 10px; z-index: 10; position: relative;
}
.greeting { display: flex; flex-direction: column; text-align: left;}
.greeting .sub { color: var(--c-highlight); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 800; margin-bottom: 2px;}
.greeting .title { color: white; font-family: var(--font-brand); font-size: 1.2rem; }

.pulse-ring {
    width: 35px; height: 35px;
    background: rgba(229, 28, 81, 0.1);
    border: 1px solid rgba(229, 28, 81, 0.4);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--c-highlight);
    box-shadow: 0 0 15px rgba(229, 28, 81, 0.2);
    animation: pulse-status 2s infinite;
}

/* Main Numbers */
.main-metric {
    padding: 15px 20px; text-align: left; z-index: 10; position: relative;
}
.metric-label { font-size: 0.75rem; color: #64748b; margin-bottom: 5px; }
.metric-value { font-family: var(--font-brand); font-size: 2rem; color: white; display: flex; align-items: center; gap: 10px;}
.trend.up { font-size: 0.8rem; background: rgba(0, 255, 136, 0.1); color: #00ff88; padding: 4px 8px; border-radius: 6px; font-family: var(--nav-font); font-weight: 600;}

/* Animated Graph Zone */
.graph-zone {
    width: 100%; height: 140px;
    margin-top: 10px; position: relative; z-index: 5;
}
.line-graph { width: 100%; height: 100%; overflow: visible; }
.graph-line { animation: dashAnim 4s linear infinite alternate; }
.graph-point-glow { opacity: 0.5; animation: pulse-status 1.5s infinite; filter: blur(3px); }

@keyframes dashAnim {
    0% { transform: translateY(2px); }
    100% { transform: translateY(-2px); }
}

/* Floating Metric Cards */
.targeting-stack {
    padding: 10px 20px; display: flex; flex-direction: column; gap: 12px;
    z-index: 10; position: relative;
}
.target-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 15px;
    display: flex; align-items: center; gap: 15px;
    backdrop-filter: blur(10px);
}
.card-1 { animation: float-card 4s ease-in-out infinite; }
.card-2 { animation: float-card 5s ease-in-out infinite reverse; }

/* Safely scopes the fix ONLY to the phone mockup */
.target-card .t-icon {
    width: 40px; 
    height: 40px; 
    background: rgba(255,255,255,0.05);
    border-radius: 12px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    flex-shrink: 0; /* Prevents the box from squishing */
}

/* Locks the TikTok and Meta icons perfectly in the center */
.target-card .t-icon i {
    font-size: 1.1rem;
    color: white;
    margin: 0;
    padding: 0;
    line-height: 1;
    display: block;
}
.t-info { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.t-text-row { display: flex; justify-content: space-between; font-size: 0.75rem; color: white; font-weight: 600;}
.t-bar { width: 100%; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden;}
.t-fill { height: 100%; background: var(--c-highlight); border-radius: 2px; position: relative;}

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

/* FIXED BOTTOM DOCK (Never loses position) */
.bottom-action-dock {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 50;
}

.deploy-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--c-highlight), #ff4d79);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 16px;
    font-family: var(--nav-font);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(229, 28, 81, 0.4);
    cursor: none;
    transition: transform 0.2s;
}

.deploy-btn i { font-size: 1.1rem; }

@media (max-width: 768px) {
    .phone-mockup-wrapper { max-width: 280px; }
    .phone-screen-new { height: 560px; }
    .metric-value { font-size: 1.6rem; }
}

/* =========================================
   3D CREATIVE SLATE MOCKUP (ADVERTISING)
   ========================================= */
.slate-mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    perspective: 2000px;
    z-index: 5;
}

.slate-mockup {
    background: rgba(10, 5, 7, 0.85);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 20px;
    transform: rotateX(15deg) rotateY(10deg) rotateZ(-2deg);
    animation: floatMockup 7s ease-in-out infinite;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
}

.slate-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Top Bar */
.s-top-bar {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.s-rec {
    color: var(--c-highlight);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.s-rec i { animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.s-res { color: rgba(255,255,255,0.3); font-size: 0.65rem; font-weight: 600; }

/* Video Window */
.s-video-preview {
    height: 320px;
    background: linear-gradient(45deg, #111, #1a1a1a);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.s-play-wrap {
    width: 70px;
    height: 70px;
    background: rgba(229, 28, 81, 0.2);
    border: 2px solid var(--c-highlight);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    z-index: 2;
    box-shadow: 0 0 20px rgba(229, 28, 81, 0.4);
}

.s-scanline {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(229, 28, 81, 0.03), transparent);
    animation: scanline 4s linear infinite;
}

/* Controls */
.s-timeline {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    position: relative;
    margin-bottom: 20px;
}

.s-progress {
    width: 65%;
    height: 100%;
    background: var(--c-highlight);
    box-shadow: 0 0 10px var(--c-highlight);
}

.s-handle {
    position: absolute;
    left: 65%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px white;
}

.s-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.s-label {
    display: block;
    font-size: 0.6rem;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.s-wave {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 20px;
}

.s-wave span {
    width: 4px;
    background: var(--c-highlight);
    border-radius: 2px;
}

.s-wave span:nth-child(1) { height: 40%; animation: wave 1s infinite alternate; }
.s-wave span:nth-child(2) { height: 80%; animation: wave 1.2s infinite alternate; }
.s-wave span:nth-child(3) { height: 60%; animation: wave 0.8s infinite alternate; }
.s-wave span:nth-child(4) { height: 100%; animation: wave 1.4s infinite alternate; }

@keyframes wave { to { height: 20%; } }

.s-launch {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-brand);
    color: white;
    font-size: 0.9rem;
}

.s-switch {
    width: 40px;
    height: 20px;
    background: var(--c-highlight);
    border-radius: 20px;
    position: relative;
}

.s-switch::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .slate-mockup { transform: rotateX(10deg) rotateY(0) rotateZ(0); }
    .s-video-preview { height: 200px; }
}

/* =========================================
   HOLOGRAPHIC STRATEGY NEXUS (CONSULTING)
   ========================================= */

.strategy-nexus-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    perspective: 1500px;
    z-index: 5;
    padding-top: 20px;
}

.strategy-console {
    background: rgba(10, 5, 7, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transform: rotateX(12deg) rotateY(-5deg);
    animation: floatMockup 7s ease-in-out infinite alternate;
    box-shadow: -20px 40px 80px rgba(0,0,0,0.8), inset 0 0 30px rgba(229, 28, 81, 0.05);
}

.sc-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sc-dot {
    color: #00ff88;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}
.sc-dot i { animation: pulse-status 1.5s infinite; }
.sc-id { color: #64748b; font-family: monospace; font-size: 0.8rem; letter-spacing: 1px; }

.sc-body {
    position: relative;
    height: 350px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Background Cyber Grid */
.sc-grid-bg {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    transform: rotateX(60deg) rotateZ(-45deg);
    animation: gridMove 20s linear infinite;
    z-index: 1;
}

@keyframes gridMove {
    0% { transform: rotateX(60deg) rotateZ(-45deg) translateY(0); }
    100% { transform: rotateX(60deg) rotateZ(-45deg) translateY(60px); }
}

/* The Connecting Network */
.sc-network {
    position: relative;
    width: 250px;
    height: 250px;
    z-index: 5;
    animation: floatHolo 5s ease-in-out infinite;
}

/* Central Core Node */
.sc-node {
    position: absolute;
    background: #050507;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    z-index: 10;
}
.sc-node.core {
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 70px; height: 70px;
    border-color: var(--c-highlight);
    box-shadow: 0 0 30px rgba(229, 28, 81, 0.4), inset 0 0 15px rgba(229, 28, 81, 0.4);
}
.sc-node.core i { font-size: 1.5rem; color: white; text-shadow: 0 0 10px white; }

/* Satellite Nodes */
.sc-node:not(.core) {
    width: 40px; height: 40px;
    box-shadow: 0 0 15px rgba(255,255,255,0.1);
}
.sc-node:not(.core) i { color: #94a3b8; font-size: 0.9rem; }
.sc-node.n1 { top: 10%; left: 80%; }
.sc-node.n2 { top: 80%; left: 10%; }
.sc-node.n3 { top: 70%; left: 85%; }

/* Spinning Rings around Nodes */
.node-ring {
    position: absolute;
    width: 140%; height: 140%;
    border: 1px dashed rgba(229, 28, 81, 0.5);
    border-radius: 50%;
    animation: spinHoloRing 6s linear infinite;
}
.node-ring.reverse { width: 170%; height: 170%; border: 1px solid rgba(255,255,255,0.1); border-left-color: var(--c-highlight); animation: spinHoloRing 10s linear infinite reverse; }
.node-ring.small { width: 150%; height: 150%; border: 1px dotted rgba(255,255,255,0.3); animation: spinHoloRing 8s linear infinite; }

/* Data Beams (Connecting Lines) */
.sc-beam {
    position: absolute;
    background: rgba(255,255,255,0.1);
    transform-origin: left center;
    height: 2px;
    z-index: 5;
    overflow: hidden;
}
.b1 { top: 50%; left: 50%; width: 100px; transform: rotate(-45deg); }
.b2 { top: 50%; left: 50%; width: 110px; transform: rotate(140deg); }
.b3 { top: 50%; left: 50%; width: 90px; transform: rotate(35deg); }

/* Pulses travelling along the beams */
.beam-pulse {
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--c-highlight), transparent);
    box-shadow: 0 0 10px var(--c-highlight);
    animation: beamTravel 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes beamTravel {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(300%); opacity: 0; }
}

/* Floating HUD Panels */
.sc-data-panel {
    position: absolute;
    background: rgba(10,5,7,0.8);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px;
    border-radius: 8px;
    width: 160px;
    z-index: 20;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.panel-left { top: 20px; left: 20px; border-left: 2px solid #00ff88; }
.panel-right { bottom: 20px; right: 20px; border-right: 2px solid var(--c-highlight); text-align: right; }

.dp-title { font-size: 0.55rem; color: #64748b; letter-spacing: 1px; margin-bottom: 8px; font-weight: 700; }
.dp-row { display: flex; justify-content: space-between; font-size: 0.7rem; margin-bottom: 5px; font-weight: 600; }
.dp-row .c-high { color: var(--c-highlight); text-shadow: 0 0 8px rgba(229,28,81,0.5); }

.dp-bar-wrap { width: 100%; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; margin-bottom: 8px; overflow: hidden; }
.dp-bar { height: 100%; background: var(--c-highlight); box-shadow: 0 0 10px var(--c-highlight); }

@media (max-width: 600px) {
    .sc-data-panel { display: none; /* Hide HUD on very small screens to keep nexus clean */ }
}


/* =========================================
   THE LAB: MASTER LAYOUT
   ========================================= */
.lab-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center; text-align: left; position: relative; z-index: 10;
}
.lab-grid.rev { direction: rtl; }
.lab-grid.rev .lab-info, .lab-grid.rev .lab-visual { direction: ltr; }

.lab-info { padding: 20px; }
.lab-client { font-size: 0.85rem; color: var(--c-highlight); text-transform: uppercase; font-weight: 800; letter-spacing: 3px; display: inline-flex; align-items: center; margin-bottom: 15px; background: rgba(229, 28, 81, 0.1); padding: 5px 15px; border-radius: 20px; border: 1px solid rgba(229, 28, 81, 0.3); }
.lab-title { font-family: var(--font-brand); color: white; font-size: 3rem; line-height: 1.1; margin-bottom: 20px; text-shadow: 0 0 20px rgba(255,255,255,0.1); }
.lab-desc { color: #94a3b8; font-size: 1.15rem; line-height: 1.7; margin-bottom: 40px; }
.lab-stats { display: flex; gap: 50px; }
.l-stat { display: flex; flex-direction: column; }
.l-val { font-family: var(--font-brand); color: white; font-size: 2.5rem; font-weight: 900; line-height: 1; margin-bottom: 5px; }
.l-lab { font-size: 0.75rem; color: #64748b; text-transform: uppercase; letter-spacing: 2px; }

/* =========================================
   MOCKUP 1: GOOGLE SERVER NEXUS
   ========================================= */
.server-nexus { background: rgba(10, 5, 7, 0.7); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; padding: 20px; height: 400px; position: relative; overflow: hidden; transform: rotateX(10deg) rotateY(-15deg); animation: floatMockup 7s ease-in-out infinite alternate; box-shadow: 0 40px 80px rgba(0,0,0,0.8), inset 0 0 30px rgba(255,255,255,0.05); }
.sn-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 15px; }
.sn-dot { color: #00ff88; font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; display: flex; align-items: center; gap: 8px; text-shadow: 0 0 10px rgba(0, 255, 136, 0.5); }
.sn-dot i { animation: pulse-status 1.5s infinite; }
.sn-id { color: #64748b; font-family: monospace; font-size: 0.8rem; }
.sn-body { position: relative; height: 250px; display: flex; justify-content: center; align-items: center; transform-style: preserve-3d; }
.sn-core-orb { width: 60px; height: 60px; background: radial-gradient(circle, var(--c-highlight) 0%, transparent 70%); border-radius: 50%; box-shadow: 0 0 40px var(--c-highlight); animation: pulse-status 2s infinite alternate; }
.sn-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); }
.r-x { width: 180px; height: 180px; border-top-color: var(--c-highlight); animation: spinHoloRing 8s linear infinite; }
.r-y { width: 140px; height: 140px; border-right-color: #00ff88; animation: spinHoloRing 6s linear infinite reverse; }
.r-z { width: 220px; height: 220px; border: 1px dashed rgba(255,255,255,0.2); animation: spinHoloRing 12s linear infinite; }
.sn-data-card { position: absolute; background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.1); padding: 10px 15px; border-radius: 8px; backdrop-filter: blur(5px); }
.c-left { top: 20%; left: 10px; border-left: 2px solid var(--c-highlight); }
.c-right { bottom: 20%; right: 10px; border-right: 2px solid #00ff88; text-align: right; }
.dc-label { display: block; font-size: 0.6rem; color: #64748b; margin-bottom: 5px; }
.dc-bar { width: 80px; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; }
.dc-fill { height: 100%; background: var(--c-highlight); box-shadow: 0 0 10px var(--c-highlight); }
.dc-val { font-family: monospace; font-size: 0.9rem; font-weight: 700; }
.sn-base { position: absolute; bottom: 0; left: 0; width: 100%; height: 60px; background: linear-gradient(to top, rgba(229,28,81,0.1), transparent); }
.sn-laser { width: 100%; height: 2px; background: var(--c-highlight); box-shadow: 0 0 15px var(--c-highlight); animation: scanline-vert 3s ease-in-out infinite; }

/* =========================================
   MOCKUP 2: GKR KARATE TABLET
   ========================================= */
.tablet-mockup-wrapper { position: relative; width: 100%; max-width: 450px; margin: 0 auto; perspective: 2000px; }
.tablet-mockup { background: rgba(20, 20, 25, 0.6); backdrop-filter: blur(30px); border-radius: 35px; padding: 15px; border: 1px solid rgba(255,255,255,0.15); box-shadow: -30px 40px 80px rgba(0,0,0,0.8), inset 0 0 20px rgba(255,255,255,0.05); transform: rotateX(12deg) rotateY(15deg); animation: floatMockup 6s ease-in-out infinite reverse; }
.t-frame { background: #050507; border-radius: 20px; overflow: hidden; height: 320px; position: relative; box-shadow: inset 0 0 30px rgba(0,0,0,0.9); }
.t-camera { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 8px; height: 8px; background: #111; border-radius: 50%; border: 1px solid #333; z-index: 10; }
.t-inner-ui { padding: 35px 25px; }
.t-top-nav { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 10px; margin-bottom: 20px; }
.t-header { font-family: monospace; color: rgba(255,255,255,0.5); font-size: 0.7rem; }
.t-status { font-size: 0.6rem; color: #00ff88; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.t-dot.pulse { width: 6px; height: 6px; background: #00ff88; border-radius: 50%; animation: pulse-status 1.5s infinite; box-shadow: 0 0 8px #00ff88; }
.t-metrics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 20px; }
.t-data-cell { background: rgba(255,255,255,0.03); padding: 15px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); }
.t-data-cell span { display: block; font-size: 0.55rem; color: #64748b; margin-bottom: 5px; letter-spacing: 1px; }
.t-data-cell p { font-family: var(--font-brand); font-size: 1.4rem; color: white; margin: 0; }
.t-chart-box { background: rgba(229, 28, 81, 0.02); border: 1px dashed rgba(229, 28, 81, 0.2); border-radius: 12px; padding: 15px; }
.t-chart-label { font-size: 0.55rem; color: var(--c-highlight); letter-spacing: 1px; font-weight: 700; }
.t-main-chart { display: flex; align-items: flex-end; gap: 8px; height: 60px; margin-top: 10px; }
.t-bar { flex: 1; background: rgba(255,255,255,0.1); border-radius: 3px 3px 0 0; }
.t-bar.highlight { background: var(--c-highlight); box-shadow: 0 0 15px var(--c-highlight); }

/* =========================================
   MOCKUP 3: INSTANT GRANNY FLATS BLUEPRINT
   ========================================= */
.blueprint-mockup { background: rgba(5, 10, 20, 0.8); backdrop-filter: blur(20px); border: 1px solid rgba(100, 149, 237, 0.3); border-radius: 16px; height: 350px; position: relative; overflow: hidden; transform: rotateX(15deg) rotateY(-10deg); animation: floatMockup 5s ease-in-out infinite; box-shadow: 0 30px 60px rgba(0,0,0,0.8), inset 0 0 30px rgba(100, 149, 237, 0.1); }
.bp-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(100, 149, 237, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(100, 149, 237, 0.1) 1px, transparent 1px); background-size: 20px 20px; z-index: 1; }
.bp-content { position: relative; z-index: 5; padding: 20px; height: 100%; display: flex; flex-direction: column; }
.bp-header { color: #6495ed; font-family: monospace; font-size: 0.75rem; letter-spacing: 2px; border-bottom: 1px solid rgba(100, 149, 237, 0.3); padding-bottom: 10px; margin-bottom: 20px; }
.bp-drawing { flex: 1; position: relative; display: flex; justify-content: center; align-items: center; }
.bp-box { position: absolute; border: 2px solid #6495ed; background: rgba(100, 149, 237, 0.05); }
.bp-main { width: 180px; height: 120px; box-shadow: 0 0 20px rgba(100, 149, 237, 0.2); }
.bp-sub1 { width: 60px; height: 60px; top: 10%; right: 10%; border-style: dashed; }
.bp-sub2 { width: 80px; height: 40px; bottom: -20px; left: 20%; border-style: dotted; }
.bp-line { position: absolute; background: #6495ed; }
.hl-1 { width: 100%; height: 1px; top: 50%; left: 0; opacity: 0.5; }
.vl-1 { height: 100%; width: 1px; left: 50%; top: 0; opacity: 0.5; }
.bp-measurements { display: flex; justify-content: space-between; color: #6495ed; font-family: monospace; font-size: 0.7rem; margin-top: 15px; }

/* =========================================
   MOCKUP 4: RECOVERY SYSTEMS BROWSER
   ========================================= */
.browser-mockup { background: rgba(15, 15, 18, 0.9); backdrop-filter: blur(25px); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; height: 320px; overflow: hidden; transform: rotateX(8deg) rotateY(12deg); animation: floatMockup 6s ease-in-out infinite reverse; box-shadow: 0 30px 60px rgba(0,0,0,0.8); }
.br-header { background: rgba(255,255,255,0.05); padding: 12px 15px; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
.br-dots { display: flex; gap: 6px; margin-right: 20px; }
.br-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.br-dots span:nth-child(1) { background: #ff5f56; } .br-dots span:nth-child(2) { background: #ffbd2e; } .br-dots span:nth-child(3) { background: #27c93f; }
.br-url { flex: 1; background: rgba(0,0,0,0.3); border-radius: 6px; padding: 5px; text-align: center; color: #64748b; font-size: 0.7rem; font-family: monospace; }
.br-body { padding: 30px; display: flex; flex-direction: column; height: calc(100% - 40px); }
.br-title { font-size: 0.7rem; color: var(--c-highlight); letter-spacing: 2px; margin-bottom: 10px; font-weight: 700; }
.br-big-stat { font-family: var(--font-brand); font-size: 3rem; color: white; display: flex; align-items: center; gap: 15px; margin-bottom: 20px; text-shadow: 0 0 20px rgba(255,255,255,0.2); }
.br-graph { flex: 1; position: relative; border-bottom: 1px solid rgba(255,255,255,0.1); }
.br-wave { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(ellipse at bottom, rgba(229,28,81,0.2) 0%, transparent 70%); }
.br-wave-fill { position: absolute; bottom: 0; width: 100%; height: 2px; background: var(--c-highlight); box-shadow: 0 0 10px var(--c-highlight); }
.br-wave-fill::before { content: ''; position: absolute; top: -4px; right: 20%; width: 10px; height: 10px; background: white; border-radius: 50%; box-shadow: 0 0 15px white; }
.br-foot { margin-top: 15px; font-size: 0.65rem; color: #64748b; font-family: monospace; }

/* =========================================
   MOCKUP 5: SAME DAY RADAR LOGISTICS
   ========================================= */
.radar-mockup { background: rgba(5, 5, 8, 0.8); border: 1px solid rgba(0, 255, 136, 0.2); border-radius: 24px; padding: 20px; height: 350px; transform: rotateX(20deg) rotateY(-15deg); animation: floatMockup 8s ease-in-out infinite; box-shadow: 0 40px 80px rgba(0,0,0,0.9), inset 0 0 40px rgba(0, 255, 136, 0.05); }
.rm-header { color: #00ff88; font-family: monospace; font-size: 0.8rem; letter-spacing: 2px; display: flex; justify-content: space-between; margin-bottom: 20px; border-bottom: 1px solid rgba(0,255,136,0.2); padding-bottom: 10px; }
.rm-body { position: relative; height: 200px; width: 100%; border-radius: 50%; border: 1px solid rgba(0,255,136,0.3); overflow: hidden; background: rgba(0,255,136,0.02); margin: 0 auto; width: 200px; box-shadow: 0 0 30px rgba(0,255,136,0.1); }
.rm-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(0,255,136,0.2) 1px, transparent 1px); background-size: 20px 20px; border-radius: 50%; }
.rm-sweep { position: absolute; top: 0; left: 50%; width: 50%; height: 50%; background: conic-gradient(from 0deg, #00ff88 0%, transparent 40%); transform-origin: bottom left; animation: radar 4s linear infinite; }
.rm-blip { position: absolute; width: 6px; height: 6px; background: white; border-radius: 50%; box-shadow: 0 0 10px white; opacity: 0; animation: blip 4s infinite; }
.blip-1 { top: 30%; left: 40%; animation-delay: 0.5s; }
.blip-2 { top: 70%; left: 70%; animation-delay: 1.5s; }
.blip-3 { top: 60%; left: 30%; animation-delay: 2.5s; }
.blip-4.highlight { top: 40%; left: 60%; width: 10px; height: 10px; background: var(--c-highlight); box-shadow: 0 0 15px var(--c-highlight); animation-delay: 1s; z-index: 5; }
.rm-footer { margin-top: 25px; display: flex; justify-content: space-between; font-size: 0.65rem; color: #64748b; font-family: monospace; }

/* =========================================
   MOCKUP 6: MICROSOFT 365 CAMPAIGN CONSOLE
   ========================================= */
.ms-mockup-wrapper { position: relative; width: 100%; max-width: 450px; margin: 0 auto; perspective: 2000px; z-index: 5; }
.ms-console { background: rgba(10, 15, 25, 0.8); backdrop-filter: blur(25px); border: 1px solid rgba(0, 120, 212, 0.3); border-radius: 20px; padding: 25px; transform: rotateX(15deg) rotateY(10deg); animation: floatMockup 7s ease-in-out infinite reverse; box-shadow: 0 40px 80px rgba(0,0,0,0.8), inset 0 0 40px rgba(0, 120, 212, 0.05); }
.ms-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 15px; margin-bottom: 25px; }
.ms-title { color: #00a4ef; font-family: monospace; font-size: 0.8rem; letter-spacing: 1px; display: flex; align-items: center; gap: 8px; }
.ms-status { background: rgba(0, 255, 136, 0.1); color: #00ff88; padding: 4px 10px; border-radius: 12px; font-size: 0.6rem; font-weight: 800; letter-spacing: 1px; animation: pulse-status 2s infinite; }

.ms-docs-array { display: flex; gap: 15px; justify-content: center; margin-bottom: 25px; perspective: 500px; }
.ms-doc { width: 60px; height: 80px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; position: relative; animation: float-card 4s infinite ease-in-out; }
.ms-doc::after { content: ''; position: absolute; top: 10px; left: 10px; right: 10px; height: 4px; background: rgba(255,255,255,0.2); border-radius: 2px; box-shadow: 0 8px 0 rgba(255,255,255,0.1), 0 16px 0 rgba(255,255,255,0.1); }
.d-blue { border-color: rgba(0, 164, 239, 0.5); box-shadow: 0 0 15px rgba(0, 164, 239, 0.2); animation-delay: 0s; }
.d-green { border-color: rgba(127, 186, 0, 0.5); box-shadow: 0 0 15px rgba(127, 186, 0, 0.2); animation-delay: 0.5s; transform: translateZ(-10px); }
.d-orange { border-color: rgba(242, 80, 34, 0.5); box-shadow: 0 0 15px rgba(242, 80, 34, 0.2); animation-delay: 1s; transform: translateZ(-20px); }

.ms-ad-metrics { background: rgba(0,0,0,0.4); border-radius: 12px; padding: 15px; border: 1px solid rgba(255,255,255,0.05); margin-bottom: 20px; }
.ms-row { display: flex; justify-content: space-between; font-size: 0.65rem; font-family: monospace; color: #94a3b8; margin-bottom: 8px; }
.ms-row:last-child { margin-bottom: 0; }

.ms-graph { display: flex; align-items: flex-end; gap: 6px; height: 50px; }
.msg-bar { flex: 1; background: rgba(255,255,255,0.1); border-radius: 3px 3px 0 0; }
.msg-bar.active { background: #00a4ef; box-shadow: 0 0 15px rgba(0, 164, 239, 0.4); }

/* Grid Responsive Rules */
@media (max-width: 900px) {
    .lab-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .lab-grid.rev { direction: ltr; }
    .lab-grid.rev .lab-info, .lab-grid.rev .lab-visual { direction: ltr; }
    .lab-stats { justify-content: center; }
    .lab-title { font-size: 2.2rem; }
    .server-nexus, .tablet-mockup, .blueprint-mockup, .browser-mockup, .radar-mockup, .ms-console { transform: rotateX(10deg) rotateY(0deg); }
}

/* =========================================
   UI NOISE & HYPER-DETAIL
   ========================================= */

/* Tablet Details */
.t-top-nav { display: flex; justify-content: space-between; margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 5px; }
.t-user-id { font-size: 0.5rem; color: #64748b; font-family: monospace; }
.t-status { font-size: 0.5rem; color: #00ff88; font-weight: 800; display: flex; align-items: center; gap: 4px; }
.t-dot.pulse { width: 4px; height: 4px; background: #00ff88; border-radius: 50%; animation: pulse-status 1.5s infinite; }

.t-main-chart { display: flex; align-items: flex-end; gap: 8px; height: 80px; margin: 15px 0; }
.t-bar { flex: 1; background: rgba(255,255,255,0.05); border-radius: 2px; transition: 0.5s; }
.t-bar.highlight { background: var(--c-highlight); box-shadow: 0 0 15px var(--c-highlight); }

.t-grid-data { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.t-data-cell { background: rgba(255,255,255,0.02); padding: 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); }
.t-data-cell span { display: block; font-size: 0.45rem; color: #64748b; margin-bottom: 4px; }
.t-data-cell p { font-family: var(--font-brand); font-size: 0.9rem; color: white; margin: 0; }

/* Mini Graph for Browser */
.mini-graph { width: 100%; height: 60px; filter: drop-shadow(0 0 10px var(--c-highlight)); }

/* Creative Slate Details */
.s-layer-stack { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; text-align: left; }
.s-layer-stack span { font-size: 0.45rem; color: rgba(255,255,255,0.3); font-family: monospace; border-left: 1px solid var(--c-highlight); padding-left: 5px; }

.s-time-readout { font-family: monospace; color: white; font-size: 0.7rem; letter-spacing: 1px; }
.s-btn-fx { font-size: 0.5rem; color: #64748b; font-family: monospace; }

.s-glitch-lines {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(229, 28, 81, 0.02) 3px);
    pointer-events: none;
}

/* =========================================
   VISIONS: QUANTUM MONOLITH & 3D GLOBE
   ========================================= */

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    text-align: left;
}
.vision-grid.rev { direction: rtl; }
.vision-grid.rev .vision-info, .vision-grid.rev .vision-visual { direction: ltr; }

.vision-info { padding: 20px; }

.abstract-mockup {
    background: rgba(5, 3, 5, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    height: 400px;
    border-radius: 24px;
    border: 1px solid rgba(229, 28, 81, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.8), inset 0 0 40px rgba(229, 28, 81, 0.1);
}

/* 1. THE QUANTUM MONOLITH (Our Mandate) */
.monolith-wrapper {
    position: relative;
    width: 100%; height: 100%;
    display: flex; justify-content: center; align-items: center;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.monolith-group {
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-15deg);
    animation: floatMonolith 6s ease-in-out infinite alternate;
    z-index: 10;
}

/* The Glass Pillar */
.monolith {
    position: relative;
    width: 60px; height: 220px;
    transform-style: preserve-3d;
    animation: spinMonolith 12s linear infinite;
}

.m-face {
    position: absolute;
    width: 60px; height: 220px;
    background: linear-gradient(to bottom, rgba(229, 28, 81, 0.3), rgba(10, 5, 7, 0.8));
    border: 1px solid var(--c-highlight);
    box-shadow: inset 0 0 20px rgba(229, 28, 81, 0.2);
    opacity: 0.8;
}

.m-front { transform: translateZ(30px); }
.m-back { transform: rotateY(180deg) translateZ(30px); }
.m-left { transform: rotateY(-90deg) translateZ(30px); }
.m-right { transform: rotateY(90deg) translateZ(30px); }

/* Blinding Core Engine */
.m-core-beam {
    position: absolute;
    top: 10%; left: 50%;
    width: 8px; height: 80%;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 0 30px #fff, 0 0 60px var(--c-highlight);
    animation: pulseThrust 1.5s infinite alternate;
}

/* Green Security Scanner */
.m-scan-laser {
    position: absolute;
    top: 0; left: -20px; width: 100px; height: 4px;
    background: #00ff88;
    box-shadow: 0 0 20px #00ff88;
    transform: translateZ(40px);
    animation: scanMonolith 3s ease-in-out infinite alternate;
}

/* Base Connection Grid */
.m-base-grid {
    position: absolute;
    bottom: -60px; left: 50%;
    width: 300px; height: 300px;
    background-image: radial-gradient(var(--c-highlight) 1px, transparent 1px);
    background-size: 20px 20px;
    transform: translateX(-50%) rotateX(75deg);
    opacity: 0.3;
    animation: spinMonolith 20s linear infinite;
    border-radius: 50%;
    box-shadow: inset 0 0 50px #000;
}

/* Holographic Rings */
.m-ring {
    position: absolute;
    left: 50%;
    transform-style: preserve-3d;
    border: 1px solid rgba(0, 255, 136, 0.5);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}
.r-top { top: 20px; width: 140px; height: 140px; margin-left: -70px; transform: rotateX(75deg); border-style: dashed; animation: spinMonolith 8s linear infinite reverse;}
.r-mid { top: 100px; width: 220px; height: 220px; margin-left: -110px; transform: rotateX(75deg); animation: spinMonolith 15s linear infinite; }
.r-bot { bottom: 20px; width: 160px; height: 160px; margin-left: -80px; transform: rotateX(75deg); border-color: var(--c-highlight); animation: spinMonolith 10s linear infinite reverse;}

/* Floating Data Hubs */
.m-data-float {
    position: absolute;
    background: rgba(10, 5, 7, 0.8);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 12px;
    border-radius: 6px;
    backdrop-filter: blur(10px);
    font-family: monospace;
    font-size: 0.65rem;
    color: #64748b;
    letter-spacing: 1px;
    z-index: 20;
    display: flex; flex-direction: column; gap: 4px;
}
.df-left { top: 20%; left: 5%; border-left: 2px solid var(--c-highlight); }
.df-right { bottom: 20%; right: 5%; border-right: 2px solid #00ff88; text-align: right;}
.m-ok { color: #00ff88; font-weight: bold; text-shadow: 0 0 10px rgba(0, 255, 136, 0.5); }

@keyframes spinMonolith { 100% { transform: rotateY(360deg); } }
@keyframes floatMonolith { 100% { transform: rotateX(-15deg) translateY(-15px); } }
@keyframes scanMonolith { 0% { top: 5%; opacity: 0;} 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 95%; opacity: 0; } }

/* =========================================
   FOUNDER CARD (KENDALL KING)
   ========================================= */
.founder-card {
    background: rgba(10, 5, 7, 0.6);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(229, 28, 81, 0.3);
    border-radius: 30px;
    padding: 60px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8), inset 0 0 40px rgba(229, 28, 81, 0.05);
    position: relative;
    overflow: hidden;
}

.founder-card::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(229, 28, 81, 0.1) 0%, transparent 50%);
    pointer-events: none; z-index: 0;
}

.founder-content { 
    display: flex; gap: 50px; align-items: center; position: relative; z-index: 5;
}

.founder-avatar {
    width: 140px; height: 140px; flex-shrink: 0;
    background: linear-gradient(135deg, #111, #222);
    border: 2px solid var(--c-highlight);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 3.5rem; color: var(--c-highlight);
    box-shadow: 0 0 30px rgba(229, 28, 81, 0.4), inset 0 0 20px rgba(229, 28, 81, 0.2);
    animation: float-card 4s ease-in-out infinite;
}

.founder-text { flex: 1; }

.f-rank { 
    display: inline-block; font-size: 0.75rem; color: #00ff88; 
    text-transform: uppercase; letter-spacing: 3px; font-weight: 800; 
    margin-bottom: 10px; background: rgba(0, 255, 136, 0.1);
    padding: 6px 15px; border-radius: 20px; border: 1px solid rgba(0, 255, 136, 0.3);
}

.f-name { 
    font-family: var(--font-brand); font-size: 3rem; color: white; 
    margin-bottom: 25px; line-height: 1; text-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.f-bio { 
    color: #e2e8f0; font-size: 1.1rem; line-height: 1.8; 
}
.f-bio strong { color: white; font-weight: 600; text-shadow: 0 0 10px rgba(255,255,255,0.3); }

/* Responsive Adjustments */
@media (max-width: 900px) {
    .vision-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .vision-grid.rev { direction: ltr; }
    .vision-grid.rev .vision-info, .vision-grid.rev .vision-visual { direction: ltr; }
    .founder-content { flex-direction: column; text-align: center; gap: 30px; }
    .founder-card { padding: 40px 25px; }
    .f-name { font-size: 2.5rem; }
    
    /* Make sure the globe behaves on mobile inside the card */
    #vision-globe-container { pointer-events: none !important; }
}

/* =========================================
   3D HOLOGRAPHIC SONIC ENGINE
   ========================================= */
.sonic-engine-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    perspective: 1500px;
    z-index: 5;
    padding-top: 20px;
}

.sonic-engine {
    background: rgba(10, 5, 7, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 20px;
    transform: rotateX(15deg) rotateY(-10deg);
    animation: floatMockup 6s ease-in-out infinite alternate;
    box-shadow: -20px 40px 80px rgba(0,0,0,0.8), inset 0 0 40px rgba(229, 28, 81, 0.05);
}

/* Readout Panel */
.se-readout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.se-readout .live-dot {
    color: #00ff88;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
}
.se-readout .live-dot i { animation: pulse-status 1s infinite; }

.se-freq {
    font-family: monospace;
    color: #64748b;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* The 3D Audio Core */
.se-core-3d {
    position: relative;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

/* Spinning Holographic Rings */
.se-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(229, 28, 81, 0.4);
    box-shadow: inset 0 0 20px rgba(229, 28, 81, 0.1), 0 0 20px rgba(229, 28, 81, 0.1);
}
.outer-ring {
    width: 220px; height: 220px;
    animation: spinRing 20s linear infinite;
}
.inner-ring {
    width: 140px; height: 140px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-top-color: var(--c-highlight);
    animation: spinRing 10s linear infinite reverse;
}

@keyframes spinRing {
    0% { transform: rotateX(70deg) rotateZ(0deg); }
    100% { transform: rotateX(70deg) rotateZ(360deg); }
}

/* The Central Pulsing Orb */
.se-center-orb {
    position: absolute;
    width: 60px; height: 60px;
    background: radial-gradient(circle, rgba(229, 28, 81, 0.8) 0%, rgba(229, 28, 81, 0) 70%);
    display: flex; justify-content: center; align-items: center;
    border-radius: 50%;
    animation: pulse-status 1.5s infinite alternate;
}
.se-center-orb i { color: white; font-size: 1.5rem; filter: drop-shadow(0 0 10px white); }

/* The Jumping Audio Spectrum (EQ) */
.se-spectrum {
    position: absolute;
    top: -20px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 100px;
    z-index: 10;
}
.eq-bar {
    width: 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px 6px 0 0;
    animation: jumpEQ 1s ease-in-out infinite alternate;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.2);
}
.eq-bar.highlight {
    background: linear-gradient(0deg, var(--c-highlight), #ff4d79);
    box-shadow: 0 0 15px rgba(229, 28, 81, 0.5);
}

/* Staggered animation delays for realistic EQ movement */
.b1 { animation-delay: 0.1s; height: 30%; }
.b2 { animation-delay: 0.4s; height: 50%; }
.b3 { animation-delay: 0.2s; height: 70%; }
.b4 { animation-delay: 0.6s; height: 90%; }
.b5 { animation-delay: 0.3s; height: 100%; }
.b6 { animation-delay: 0.7s; height: 80%; }
.b7 { animation-delay: 0.2s; height: 60%; }
.b8 { animation-delay: 0.5s; height: 40%; }
.b9 { animation-delay: 0.1s; height: 20%; }

@keyframes jumpEQ {
    0% { transform: scaleY(0.3); transform-origin: bottom; }
    100% { transform: scaleY(1); transform-origin: bottom; }
}

/* Bottom Deck Waveform */
.se-deck {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}
.se-waveform-line {
    width: 100%; height: 20px;
    background: repeating-linear-gradient(90deg, 
        rgba(255,255,255,0.1) 0px, rgba(255,255,255,0.1) 2px, 
        transparent 2px, transparent 6px);
    opacity: 0.5;
    animation: scanline-hz 3s linear infinite;
}

/* =========================================
   3D EPIC SPELLBOOK (HOVER TO OPEN)
   ========================================= */
.spellbook-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 2000px; /* 3D Camera Depth */
    z-index: 5;
}

.hover-hint {
    position: absolute;
    bottom: -10px;
    font-size: 0.8rem;
    color: var(--c-highlight);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: pulse-status 2s infinite;
}

.spellbook {
    width: 280px;
    height: 380px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(20deg) rotateY(-10deg) rotateZ(5deg);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    animation: floatMockup 6s ease-in-out infinite;
    cursor: pointer;
}

/* Float closer on hover */
.spellbook-wrapper:hover .spellbook {
    transform: rotateX(15deg) rotateY(0deg) rotateZ(0deg) scale(1.05);
}

/* Base shape for pages and cover */
.book-cover, .book-pages {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 5px 15px 15px 5px;
}

/* The Glowing Pages inside */
.book-pages {
    background: #0d0d0f;
    border: 1px solid rgba(255,255,255,0.05);
    transform: translateZ(-5px); /* Sits slightly behind the cover */
    box-shadow: inset -20px 0 50px rgba(0,0,0,0.8), 10px 20px 40px rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-content {
    padding: 30px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0.3; /* Dim until opened */
    transition: opacity 0.5s 0.3s ease;
}

.spellbook-wrapper:hover .page-content {
    opacity: 1; /* Glows brightly when opened */
}

.magic-feather {
    font-size: 3rem;
    color: var(--c-highlight);
    filter: drop-shadow(0 0 15px var(--c-highlight));
    margin-bottom: 20px;
    animation: float-card 3s ease-in-out infinite;
}

.magic-runes { width: 80%; display: flex; flex-direction: column; gap: 10px; }
.m-line { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; }
.m-line.short { width: 60%; margin: 0 auto; }
.m-line.highlight { background: rgba(229, 28, 81, 0.6); box-shadow: 0 0 10px rgba(229,28,81,0.5); }

/* The Swinging Cover */
.book-cover {
    transform-style: preserve-3d;
    transform-origin: left center; /* Hinges on the left side */
    transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 10;
}

/* The Magic Flip Action! */
.spellbook-wrapper:hover .book-cover {
    transform: rotateY(-150deg);
}

/* Front and Inside faces of the cover */
.cover-front, .cover-inside {
    position: absolute;
    width: 100%; height: 100%;
    backface-visibility: hidden; /* Hides the back of the element */
    border-radius: 5px 15px 15px 5px;
}

.cover-front {
    background: linear-gradient(135deg, #0a0507, #150a0d);
    border: 2px solid rgba(229, 28, 81, 0.4);
    box-shadow: inset 0 0 40px rgba(229, 28, 81, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cover-emboss {
    text-align: center;
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px 20px;
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
}

.emblem { font-size: 3rem; color: var(--c-highlight); margin-bottom: 15px; }
.cover-emboss h2 { font-family: var(--font-brand); font-size: 1.5rem; letter-spacing: 2px; margin-bottom: 5px; }
.cover-emboss p { font-size: 0.6rem; letter-spacing: 4px; color: #64748b; margin: 0; }

.cover-inside {
    background: #050204;
    transform: rotateY(180deg); /* Flips it to face inward */
    border-right: 2px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset -20px 0 50px rgba(0,0,0,0.9);
}

.magic-circle {
    width: 150px; height: 150px;
    border: 1px dashed rgba(229, 28, 81, 0.3);
    border-radius: 50%;
    animation: radar 10s linear infinite;
}

.book-glow { background: radial-gradient(circle, rgba(229, 28, 81, 0.2) 0%, transparent 60%); }

/* =========================================
   CINEMATIC LENS HUD (PHOTO & VIDEO)
   ========================================= */

.holo-lens-wrapper {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    perspective: 1500px;
    z-index: 5;
    padding-top: 20px;
}

.holo-lens-console {
    position: relative;
    background: rgba(5, 2, 4, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    height: 350px;
    overflow: hidden;
    transform: rotateX(10deg) rotateY(5deg);
    animation: floatMockup 6s ease-in-out infinite alternate;
    box-shadow: 20px 30px 60px rgba(0,0,0,0.8), inset 0 0 40px rgba(229, 28, 81, 0.1);
}

/* Cinematic Letterbox Bars */
.cinematic-bars::before, .cinematic-bars::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 12%;
    background: #000;
    z-index: 20;
    box-shadow: 0 0 15px rgba(0,0,0,0.9);
}
.cinematic-bars::before { top: 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.cinematic-bars::after { bottom: 0; border-top: 1px solid rgba(255,255,255,0.05); }

/* HUD Top Data */
.hud-top {
    position: absolute;
    top: 12px; left: 20px; right: 20px;
    display: flex; justify-content: space-between;
    z-index: 25;
    font-family: monospace; font-size: 0.75rem; letter-spacing: 1px;
}
.hud-rec {
    color: #ff3333; font-weight: 700;
    display: flex; align-items: center; gap: 6px;
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.5);
}
.hud-rec i { animation: pulse-status 1s infinite; }
.hud-timecode { color: #fff; opacity: 0.8; }

/* HUD Bottom Data */
.hud-bottom {
    position: absolute;
    bottom: 12px; left: 20px; right: 20px;
    display: flex; justify-content: space-between;
    z-index: 25;
    color: #00ff88; font-family: monospace; font-size: 0.75rem;
    text-shadow: 0 0 8px rgba(0,255,136,0.4);
}

/* Center Crosshairs */
.hud-crosshair-h, .hud-crosshair-v {
    position: absolute;
    background: rgba(255,255,255,0.2);
    z-index: 10;
}
.hud-crosshair-h { top: 50%; left: 30%; right: 30%; height: 1px; transform: translateY(-50%); }
.hud-crosshair-v { left: 50%; top: 30%; bottom: 30%; width: 1px; transform: translateX(-50%); }

/* 3D Lens Assembly */
.lens-assembly {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    z-index: 5;
}

/* Outer Barrel */
.lens-outer {
    width: 220px; height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10,5,7,0.5) 40%, rgba(0,0,0,0.9) 100%);
    border: 3px solid rgba(255,255,255,0.05);
    box-shadow: 0 0 50px rgba(0,0,0,0.9), inset 0 0 20px rgba(229,28,81,0.2);
    display: flex; justify-content: center; align-items: center;
}

/* Spinning Focus Ring */
.lens-ring-spin {
    width: 190px; height: 190px;
    border-radius: 50%;
    border: 2px dashed rgba(255,255,255,0.2);
    animation: spinHoloRing 12s linear infinite;
    display: flex; justify-content: center; align-items: center;
}

/* Inner Lens Element */
.lens-inner {
    width: 130px; height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, #050507 30%, rgba(229,28,81,0.5) 100%);
    border: 5px solid #050507;
    box-shadow: inset 0 0 40px #000, 0 0 20px rgba(229,28,81,0.3);
    position: relative;
    /* Counter-spin to keep highlights stable */
    animation: spinHoloRing 12s linear infinite reverse;
}

/* Optical Glare */
.lens-glare {
    position: absolute;
    top: 15%; left: 15%;
    width: 45px; height: 45px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    filter: blur(6px);
}

/* Glowing Aperture Core */
.aperture-blade {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 40px; height: 40px;
    border: 2px solid var(--c-highlight);
    border-radius: 50%;
    box-shadow: 0 0 25px var(--c-highlight), inset 0 0 10px var(--c-highlight);
    animation: pulseAperture 3s ease-in-out infinite alternate;
}

@keyframes pulseAperture {
    0% { transform: translate(-50%, -50%) scale(0.8); border-width: 2px; }
    100% { transform: translate(-50%, -50%) scale(1.1); border-width: 4px; box-shadow: 0 0 40px var(--c-highlight); }
}

/* =========================================
   UNIVERSAL LIQUID GLASS GRIDS
   ========================================= */

/* The Master Glass Card */
.liquid-glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    text-align: left; /* Keeps text beautiful inside the card */
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.liquid-glass-card:hover {
    border-color: rgba(229, 28, 81, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(229, 28, 81, 0.1);
    transform: translateY(-5px);
}

.highlight-card {
    border-color: rgba(229, 28, 81, 0.3);
    background: rgba(229, 28, 81, 0.03);
}

/* Icons & Typography within Cards */
.card-icon {
    font-size: 2.5rem;
    color: var(--c-highlight);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(229, 28, 81, 0.4));
}

.card-icon-small {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 15px;
    opacity: 0.8;
}

.highlight-icon { color: var(--c-highlight); opacity: 1; filter: drop-shadow(0 0 10px rgba(229, 28, 81, 0.5)); }

.step-badge {
    display: inline-block;
    font-family: monospace;
    font-size: 0.7rem;
    color: #64748b;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.step-badge.highlight { color: var(--c-highlight); border-color: var(--c-highlight); }

/* Responsive Grids that stay centered */
.glass-grid-3 {
    display: grid;
    /* THE FIX: Forces exactly 3 columns on desktop, ignoring widths */
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 30px;
    width: 100%;
}

@media (max-width: 900px) {
    /* Stacks them neatly on mobile */
    .glass-grid-3 {
        grid-template-columns: 1fr !important; 
    }
}

.glass-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    width: 100%;
}

/* =========================================
   3D BIOMETRIC ACCESS TERMINAL (APPLY PAGE)
   ========================================= */
.terminal-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 60px auto;
    perspective: 2000px;
    z-index: 5;
    position: relative;
}

.access-terminal {
    width: 320px;
    height: 320px;
    background: rgba(10, 5, 7, 0.6);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(229, 28, 81, 0.2);
    border-radius: 50%; /* Makes it a perfect circle */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8), inset 0 0 50px rgba(229, 28, 81, 0.05);
    transform: rotateX(15deg) rotateY(-10deg);
    animation: floatMockup 8s ease-in-out infinite;
}

/* Rotating UI Rings */
.t-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid transparent;
}

.t-ring.outer {
    inset: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    animation: radar-rotate 8s linear infinite;
}

.t-ring.inner {
    inset: 40px;
    border-left: 2px dashed var(--c-highlight);
    border-right: 2px dashed var(--c-highlight);
    opacity: 0.5;
    animation: radar-rotate 12s linear infinite reverse;
}

/* The Core Fingerprint Scanner */
.t-core {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 28, 81, 0.1) 0%, transparent 70%);
}

.t-icon {
    font-size: 5rem;
    color: var(--c-highlight);
    opacity: 0.7;
    filter: drop-shadow(0 0 15px var(--c-highlight));
}

/* The Scanning Laser */
.t-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    box-shadow: 0 0 15px #fff, 0 0 30px var(--c-highlight);
    animation: scan 3s ease-in-out infinite alternate;
}

@keyframes scan {
    0% { top: 10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 90%; opacity: 0; }
}

/* Floating Data Tags */
.t-data {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.t-data.left { right: 110%; text-align: right; }
.t-data.right { left: 110%; text-align: left; }

.t-data span {
    font-family: monospace;
    font-size: 0.65rem;
    color: #64748b;
    letter-spacing: 2px;
    white-space: nowrap;
}

.t-data span.highlight {
    color: #00ff88;
    text-shadow: 0 0 10px #00ff88;
}

@media (max-width: 768px) {
    .t-data { display: none; /* Hide floating text on mobile to prevent overflow */ }
    .access-terminal { width: 260px; height: 260px; }
}

/* =========================================
   CLEAN & ROBUST GLASS DROPDOWNS (CROSS-BROWSER FIXED)
   This conceptually replaces the previously problematic "liquid glass" refraction block.
   ========================================= */

/* 1. Base Dropdown styling (Scoped to the hero section) */
.dropdown {
  position: absolute; 
  z-index: 1000; 
  display: flex; 
  flex-direction: column;
  top: calc(100% + 15px); 
  left: 0; 
  width: 100%; 
  min-height: 275px;
  --radius: 20px; 
  border-radius: var(--radius); 
  padding: 15px; 

  /* The NEW Clean Frosted Glass Look */
  background: rgba(10, 5, 7, 0.85); /* Deep dark background */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); /* Safari support */
  border: 1px solid rgba(229, 28, 81, 0.2); /* Subtle brand red border */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(229, 28, 81, 0.05); /* Deep shadow with faint red glow */

  /* Hidden State by Default */
  opacity: 0; 
  visibility: hidden; 
  transform: translateY(-20px) scale(0.95); 
  transition: all 0.4s cubic-bezier(0.5, 1, 0.89, 1);
}

/* THE FIX: We keep the divs in the HTML for compatibility, but we kill the effect here */
.dropdown .shine,
.dropdown .glow {
  display: none !important;
}

/* 2. Active (Open) State for the hero dropdown */
.dropdown.active { 
  opacity: 1; 
  visibility: visible; 
  transform: translateY(0) scale(1); 
  pointer-events: auto; 
}

/* 3. Base Options Styles (Separated from universal links) */
.option {
  position: relative;
  cursor: none;
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  z-index: 10;
  border: 1px solid transparent;
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 15px;
  
  /* We remove the complex background and before/after pseudo complexity from previous logic */
  background: transparent !important;
}

/* Normal Glass Highlight on hover (Simple, clean, performant) */
.option:hover { 
  background: rgba(229, 28, 81, 0.1) !important; /* Simple red highlight from brand color */
  border-color: rgba(229, 28, 81, 0.2) !important;
  color: white !important;
}

/* Option Content Styles */
.option i { font-size: 1.4rem; min-width: 30px; position: relative; z-index: 1; transition: transform 0.3s; color: var(--c-highlight); }
.option:hover i { transform: scale(1.1); color: white; } /* Icon scales slightly on hover */
.option span { flex: 1; font-size: 1rem; position: relative; z-index: 1; }

/* 4. Clean, static selection state */
.option.selected { 
  background: rgba(229, 28, 81, 0.15) !important; 
  color: white !important; 
  border: 1px solid rgba(229, 28, 81, 0.4) !important; 
  animation: none !important; 
  transform: none !important;
  box-shadow: 0 0 15px rgba(229, 28, 81, 0.15); /* Subtle shadow for selection */
}

/* Ensure selected icon is clean and white */
.option.selected i,
.option.selected span {
  color: white !important;
  animation: none !important;
  transform: none !important;
}

/* A simple, clean checkmark indicator on selection */
.option.selected::after { 
  content: "\f00c"; 
  font-family: "Font Awesome 6 Free"; 
  font-weight: 900; 
  color: var(--c-highlight); 
  font-size: 1.2rem; 
  position: absolute; 
  right: 20px; 
}

/* =========================================
   LOGO STYLING
   ========================================= */

/* Header Logo */
.brand-logo {
    height: 100px; /* Adjust this to make it bigger or smaller in the nav */
    width: auto;
    display: block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-link:hover .brand-logo {
    transform: scale(1.05); /* Slight pop effect on hover */
}

/* Footer Logo */
.footer-logo-link {
    display: inline-block;
    text-decoration: none;
    cursor: none; /* Keeps your custom red cursor */
}

.footer-logo {
    height: 100px; /* Slightly larger for the footer */
    width: auto;
    display: block;
    margin-bottom: 20px; /* Maintains the spacing above the paragraph */
    transition: all 0.3s ease;
}

.footer-logo-link:hover .footer-logo {
    transform: translateY(-3px);
    filter: drop-shadow(0 5px 15px rgba(229, 28, 81, 0.4)); /* Adds your brand red glow on hover */
}

/* =========================================
   FULLSCREEN MOBILE MENU & ACCORDION
   ========================================= */

/* Desktop Nav Icons */
.mobile-icon { 
  display: inline-flex; 
  align-items: center;
  justify-content: center;
  color: var(--c-highlight); 
  font-size: 0.9rem; /* Keeps them subtle and premium on desktop */
  opacity: 0.8;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

/* Make them pop when you hover over the link */
.nav-link:hover .mobile-icon,
.nav-dropdown-toggle:hover .mobile-icon,
.nav-link.active .mobile-icon {
  opacity: 1;
  transform: scale(1.2) rotate(-5deg); /* Slight playful pop and tilt */
  color: white; /* Matches the text turning white on hover */
}

/* Mobile Hamburger Base */
.nav-toggle { 
  display: none; 
  flex-direction: column; 
  justify-content: center; 
  width: 40px; height: 40px; 
  background: rgba(255,255,255,0.05); 
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  cursor: none; 
  z-index: 1001; 
  padding: 8px;
  transition: all 0.3s;
}

.hamburger-line { 
  width: 100%; height: 2px; 
  background: var(--c-highlight); 
  border-radius: 5px; 
  margin-bottom: 5px; 
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1); 
  transform-origin: center;
}
.hamburger-line:last-child { margin-bottom: 0; }

/* Hamburger Active Animation */
.nav-toggle[aria-expanded="true"] { border-color: var(--c-highlight); background: rgba(229, 28, 81, 0.1); }
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .mobile-icon { display: inline-block; width: 25px; color: var(--c-highlight); font-size: 1.1rem; }

/* Fullscreen Glass Overlay */
  .nav-menu { 
    position: fixed !important; 
    top: 0 !important; 
    left: 0 !important; 
    
    /* THE FIX: Force the width to take up the entire screen and kill the old 20rem constraint */
    width: 100% !important; 
    max-width: none !important; 
    
    /* Uses dynamic viewport height so iOS/Android bottom bars don't cut off your links */
    height: 100vh !important; 
    height: 100dvh !important; 
    
    background: rgba(5, 3, 4, 0.98) !important; /* Pitch black glass */
    backdrop-filter: blur(30px); 
    -webkit-backdrop-filter: blur(30px);
    
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    padding: 20px; 
    
    /* Animation base */
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(-20px) scale(0.98); 
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1); 
    z-index: 1000; 
    overflow-y: auto; 
  }

  .nav-menu.active { 
    opacity: 1; visibility: visible; 
    transform: translateY(0) scale(1); 
  }

  /* List & Items Styling */
  .nav-list { flex-direction: column; gap: 15px; width: 100%; max-width: 400px; }
  .nav-item { width: 100%; display: block; }
  
  .nav-link, .nav-dropdown-toggle { 
    width: 100%; 
    font-size: 1.3rem; 
    font-weight: 600;
    padding: 18px 25px; 
    border-radius: 16px; 
    background: rgba(255,255,255,0.02); 
    border: 1px solid rgba(255,255,255,0.05); 
    justify-content: flex-start; 
    margin: 0;
  }
  
  .nav-link:hover, .nav-dropdown-toggle:hover { 
    background: rgba(229,28,81,0.05); 
    border-color: rgba(229,28,81,0.3); 
  }

  /* CTA Button overrides */
  .nav-cta { margin: 30px 0 0 0; width: 100%; max-width: 400px; }
  .cta-button { width: 100%; font-size: 1.2rem; padding: 20px; border-radius: 16px; }

  /* OVERRIDE DESKTOP HOVER FOR SUBMENU */
  .nav-item--dropdown:hover .nav-submenu,
  .nav-item--dropdown[aria-expanded="true"] .nav-submenu {
      transform: none !important;
  }

  /* The Smooth Accordion */
  .nav-submenu { 
    position: static; 
    width: 100%; 
    background: transparent; 
    box-shadow: none; 
    border: none; 
    padding: 0; 
    
    /* JS will handle max-height for smooth drop */
    max-height: 0; 
    overflow: hidden; 
    opacity: 1; /* Always opaque, hidden by height */
    visibility: visible;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .submenu-link { 
    padding: 15px 20px 15px 60px; /* Indents the child links past the parent icon */
    font-size: 1.1rem; 
    color: rgba(255,255,255,0.6);
  }
}

/* =========================================
   CONTROL CENTER ENHANCEMENTS & RESPONSIVE FIX
   ========================================= */

/* FIXED SCROLLBAR ISSUE: Allow container to scale naturally */
.dashboard-container {
  height: auto !important; /* Forces it to grow with content */
  min-height: 550px;
}
.dashboard-main { 
  overflow: visible !important; /* Turns off the internal scrollbar */
}

/* Tab 1: Live Status */
.live-dot { color: #00ff88; font-size: 0.5rem; animation: pulse-status 1.5s infinite; margin-right: 5px; vertical-align: middle; }
@keyframes pulse-status { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Tab 2: Analytics Traffic Bars */
.analytics-content { display: flex; flex-direction: column; gap: 25px; padding-top: 10px; }
.traffic-bar-wrap { width: 100%; }
.bar-info { display: flex; justify-content: space-between; font-weight: 600; color: white; margin-bottom: 8px; font-size: 0.95rem; }
.bar-info i { color: var(--c-highlight); margin-right: 8px; width: 20px; text-align: center; }
.progress-track { width: 100%; height: 12px; background: rgba(255,255,255,0.05); border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); }
.progress-fill { height: 100%; background: linear-gradient(90deg, #e51c51, #ff4d79); border-radius: 10px; position: relative; box-shadow: 0 0 15px rgba(229, 28, 81, 0.5); }
.pulse-fill::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); animation: scanline-hz 2s infinite; }
@keyframes scanline-hz { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* Tab 3: Network Matrix Radar */
.network-content { display: flex; align-items: center; gap: 40px; padding-top: 10px; }
.radar-box { width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(229,28,81,0.3); position: relative; overflow: hidden; background: rgba(229,28,81,0.02); flex-shrink: 0; box-shadow: 0 0 30px rgba(229,28,81,0.1); }
.radar-sweep { position: absolute; top: 0; left: 50%; width: 50%; height: 50%; background: conic-gradient(from 0deg, var(--c-highlight) 0%, transparent 40%); transform-origin: bottom left; animation: radar 3s linear infinite; }
.radar-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(255,255,255,0.05); border-radius: 50%; }
.r1 { width: 30%; height: 30%; } .r2 { width: 60%; height: 60%; } .r3 { width: 90%; height: 90%; }
.blip { position: absolute; width: 6px; height: 6px; background: #00ff88; border-radius: 50%; box-shadow: 0 0 10px #00ff88; opacity: 0; animation: blip 3s infinite; }
.b1 { top: 20%; left: 30%; animation-delay: 0.5s; } .b2 { top: 60%; left: 70%; animation-delay: 1.5s; } .b3 { top: 70%; left: 40%; animation-delay: 2.5s; } .b4 { top: 30%; left: 60%; animation-delay: 0.8s; }
@keyframes radar { to { transform: rotate(360deg); } }
@keyframes blip { 0% { opacity: 0; } 5% { opacity: 1; transform: scale(1.5); } 10% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }

.network-stats { display: flex; flex-direction: column; gap: 15px; width: 100%; }
.n-stat { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; background: rgba(255,255,255,0.02); border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); }
.n-stat span { color: #64748b; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.n-stat strong { color: white; font-family: var(--font-brand); font-size: 1.1rem; }
.sync-on { color: #00ff88 !important; text-shadow: 0 0 10px rgba(0,255,136,0.3); }

/* Tab 4: Settings Toggles */
.settings-content { display: flex; flex-direction: column; gap: 20px; }
.setting-row { display: flex; justify-content: space-between; align-items: center; background: rgba(255, 255, 255, 0.02); padding: 20px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); }
.set-info h3 { font-family: var(--font-brand); color: white; font-size: 1.2rem; margin-bottom: 5px; }
.set-info p { color: #64748b; font-size: 0.85rem; max-width: 300px; line-height: 1.4; }

.ui-switch { position: relative; display: inline-block; width: 60px; height: 30px; flex-shrink: 0; }
.ui-switch input { opacity: 0; width: 0; height: 0; }
.ui-slider { position: absolute; cursor: pointer; inset: 0; background-color: rgba(255,255,255,0.1); transition: .4s; border-radius: 30px; border: 1px solid rgba(255,255,255,0.2); }
.ui-slider:before { position: absolute; content: ""; height: 22px; width: 22px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
.ui-switch input:checked + .ui-slider { background-color: var(--c-highlight); border-color: var(--c-highlight); box-shadow: 0 0 15px rgba(229, 28, 81, 0.4); }
.ui-switch input:checked + .ui-slider:before { transform: translateX(30px); }

/* =========================================
   PERFECT MOBILE SCALING GRID
   ========================================= */
@media (max-width: 900px) {
  .dashboard-container { grid-template-columns: 1fr; }
  .dashboard-sidebar { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); padding: 20px; }
  
  /* Creates a 4-column grid for the icons so they never overflow */
  .sidebar-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  
  .dash-tab { width: 100%; padding: 12px 5px; flex-direction: column; justify-content: center; text-align: center; }
  .dash-icon { margin: 0 auto 8px auto; width: 30px; height: 30px; }
  .dash-icon svg { width: 16px; height: 16px; }
  .main-label { font-size: 0.75rem; }
  .sub-label { display: none; }
  
  .dashboard-main { padding: 30px 20px; }
  .grid-2x2 { grid-template-columns: 1fr; }
  .setting-row { flex-direction: column; align-items: flex-start; gap: 15px; }
  
  /* Stack the radar vertically */
  .network-content { flex-direction: column; text-align: center; }
  .n-stat { flex-direction: column; gap: 8px; text-align: center; padding: 12px; }
}

/* Extreme thin phones - hide text, keep icons large and clear */
@media (max-width: 480px) {
  .main-label { display: none; }
  .dash-icon { margin-bottom: 0; }
  .dash-tab { padding: 15px 5px; }
}

/* =========================================
   DYNAMIC SETTINGS TOGGLE LOGIC (TURBO MODE)
   ========================================= */

/* Default States */
.s-on { display: none; }
.s-off { display: block; }
.setting-row { transition: all 0.4s ease; }

/* WHEN THE SWITCH IS TURNED ON */
.setting-row:has(input:checked) .s-off { 
    display: none; 
}

.setting-row:has(input:checked) .s-on { 
    display: block; 
    animation: textPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; 
}

/* Turbo Styling for Active Text */
.setting-row:has(input:checked) h3.s-on { 
    color: var(--c-highlight); 
    text-shadow: 0 0 15px rgba(229, 28, 81, 0.4); 
    letter-spacing: 0.5px;
}

.setting-row:has(input:checked) p.s-on { 
    color: #e2e8f0; /* Makes the description text brighter when active */
}

/* Makes the entire row glow when activated */
.setting-row:has(input:checked) {
    background: rgba(229, 28, 81, 0.05);
    border-color: rgba(229, 28, 81, 0.3);
    box-shadow: inset 0 0 20px rgba(229, 28, 81, 0.05);
    transform: translateX(5px); /* Slight nudge to the right to feel 'engaged' */
}

/* The satisfying pop animation */
@keyframes textPop {
    0% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* =========================================
   ADVERTISING MEDIA CONSOLE MOCKUP
   ========================================= */
.ad-console-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    perspective: 1500px;
    z-index: 5;
}

.ad-console {
    background: rgba(10, 5, 7, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transform: rotateX(8deg) rotateY(-5deg);
    animation: floatMockup 6s ease-in-out infinite;
    box-shadow: -20px 30px 60px rgba(0,0,0,0.8), inset 0 0 30px rgba(229, 28, 81, 0.05);
}

.adc-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.adc-status { color: white; display: flex; align-items: center; gap: 8px; }
.pulse-dot { width: 8px; height: 8px; background: #00ff88; border-radius: 50%; box-shadow: 0 0 10px #00ff88; animation: pulse-status 1.5s infinite; }
.adc-id { color: #64748b; }
.adc-id span { color: var(--c-highlight); }

.adc-body { padding: 25px; display: flex; flex-direction: column; gap: 20px; }

/* The Fake Billboard Creative */
.adc-creative-zone {
    width: 100%;
    height: 180px;
    background: #000;
    border-radius: 12px;
    border: 1px solid rgba(229, 28, 81, 0.3);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.adc-billboard {
    position: absolute; inset: 0; background: radial-gradient(circle, rgba(229,28,81,0.2) 0%, transparent 80%);
    display: flex; align-items: center; justify-content: center;
}
.bb-text { font-family: var(--font-brand); color: white; font-size: 2.5rem; text-align: center; line-height: 1; text-shadow: 0 0 20px rgba(229,28,81,0.8); z-index: 2; }
.bb-scanline { position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: rgba(255,255,255,0.5); opacity: 0.5; animation: scanline-vert 3s linear infinite; z-index: 3; }
.bb-overlay { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.3) 2px, rgba(0,0,0,0.3) 4px); z-index: 4; pointer-events: none; }

@keyframes scanline-vert { 0% { transform: translateY(-100%); } 100% { transform: translateY(200px); } }

/* Metrics */
.adc-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.adc-stat { background: rgba(255,255,255,0.02); padding: 15px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.05); display: flex; flex-direction: column; gap: 5px; text-align: left; }
.adc-stat .l { font-size: 0.65rem; color: #64748b; text-transform: uppercase; }
.adc-stat .v { font-family: var(--font-brand); font-size: 1.2rem; color: white; }
.adc-stat .c-high { color: var(--c-highlight); text-shadow: 0 0 10px rgba(229,28,81,0.3); }

/* Bidding Graph */
.adc-bidding-graph { height: 60px; display: flex; align-items: flex-end; gap: 8px; padding: 0 10px; }
.bid-bar { flex: 1; background: rgba(255,255,255,0.1); border-radius: 3px 3px 0 0; transition: height 0.3s; }
.bid-bar.highlight { background: var(--c-highlight); box-shadow: 0 0 15px var(--c-highlight); }

/* Action Footer */
.adc-footer { padding: 20px; background: rgba(0,0,0,0.3); border-top: 1px solid rgba(255,255,255,0.05); }
.adc-deploy-btn {
    width: 100%; background: transparent; border: 1px solid var(--c-highlight); color: var(--c-highlight);
    padding: 15px; border-radius: 8px; font-family: var(--nav-font); font-weight: 700; font-size: 1rem;
    letter-spacing: 2px; transition: all 0.3s; cursor: pointer; text-transform: uppercase;
}
.adc-deploy-btn:hover { background: var(--c-highlight); color: white; box-shadow: 0 0 20px rgba(229,28,81,0.5); transform: translateY(-2px); }

@media (max-width: 768px) {
    .adc-metrics { grid-template-columns: 1fr; }
    .bb-text { font-size: 1.8rem; }
}

/* =========================================
   3D BIOMETRIC ACCESS TERMINAL (APPLY PAGE)
   ========================================= */
.terminal-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 60px auto 100px;
    perspective: 2000px;
    z-index: 5;
    position: relative;
}

.access-terminal {
    width: 320px;
    height: 320px;
    background: rgba(10, 5, 7, 0.7);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(229, 28, 81, 0.2);
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8), inset 0 0 50px rgba(229, 28, 81, 0.05);
    transform: rotateX(15deg) rotateY(-10deg);
    animation: floatMockup 8s ease-in-out infinite;
}

/* Rotating UI Rings */
.t-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid transparent;
}

.t-ring.outer {
    inset: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    animation: radar-rotate 8s linear infinite;
}

.t-ring.inner {
    inset: 40px;
    border-left: 2px dashed var(--c-highlight);
    border-right: 2px dashed var(--c-highlight);
    opacity: 0.6;
    animation: radar-rotate 12s linear infinite reverse;
}

@keyframes radar-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* The Core Fingerprint Scanner */
.t-core {
    position: relative;
    width: 130px;
    height: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 28, 81, 0.15) 0%, transparent 70%);
}

.t-icon-main {
    font-size: 5rem;
    color: var(--c-highlight);
    opacity: 0.8;
    filter: drop-shadow(0 0 15px var(--c-highlight));
}

/* The Scanning Laser */
.t-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #00ff88;
    box-shadow: 0 0 15px #00ff88, 0 0 30px #00ff88;
    animation: scan 3s ease-in-out infinite alternate;
}

@keyframes scan {
    0% { top: 10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 90%; opacity: 0; }
}

/* Floating Data Tags */
.t-data {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.t-data.left { right: 110%; text-align: right; }
.t-data.right { left: 110%; text-align: left; }

.t-data span {
    font-family: monospace;
    font-size: 0.65rem;
    color: #64748b;
    letter-spacing: 2px;
    white-space: nowrap;
}

.t-data span.highlight {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
}

@media (max-width: 768px) {
    .t-data { display: none; /* Hide floating text on mobile to prevent overflow */ }
    .access-terminal { width: 260px; height: 260px; }
}

/* 4-COLUMN GLASS GRID FIX */
.glass-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    width: 100%;
}

@media (max-width: 900px) {
    .glass-grid-4 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .glass-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   MASTER MOBILE NAV & VIEWPORT PATCH (V3)
   ========================================= */

/* 1. Clean Viewport Lock (Kills Horizontal Scroll gracefully) */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}


/* 2. TRIGGER MOBILE MENU SOONER (1100px) TO PREVENT BUTTON WARPING */
@media (max-width: 1100px) {
    .nav-toggle { display: flex !important; }
    
    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: rgba(5, 3, 4, 0.98) !important;
        backdrop-filter: blur(30px);
        
        /* Center column, starting slightly down so it clears the header */
        flex-direction: column !important;
        justify-content: flex-start !important; 
        align-items: center !important;
        padding: 120px 5vw 40px !important; 
        box-sizing: border-box !important;
        margin: 0 !important;
        
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-20px) scale(0.98) !important;
        transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
        z-index: 1000 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    .nav-menu.active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) scale(1) !important;
    }

    /* 3. PROPERLY ALIGNED MENU ITEMS */
    .nav-list { 
        display: flex !important;
        flex-direction: column !important; 
        gap: 12px !important; 
        width: 100% !important; 
        max-width: 400px !important; /* Keeps it perfectly sized on iPads */
        margin: 0 auto !important; 
        padding: 0 !important;
    }
    
    .nav-item { width: 100% !important; display: block !important; margin: 0 !important; }
    
    /* The Alignment Fix */
    .nav-link, .nav-dropdown-toggle { 
        width: 100% !important; 
        box-sizing: border-box !important;
        font-size: 1.2rem !important; 
        padding: 18px 20px !important; 
        border-radius: 12px !important; 
        background: rgba(255,255,255,0.02) !important; 
        border: 1px solid rgba(255,255,255,0.05) !important; 
        
        /* Flex-start keeps the Icon and Text together on the left */
        display: flex !important;
        justify-content: flex-start !important; 
        align-items: center !important;
        gap: 15px !important;
        margin: 0 !important; 
    }

    /* Pushes ONLY the dropdown chevron to the far right */
    .nav-dropdown-toggle svg { margin-left: auto !important; }

   /* 4. THE ACCORDION FIX (FOOLPROOF PARENT TARGETING) */
    .nav-submenu { 
        position: static !important; 
        width: 100% !important; 
        background: transparent !important; 
        box-shadow: none !important; 
        border: none !important; 
        padding: 0 !important; 
        max-height: 0 !important; 
        overflow: hidden !important; 
        opacity: 0 !important; 
        visibility: hidden !important; 
        transition: max-height 0.4s ease, opacity 0.3s ease !important; 
        transform: none !important;
    }
    
    /* We target the parent wrapper now, which never fails */
    .nav-item--dropdown.is-open .nav-submenu {
        max-height: 600px !important; 
        opacity: 1 !important;
        visibility: visible !important;
        margin-top: 10px !important;
    }

    /* Flip the chevron when open */
    .nav-item--dropdown.is-open .nav-dropdown-toggle svg {
        transform: rotate(180deg) !important;
        color: var(--c-highlight) !important;
    }

    /* Indents the sub-links to sit under the text */
    .submenu-link { padding: 12px 20px 12px 55px !important; font-size: 1rem !important; color: rgba(255,255,255,0.7) !important; }
    
    /* RESTORES THE JAVASCRIPT TOGGLE */
    .nav-dropdown-toggle.active + .nav-submenu {
        max-height: 500px !important; /* Opens the accordion smoothly */
    }

    /* Indents the sub-links to sit under the text, not the icon */
    .submenu-link { padding: 12px 20px 12px 55px !important; font-size: 1rem !important; color: rgba(255,255,255,0.7) !important; }
    
    /* Kills desktop hover from firing accidentally */
    .nav-item--dropdown:hover .nav-submenu { transform: none !important; }

    /* CTA Button sizing */
    .nav-cta { margin: 20px auto 0 !important; width: 100% !important; max-width: 400px !important; }
    .cta-button { width: 100% !important; font-size: 1.1rem !important; padding: 18px !important; border-radius: 16px !important; box-sizing: border-box !important; }

    /* 5. CURSOR & GLOBE FIXES (Kept intact) */
    #cursor-dot, #cursor-ring { display: none !important; }
    body, .nav-link, .nav-dropdown-toggle, .cta-button, .option, .submenu-link, .social-icon, a, button { cursor: auto !important; }
    .global-section { height: 60vh; min-height: 500px; margin: 40px 0; overflow: hidden; }
    #globe-container { width: 150vw !important; left: -25vw !important; transform: scale(0.65) !important; pointer-events: none !important; }
    .global-overlay { top: 5%; }
}

@media (pointer: coarse) { #cursor-dot, #cursor-ring { display: none !important; } body, a, button, .nav-link { cursor: auto !important; } }
/* =========================================
   1. CONSULTING: REVENUE CHART MOCKUP
   ========================================= */
.revenue-chart-wrapper {
    position: relative; width: 100%; max-width: 650px; margin: 0 auto;
    perspective: 1500px; -webkit-perspective: 1500px; z-index: 5; padding-top: 20px;
}
.revenue-console {
    background: rgba(10, 5, 7, 0.75); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; overflow: hidden;
    transform: rotateX(12deg) rotateY(-5deg); -webkit-transform: rotateX(12deg) rotateY(-5deg);
    animation: floatMockup 7s ease-in-out infinite alternate;
    box-shadow: -20px 40px 80px rgba(0,0,0,0.8), inset 0 0 30px rgba(0, 255, 136, 0.05);
}
.rc-header { background: rgba(255, 255, 255, 0.03); padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.rc-dot { color: #00ff88; font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; display: flex; align-items: center; gap: 8px; text-shadow: 0 0 10px rgba(0, 255, 136, 0.5); }
.rc-dot i { animation: pulse-status 1.5s infinite; }
.rc-id { color: #64748b; font-family: monospace; font-size: 0.8rem; letter-spacing: 1px; }
.rc-body { position: relative; height: 380px; padding: 30px; display: flex; flex-direction: column; justify-content: flex-start; overflow: hidden; }
.rc-grid-bg { position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 40px 40px; transform: rotateX(45deg); animation: gridPan 15s linear infinite; z-index: 1; opacity: 0.8; }
@keyframes gridPan { 0% { transform: rotateX(45deg) translateY(0); } 100% { transform: rotateX(45deg) translateY(80px); } }
.rc-main-value { position: relative; z-index: 10; text-align: left; margin-top: 10px; }
.rc-currency { font-family: var(--font-brand); font-size: 2rem; color: rgba(255,255,255,0.4); vertical-align: top; margin-right: 5px; }
.rc-amount { font-family: var(--font-brand); font-size: 4.5rem; color: #fff; line-height: 1; text-shadow: 0 0 30px rgba(0, 255, 136, 0.3); }
.rc-trend { display: inline-flex; align-items: center; gap: 8px; background: rgba(0, 255, 136, 0.15); border: 1px solid rgba(0, 255, 136, 0.3); color: #00ff88; padding: 6px 12px; border-radius: 20px; font-weight: 700; font-size: 0.9rem; margin-top: 15px; box-shadow: 0 0 15px rgba(0, 255, 136, 0.2); }
.rc-chart-container { position: absolute; bottom: 0; left: -5%; width: 110%; height: 55%; z-index: 5; }
.rc-svg-chart { width: 100%; height: 100%; overflow: visible; }
.rc-chart-line { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: drawLine 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, floatLine 4s ease-in-out infinite alternate 2.5s; }
.rc-chart-fill { opacity: 0; animation: fadeIn 1s ease-out 1.5s forwards; }
.rc-chart-point-glow { animation: pulse-status 1.5s infinite; filter: blur(4px); }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes floatLine { 0% { transform: translateY(0); } 100% { transform: translateY(-5px); } }
@keyframes fadeIn { to { opacity: 1; } }
.rc-scanline { position: absolute; top: 0; left: 0; height: 100%; width: 2px; background: linear-gradient(to bottom, transparent, #00ff88, transparent); box-shadow: 0 0 15px #00ff88; animation: scanChart 4s linear infinite; z-index: 6; opacity: 0.7; }
@keyframes scanChart { 0% { left: 0%; opacity: 0; } 10% { opacity: 0.7; } 90% { opacity: 0.7; } 100% { left: 100%; opacity: 0; } }
@media (max-width: 600px) { .rc-amount { font-size: 3rem; } .revenue-console { transform: rotateX(10deg) rotateY(0deg); } }

/* =========================================
   2. MUSIC: FUTURISTIC SONIC CONSOLE
   ========================================= */
.sonic-console-wrapper {
    position: relative; width: 100%; max-width: 800px; margin: 40px auto;
    perspective: 2000px; -webkit-perspective: 2000px; z-index: 5;
}
.sonic-console {
    background: rgba(10, 5, 7, 0.75); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; padding: 30px;
    transform: rotateX(15deg) rotateY(-8deg) rotateZ(2deg); -webkit-transform: rotateX(15deg) rotateY(-8deg) rotateZ(2deg);
    animation: floatMockup 8s ease-in-out infinite alternate;
    box-shadow: -30px 50px 100px rgba(0,0,0,0.8), inset 0 0 40px rgba(229, 28, 81, 0.05); overflow: hidden;
}
.sc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 15px; }
.sc-status { color: white; font-family: monospace; font-size: 0.75rem; letter-spacing: 2px; display: flex; align-items: center; gap: 8px; }
.sc-readout { color: #64748b; font-family: monospace; font-size: 0.8rem; }
.sc-body { position: relative; height: 300px; display: flex; justify-content: center; align-items: center; }
.sc-main-note { position: relative; z-index: 10; font-size: 5rem; color: white; filter: drop-shadow(0 0 20px rgba(229, 28, 81, 0.8)); animation: noteFloat 4s ease-in-out infinite; }
@keyframes noteFloat { 0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 20px rgba(229, 28, 81, 0.8)); } 50% { transform: translateY(-15px) scale(1.05); filter: drop-shadow(0 0 40px var(--c-highlight)); } }
.sc-target-circle { position: absolute; border: 1px dashed rgba(255,255,255,0.1); border-radius: 50%; }
.sc-target-circle.c1 { width: 350px; height: 350px; animation: spinHoloRing 20s linear infinite; }
.sc-target-circle.c2 { width: 450px; height: 450px; border: 1px solid rgba(229,28,81,0.1); animation: spinHoloRing 30s linear infinite reverse; }
.sc-visualizer { position: absolute; bottom: 20px; display: flex; align-items: flex-end; gap: 6px; height: 100px; width: 100%; justify-content: center; z-index: 5; }
.v-bar { width: 8px; height: 20px; background: rgba(255,255,255,0.1); border-radius: 4px; animation: eqPulse 1.2s ease-in-out infinite alternate; }
.v-bar:nth-child(odd) { background: rgba(229, 28, 81, 0.2); animation-duration: 0.8s; }
.v-bar:nth-child(3n) { background: var(--c-highlight); box-shadow: 0 0 10px var(--c-highlight); animation-duration: 1.5s; }
@keyframes eqPulse { from { height: 10px; } to { height: 80px; } }
.sc-side-data { position: absolute; display: flex; flex-direction: column; gap: 20px; font-family: monospace; }
.sc-side-data.left { left: 0; text-align: left; }
.sc-side-data.right { right: 0; text-align: right; }
.sc-footer { margin-top: 40px; }
.sc-playback-bar { width: 100%; height: 4px; background: rgba(255,255,255,0.05); border-radius: 10px; position: relative; overflow: hidden; }
.sc-progress { position: absolute; top: 0; left: 0; height: 100%; width: 65%; background: var(--c-highlight); box-shadow: 0 0 15px var(--c-highlight); animation: progressFill 10s linear infinite; }
@keyframes progressFill { from { width: 0%; } to { width: 100%; } }
@media (max-width: 768px) { .sonic-console { transform: rotateX(10deg) rotateY(0) rotateZ(0); } .sc-visualizer { gap: 3px; } .v-bar { width: 4px; } .sc-side-data { display: none; } }