/*
 * FridayOS Blue Add-On — Deck Brand System v2.0
 *
 * Adds blue-themed variants alongside the deprecated emerald classes in base.css.
 * Import after base.css. Safe to include in any deck; does not override existing classes.
 *
 * Matches the FridayOS product brand (primary: oklch(0.55 0.18 254.62) ≈ #006FD7)
 * documented in brand-guide.md v2.0 (April 2026 pivot).
 *
 * Provides:
 *  - --fos-blue color tokens
 *  - .label--blue accent label
 *  - .divider--blue glowing divider
 *  - .fos-atmos-blue / .fos-atmos-blue-bl atmospheric glows
 *  - .console-chrome signature framing (friday.<scope> label + traffic lights)
 *  - .mono-label monospace scope label (JetBrains Mono)
 *  - Watermark override for blue-themed slides
 *  - Overview mode blue border for FOS slides
 */

:root {
  --fos-blue: #006FD7;
  --fos-blue-light: #3393E3;
  --fos-blue-lighter: #66B7EE;
  --fos-blue-glow: rgba(0, 111, 215, 0.14);
  --fos-blue-dim: rgba(0, 111, 215, 0.20);
}

/* =========================================
   ACCENT LABEL (BLUE)
   ========================================= */

.label--blue {
  color: var(--fos-blue-light);
  text-shadow: 0 0 30px rgba(0, 111, 215, 0.30);
}

/* =========================================
   DIVIDER (BLUE)
   ========================================= */

.divider--blue {
  background: var(--fos-blue);
  box-shadow:
    0 0 16px rgba(0, 111, 215, 0.6),
    0 0 48px rgba(0, 111, 215, 0.3),
    0 0 96px rgba(0, 111, 215, 0.1);
}

/* =========================================
   ATMOSPHERIC GLOWS (BLUE)
   ========================================= */

.fos-atmos-blue::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 1100px;
  height: 1100px;
  background: radial-gradient(circle,
    rgba(0, 111, 215, 0.24) 0%,
    rgba(0, 111, 215, 0.11) 25%,
    rgba(0, 111, 215, 0.03) 50%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.fos-atmos-blue-bl::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle,
    rgba(0, 111, 215, 0.16) 0%,
    rgba(0, 111, 215, 0.05) 35%,
    transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Hover glow in overview mode for blue-themed slides */
.reveal.overview .slides section.fos-bg.fos-blue-theme:hover {
  border-color: var(--fos-blue);
  box-shadow: 0 12px 48px rgba(0, 111, 215, 0.25);
}

/* =========================================
   CONSOLE CHROME — signature FridayOS framing
   "friday.<scope>" label + macOS traffic-light dots
   ========================================= */

.console-chrome {
  position: absolute;
  top: 36px;
  left: 120px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 16px 8px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  z-index: 10;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.55);
}

.console-dots {
  display: flex;
  gap: 6px;
}

.console-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.console-dot--red { background: #ff5f57; }
.console-dot--yellow { background: #febc2e; }
.console-dot--green { background: #28c840; }

.console-scope {
  font-weight: 500;
}

.console-scope .scope-ns {
  color: rgba(255, 255, 255, 0.4);
}

.console-scope .scope-name {
  color: var(--fos-blue-light);
}

/* =========================================
   MONOSPACE SCOPE LABEL
   Used in place of .label where we want the product-native feel
   ========================================= */

.mono-label {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fos-blue-light);
  padding: 6px 12px;
  background: rgba(0, 111, 215, 0.08);
  border: 1px solid rgba(0, 111, 215, 0.22);
  border-radius: 6px;
  margin-bottom: 28px;
  text-shadow: 0 0 20px rgba(0, 111, 215, 0.3);
}

.mono-label .ns {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

/* =========================================
   WATERMARK (BLUE OVERRIDE)
   ========================================= */

.fos-bg.fos-blue-theme .watermark {
  color: rgba(0, 111, 215, 0.45);
}

/* =========================================
   GRID MARK (BLUE CELL)
   Inline-SVG-friendly — expects .gm-cell-4 to receive the blue fill
   ========================================= */

.grid-mark--blue .gm-cell-4 { fill: var(--fos-blue); }

/* Cell labels for slide 3 hero treatment */
.grid-mark-with-labels {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}

.grid-mark-labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fos-text-secondary);
}

.grid-mark-labels .gml {
  display: flex;
  align-items: center;
  gap: 10px;
}

.grid-mark-labels .gml::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.grid-mark-labels .gml--lit::before {
  background: var(--fos-blue);
  border-color: var(--fos-blue);
  box-shadow: 0 0 12px rgba(0, 111, 215, 0.6);
}

/* =========================================
   RESPONSIVE — console chrome shifts left on smaller
   ========================================= */

@media (max-width: 960px) {
  .console-chrome { left: 64px; top: 28px; font-size: 11px; }
}

@media (max-width: 600px) {
  .console-chrome { left: 32px; top: 24px; padding: 6px 12px; }
  .console-dot { width: 9px; height: 9px; }
}
