/* --- Srirama Chaitanya Professional Interactive Portfolio CSS system --- */

:root {
  /* Common variables */
  --bg-color: #030305;
  --bg-darker: #010102;
  --panel-bg: rgba(6, 6, 10, 0.75);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text-primary: #f4f4f7;
  --text-secondary: #a1a1aa;
  
  --font-mono: 'Share Tech Mono', monospace;
  --font-sans: 'Rajdhani', sans-serif;
  
  /* Theme variables (Default: Cyber Indigo) */
  --suit-base: #7c3aed;
  --suit-base-dark: #4c1d95;
  --suit-accent: #00f0ff;
  --suit-accent-dark: #008bbb;
  
  --accent-color: #7c3aed;
  --accent-color-dark: #4c1d95;
  --accent-glow: rgba(124, 58, 237, 0.45);
}

/* Theme Presets overrides */
body.theme-blue {
  --suit-base: #7c3aed;
  --suit-base-dark: #4c1d95;
  --suit-accent: #00f0ff;
  --suit-accent-dark: #008bbb;
  --accent-color: #7c3aed;
  --accent-color-dark: #4c1d95;
  --accent-glow: rgba(124, 58, 237, 0.45);
}

body.theme-amber {
  --suit-base: #ff0055;
  --suit-base-dark: #990033;
  --suit-accent: #ffcc00;
  --suit-accent-dark: #997a00;
  --accent-color: #ff0055;
  --accent-color-dark: #990033;
  --accent-glow: rgba(255, 0, 85, 0.45);
}

body.theme-green {
  --suit-base: #39ff14;
  --suit-base-dark: #1f8f0b;
  --suit-accent: #0ff0fc;
  --suit-accent-dark: #0a9aa2;
  --accent-color: #39ff14;
  --accent-color-dark: #1f8f0b;
  --accent-glow: rgba(57, 255, 20, 0.45);
}

body.theme-white {
  --suit-base: #ffffff;
  --suit-base-dark: #a1a1aa;
  --suit-accent: #3f3f46;
  --suit-accent-dark: #18181b;
  --accent-color: #ffffff;
  --accent-color-dark: #a1a1aa;
  --accent-glow: rgba(255, 255, 255, 0.35);
}

body.theme-stealth {
  --suit-base: #141416;
  --suit-base-dark: #0a0a0b;
  --suit-accent: #ffffff;
  --suit-accent-dark: #a1a1aa;
  --accent-color: #ffffff;
  --accent-color-dark: #a1a1aa;
  --accent-glow: rgba(255, 255, 255, 0.15);
}

/* Global Reset rules */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  background-color: var(--bg-color);
  min-height: 100vh;
  position: relative;
}

/* Scan line overlay effect */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.04), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.04));
  background-size: 100% 4px, 6px 100%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.3;
}

