/* LNX Labs - overrides on top of the lauger.de base stylesheet */

@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --lnx-accent: #ff6440;
  --lnx-accent-dark: #e65533;
  --lnx-ink: #16181d;
  --lnx-ink-2: #1f232b;
  --lnx-green: #4ade80;
  --lnx-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 80px;
}

/* Wordmark */
.wordmark {
  font-family: var(--lnx-mono);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.wordmark .wm-sep {
  color: var(--lnx-accent);
}

.wm-cursor {
  display: inline-block;
  width: 0.55em;
  height: 1em;
  margin-left: 0.08em;
  vertical-align: -0.12em;
  background: var(--lnx-accent);
  animation: lnx-blink 1.1s steps(1) infinite;
}

@keyframes lnx-blink {
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wm-cursor { animation: none; }
}

.wordmark-sm {
  font-size: 26px;
  color: var(--lnx-ink);
}

.wordmark-xl {
  font-size: clamp(56px, 11vw, 120px);
  color: #fff;
}

.navigation .navbar-brand {
  padding-top: 0;
  text-decoration: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(255, 100, 64, 0.22), transparent 60%),
    linear-gradient(180deg, var(--lnx-ink) 0%, var(--lnx-ink-2) 100%);
  padding: 110px 0 130px;
  color: #e3e3e4;
  text-align: center;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero .container {
  position: relative;
}

.event-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 100, 64, 0.5);
  border-radius: 30px;
  background: rgba(255, 100, 64, 0.1);
  color: #ffb39f;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.event-chip:hover {
  color: #fff;
  border-color: var(--lnx-accent);
}

.terminal {
  display: inline-block;
  margin: 34px 0 30px;
  padding: 12px 20px;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  font-family: var(--lnx-mono);
  font-size: 15px;
  text-align: left;
  overflow-wrap: anywhere;
}

.t-prompt { color: var(--lnx-accent); }
.t-cmd { color: #fff; }
.t-flag { color: #7dd3fc; }
.t-arg { color: #a3a3a3; }
.t-ok { color: var(--lnx-green); }
.t-dim { color: #8b8f98; }

.hero-lead {
  margin-bottom: 10px;
  color: #fff;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.hero-sub {
  margin-bottom: 36px;
  color: #b9b9b9;
  font-size: 17px;
  line-height: 28px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

a.btn.btn-ghost {
  display: inline-block;
  padding: 14px 35px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

a.btn.btn-ghost:hover {
  border-color: var(--lnx-accent);
  color: var(--lnx-accent);
}

/* Terminal card in intro */
.terminal-card {
  margin-top: 30px;
  border-radius: 8px;
  background: var(--lnx-ink);
  box-shadow: 0 20px 50px rgba(22, 24, 29, 0.25);
  overflow: hidden;
}

.tc-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: #262a33;
}

.tc-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #4b5160;
}

.tc-bar span:first-child { background: var(--lnx-accent); }

.tc-bar em {
  margin-left: auto;
  color: #8b8f98;
  font-family: var(--lnx-mono);
  font-size: 12px;
  font-style: normal;
}

.terminal-card pre {
  margin: 0;
  padding: 20px 22px 24px;
  border: 0;
  background: transparent;
  color: #d4d4d8;
  font-family: var(--lnx-mono);
  font-size: 13.5px;
  line-height: 1.75;
  white-space: pre;
  overflow-x: auto;
}

/* Services as cards */
.service .service-item {
  height: calc(100% - 30px);
  margin-bottom: 30px;
  padding: 36px 26px;
  border: 1px solid #eee;
  border-top: 3px solid var(--lnx-accent);
  background: #fff;
}

.service .service-item i {
  font-size: 44px;
}

.service .service-item h4 {
  font-size: 17px;
}

/* CTA */
.cta-dark {
  background: var(--lnx-ink);
  background-image: radial-gradient(ellipse at 50% 0%, rgba(255, 100, 64, 0.18), transparent 60%);
}

.cta-dark p {
  color: #c4c4c8;
  margin-bottom: 28px;
}

.bg-light-gray {
  background: #f8f8f8;
}

/* About */
.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 20px;
}

.about-links a {
  color: #333;
  font-weight: 500;
}

.about-links a i {
  margin-right: 6px;
  color: var(--lnx-accent);
}

/* Contact */
.contact-block {
  padding: 90px 0;
  background: var(--lnx-ink);
  color: #c4c4c8;
}

.contact-block h2 {
  color: #fff;
  text-transform: uppercase;
  font-size: 28px;
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.contact-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.contact-grid a:hover {
  border-color: var(--lnx-accent);
  color: #fff;
}

.contact-grid i {
  font-size: 26px;
  color: var(--lnx-accent);
}

.contact-grid span {
  font-size: 14px;
  overflow-wrap: anywhere;
}

/* Event landing page */
.event-page {
  min-height: calc(100vh - 220px);
  padding: 70px 0 90px;
  background: linear-gradient(180deg, var(--lnx-ink) 0%, var(--lnx-ink-2) 100%);
  color: #c4c4c8;
  text-align: center;
}

.event-page h1 {
  color: #fff;
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 2px;
  margin: 28px 0 14px;
}

.event-page .wordmark-xl {
  font-size: clamp(48px, 14vw, 90px);
}

.event-page .contact-grid {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background: #0f1115;
}

.footer a {
  color: #c4c4c8;
}

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

.footer p {
  color: #6b7080;
}

/* Mobile */
@media (max-width: 767px) {
  .hero {
    padding: 70px 0 90px;
  }

  .hero-lead {
    font-size: 20px;
    letter-spacing: 2px;
  }

  .hero-sub br {
    display: none;
  }

  .terminal {
    font-size: 13px;
  }

  .terminal-card pre {
    font-size: 12px;
  }

  .stat-number {
    font-size: 36px;
  }

  .stat-label {
    font-size: 13px;
  }
}

/* Base stylesheet colors all non-.btn links orange; keep tiles and ghost buttons white */
.contact-grid a span,
.event-page a.btn.btn-ghost,
.hero a.btn.btn-ghost {
  color: #fff;
}
