:root {
  --bg: #07101f;
  --bg-soft: #12233f;
  --surface: rgba(11, 24, 44, 0.9);
  --surface-solid: #152a48;
  --line: rgba(130, 169, 214, 0.22);
  --text: #eaf3ff;
  --muted: #a3b8d3;
  --accent: #4cd2ff;
  --accent-hot: #4ef0a8;
  --accent-warm: #ffb55d;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 26px 70px rgba(2, 7, 18, 0.52);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  background:
    radial-gradient(1100px 760px at 10% -25%, rgba(76, 210, 255, 0.22), transparent 58%),
    radial-gradient(950px 620px at 96% -5%, rgba(78, 240, 168, 0.14), transparent 54%),
    radial-gradient(800px 480px at 60% 120%, rgba(255, 181, 93, 0.08), transparent 62%),
    linear-gradient(180deg, #09192f 0%, #06101f 58%, #030913 100%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  z-index: -1;
}

.bg-orb-one {
  width: 300px;
  height: 300px;
  left: -120px;
  top: 150px;
  background: rgba(61, 202, 255, 0.2);
}

.bg-orb-two {
  width: 280px;
  height: 280px;
  right: -100px;
  top: 420px;
  background: rgba(80, 244, 160, 0.16);
}

.site-header {
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.brand span {
  background: linear-gradient(120deg, #d9ecff 0%, #66d7ff 54%, #60f7b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.top-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.top-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.top-nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

main a {
  color: var(--accent-warm);
  text-decoration: none;
}

main a:hover {
  text-decoration: none;
  text-shadow: 0 0 12px rgba(255, 181, 93, 0.35);
}

main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 10px 20px 80px;
}

section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
  margin-bottom: 26px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

section::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  background: linear-gradient(90deg, rgba(76, 210, 255, 0.72), rgba(78, 240, 168, 0.55), rgba(255, 181, 93, 0.38));
}

.hero {
  position: relative;
  overflow: hidden;
  border-color: rgba(76, 210, 255, 0.22);
}

.hero::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at center, rgba(76, 210, 255, 0.2), transparent 72%);
  right: -70px;
  top: -90px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 700;
  margin: 0 0 10px;
}

h1,
h2,
h3,
h4 {
  font-family: 'Archivo', sans-serif;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.9rem, 2.8vw, 3rem);
  line-height: 1.2;
  margin-bottom: 14px;
  max-width: 860px;
}

h2 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  margin-bottom: 12px;
}

.hero-text {
  color: var(--muted);
  max-width: 760px;
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.badge {
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 6px 12px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.badge-free {
  color: #03190f;
  background: linear-gradient(120deg, #44e8a4, #67ffc2);
  border: none;
}

.hero-badges .badge:not(.badge-free) {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.app-shot p,
.downloads-subline {
  color: var(--muted);
  margin-top: 0;
}

.downloads-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.downloads-head h2 {
  margin-bottom: 0;
}

.downloads-flag {
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid rgba(255, 181, 93, 0.28);
  background: rgba(255, 181, 93, 0.08);
  color: #ffd3a1;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.shot-frame {
  margin: 18px 0 0;
  padding: 14px;
  border: 1px solid rgba(94, 131, 179, 0.34);
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10, 22, 40, 0.98), rgba(6, 14, 28, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 36px rgba(2, 8, 20, 0.42);
}

.shot-frame img {
  width: 100%;
  display: block;
  max-height: 680px;
  object-fit: contain;
  border-radius: 10px;
  background: #07111f;
}

.whats-new-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.45fr;
  gap: 16px;
  align-items: start;
}

.whats-new-grid p {
  color: var(--muted);
  margin-top: 0;
}

.whats-new-shot {
  margin-top: 0;
}

.whats-new-shot img {
  max-height: 420px;
  object-fit: contain;
}

.feature-grid,
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.legal-overview .download-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.downloads .download-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.downloads {
  overflow: visible;
}

.feature-card,
.download-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  background: linear-gradient(180deg, rgba(21, 38, 64, 0.82), rgba(13, 25, 43, 0.82));
}

.feature-card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.download-card {
  text-decoration: none;
  color: var(--text);
  display: grid;
  gap: 6px;
  position: relative;
  overflow: visible;
  z-index: 1;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  border-color: rgba(255, 181, 93, 0.18);
}

.downloads .download-card {
  padding: 17px;
  gap: 6px;
}

.download-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 181, 93, 0.8);
  z-index: 6;
  box-shadow: 0 14px 34px rgba(4, 15, 30, 0.62), 0 0 0 1px rgba(255, 181, 93, 0.12), 0 0 22px rgba(255, 181, 93, 0.12);
}