/* Grid backgrounds */
.hero-wrapper, .customizer-section, .implants-section, .mission-map-section, .armory-section, .heist-simulator-section {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-wrapper::before, .customizer-section::before, .implants-section::before, .mission-map-section::before, .armory-section::before, .heist-simulator-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

/* Typography styles */
h1, h2, h3, h4 {
  font-family: var(--font-mono);
  letter-spacing: 2px;
  font-weight: 600;
}

h2 {
  font-size: 2.1rem;
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(255,255,255,0.05);
}

h3 {
  font-size: 0.95rem;
  color: var(--accent-color);
  border-bottom: 1px solid var(--panel-border);
  padding-bottom: 8px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.5s;
}

h3 span {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

/* Common interactive elements */
.btn {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 1.5px;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
  box-shadow: 0 0 15px var(--accent-glow);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--accent-color);
  box-shadow: 0 0 25px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

/* Header HUD styling */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(3, 3, 5, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--panel-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  z-index: 100;
}

.logo {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 2px;
}

.logo span {
  color: var(--accent-color);
  text-shadow: 0 0 8px var(--accent-glow);
}

header nav {
  display: flex;
  gap: 25px;
}

header nav a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.3s;
}

header nav a:hover {
  color: var(--accent-color);
  text-shadow: 0 0 5px var(--accent-glow);
}

.hud-stats-panel {
  display: flex;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.hud-stat {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-stat-label {
  color: var(--accent-color);
}

.hud-bar-bg {
  width: 60px;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.hud-bar {
  height: 100%;
  background: var(--accent-color);
  box-shadow: 0 0 5px var(--accent-glow);
  width: 100%;
}

#hud-energy-bar {
  background: #39ff14;
  box-shadow: 0 0 5px rgba(57, 255, 20, 0.6);
}

.audio-toggle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-color);
  background: transparent;
  border: 1px solid var(--accent-color);
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.audio-toggle:hover {
  background: var(--accent-color);
  color: #000;
  box-shadow: 0 0 10px var(--accent-glow);
}

/* Hero section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px;
  z-index: 10;
  position: relative;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.status-indicator {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 2px;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 25px;
  background: rgba(0, 0, 0, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-color);
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.5; }
}

.glitch-text {
  font-size: 4.8rem;
  letter-spacing: 5px;
  margin-bottom: 10px;
  color: var(--text-primary);
  text-shadow: 0 0 20px rgba(255,255,255,0.06);
}

.hero .subtitle {
  font-size: 1.6rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  letter-spacing: 3px;
  margin-bottom: 30px;
}

.typewriter-container {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--text-secondary);
  letter-spacing: 2px;
  margin-bottom: 40px;
}

.static-txt {
  color: var(--text-secondary);
}

.typewriter-txt {
  color: var(--accent-color);
  font-weight: bold;
  text-shadow: 0 0 5px var(--accent-glow);
}

.action-buttons {
  display: flex;
  gap: 20px;
}

.scroll-prompt {
  position: absolute;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.scroll-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--text-secondary);
  opacity: 0.6;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid var(--text-secondary);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  opacity: 0.6;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 2px;
  animation: scroll-wheel-anim 1.5s infinite;
}

/* Tagline Section */
.tagline-section {
  background: rgba(3, 3, 5, 0.95);
  border-y: 1px solid var(--panel-border);
  padding: 60px 40px;
  text-align: center;
  z-index: 10;
  position: relative;
}

.tagline-container {
  max-width: 800px;
  margin: 0 auto;
}

.tagline-text {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 15px;
}

.tagline-sub {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-color);
  letter-spacing: 2px;
}

/* Control deck panel cards */
.control-deck {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
}

.control-deck::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
}

.panel-section {
  margin-bottom: 22px;
}

.panel-section:last-of-type {
  margin-bottom: 0;
}

/* Page Section Wrappers */
.customizer-section, .implants-section, .mission-map-section, .armory-section, .heist-simulator-section {
  padding: 100px 40px;
  position: relative;
  z-index: 10;
}

.customizer-container, .implants-container, .map-container, .armory-container, .heist-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-title-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}

.title-line {
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
  box-shadow: 0 0 5px var(--accent-glow);
}

.section-header .subtitle {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 2px;
}

.customizer-grid, .implants-grid, .map-grid, .heist-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

/* Hologram Viewer */
.hologram-viewer, .body-scanner, .city-map-panel, .blueprint-frame {
  height: 480px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255,255,255,0.006) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.006) 1px, transparent 1px);
  background-size: 15px 15px;
  pointer-events: none;
}

.radar-sweep {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, var(--accent-glow) 0deg, transparent 90deg, transparent 360deg);
  border-radius: 50%;
  pointer-events: none;
  animation: radar-sweep-anim 8s linear infinite;
  opacity: 0.15;
}

.hologram-circle {
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px dashed var(--accent-color);
  border-radius: 50%;
  opacity: 0.08;
  animation: spin-hologram 40s linear infinite;
}

.hologram-corners::before, .hologram-corners::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border: 1.5px solid var(--accent-color);
  opacity: 0.35;
}

