/* ==========================================================================
   ABHI VERMA - ELITE POST-PRODUCTION & CINEMATIC LAB
   AESTHETIC: DARK NEON / CYBERNETIC DIRECTOR'S CONSOLE
   COLOR PALETTE: DEEP OBSIDIAN + CYBER ELECTRIC EMERALD + NEON CYAN
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Color Architecture */
  --bg-void: #06070a;
  --bg-surface: #0b0d13;
  --bg-elevated: #11141e;
  --bg-card: rgba(17, 20, 30, 0.75);
  --bg-overlay: rgba(6, 7, 10, 0.85);

  /* Signature Accents */
  --neon-emerald: #00ff87;
  --neon-emerald-glow: rgba(0, 255, 135, 0.35);
  --neon-emerald-soft: rgba(0, 255, 135, 0.12);
  --neon-cyan: #00f0ff;
  --neon-cyan-glow: rgba(0, 240, 255, 0.3);
  --neon-cyan-soft: rgba(0, 240, 255, 0.1);
  --hot-rec: #ff2a5f;
  --hot-amber: #ffaa00;

  /* Neutrals & Text */
  --text-primary: #f2f5fa;
  --text-secondary: #9aa5b8;
  --text-muted: #5e687a;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(0, 255, 135, 0.45);
  --border-cyan: rgba(0, 240, 255, 0.4);

  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout & Geometry */
  --max-width: 1360px;
  --nav-height: 72px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-void);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.05) 0%, transparent 60%),
    radial-gradient(circle at 100% 40%, rgba(0, 255, 135, 0.04) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(6, 7, 10, 0.95), #06070a);
  background-attachment: fixed;
  position: relative;
}

/* Cyber Scanlines & Safe Frame Overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 4px;
  z-index: 999;
  opacity: 0.35;
}

/* Subtle Film Noise Filter */
.film-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 998;
  opacity: 0.035;
  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.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography Presets */
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-weight: 700;
  color: var(--text-primary);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
}

/* Container Structure */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  background: rgba(6, 7, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-glyph {
  width: 34px;
  height: 34px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 14px var(--neon-emerald-soft);
}

.brand-glyph::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--neon-emerald);
  border-radius: 1px;
  box-shadow: 0 0 8px var(--neon-emerald);
}

.brand-name {
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--neon-emerald);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 2px 6px;
  background: var(--neon-emerald-soft);
  border-radius: 2px;
  border: 1px solid rgba(0, 255, 135, 0.2);
}

/* Nav Menu */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  position: relative;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--neon-emerald);
  box-shadow: 0 0 8px var(--neon-emerald);
}

/* Telemetry & Utility Controls */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.telemetry-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.pulse-rec {
  width: 7px;
  height: 7px;
  background: var(--hot-rec);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--hot-rec);
  animation: recBlink 1.4s infinite ease-in-out;
}

@keyframes recBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
}

.audio-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  transition: all var(--transition-fast);
}

.audio-toggle-btn:hover, .audio-toggle-btn.active {
  color: var(--neon-emerald);
  border-color: var(--neon-emerald);
  background: var(--neon-emerald-soft);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--neon-emerald);
  color: #06070a;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--neon-emerald);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  box-shadow: 0 0 18px rgba(0, 255, 135, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(0, 255, 135, 0.5);
  background: #2aff9b;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  background: var(--neon-cyan-soft);
  transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION - DIRECTOR'S CONSOLE & SHOWREEL
   ========================================================================== */
.hero-section {
  min-height: 100dvh;
  padding-top: 5rem;
  padding-bottom: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(0, 255, 135, 0.08);
  border: 1px solid rgba(0, 255, 135, 0.3);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-emerald);
  width: fit-content;
}