.download-card .system {
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.download-card .file {
  color: var(--muted);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.downloads .download-card .system {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.downloads .download-card strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.download-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.download-help {
  position: relative;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 181, 93, 0.75);
  color: #ffd3a1;
  font-size: 0.72rem;
  line-height: 1;
  background: rgba(255, 181, 93, 0.14);
  z-index: 12;
}

.download-tooltip {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%);
  min-width: 320px;
  max-width: 360px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 181, 93, 0.35);
  background: rgba(8, 16, 29, 0.96);
  color: #e8f1ff;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: 0 14px 30px rgba(4, 15, 30, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 100;
}

.download-help:hover .download-tooltip {
  opacity: 1;
  visibility: visible;
}

.downloads .download-card .file {
  font-size: 0.88rem;
  line-height: 1.2;
}

.freeware-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  background: linear-gradient(180deg, rgba(21, 38, 64, 0.82), rgba(13, 25, 43, 0.82));
}

.freeware-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.freeware-card-head h2 {
  margin-bottom: 0;
}

.freeware-card-head a {
  color: var(--accent-warm);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.freeware-card-head a:hover {
  text-decoration: none;
  text-shadow: 0 0 12px rgba(255, 181, 93, 0.35);
}

.freeware-card p {
  margin: 0 0 14px;
  color: var(--text);
}

.freeware-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  display: grid;
  gap: 10px;
}

.freeware-list li strong {
  color: var(--text);
}

.freeware-disclaimer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(132, 171, 214, 0.18);
}

.freeware-disclaimer h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
}

.freeware-disclaimer h4 {
  margin: 12px 0 4px;
  font-size: 0.98rem;
  color: #d8e8fb;
}

.freeware-disclaimer p {
  margin: 0;
  line-height: 1.5;
  color: var(--muted);
}

.impressum-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  background: rgba(8, 18, 34, 0.86);
}

.impressum-card h3 {
  margin-top: 20px;
  margin-bottom: 6px;
}

.impressum-card h3:first-child {
  margin-top: 0;
}

.impressum-card h4 {
  margin-top: 14px;
  margin-bottom: 6px;
  color: #b9d6ff;
  font-size: 1rem;
}

.impressum-card p {
  margin: 0 0 10px;
  color: #d5e3f8;
}

.source-note {
  color: var(--muted) !important;
  font-size: 0.9rem;
}

.site-footer {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px 36px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--accent-warm);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: none;
  text-shadow: 0 0 12px rgba(255, 181, 93, 0.35);
}

.privacy h3 {
  color: #d9ecff;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 560ms ease forwards;
}

.reveal:nth-of-type(2) {
  animation-delay: 90ms;
}

.reveal:nth-of-type(3) {
  animation-delay: 160ms;
}

.reveal:nth-of-type(4) {
  animation-delay: 220ms;
}

.reveal:nth-of-type(5) {
  animation-delay: 280ms;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .feature-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .whats-new-grid {
    grid-template-columns: 1fr;
  }

  .legal-overview .download-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 24px;
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .top-nav {
    gap: 12px;
  }

  .top-nav a {
    font-size: 0.92rem;
  }
}
