/**
 * Schwarmblick.de — Landing-Styles (Dark-Neon, Matrix-Canvas)
 *
 * Pflicht-Elemente nach `.CLAUDE-BAUSTEINE/ui/baustein-landing-dark-neon-matrix.md`:
 *   • App-Icon 96 px über Wortmarke (border-radius 22.5%)
 *   • Hero clamp(22,5vw,32)
 *   • Screenshots-Grid repeat(4) / Mobile repeat(2)
 *   • Version-Anzeige unter Pricebox (eigene Zeile, 11px, DM Mono)
 *   • ProLogixx-Logo 150px, opacity 0.55 → hover 0.9
 *   • Footer #888 / Links #aaa / 12px
 */

/* Web-Fonts (selbst gehostet, DSGVO) */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../app/assets/fonts/syne-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../app/assets/fonts/dm-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg:       #0f0f0f;
  --surface:  #1a1a1a;
  --surface2: #242424;
  --border:   #2e2e2e;
  --accent:   #a855f7;
  --accent2:  #ec4899;
  --text:     #f0f0f0;
  --muted:    #888;
  --muted2:   #aaa;
  --danger:   #ff5252;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); }
body {
  font-family: 'Syne', 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

#matrixCanvas {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

.sbmk-landing {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent2); }
img { max-width: 100%; display: block; }

.accent { color: var(--accent); }
.sbmk-text-center { text-align: center; }

/* ---- Hero ---- */
.sbmk-hero { text-align: center; margin-bottom: 36px; }
.sbmk-logo-icon {
  width: 96px; height: 96px;
  border-radius: 22.5%; /* Android-Adaptive-Icon-Approx */
  margin: 0 auto 18px;
  filter: drop-shadow(0 6px 20px rgba(168,85,247,0.35));
}
.sbmk-logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.sbmk-logo sup { font-size: 14px; opacity: 0.7; margin-left: 2px; }

.sbmk-hero h1 {
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
.sbmk-hero p {
  color: var(--muted2);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 26px;
  line-height: 1.5;
}
.sbmk-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 180ms ease;
  border: none;
  text-decoration: none;
  min-height: 44px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 8px 20px rgba(168,85,247,0.3);
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.1); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { display: flex; width: 100%; margin-top: 12px; }

/* ---- Screenshots-Grid (Pflicht-Pattern: 4 cols, mobile 2) ---- */
.sbmk-screenshots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.sbmk-screenshots img {
  width: 100%; height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
}
@media (max-width: 540px) {
  .sbmk-screenshots { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Section ---- */
.sbmk-section { margin-bottom: 40px; }
.sbmk-section-title {
  font-size: 20px;
  text-align: center;
  margin-bottom: 18px;
  font-weight: 700;
}

/* ---- FREE/PRO Compare-Table ---- */
.sbmk-compare {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.sbmk-compare .row {
  display: grid;
  grid-template-columns: 1fr 60px 60px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  align-items: center;
  text-align: center;
}
.sbmk-compare .row:last-child { border-bottom: none; }
.sbmk-compare .row .feat { text-align: left; }
.sbmk-compare .row.head {
  background: var(--surface2);
  font-weight: 700;
  color: var(--muted2);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.sbmk-compare .yes { color: var(--accent); font-weight: 700; }
.sbmk-compare .no  { color: var(--muted); }

/* ---- Price-Box ---- */
.sbmk-price-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
}
.sbmk-price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  padding: 4px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}
.sbmk-price {
  font-size: 42px;
  font-weight: 800;
  margin: 12px 0 6px;
  color: var(--accent);
}
.sbmk-price-sub {
  color: var(--muted2);
  font-size: 13px;
  margin-bottom: 18px;
}

/* ---- Version-Anzeige unter Pricebox (Pflicht-Position) ---- */
.sbmk-version-line {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  font-family: 'DM Mono', 'Consolas', monospace;
  letter-spacing: 1px;
  margin-top: 14px;
  margin-bottom: 40px;
}

/* ---- ProLogixx-Logo ---- */
.sbmk-prologixx-logo {
  width: 150px;
  opacity: 0.55;
  border-radius: 8px;
  margin: 0 auto;
  transition: opacity 180ms ease;
}
.sbmk-prologixx-logo:hover { opacity: 0.9; }

/* ---- Footer (Pflicht: #888 / Links #aaa / 12px) ---- */
.sbmk-footer {
  text-align: center;
  padding: 24px 16px 0;
  color: var(--muted);
  font-size: 12px;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}
.sbmk-footer a { color: var(--muted2); }
.sbmk-footer a:hover { color: var(--text); }

/* ---- Cookie-Consent (Funktionaler-Storage-Hinweis) ---- */
.sbmk-cc {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(15, 15, 15, 0.97);
  border-top: 2px solid var(--accent);
  padding: 14px 16px;
  z-index: 9800;
  backdrop-filter: blur(6px);
  animation: sbmk-cc-slide 0.4s ease;
}
.sbmk-cc-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.sbmk-cc-text { flex: 1; min-width: 240px; font-size: 13px; color: var(--muted2); line-height: 1.5; }
.sbmk-cc-text strong { color: var(--text); font-size: 14px; display: block; margin-bottom: 4px; }
.sbmk-cc-text p { margin: 0; }
.sbmk-cc-text a { color: var(--accent); }
.sbmk-cc-ok {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 150ms ease;
  flex-shrink: 0;
}
.sbmk-cc-ok:hover { filter: brightness(1.1); transform: translateY(-1px); }
@keyframes sbmk-cc-slide {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
