/* BitLumen — website. Tro kopi af Janus' design (inline-styles i Index).
   Her: kun det globale + hover-klasser (erstatter DC's style-hover) + sprog-toggle + responsivt. */

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #0C0C0C;
  color: #E8E8E8;
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
a { color: #FDBA74; text-decoration: none; }
a:hover { color: #FB923C; }
img { display: block; max-width: 100%; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---- Sprog-skift (kun aktivt sprog vises) ---- */
html[data-lang="en"] [data-lang="da"] { display: none !important; }
html[data-lang="da"] [data-lang="en"] { display: none !important; }

/* ---- Sprog-toggle-knapper (aktiv = orange, matcher Janus' btn()) ---- */
.langbtn { border: none; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 11px;
  padding: 5px 11px; border-radius: 99px; letter-spacing: 0.5px; background: transparent; color: #7A7A7A; }
html[data-lang="da"] .langbtn[data-set-lang="da"],
html[data-lang="en"] .langbtn[data-set-lang="en"] { background: #F97316; color: #141414; }

/* ---- Hover-tilstande (erstatter style-hover fra exporten) ---- */
.nlink:hover { color: #E8E8E8; }
.flink:hover { color: #FDBA74; }
.dlbtn-primary:hover, .cta-win:hover { background: #FB923C !important; color: #141414 !important; }
.cta-other:hover, .dlbtn-alt:hover { background: #242424 !important; }
.bcard:hover { border-color: #333333 !important; background: #1E1E1E !important; }
.chip:hover { border-color: rgba(249,115,22,0.5) !important; color: #FDBA74 !important; }

/* ---- Billed-slot placeholder (når screenshot mangler) ---- */
.slot { width: 100%; height: 100%; }
.slot img { width: 100%; height: 100%; object-fit: cover; }
.slot-ph { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 24px;
  color: #7A7A7A; font-size: 13px;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 12px, transparent 12px 24px); }
.slot.ph-fallback .slot-ph[hidden] { display: grid; }

/* ---- Klikbart screenshot → letbox ---- */
.slot img { cursor: zoom-in; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6,6,6,0.92);
  backdrop-filter: blur(6px); display: grid; place-items: center; padding: 40px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; border: 1px solid #333333;
  box-shadow: 0 30px 90px -20px #000; cursor: default; }
.lightbox-close { position: absolute; top: 22px; right: 26px; background: none; border: 0;
  color: #C9C9C9; font-size: 34px; cursor: pointer; line-height: 1; }
.lightbox-close:hover { color: #E8E8E8; }

/* ---- Indholds-sider (privatliv, vilkår, licenser, changelog …) ---- */
.doc { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: 72px 24px 110px; }
.doc .eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #FDBA74; }
.doc h1 { margin: 14px 0 0; font-size: 40px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.doc .lead { margin: 16px 0 0; font-size: 16px; line-height: 1.65; color: #A3A3A3; }
.doc .updated { margin: 12px 0 0; font-size: 12px; color: #7A7A7A; }
.doc h2 { margin: 44px 0 0; font-size: 20px; font-weight: 700; letter-spacing: -0.3px; }
.doc p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.75; color: #C9C9C9; }
.doc ul { margin: 12px 0 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.doc li { display: flex; gap: 10px; align-items: baseline; font-size: 14px; line-height: 1.6; color: #C9C9C9; }
.doc li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #F97316; flex: none; transform: translateY(-2px); }
.doc a { color: #FDBA74; } .doc a:hover { color: #FB923C; }
.doc .card {
  margin-top: 20px; background: #1A1A1A; border: 1px solid #262626; border-radius: 10px; padding: 20px 22px;
}
.doc .card p:first-child { margin-top: 0; }
.doc .note {
  margin-top: 20px; background: rgba(249,115,22,0.08); border: 1px solid rgba(249,115,22,0.3);
  border-radius: 10px; padding: 14px 18px; font-size: 13px; color: #FDBA74; line-height: 1.6;
}
.doc .back { display: inline-block; margin-top: 40px; font-size: 13px; }

/* Registrerings-formular (gratis licens) */
.doc form.reg { margin-top: 22px; display: flex; flex-direction: column; gap: 15px; }
.doc .reg label.fieldlabel { font-size: 13px; font-weight: 600; color: #C9C9C9; }
.doc .reg input[type=email], .doc .keybox {
  width: 100%; box-sizing: border-box; background: #101010; border: 1px solid #333333; border-radius: 8px;
  color: #E8E8E8; padding: 11px 13px; font-size: 14px; font-family: inherit;
}
.doc .reg input[type=email]:focus, .doc .keybox:focus { outline: none; border-color: #F97316; }
.doc .keybox { font-family: Consolas, monospace; font-size: 12px; line-height: 1.5; resize: vertical; }
.doc .checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: #C9C9C9; line-height: 1.5; }
.doc .checkline input { margin-top: 3px; flex: none; accent-color: #F97316; }
.doc .formbtn {
  align-self: flex-start; background: #F97316; color: #141414; border: none; border-radius: 10px;
  padding: 13px 26px; font-size: 15px; font-weight: 800; font-family: inherit; cursor: pointer;
}
.doc .formbtn:hover { background: #FB923C; }
.doc .fineprint { font-size: 12px; color: #7A7A7A; margin: 0; }

/* Licens- og changelog-tabeller/lister */
.lic { margin-top: 18px; display: grid; gap: 1px; background: #262626; border: 1px solid #262626; border-radius: 10px; overflow: hidden; }
.lic-row { background: #141414; padding: 13px 18px; display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: 12px; align-items: baseline; font-size: 13px; }
.lic-row.head { background: #1A1A1A; color: #7A7A7A; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }
.lic-row b { color: #E8E8E8; font-weight: 600; }
.lic-row .lic-lic { color: #FDBA74; font-family: Consolas, monospace; font-size: 12px; }
.lic-row span { color: #A3A3A3; }

.log { margin-top: 22px; display: flex; flex-direction: column; gap: 22px; }
.log-item { border-left: 2px solid #262626; padding: 2px 0 2px 20px; position: relative; }
.log-item::before { content: ""; position: absolute; left: -5px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: #F97316; }
.log-item .date { font-family: Consolas, monospace; font-size: 12px; color: #7A7A7A; }
.log-item h3 { margin: 4px 0 0; font-size: 15.5px; font-weight: 700; }
.log-item p { margin: 5px 0 0; font-size: 13.5px; line-height: 1.6; color: #A3A3A3; }

/* ---- Mobil-menu-knap (skjult på desktop) ---- */
.burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column;
  gap: 5px; padding: 6px; margin-left: 8px; }
.burger span { width: 20px; height: 2px; background: #C9C9C9; border-radius: 2px; }

/* ---- Responsivt (tilføjet — ændrer ikke desktop-looket) ---- */
@media (max-width: 900px) {
  .r-hero { grid-template-columns: 1fr !important; }
  .r-hero .r-mascot { order: -1; }
  .r-hero .r-mascot img { width: 200px !important; }
  .r-benefits { grid-template-columns: repeat(2, 1fr) !important; }
  .r-dive { grid-template-columns: 1fr !important; direction: ltr !important; }
  .r-dive .r-dive-media { order: -1; }
  .r-tech { grid-template-columns: repeat(2, 1fr) !important; }
  .r-foot { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 640px) {
  .r-nav-links { display: none !important; }
  .burger { display: flex; }
  .r-nav.open .r-nav-links { display: flex !important; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0 !important; background: #141414; border-bottom: 1px solid #262626; padding: 8px 0; }
  .r-nav.open .r-nav-links a { padding: 12px 24px; }
  .r-benefits, .r-tech, .r-foot { grid-template-columns: 1fr !important; }
  h1 { font-size: 44px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [style*="floaty"] { animation: none !important; }
}
