/* HRMindMap OS - Enterprise Executive Master Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-navy: #0B172A;
  --bg-navy-deep: #060E1A;
  --bg-navy-surface: #0F1C36;
  --color-blue: #1878F0;
  --color-blue-bright: #0A7CFF;
  --color-orange: #F07800;
  --color-orange-bright: #FF7A00;
  --text-white: #FFFFFF;
  --text-slate: #E2E8F0;
  --text-muted: #94A3B8;
  --border-blue: rgba(24, 120, 240, 0.25);
  --border-orange: rgba(240, 120, 0, 0.25);
  --glass-bg: rgba(15, 28, 54, 0.75);
  --glass-border: rgba(255, 255, 255, 0.1);
  --gradient-brand: linear-gradient(135deg, #1878F0 0%, #F07800 100%);
  --gradient-blue-glow: radial-gradient(circle, rgba(24, 120, 240, 0.22) 0%, transparent 70%);
  --gradient-orange-glow: radial-gradient(circle, rgba(240, 120, 0, 0.22) 0%, transparent 70%);
  
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Google Translate Layout Stabilization & Icon/Font Protection */
.material-symbols-outlined,
[class*="material-symbols"],
.notranslate,
img,
svg,
code,
pre {
  -webkit-translate: no !important;
  translate: no !important;
}

font {
  background-color: transparent !important;
  box-shadow: none !important;
  vertical-align: baseline !important;
  font-size: inherit !important;
  font-family: inherit !important;
  color: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  display: inline !important;
}

font[style] {
  vertical-align: baseline !important;
  font-size: inherit !important;
}

