/* ==========================================================================
   NoxDesk – AI Harness | Static Teaser Landingpage Stylesheet (App-Design)
   100% Cookie-Free · Zero External Requests · Obsidian Dark & Amber-Coral
   ========================================================================== */

:root {
  color-scheme: dark;

  /* 1. Brand Core (Amber-Coral Forge) */
  --accent: #fbbf24;
  --accent-deep: #f59e0b;
  --accent-orange: #fb923c;
  --accent-2: #fb7185;
  --brand-gradient: linear-gradient(135deg, #f59e0b 0%, #fb923c 45%, #fb7185 100%);
  --accent-soft: rgba(251, 191, 36, 0.14);
  --accent-line: rgba(251, 191, 36, 0.42);
  --on-accent: #231703;

  /* 2. Obsidian 5-Layer Surface Hierarchy */
  --code-bg: #08090b;
  --bg: #0a0b0d;
  --chat-bg: #0c0e11;
  --surface: #0f1114;
  --surface-2: #14171b;
  --surface-3: #1a1e24;

  /* 3. Borders & Overlays */
  --border: #1f2329;
  --border-strong: #2a2f37;
  --hover: rgba(255, 255, 255, 0.05);
  --selected: rgba(255, 255, 255, 0.08);

  /* 4. Typography Colors */
  --text: #e7e9ec;
  --text-2: #a3a9b3;
  --text-3: #6c737e;
  --text-sub: #94a3b8;

  /* 5. Semantic Pillar Colors */
  --success: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;
  --airgap-blue: #3b82f6;
  --agent-purple: #a855f7;

  /* 6. Geometry & Shadows */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.65);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.85);

  /* 7. Local System Font Stacks (DSGVO-safe, 0 external Google Fonts calls) */
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 460px at 50% -5%, rgba(251, 191, 36, 0.11), transparent 65%),
    radial-gradient(760px 340px at 50% 2%, rgba(251, 113, 133, 0.06), transparent 60%),
    var(--chat-bg);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover {
  color: #fde68a;
}

/* ================= APPLICATION CHROME TITLEBAR (STICKY HEADER) ================= */
.app-titlebar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 52px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 20px;
  gap: 16px;
  background: rgba(10, 11, 13, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.tb-left {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
}

.brand-link:hover {
  color: var(--text);
}

.logo-mark {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--brand-gradient);
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.35);
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 6.5px;
  border-radius: 3px;
  background: var(--bg);
}

.brand-word {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #ffffff;
}

.brand-word b {
  color: var(--accent);
  font-weight: 800;
}

.brand-sub {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-sub);
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Center Command-Bar Navigation */
.tb-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 9px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.tb-nav a {
  padding: 5px 13px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-2);
  transition: all 0.15s ease;
}

.tb-nav a:hover {
  color: var(--text);
  background: var(--hover);
}

.tb-nav a.active {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 600;
}

/* Right Model / Release Status Pill */
.tb-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-3);
  flex-shrink: 0;
}

.dot.ok {
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.22);
}

.dot.amber {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.24);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.92); }
}

/* ================= MAIN CONTENT CONTAINER ================= */
.page-wrap {
  flex: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

/* ================= HERO SECTION ================= */
.hero {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 44px;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
  box-shadow: 0 0 28px -4px rgba(245, 158, 11, 0.28);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero h1 .grad-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  color: var(--text-2);
  max-width: 780px;
  margin: 0 auto 28px;
  line-height: 1.68;
}

.hero-lead strong {
  color: var(--text);
  font-weight: 600;
}

/* 5-Dots Governance Signature Strip */
.hub-pill-bar {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 12.5px;
  color: var(--text-2);
  box-shadow: var(--shadow);
}

.hub-dots-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hub-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.kbd-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
}

/* ================= FULL-HD APPLICATION SHOWCASE ================= */
.showcase-wrap {
  margin: 12px auto 64px;
  position: relative;
}

.showcase-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--code-bg);
  box-shadow:
    0 30px 90px -20px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(251, 191, 36, 0.16);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.showcase-frame:hover {
  border-color: rgba(251, 191, 36, 0.42);
}

.showcase-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.showcase-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 18px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-3);
}

.showcase-caption span b {
  color: var(--text-2);
}

/* ================= BENTO FEATURE GRID (WAS IST NOXDESK?) ================= */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.section-eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--text-2);
  font-size: 14.5px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 56px;
}

.nox-card {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nox-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.35), transparent);
}

.nox-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 16px;
}

.card-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--code-bg);
  border: 1px solid var(--border-strong);
  color: var(--text-3);
}

.nox-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text);
  margin-top: 2px;
}

.nox-card p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.55;
}

.card-points {
  list-style: none;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-points li {
  display: block;
  position: relative;
  padding-left: 14px;
  font-size: 12.4px;
  color: var(--text-3);
  line-height: 1.45;
}

.card-points li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 11px;
}

.card-points li b {
  color: var(--text-2);
  font-weight: 600;
}

/* ================= COMING SOON TEASER BANNER ================= */
.teaser-banner {
  background:
    radial-gradient(600px 220px at 50% 0%, rgba(251, 191, 36, 0.13), transparent 70%),
    var(--surface);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.teaser-banner h2 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.teaser-banner p {
  color: var(--text-2);
  font-size: 14.5px;
  max-width: 640px;
  margin: 0 auto 20px;
}

.teaser-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* ================= LEGAL PAGES (IMPRESSUM & DATENSCHUTZ) ================= */
.legal-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 40px 44px;
  box-shadow: var(--shadow-lg);
}

.legal-card h1 {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.legal-sub {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.legal-card h2,
.legal-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
  margin: 28px 0 10px;
}

.legal-card h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  margin: 18px 0 6px;
}

.legal-card p {
  font-size: 14.2px;
  color: var(--text-2);
  margin-bottom: 14px;
  line-height: 1.7;
}

.legal-card ul {
  margin: 10px 0 18px 22px;
  color: var(--text-2);
  font-size: 14.2px;
}

.legal-card li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.contact-img-wrap {
  margin: 16px 0 22px;
  display: inline-block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-img-wrap img {
  display: block;
  width: 380px;
  max-width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.zero-cookie-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--text);
  font-size: 13.5px;
  margin: 18px 0 24px;
}

/* ================= APPLICATION STATUSBAR (FOOTER) ================= */
.app-statusbar {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: 12px;
}

.sb-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sb-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sb-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sb-links a {
  color: var(--text-2);
  font-weight: 500;
}

.sb-links a:hover,
.sb-links a.active {
  color: var(--accent);
}

.amber-swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--brand-gradient);
  display: inline-block;
}

/* ================= RESPONSIVE BREAKPOINTS ================= */
@media (max-width: 980px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .app-titlebar {
    grid-template-columns: auto auto;
    height: auto;
    padding: 12px 16px;
  }
  .tb-nav {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .legal-card {
    padding: 24px 20px;
  }
  .app-statusbar {
    height: auto;
    padding: 12px 16px;
    justify-content: center;
  }
}
