@import "variables.css";
@import "typography.css";
@import "components.css";
@import "layout.css";
@import "banner.css";

body {
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}
/* Grainy Texture Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Animation utilities */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}

/* Console Mode OVERHAUL - TOTAL STRUCTURAL LOG */
body.console-mode {
  font-family: "IBM Plex Mono", "Courier New", monospace !important;
  font-size: 13px !important;
  background-color: #000 !important;
  color: #808080 !important; /* Base Gray */
  line-height: 1.5 !important;
  cursor: crosshair !important;
}

body.console-mode * {
  font-family: "IBM Plex Mono", "Courier New", monospace !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  border: none !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  color: #808080 !important;
  box-shadow: none !important;
  text-transform: none !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: none !important;
  text-shadow: none !important;
}

/* Color Accents */
body.console-mode h1,
body.console-mode h2,
body.console-mode .text-signal,
body.console-mode .logo,
body.console-mode #console-toggle i {
  color: #00ff41 !important; /* Terminal Green */
}

body.console-mode h3,
body.console-mode .text-highlight,
body.console-mode a:hover {
  color: #ffb000 !important; /* Amber */
}

body.console-mode .text-muted,
body.console-mode .text-caption {
  color: #555 !important;
}

body.console-mode br {
  display: block !important;
}

body.console-mode .container-max {
  max-width: 1000px !important;
  margin: 0 auto !important;
  padding: 80px 20px !important;
  border: none !important;
  min-height: 100vh;
}

body.console-mode section {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

/* METADATA BAR FOR CONSOLE MODE (ZUI STYLE) */
body.console-mode #console-meta-bar {
  display: flex !important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #000;
  border-bottom: 1px solid #222 !important;
  z-index: 10001;
  padding: 10px 30px !important;
  align-items: center;
  font-size: 10px !important;
  letter-spacing: 0.1em;
}

body:not(.console-mode) #console-meta-bar {
  display: none !important;
}

body.console-mode .meta-section {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

body.console-mode .meta-item {
  color: #444 !important;
  text-transform: uppercase;
}

body.console-mode .meta-item span {
  color: #888 !important;
  margin-left: 5px;
}

body.console-mode .meta-exit {
  margin-left: 40px;
}

body.console-mode #exit-console {
  color: #ffb000 !important;
  text-decoration: none !important;
  font-weight: 700 !important;
}

/* CONSOLE BOTTOM NAV */
body.console-mode #console-bottom-nav {
  display: flex !important;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: #000;
  border-top: 1px solid #222 !important;
  z-index: 10001;
  padding: 0 40px !important;
  align-items: center;
  gap: 30px;
  font-size: 11px !important;
}

body:not(.console-mode) #console-bottom-nav {
  display: none !important;
}

body.console-mode .nav-item {
  color: #444 !important;
}

body.console-mode .nav-item span {
  color: #888 !important;
}

/* TERMINAL TABS */
body.console-mode #terminal-tabs {
  display: flex !important;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  height: 35px;
  background: #000;
  border-bottom: 1px solid #222 !important;
  z-index: 10001;
  padding: 0 30px !important;
  align-items: center;
  gap: 20px;
}

body:not(.console-mode) #terminal-tabs {
  display: none !important;
}

body.console-mode .term-tab {
  color: #444 !important;
  font-size: 11px !important;
  text-decoration: none !important;
  padding: 8px 0 !important;
  border-bottom: 2px solid transparent !important;
}

body.console-mode .term-tab span {
  color: #888 !important;
}

body.console-mode .term-tab.active {
  color: #00ff41 !important;
  border-bottom-color: #00ff41 !important;
}

body.console-mode .term-tab-add {
  color: #444 !important;
  font-size: 14px !important;
  cursor: pointer;
}

/* TERMINAL STATUS BAR */
body.console-mode #terminal-status-bar {
  display: flex !important;
  position: fixed;
  bottom: 40px;
  left: 0;
  right: 0;
  height: 30px;
  background: #000;
  border-top: 1px solid #222 !important;
  z-index: 10001;
  padding: 0 40px !important;
  align-items: center;
  gap: 30px;
  font-size: 10px !important;
}