html, body {
  top: 0px !important;
  position: static !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.goog-te-balloon-frame {
  display: none !important;
  visibility: hidden !important;
}

body > .skiptranslate {
  display: none !important;
}

.goog-tooltip, .goog-tooltip:hover, .goog-text-highlight {
  display: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Light Theme (Day Mode) Variable Overrides */
html.light-theme, body.light-theme {
  --bg-navy: #FFFFFF;
  --bg-navy-deep: #F8FAFC;
  --bg-navy-surface: #F1F5F9;
  --text-white: #0B172A;
  --text-slate: #1E293B;
  --text-muted: #475569;
  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(15, 23, 42, 0.12);
}

body.light-theme {
  background-color: #F8FAFC !important;
  color: #1E293B !important;
}

/* Light Mode Overrides for Tailwind Dark Classes */
body.light-theme .bg-\[\#0B172A\],
body.light-theme .bg-\[\#060E1A\],
body.light-theme .bg-\[\#0F1C36\] {
  background-color: #FFFFFF !important;
  color: #0B172A !important;
}

body.light-theme .bg-\[\#060E1A\]\/95,
body.light-theme .bg-\[\#060E1A\]\/90,
body.light-theme .bg-\[\#060E1A\]\/85,
body.light-theme .bg-\[\#0B172A\]\/95,
body.light-theme .bg-\[\#0B172A\]\/90 {
  background-color: rgba(255, 255, 255, 0.96) !important;
  color: #0B172A !important;
}

body.light-theme .text-white {
  color: #0B172A !important;
}

body.light-theme .text-slate-300,
body.light-theme .text-slate-400 {
  color: #334155 !important;
}

body.light-theme .border-white\/10,
body.light-theme .border-white\/15,
body.light-theme .border-white\/20 {
  border-color: rgba(15, 23, 42, 0.12) !important;
}

body.light-theme .bg-white\/5,
body.light-theme .bg-white\/10 {
  background-color: rgba(15, 23, 42, 0.05) !important;
}

body.light-theme .hover\:bg-white\/10:hover,
body.light-theme .hover\:bg-white\/20:hover {
  background-color: rgba(24, 120, 240, 0.1) !important;
  color: #0B172A !important;
}

/* Ensure Official Logo Colors (Royal Blue #1878F0 & Golden Orange #F07800) Stay 100% Untouched */
body.light-theme img[src*="Logo.png"] {
  filter: none !important;
}

body.light-theme .btn-pill-gradient {
  background: linear-gradient(135deg, #1878F0 0%, #F07800 100%) !important;
  color: #FFFFFF !important;
}

body.light-theme .btn-pill-outline {
  border-color: rgba(15, 23, 42, 0.2) !important;
  background: rgba(15, 23, 42, 0.04) !important;
  color: #0B172A !important;
}

body.light-theme .btn-pill-outline:hover {
  background: rgba(24, 120, 240, 0.1) !important;
  color: #1878F0 !important;
}

body {
  background-color: var(--bg-navy-deep) !important;
  color: var(--text-slate) !important;
  font-family: var(--font-body) !important;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Master Headlines Hierarchy - Override all custom font classes */
.font-headline, h1, h2, h3, h4, .syne, .font-display, [class*="font-headline"], [class*="font-display"] {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}

/* Guarantee main content sits below fixed top global header */
main {
  padding-top: 8rem !important; /* 128px space for 96px header */
}

h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem) !important;
  line-height: 1.15 !important;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem) !important;
  line-height: 1.2 !important;
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem) !important;
  line-height: 1.3 !important;
}

/* Fluid Organic Wave Background Overlay - Matching Brand References */
.fluid-wave-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Bottom-Left Royal Blue Organic Wave */
.wave-blue-bottom-left {
  position: absolute;
  bottom: -15%;
  left: -15%;
  width: 65vw;
  height: 65vw;
  background: radial-gradient(circle at center, rgba(24, 120, 240, 0.28) 0%, rgba(24, 120, 240, 0.08) 45%, rgba(6, 14, 26, 0) 70%);
  filter: blur(50px);
  animation: floatWaveBlue 14s ease-in-out infinite alternate;
}

/* Top-Right Golden Orange Organic Wave */
.wave-orange-top-right {
  position: absolute;
  top: -15%;
  right: -15%;
  width: 65vw;
  height: 65vw;
  background: radial-gradient(circle at center, rgba(240, 120, 0, 0.25) 0%, rgba(240, 120, 0, 0.06) 45%, rgba(6, 14, 26, 0) 70%);
  filter: blur(50px);
  animation: floatWaveOrange 18s ease-in-out infinite alternate-reverse;
}

@keyframes floatWaveBlue {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  100% { transform: translate(40px, -50px) scale(1.12) rotate(5deg); }
}

@keyframes floatWaveOrange {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  100% { transform: translate(-50px, 40px) scale(1.15) rotate(-5deg); }
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border-radius: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: rgba(24, 120, 240, 0.4);
  box-shadow: 0 25px 60px rgba(24, 120, 240, 0.18);
  transform: translateY(-4px);
}

.glass-card-orange:hover {
  border-color: rgba(240, 120, 0, 0.4);
  box-shadow: 0 25px 60px rgba(240, 120, 0, 0.18);
}

/* Gradient Pill Buttons */
.btn-pill-gradient {
  background: linear-gradient(135deg, #1878F0 0%, #F07800 100%) !important;
  color: #FFFFFF !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 30px -5px rgba(24, 120, 240, 0.4);
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.btn-pill-gradient:hover {
  box-shadow: 0 15px 35px -2px rgba(240, 120, 0, 0.5);
  transform: translateY(-2px) scale(1.02);
}

.btn-pill-outline {
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #FFFFFF !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.btn-pill-outline:hover {
  border-color: var(--color-blue-bright) !important;
  background: rgba(24, 120, 240, 0.15) !important;
  color: #FFFFFF !important;
}

/* Gradient Text */
.text-gradient-brand {
  background: linear-gradient(135deg, #1878F0 0%, #F07800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-blue {
  background: linear-gradient(135deg, #60A5FA 0%, #1878F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-orange {
  background: linear-gradient(135deg, #FF9E2C 0%, #F07800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badge pill */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  background: rgba(24, 120, 240, 0.12);
  border: 1px solid rgba(24, 120, 240, 0.3);
  color: #60A5FA;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-pill-orange {
  background: rgba(240, 120, 0, 0.12);
  border-color: rgba(240, 120, 0, 0.3);
  color: #FF9E2C;
}

/* Pulse animation for node status */
.pulse-node {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #060E1A;
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1878F0;
}