.hero-title {
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-title .text-glow {
  color: var(--neon-emerald);
  text-shadow: 0 0 24px rgba(0, 255, 135, 0.45);
}

.hero-subtext {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 48ch;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* Software Badges Bar */
.software-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.software-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.software-pill:hover {
  border-color: var(--neon-emerald);
  color: var(--neon-emerald);
  background: var(--neon-emerald-soft);
  transform: translateY(-1px);
}

.software-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}

.software-pill.pr .dot { background: #9999ff; box-shadow: 0 0 6px #9999ff; }
.software-pill.ae .dot { background: #d291ff; box-shadow: 0 0 6px #d291ff; }
.software-pill.ps .dot { background: #31a8ff; box-shadow: 0 0 6px #31a8ff; }
.software-pill.lr .dot { background: #31c8ff; box-shadow: 0 0 6px #31c8ff; }
.software-pill.cc .dot { background: #00ff87; box-shadow: 0 0 6px #00ff87; }

/* Interactive Director's Console (Showreel) */
.director-console {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 30px rgba(0, 240, 255, 0.08);
  position: relative;
}

.console-header {
  background: var(--bg-elevated);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.console-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.console-timecode {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-emerald);
  background: rgba(0, 255, 135, 0.08);
  padding: 2px 8px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

/* Screen Viewport with Safe Margins */
.console-screen-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.console-screen-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease;
}

/* Safe Margin Guides (Action Safe & Title Safe) */
.safe-margins {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.safe-margins.hidden {
  opacity: 0;
}

.action-safe {
  position: absolute;
  inset: 5%;
  border: 1px dashed rgba(0, 240, 255, 0.5);
}

.title-safe {
  position: absolute;
  inset: 10%;
  border: 1px dashed rgba(0, 255, 135, 0.5);
}

.crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
}

.crosshair::before, .crosshair::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.4);
}

.crosshair::before { top: 0; left: 9px; width: 2px; height: 20px; }
.crosshair::after { top: 9px; left: 0; width: 20px; height: 2px; }

/* Real-Time Audio Waveform Canvas */
.waveform-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(to top, rgba(6, 7, 10, 0.9), transparent);
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  padding: 0 1rem 6px;
}

#waveformCanvas {
  width: 100%;
  height: 36px;
}

/* Timeline Track Scrubber */
.timeline-track-panel {
  background: var(--bg-elevated);
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border-subtle);
}

.scrubber-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
  margin-bottom: 0.75rem;
}

.scrubber-progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 38%;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-emerald));
  border-radius: 3px;
  box-shadow: 0 0 10px var(--neon-emerald-glow);
}

.scrubber-playhead {
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border: 2px solid var(--neon-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-emerald);
}

/* Transport Controls */
.transport-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.transport-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.transport-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.transport-btn:hover, .transport-btn.active {
  border-color: var(--neon-emerald);
  color: var(--neon-emerald);
  background: var(--neon-emerald-soft);
}

.lut-select-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.lut-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  cursor: pointer;
}

.lut-btn.active {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  background: var(--neon-cyan-soft);
}

/* ==========================================================================
   METRICS & REPUTATION STRIP
   ========================================================================== */
.metrics-strip {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 2.2rem 0;
  margin-top: 2rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border-left: 2px solid var(--border-subtle);
  padding-left: 1.25rem;
  transition: border-color var(--transition-fast);
}

.metric-item:hover {
  border-left-color: var(--neon-emerald);
}

.metric-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.metric-number span {
  color: var(--neon-emerald);
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   BEFORE / AFTER COLOR & RETOUCH LAB
   ========================================================================== */
.lab-section {
  padding: 6rem 0;
  position: relative;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 68ch;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  text-transform: uppercase;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.5;
}

.split-lab-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

/* Dual Pane Comparison Slider */
.comparison-slider-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 580px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px var(--neon-cyan-soft);
  user-select: none;
  cursor: ew-resize;
}

.comparison-slider-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Before layer: flat desaturated camera log simulation */
.image-before-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  filter: grayscale(85%) contrast(70%) brightness(115%) sepia(10%);
}

.image-after-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ffffff;
  box-shadow: 0 0 12px var(--neon-emerald);
  cursor: ew-resize;
  z-index: 10;
}

.handle-gripper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: var(--bg-void);
  border: 2px solid var(--neon-emerald);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 0 16px var(--neon-emerald);
}

.handle-gripper svg {
  width: 18px;
  height: 18px;
  color: var(--neon-emerald);
}