.hologram-corners::before {
  top: 15px;
  left: 15px;
  border-right: none;
  border-bottom: none;
}

.hologram-corners::after {
  bottom: 15px;
  right: 15px;
  border-left: none;
  border-top: none;
}

.hud-target-reticle {
  position: absolute;
  top: 160px;
  left: 50px;
  display: flex;
  gap: 10px;
  pointer-events: none;
  opacity: 0.75;
}

.reticle-box {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--accent-color);
  position: relative;
}

.reticle-box::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.reticle-data {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-secondary);
}

.reticle-coords {
  color: var(--accent-color);
  font-weight: bold;
}

/* Synapse Node group highlights */
.wraith-svg-container {
  width: 100%;
  height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 5;
}

#neural-brain-svg {
  height: 90%;
}

.neural-node circle {
  transition: all 0.3s;
}

.neural-node:hover circle {
  fill: var(--suit-accent);
  r: 18px;
  cursor: pointer;
}

/* Swatches styling */
.swatch-picker {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.swatch-button {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
  color: var(--text-secondary);
  padding: 10px 5px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
}

.swatch-button:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent-color);
  color: var(--text-primary);
}

.swatch-button.active {
  border-color: var(--accent-color);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 10px var(--accent-glow);
}

.color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.swatch-blue .color-dot { background: #7c3aed; }
.swatch-amber .color-dot { background: #ff0055; }
.swatch-green .color-dot { background: #39ff14; }
.swatch-white .color-dot { background: #ffffff; }
.swatch-stealth .color-dot { background: #141416; }

/* Interactive Terminal logs: HIGHLIGHTED MODULE */
.highlight-title {
  color: #fff;
  border-bottom-color: var(--accent-color);
}

.highlighted-terminal {
  border: 1.5px solid var(--accent-color);
  box-shadow: 0 0 20px var(--accent-glow);
  min-height: 210px;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.terminal-panel {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 15px;
  font-family: var(--font-mono);
}

.terminal-logs {
  height: 120px;
  overflow-y: auto;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.log-line {
  font-size: 0.78rem;
  line-height: 1.4;
}

.system-line {
  color: var(--text-secondary);
}

.user-line {
  color: var(--accent-color);
  font-weight: bold;
}

.terminal-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
}

.terminal-prompt {
  font-size: 0.8rem;
  color: var(--accent-color);
  font-weight: bold;
  letter-spacing: 1px;
}

#terminal-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  outline: none;
}

.terminal-submit-btn {
  background: transparent;
  border: none;
  color: var(--accent-color);
  cursor: pointer;
  padding: 0 5px;
}

/* Diagnostics feeds */
.diagnostics-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.diag-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
  padding-bottom: 6px;
}

.diag-label {
  color: var(--text-secondary);
}

.diag-val {
  color: var(--text-primary);
  font-weight: bold;
}

.status-ok {
  color: #39ff14;
  text-shadow: 0 0 5px rgba(57, 255, 20, 0.4);
}

/* Tech Stack Category Selector cards */
.category-selector-panel {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.category-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: transparent;
  transition: background 0.3s;
}

.category-card:hover {
  border-color: var(--accent-color);
  transform: translateX(5px);
}

.category-card.active {
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.03);
  transform: translateX(8px);
  box-shadow: 0 0 15px var(--accent-glow);
}

.category-card.active::before {
  background: var(--accent-color);
}

.category-icon {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  color: var(--accent-color);
}

.category-card.active .category-icon {
  background: var(--accent-color);
  color: #fff;
  box-shadow: 0 0 8px var(--accent-glow);
}

.category-info h4 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.category-info p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.arrow-indicator {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.5;
  transition: transform 0.3s;
}

.category-card.active .arrow-indicator {
  transform: translateX(3px);
  color: var(--accent-color);
  opacity: 1;
}

/* Skills Cards Lists Grid */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 5px;
}

.skill-row-card {
  background: rgba(255, 255, 255, 0.012);
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  padding: 14px 18px;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.skill-name {
  font-weight: bold;
  color: var(--text-primary);
}

.skill-pct {
  color: var(--accent-color);
}

.skill-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: var(--accent-color);
  box-shadow: 0 0 5px var(--accent-glow);
  width: 0%;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Interactive Timeline Path */
.timeline-interactive-panel {
  position: relative;
  padding-left: 45px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.timeline-line-track {
  position: absolute;
  left: 20px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: rgba(255, 255, 255, 0.05);
}

.timeline-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--accent-color), var(--suit-base));
  box-shadow: 0 0 5px var(--accent-glow);
  transition: height 0.6s ease;
}

.timeline-milestone {
  position: relative;
  cursor: pointer;
  padding: 15px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  transition: all 0.3s;
}

.timeline-milestone:hover {
  background: rgba(255, 255, 255, 0.015);
  border-color: rgba(255, 255, 255, 0.03);
}

.timeline-milestone.active {
  background: var(--panel-bg);
  border-color: var(--panel-border);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.milestone-dot {
  position: absolute;
  left: -35px;
  top: 20px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #030305;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  transition: all 0.3s;
}

.dot-core {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: all 0.3s;
}

.timeline-milestone.active .milestone-dot {
  border-color: var(--accent-color);
  box-shadow: 0 0 8px var(--accent-glow);
}

.timeline-milestone.active .dot-core {
  background: var(--accent-color);
  transform: scale(1.3);
}

.milestone-info .milestone-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-color);
  letter-spacing: 1px;
}