body:not(.console-mode) #terminal-status-bar {
  display: none !important;
}

body.console-mode .status-item {
  color: #444 !important;
}

body.console-mode .status-item span {
  color: #888 !important;
}

/* OBJECTIVE CHECKLISTS (SECTION HEADERS) */
body.console-mode .objective-marker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  font-weight: 700 !important;
  margin-top: 40px !important;
}

body.console-mode .objective-marker::before {
  content: "├ [x]";
  color: #00ff41;
}

body.console-mode .container-max {
  max-width: 1000px !important;
  margin: 0 auto !important;
  padding: 120px 40px 100px 40px !important;
  position: relative;
}

/* LIST & DATA REPRESENTATION */
body.console-mode h1,
body.console-mode h2,
body.console-mode h3 {
  margin: 3rem 0 1rem 0 !important;
  display: block !important;
  font-weight: 400 !important;
  color: #00ff41 !important;
}

body.console-mode h1::before {
  content: "$ cat ";
}
body.console-mode h2::before {
  content: "$ whoami ";
  display: none;
} /* Specific handling in main.js */
body.console-mode h3::before {
  content: "$ status ";
  display: none;
}

body.console-mode .section-header-cmd {
  color: #00ff41 !important;
  margin-bottom: 10px !important;
  font-weight: 700 !important;
}

body.console-mode p {
  margin-bottom: 1rem !important;
  max-width: 800px !important;
}

body.console-mode section {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: auto !important;
  border: none !important;
  background: transparent !important;
}

body.console-mode a {
  display: inline-block !important;
  text-decoration: none !important;
  color: #808080 !important;
  margin: 0 15px 10px 0 !important;
}

body.console-mode a::before {
  content: "[";
  color: #333;
  margin-right: 4px;
}
body.console-mode a::after {
  content: "]";
  color: #333;
  margin-left: 4px;
}

body.console-mode a:hover {
  color: #ffb000 !important;
}

/* DATA DE-COMPILING */
body.console-mode a:not(.logo):not(.icon-link):not([href^="#"])::after {
  content: "] —> [ " attr(href) " ]";
  opacity: 0.3;
  margin-left: 8px;
  font-size: 10px;
}

/* ULTIMATE CONSOLE PURGE */
body.console-mode * {
  background-image: none !important;
}

body.console-mode img,
body.console-mode svg,
body.console-mode video,
body.console-mode .img-wrapper,
body.console-mode .img-block,
body.console-mode .mandala-art,
body.console-mode .mandala-gradient,
body.console-mode .btn-teamup,
body.console-mode .btn-scroll-top,
body.console-mode .section-clients,
body.console-mode #hero-globe,
body.console-mode .bg-matrix,
body.console-mode button,
body.console-mode .btn-hq-wide,
body.console-mode .form-group label,
body.console-mode iframe,
body.console-mode .fixed-location-tag,
body.console-mode .dotMatrix,
body.console-mode [class*="bento"],
body.console-mode [class*="grid-"],
body.console-mode [class*="card"]::before,
body.console-mode [class*="card"]::after {
  display: none !important;
}

body.console-mode .container,
body.console-mode .container-fluid,
body.console-mode .row,
body.console-mode [class*="col-"] {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.console-mode .container-max {
  max-width: 1000px !important;
  margin: 0 auto !important;
  padding: 100px 40px !important;
  position: relative !important;
  z-index: 1 !important;
}

body.console-mode section {
  display: block !important;
  padding: 0 !important;
  margin: 0 0 40px 0 !important;
  min-height: auto !important;
  background: transparent !important;
  transform: none !important;
}

/* SYSTEM TOGGLE POSITIONING */
body.console-mode #console-toggle {
  position: fixed;
  top: 6px; /* Inside meta bar */
  right: 20px;
  z-index: 10002;
  display: flex !important;
}

