/* ========================================================================
   GILBERTMB — BRAND CSS STYLESHEET
   Identity: Deep Navy, Midnight Blue, Electric Cyan, Cloud White, Steel Gray
   Typography: Space Grotesk, Inter, Oxanium
   ======================================================================== */

:root {
  --color-deep-navy: #03111C;
  --color-midnight-blue: #071C2B;
  --color-electric-cyan: #00D9FF;
  --color-technology-blue: #008FFF;
  --color-cloud-white: #F5F8FC;
  --color-steel-gray: #9EB1C2;
  --color-pure-black: #000000;
  
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Oxanium', 'JetBrains Mono', monospace;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--color-deep-navy);
  color: var(--color-cloud-white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* Typography Helpers */
.font-heading {
  font-family: var(--font-heading);
}

.font-body {
  font-family: var(--font-body);
}

.font-mono-tech {
  font-family: var(--font-mono);
}

/* Tech Grid Ambient Background */
.bg-tech-grid {
  background-size: 48px 48px;
  background-image: 
    linear-gradient(to right, rgba(0, 217, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 217, 255, 0.04) 1px, transparent 1px);
}

/* Metallic GilbertMB Brand Text */
.metallic-brand-text {
  background: linear-gradient(135deg, #FFFFFF 20%, #B0C6DF 55%, #00D9FF 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.4));
}

/* HUD Frame Brackets */
.hud-frame-bracket {
  position: relative;
}

.hud-frame-bracket::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 20px;
  height: 20px;
  border-top: 2px solid var(--color-electric-cyan);
  border-left: 2px solid var(--color-electric-cyan);
  box-shadow: -2px -2px 10px rgba(0, 217, 255, 0.6);
  pointer-events: none;
  z-index: 20;
}

.hud-frame-bracket::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-bottom: 2px solid var(--color-electric-cyan);
  border-right: 2px solid var(--color-electric-cyan);
  box-shadow: 2px 2px 10px rgba(0, 217, 255, 0.6);
  pointer-events: none;
  z-index: 20;
}

/* Corner Accents */
.corner-tl, .corner-tr, .corner-bl, .corner-br {
  position: absolute;
  width: 8px;
  height: 8px;
  pointer-events: none;
  z-index: 10;
}

.corner-tl {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--color-electric-cyan);
  border-left: 2px solid var(--color-electric-cyan);
}

.corner-tr {
  top: -1px;
  right: -1px;
  border-top: 2px solid var(--color-electric-cyan);
  border-right: 2px solid var(--color-electric-cyan);
}

.corner-bl {
  bottom: -1px;
  left: -1px;
  border-bottom: 2px solid var(--color-electric-cyan);
  border-left: 2px solid var(--color-electric-cyan);
}

.corner-br {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--color-electric-cyan);
  border-right: 2px solid var(--color-electric-cyan);
}

/* HUD Panel Base */
.hud-panel {
  position: relative;
  border: 1px solid rgba(0, 217, 255, 0.22);
  background: linear-gradient(135deg, rgba(7, 28, 43, 0.85) 0%, rgba(3, 17, 28, 0.95) 100%);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.hud-panel:hover {
  border-color: rgba(0, 217, 255, 0.45);
  box-shadow: 0 0 25px rgba(0, 217, 255, 0.2);
}

/* Glow Shadows */
.shadow-cyan-glow {
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
}

.shadow-cyan-soft {
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.2);
}

.shadow-cyan-strong {
  box-shadow: 0 0 35px rgba(0, 217, 255, 0.65);
}

/* Active Nav Indicator */
.active-nav-link {
  color: var(--color-electric-cyan) !important;
  position: relative;
}

.active-nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-electric-cyan);
  box-shadow: 0 0 8px #00D9FF;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #03111C;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 217, 255, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 217, 255, 0.7);
}

/* Subtle Pulsing Animation */
@keyframes subtle-pulse {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.98); }
}

.animate-pulse-slow {
  animation: subtle-pulse 4s ease-in-out infinite;
}

/* Accordion Smooth Transition */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.35s ease-in-out;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-electric-cyan);
}

/* Modal Overlay */
.modal-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-in-out;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  transform: scale(0.95);
  transition: transform 0.25s ease-in-out;
}

.modal-overlay.show .modal-content {
  transform: scale(1);
}