.milestone-info h4 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-top: 2px;
}

.milestone-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Timeline detail panels */
.milestone-details-panel {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.milestone-details-panel strong {
  color: #fff;
  font-size: 1.3rem;
  font-family: var(--font-mono);
}

.milestone-details-panel em {
  display: block;
  font-style: normal;
  color: var(--accent-color);
  font-size: 0.95rem;
  margin-top: 4px;
  margin-bottom: 15px;
}

.milestone-details-panel ul {
  list-style: none;
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.milestone-details-panel li {
  position: relative;
  padding-left: 20px;
}

.milestone-details-panel li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-size: 0.78rem;
}

.milestone-details-panel .badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.milestone-details-panel .tag-badge {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--panel-border);
  color: var(--text-primary);
  padding: 4px 10px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  border-radius: 4px;
}

/* Projects grid and list layouts */
.featured-project-container {
  border: 1.5px solid var(--accent-color);
  box-shadow: 0 0 20px var(--accent-glow);
  background: var(--panel-bg);
  border-radius: 8px;
  padding: 30px;
  margin-top: 25px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.featured-project-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-color);
}

.featured-project-badge {
  position: absolute;
  top: 15px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #ffcc00;
  border: 1px solid #ffcc00;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(255, 204, 0, 0.06);
}

.featured-project-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: start;
}

.featured-details h3 {
  font-size: 1.5rem;
  color: #fff;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 12px;
}

.featured-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
}

.tech-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tech-tag {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--panel-border);
  color: var(--text-secondary);
  padding: 4px 10px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  border-radius: 4px;
}