.label-badge {
  position: absolute;
  top: 1rem;
  padding: 0.3rem 0.75rem;
  background: rgba(6, 7, 10, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  z-index: 5;
}

.label-before {
  left: 1rem;
  color: #ffaa00;
  border-color: rgba(255, 170, 0, 0.4);
}

.label-after {
  right: 1rem;
  color: var(--neon-emerald);
  border-color: rgba(0, 255, 135, 0.4);
}

/* Color Telemetry & Vectorscope Card */
.lab-telemetry-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.telemetry-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.telemetry-card-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Vectorscope Canvas */
.vectorscope-container {
  width: 100%;
  height: 140px;
  background: #040508;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

#scopeCanvas {
  width: 100%;
  height: 100%;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.scope-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: var(--bg-elevated);
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.scope-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.scope-val {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ==========================================================================
   THE 5 WEAPONS - SOFTWARE MATRIX
   ========================================================================== */
.arsenal-section {
  padding: 6rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.arsenal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.arsenal-card {
  background: var(--bg-void);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.arsenal-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-emerald);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--neon-emerald-soft);
}

.arsenal-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.badge-pr { background: rgba(153, 153, 255, 0.15); color: #9999ff; border: 1px solid rgba(153, 153, 255, 0.4); }
.badge-ae { background: rgba(210, 145, 255, 0.15); color: #d291ff; border: 1px solid rgba(210, 145, 255, 0.4); }
.badge-ps { background: rgba(49, 168, 255, 0.15); color: #31a8ff; border: 1px solid rgba(49, 168, 255, 0.4); }
.badge-lr { background: rgba(49, 200, 255, 0.15); color: #31c8ff; border: 1px solid rgba(49, 200, 255, 0.4); }
.badge-cc { background: rgba(0, 255, 135, 0.15); color: #00ff87; border: 1px solid rgba(0, 255, 135, 0.4); }

.arsenal-name {
  font-size: 1.15rem;
  color: var(--text-primary);
}

.arsenal-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.arsenal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.arsenal-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: var(--bg-elevated);
  padding: 2px 7px;
  border-radius: 2px;
  color: var(--text-muted);
}

/* ==========================================================================
   FEATURED WORKS / VAULT
   ========================================================================== */
.works-section {
  padding: 6rem 0;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--neon-emerald);
  color: #06070a;
  background: var(--neon-emerald);
  font-weight: 700;
  box-shadow: 0 0 16px var(--neon-emerald-glow);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.work-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--neon-cyan);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px var(--neon-cyan-soft);
}

.work-thumbnail-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.work-thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-card:hover .work-thumbnail-wrapper img {
  transform: scale(1.05);
}

.work-tag-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(6, 7, 10, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--neon-emerald);
}

.work-duration-badge {
  position: absolute;
  bottom: 0.8rem;
  right: 0.8rem;
  background: rgba(0, 0, 0, 0.85);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #fff;
}

.work-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex-grow: 1;
}

.work-title {
  font-size: 1.3rem;
  color: var(--text-primary);
}

.work-client {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.work-summary {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.work-metrics-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.work-metric-pill {
  color: var(--neon-cyan);
}

/* ==========================================================================
   ESTIMATOR & RATE CALCULATOR
   ========================================================================== */
.pricing-section {
  padding: 6rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.calculator-card {
  background: var(--bg-void);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.calculator-controls {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.calc-label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-value-display {
  color: var(--neon-emerald);
  font-weight: 700;
}

/* Range input styling */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: var(--bg-elevated);
  border-radius: 3px;
  outline: none;
  border: 1px solid var(--border-subtle);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--neon-emerald);
  cursor: pointer;
  box-shadow: 0 0 10px var(--neon-emerald);
  border: 2px solid #06070a;
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
}

.calc-option-btn {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
}

.calc-option-btn:hover, .calc-option-btn.active {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  background: var(--neon-cyan-soft);
}

/* Quote Estimate Display */
.calculator-summary-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 0 25px var(--neon-emerald-soft);
}

.summary-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.summary-price-big {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--neon-emerald);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.summary-breakdown-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  border-bottom: 1px dashed var(--border-subtle);
  padding-bottom: 0.4rem;
}

.summary-item span:last-child {
  color: var(--text-primary);
}

/* ==========================================================================
   ABOUT / EDITORIAL MANIFESTO
   ========================================================================== */
.about-section {
  padding: 6rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-photo-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-active);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px var(--neon-emerald-soft);
}

.about-photo-wrapper img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.about-hud-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(6, 7, 10, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about-hud-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--neon-emerald);
}

.about-story {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.story-lead {
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--text-primary);
  font-weight: 500;
}

.story-body {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
}

.milestones-timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  border-left: 2px solid var(--border-subtle);
  padding-left: 1.25rem;
}

.milestone-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.milestone-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-cyan);
  font-weight: 700;
}

.milestone-detail {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   CONTACT / MISSION CONTROL
   ========================================================================== */
.contact-section {
  padding: 6rem 0;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.channel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.channel-card:hover {
  border-color: var(--neon-emerald);
  background: var(--neon-emerald-soft);
  transform: translateX(4px);
}

.channel-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.channel-val {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 700;
}

/* Futuristic Booking Form */
.terminal-form {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input, .form-select, .form-textarea {
  background: var(--bg-void);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--neon-emerald);
  box-shadow: 0 0 12px var(--neon-emerald-soft);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-void);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MODAL DRAWER (CASE STUDY DEEP DIVE)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 8, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

.modal-card {
  width: 100%;
  max-width: 840px;
  max-height: 90vh;
  background: var(--bg-surface);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 40px var(--neon-emerald-soft);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: #fff;
  border-color: var(--hot-rec);
  background: var(--hot-rec);
}

.modal-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modal-media-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.modal-media-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--neon-emerald);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--neon-emerald-soft);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--neon-emerald);
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE LAYOUT & MOBILE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .split-lab-container {
    grid-template-columns: 1fr;
  }
  .calculator-card {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(6, 7, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .mobile-menu-toggle {
    display: block;
  }
  .telemetry-badge {
    display: none;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .works-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .footer-top, .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
