/* ═══════════════════════════════════════════════════════════════════════════
   lightingboss-web base theme — BLACK + RED + WHITE
   Matches lighting-boss.com brand identity.
   "LIKE A BOSS" energy: bold, industrial, high-contrast.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --black: #000000;
  --void: #0a0a0a;
  --void-lighter: #14141a;
  --panel: #1a1a1f;
  --panel-hover: #22222a;
  --red: #FF0000;
  --red-bright: #FF3333;
  --red-deep: #B30000;
  --red-dim: rgba(255, 0, 0, 0.2);
  --red-glow: rgba(255, 0, 0, 0.4);
  --white: #FFFFFF;
  --white-dim: #CCCCCC;
  --gray: #8A8A8A;
  --gray-dark: #2A2A2A;
  --gray-light: #E8E8E8;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-red-subtle: rgba(255, 0, 0, 0.25);
}

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

html, body {
  background: var(--black);
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI",
               "Montserrat", "Gotham", system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  font-weight: 400;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Typography utilities */
.mono {
  font-family: "JetBrains Mono", "SF Mono", Consolas, Menlo, monospace;
}

.bold-sans {
  font-family: "Montserrat", "Gotham", -apple-system, sans-serif;
  font-weight: 900;
  letter-spacing: 1px;
}

.uppercase {
  text-transform: uppercase;
}

.red { color: var(--red); }
.red-bright { color: var(--red-bright); }
.white-dim { color: var(--white-dim); }
.gray { color: var(--gray); }

/* Red accent bar — brand signature element */
.red-bar {
  display: block;
  width: 80px;
  height: 4px;
  background: var(--red);
  margin: 24px auto;
  box-shadow: 0 0 12px var(--red-glow);
}

.red-bar-wide {
  width: 100%;
  height: 2px;
  background: var(--red);
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 18px 48px;
  font-family: "Montserrat", "Gotham", sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  background: none;
  color: var(--white);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
  box-shadow: 0 0 32px var(--red-glow), 0 8px 24px rgba(0, 0, 0, 0.5);
  letter-spacing: 4px;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb {
  background: var(--red);
  border: 2px solid var(--black);
}
::-webkit-scrollbar-thumb:hover { background: var(--red-bright); }

/* Selection */
::selection {
  background: var(--red);
  color: var(--white);
}

/* Link defaults */
a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--red-bright);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Back to Mindquay — universal harbor link
   Sits in the top-left on landing pages and inside the header on app pages.
   ═══════════════════════════════════════════════════════════════════════════ */

.back-to-mindquay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white-dim);
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.back-to-mindquay:hover {
  color: var(--white);
  border-color: var(--red);
  background: rgba(255, 0, 0, 0.08);
  box-shadow: 0 0 0 1px var(--red), 0 0 24px var(--red-glow);
}

.back-to-mindquay .arrow {
  font-size: 12px;
  transition: transform 0.25s ease;
}

.back-to-mindquay:hover .arrow {
  transform: translateX(-3px);
}

/* Landing page placement — fixed top-left, doesn't compete with hero */
.landing .back-to-mindquay {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 100;
  animation: rise-soft 1.4s ease-out 0.6s both;
}

@keyframes rise-soft {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .landing .back-to-mindquay { top: 16px; left: 16px; padding: 6px 10px; font-size: 10px; }
}