.featured-achievements {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.achievement-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.achievement-row i {
  color: var(--accent-color);
  margin-top: 3px;
}

/* Operational Job Review simulator styles */
.featured-simulator {
  padding: 18px;
}

.simulator-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.sim-dot-indicators {
  display: flex;
  gap: 5px;
}

.sim-dot-indicators .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.sim-dot-indicators .dot.red { background: #ff4a4a; }
.sim-dot-indicators .dot.yellow { background: #ffcc00; }
.sim-dot-indicators .dot.green { background: #39ff14; }

.sim-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.simulator-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 15px;
  overflow-x: auto;
  gap: 5px;
}

.sim-tab {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  padding: 6px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.sim-tab.active {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.sim-tab .badge {
  font-size: 0.62rem;
  background: rgba(255,255,255,0.05);
  padding: 1px 6px;
  border-radius: 10px;
}

.sim-tab.active .badge {
  background: var(--accent-glow);
}

.sim-jobs-feed {
  height: 195px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sim-job-card {
  background: rgba(255, 255, 255, 0.012);
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job-meta h5 {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 2px;
}

.job-submeta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.job-submeta span {
  color: var(--accent-color);
  font-weight: bold;
}

.job-actions {
  display: flex;
  gap: 6px;
}

.sim-btn-approve, .sim-btn-reject, .sim-btn-apply {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  border: none;
  border-radius: 3px;
  padding: 5px 10px;
  cursor: pointer;
  transition: all 0.3s;
}

.sim-btn-approve {
  background: var(--accent-color);
  color: #fff;
}

.sim-btn-reject {
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
}

.sim-btn-reject:hover {
  background: #ff124f;
  color: #fff;
}

.sim-btn-apply {
  background: #ffcc00;
  color: #000;
  font-weight: bold;
}

.job-state-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: bold;
}

.job-state-tag.applied {
  background: rgba(57, 255, 20, 0.06);
  border: 1px solid #39ff14;
  color: #39ff14;
}

.job-state-tag.rejected {
  background: rgba(255, 18, 79, 0.06);
  border: 1px solid #ff124f;
  color: #ff124f;
}

/* Secondary projects grid */
.projects-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}

.project-type-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent-color);
  align-self: flex-start;
  border: 1px solid var(--accent-color);
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.project-card h4 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 8px;
}

.project-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 15px;
}

.project-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-color);
  text-decoration: none;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s;
}

.project-link:hover {
  color: #fff;
}

/* Heist simulator terminal layout */
.heist-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.heist-visuals-panel {
  height: 340px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.heist-terminal-output {
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.heist-feed-line {
  line-height: 1.4;
  word-break: break-all;
}

.text-system { color: var(--text-secondary); }
.text-success { color: #39ff14; }
.text-danger { color: #ff124f; }
.text-user { color: var(--accent-color); font-weight: bold; }

.heist-prompt {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent-color);
  margin-bottom: 10px;
}

/* Contact form inputs inside CLI controls */
.contact-terminal-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.form-row.flex-column {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.form-row label {
  color: var(--accent-color);
  min-width: 140px;
}

.form-row input, .form-row textarea {
  flex-grow: 1;
  width: 100%;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  padding: 10px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.3s;
}

.form-row input:focus, .form-row textarea:focus {
  border-color: var(--accent-color);
}

.form-row textarea {
  resize: none;
}

/* Footer rules */
footer {
  border-top: 1px solid var(--panel-border);
  background: rgba(3, 3, 5, 0.98);
  padding: 40px 20px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  color: var(--accent-color);
  letter-spacing: 2px;
  margin-bottom: 15px;
}

footer p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 25px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-color);
}

/* Multi-device responsiveness breakpoints */

/* Tablets views */
@media (max-width: 992px) {
  .customizer-grid, .implants-grid, .map-grid, .heist-grid, .featured-project-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hologram-viewer, .body-scanner, .city-map-panel, .heist-visuals-panel {
    height: 380px;
  }
  
  header nav {
    display: none;
  }
  
  .projects-secondary-grid {
    grid-template-columns: 1fr;
  }
}

/* Phone views */
@media (max-width: 768px) {
  .customizer-section, .implants-section, .mission-map-section, .armory-section, .heist-simulator-section {
    padding: 50px 15px;
  }
  
  .glitch-text {
    font-size: 2.8rem;
    letter-spacing: 3px;
  }
  
  .hero .subtitle {
    font-size: 1.1rem;
    letter-spacing: 2px;
  }
  
  header {
    padding: 0 15px;
    height: auto;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 12px;
    position: static;
  }
  
  .hud-stats-panel {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  
  .hero {
    min-height: calc(100vh - 120px);
    padding: 60px 10px;
  }
  
  .swatch-picker {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tiny mobile phones */
@media (max-width: 480px) {
  .swatch-picker {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.78rem;
  }
}
