/* Moon Client – Website im Archive-Style
   © 2026 Moonakhi. Alle Rechte vorbehalten. */
:root {
  --bg-0: #0d0d14;
  --bg-1: #12121a;
  --bg-2: #171722;
  --bg-3: #1d1d2b;
  --bg-4: #252536;
  --line: rgba(139, 124, 246, 0.14);
  --line-strong: rgba(139, 124, 246, 0.42);
  --accent: #8b7cf6;
  --accent-2: #b4a9ff;
  --pink: #f472b6;
  --text: #ecebf7;
  --muted: #a3a1bd;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --radius: 16px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg-1);
  color: var(--text);
  font: 16px/1.6 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { color: #fff; }
img, svg { display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
code, kbd { font-family: Consolas, "Cascadia Code", monospace; font-size: .9em; }
kbd { padding: 1px 6px; border-radius: 6px; background: var(--bg-4); border: 1px solid var(--line); border-bottom-width: 2px; }

.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }

/* ---- Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 13, 20, .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-logo {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--accent), #c084fc);
  box-shadow: 0 6px 18px rgba(139, 124, 246, .45);
}
.brand-logo svg { width: 20px; height: 20px; }
.brand.small .brand-logo { width: 28px; height: 28px; border-radius: 8px; }
.brand.small .brand-logo svg { width: 16px; height: 16px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; transition: color .15s ease; }
.nav-links a:hover { color: var(--text); }

/* ---- Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 20px; border-radius: 12px; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  box-shadow: 0 8px 24px rgba(139, 124, 246, .35), inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .15s var(--ease), box-shadow .2s ease, filter .2s ease;
}
.btn:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 12px 30px rgba(139, 124, 246, .45), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn:active { transform: translateY(0); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-small { padding: 8px 16px; font-size: 14px; border-radius: 10px; }
.btn-big { padding: 15px 24px; font-size: 17px; border-radius: 14px; }
.btn-big span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.btn-big small { font-size: 12px; font-weight: 600; opacity: .8; }
.btn-ghost { background: var(--bg-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--bg-4); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn.is-disabled { filter: grayscale(.6); opacity: .7; pointer-events: none; }

/* ---- Hero */
.hero {
  position: relative; padding: 90px 0 110px; overflow: hidden;
  background:
    radial-gradient(800px 500px at 15% -10%, rgba(139, 124, 246, .28), transparent 60%),
    radial-gradient(700px 500px at 100% 10%, rgba(244, 114, 182, .16), transparent 60%),
    var(--bg-0);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(255, 255, 255, .9) 1px, transparent 1px);
  background-size: 3px 3px;
  mask-image: radial-gradient(600px 300px at 80% 20%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(600px 300px at 80% 20%, #000, transparent 70%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--accent-2);
  background: rgba(139, 124, 246, .12); border: 1px solid var(--line);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #23a55a; box-shadow: 0 0 0 4px rgba(35, 165, 90, .2); }
.hero h1 { font-size: clamp(44px, 6vw, 76px); font-weight: 900; margin: 22px 0 18px; }
.grad { background: linear-gradient(90deg, var(--accent-2), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--muted); max-width: 560px; }
.lead strong { color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-facts { display: flex; gap: 28px; list-style: none; padding: 0; margin: 34px 0 0; color: var(--muted); font-size: 14px; }
.hero-facts b { display: block; font-size: 24px; color: var(--text); }

/* ---- Nachgebaute App-Ansicht */
.mock {
  border-radius: 18px; overflow: hidden; background: var(--bg-2);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .4), 0 0 80px rgba(139, 124, 246, .18);
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
  transition: transform .6s var(--ease);
}
.mock:hover { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.mock-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #000; }
.mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: #3a3a4a; }
.mock-bar em { margin-left: 10px; font-style: normal; font-size: 12px; color: var(--muted); }
.mock-body { display: grid; grid-template-columns: 150px 1fr; min-height: 360px; }
.mock-side { background: var(--bg-1); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.mock-label { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin: 8px 6px 4px; }
.mock-item { padding: 6px 8px; border-radius: 6px; color: #dbdee1; }
.mock-item.on { background: rgba(139, 124, 246, .2); box-shadow: inset 2px 0 0 var(--accent); color: #fff; }
.mock-item.dim { color: #6d6a8a; }
.mock-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.mock-info { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 10px; font-size: 12px; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(139, 124, 246, .16), rgba(139, 124, 246, .03)); box-shadow: inset 3px 0 0 var(--accent); }
.mock-info span { color: var(--muted); }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mock-card { position: relative; padding: 10px 10px 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); font-size: 11px; }
.mock-card.on { box-shadow: inset 3px 0 0 var(--accent); border-color: rgba(139, 124, 246, .32); }
.mock-card b { display: block; font-size: 12px; margin-bottom: 3px; padding-right: 34px; }
.mock-card span { color: var(--muted); }
.sw { position: absolute; top: 9px; right: 9px; width: 28px; height: 16px; border-radius: 999px; background: var(--bg-4); }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.sw.on { background: linear-gradient(135deg, var(--accent), #a78bfa); box-shadow: 0 0 8px rgba(139, 124, 246, .5); }
.sw.on::after { transform: translateX(12px); }

/* ---- Sections */
.section { padding: 100px 0; }
.section.alt { background: var(--bg-0); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 14px; }

.tag { display: inline-block; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 20px; color: var(--accent-2); background: rgba(139, 124, 246, .14); }
.tag.red { color: #fecaca; background: rgba(240, 71, 71, .25); }
.tag.blue { color: #c7d2fe; background: rgba(88, 101, 242, .3); }

/* ---- Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  padding: 26px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  transition: transform .3s var(--ease), border-color .2s ease, box-shadow .3s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.feature.big { grid-column: span 2; background: radial-gradient(500px 220px at 0% 0%, rgba(139, 124, 246, .2), transparent 70%), linear-gradient(180deg, var(--bg-2), var(--bg-1)); }
.feature h3 { font-size: 19px; margin: 16px 0 8px; }
.feature p { color: var(--muted); font-size: 15px; }
.feature p b { color: var(--text); }
.f-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: var(--accent-2); background: rgba(139, 124, 246, .14); border: 1px solid var(--line); }
.f-icon svg { width: 24px; height: 24px; }
.f-icon.red { color: #f87171; background: rgba(240, 71, 71, .14); border-color: rgba(240, 71, 71, .25); }
.f-icon.green { color: #4ade80; background: rgba(35, 165, 90, .14); border-color: rgba(35, 165, 90, .28); }
.f-icon.spotify { color: #1ed760; background: rgba(30, 215, 96, .12); border-color: rgba(30, 215, 96, .25); }
.f-icon.pink { color: var(--pink); background: rgba(244, 114, 182, .12); border-color: rgba(244, 114, 182, .25); }

/* ---- Plugin-Liste */
.plugin-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 22px; }
#plugin-search {
  flex: 1 1 260px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg-1); color: var(--text); font: inherit; outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
#plugin-search:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(139, 124, 246, .18); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer;
  background: var(--bg-2); color: var(--muted); font: inherit; font-size: 14px; font-weight: 600;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip.on { color: #fff; background: rgba(139, 124, 246, .25); border-color: var(--accent); }
.plugin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.plugin {
  padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  animation: rise .35s var(--ease) both;
  transition: border-color .2s ease, transform .25s var(--ease);
}
.plugin:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.plugin.default { box-shadow: inset 3px 0 0 var(--accent); }
.plugin-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plugin h3 { font-size: 16px; }
.plugin p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.plugin .cat { font-size: 11px; font-weight: 700; color: var(--accent-2); text-transform: uppercase; letter-spacing: .04em; margin-top: 10px; display: block; }
.empty { text-align: center; color: var(--muted); padding: 30px 0; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* ---- Installation */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; padding: 26px 22px 24px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.step-no {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--accent), #c084fc); box-shadow: 0 6px 16px rgba(139, 124, 246, .4);
}
.steps h3 { font-size: 18px; margin: 16px 0 8px; }
.steps p { color: var(--muted); font-size: 15px; }
.steps b { color: var(--text); }
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.tip { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 14px; background: var(--bg-0); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.tip b { color: var(--text); font-size: 15px; }

/* ---- Sicherheit */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust-item { padding: 22px 22px 22px 24px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); position: relative; overflow: hidden; }
.trust-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.trust-item.ok::before { background: #23a55a; }
.trust-item.info::before { background: var(--accent); }
.trust-item.warn::before { background: #f0b232; }
.trust-item.warn { background: linear-gradient(135deg, rgba(240, 178, 50, .08), transparent 60%), var(--bg-2); }
.trust-item h3 { font-size: 17px; margin-bottom: 8px; }
.trust-item p { color: var(--muted); font-size: 15px; }
.trust-item b { color: var(--text); }

/* ---- FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); transition: border-color .2s ease; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--accent-2); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); animation: rise .3s var(--ease) both; }

/* ---- CTA + Footer */
.cta { padding: 90px 0; background: radial-gradient(700px 300px at 50% 120%, rgba(139, 124, 246, .3), transparent 70%), var(--bg-1); }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: 40px 44px; border-radius: 24px; border: 1px solid var(--line-strong);
  background: radial-gradient(500px 240px at 0% 0%, rgba(139, 124, 246, .25), transparent 70%), var(--bg-2);
}
.cta h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.cta p { color: var(--muted); margin-top: 8px; font-size: 17px; }
.footer { padding: 40px 0 50px; border-top: 1px solid var(--line); background: var(--bg-0); }
.footer-inner { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.muted { opacity: .7; font-size: 13px; }

/* ---- Erscheinen beim Scrollen */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---- Mobil */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mock { transform: none; }
  .features, .trust { grid-template-columns: 1fr 1fr; }
  .feature.big { grid-column: span 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .tips { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  .hero { padding: 56px 0 70px; }
  .features, .trust, .steps { grid-template-columns: 1fr; }
  .feature.big { grid-column: auto; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .section { padding: 70px 0; }
  .cta-inner { padding: 28px 22px; }
  .btn-big { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