body.console-mode #console-toggle i {
  font-size: 16px !important;
  color: #00ff41 !important;
}

body.console-mode .logo,
body.console-mode .text-signal, 
/* COMMAND PROMPT CLI AESTHETIC */
body.console-mode {
  background-color: #000 !important;
  color: #00ff41 !important;
  font-family: "Space Mono", "Courier New", monospace !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow-x: hidden !important;
  cursor: text !important;
}

/* SCANLINE OVERLAY */
body.console-mode::before {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background:
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
    linear-gradient(
      90deg,
      rgba(255, 0, 0, 0.06),
      rgba(0, 255, 0, 0.02),
      rgba(0, 0, 118, 0.06)
    );
  z-index: 10005;
  background-size:
    100% 2px,
    3px 100%;
  pointer-events: none;
  opacity: 0.3;
}

body.console-mode * {
  font-family: "Space Mono", "Courier New", monospace !important;
  font-size: 14px !important;
  background-color: transparent !important;
  color: #00ff41 !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.console-mode .container-max {
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: 100px 20px !important;
  position: relative;
}

/* TERMINAL OUTPUT BLOCKS */
body.console-mode .cli-output {
  margin-bottom: 20px !important;
  white-space: pre-wrap !important;
}

body.console-mode .cli-prompt {
  color: #fff !important;
  margin-bottom: 5px !important;
}

body.console-mode .cli-prompt::before {
  content: "C:\\USER\\GUEST> ";
  color: #fff !important;
}

body.console-mode h1,
body.console-mode h2,
body.console-mode h3 {
  color: #fff !important;
  text-transform: uppercase !important;
  margin: 20px 0 10px 0 !important;
  font-weight: 700 !important;
  border-bottom: 1px dashed #333 !important;
  padding-bottom: 5px !important;
}

body.console-mode a {
  color: #ffb000 !important;
  text-decoration: none !important;
}

body.console-mode a::before {
  content: "[ ";
}
body.console-mode a::after {
  content: " ]";
}

body.console-mode a:hover {
  background: #ffb000 !important;
  color: #000 !important;
}
/* --- GEETA REVEAL SECTION: PHILOSOPHICAL SEAL --- */
.geeta-reveal-section {
  padding: 15vw 0;
  background: #fff;
  color: #000;
  text-align: center;
  position: relative;
  z-index: 10;
}

.geeta-sanskrit {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -2px;
}

.geeta-english {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  line-height: 1.6;
  color: #888;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* --- CAREERS / VANGUARD REGISTRY --- */
.careers-section {
  padding: 100px 0;
  background: var(--color-surface); /* Off-white / Ivory */
}

.careers-header {
  margin-bottom: 60px;
}

.career-registry {
  border-top: 1px solid var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
}

.career-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 35px 20px;
  border-bottom: 1px solid var(--color-gray-400);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  background: transparent;
  transition: color 0.4s ease;
  z-index: 1;
}

.career-item::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--alpha-signal-03);
  transition: height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: -1;
}

.career-item:last-child {
  border-bottom: none;
}

.career-item:hover::before {
  height: 100%;
}

.career-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.career-title {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}

.career-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gray-600);
  display: flex;
  align-items: center;
  gap: 10px;
}

.career-meta .diamond {
  color: var(--color-signal);
  font-size: 8px;
}

.btn-enlist {
  padding: 12px 35px;
  background: var(--color-gray-900);
  color: var(--color-surface);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-enlist:hover {
  background: var(--color-signal);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .career-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .btn-enlist {
    width: 100%;
    text-align: center;
  }
}

/* WORD-BY-WORD REVEAL ENGINE */
.reveal-word {
  display: inline-block;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.geeta-reveal-section.revealed .reveal-word {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

@media (max-width: 768px) {
  .geeta-reveal-section {
    padding: 80px 20px;
  }
  .geeta-sanskrit {
    font-size: 2rem;
  }
}
