:root{
  --bg:#0b0d14;
  --card:rgba(255,255,255,.07);
  --stroke:rgba(255,255,255,.12);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.72);
  --muted2:rgba(255,255,255,.58);
  --accent:#8b5cf6;
  --accent2:#38bdf8;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: var(--bg);
  color:var(--text);
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.95}

.container{max-width:1100px; margin:0 auto; padding:28px 18px}

/* ---------- NAV ---------- */
.nav{
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(14px);
  background: rgba(11,13,20,.55);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.navInner{display:flex; align-items:center; justify-content:space-between; gap:14px}
.brand{display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:.2px}

.navlinks{
  display:flex;
  gap:10px;
  align-items:center;
  color:var(--muted);
  flex-wrap:nowrap;
  justify-content:flex-end;
  white-space:nowrap;
}

.navlinks a{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid transparent;
}

.navlinks a.active{
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
}

.navlinks a:hover{background:rgba(255,255,255,.06)}

/* ---------- HERO ---------- */
.hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:24px;
  align-items:center;
  padding:42px 0 8px;
}

@media (max-width: 900px){
  .hero{grid-template-columns:1fr; padding-top:22px}
}

.kicker{
  color:rgba(255,255,255,.78);
  font-weight:700;
  letter-spacing:.2px;
  margin:0 0 10px;
}

.h1{
  font-size: clamp(34px, 4.2vw, 52px);
  line-height:1.05;
  margin:0 0 14px;
}

.lead{
  font-size:18px;
  line-height:1.55;
  color:var(--muted);
  margin:0 0 18px;
  max-width:68ch;
}

.badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:18px 0 22px;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  padding:8px 12px;
  border-radius:999px;
  color:var(--muted);
  font-size:13px;
}

.ctaRow{display:flex; flex-wrap:wrap; gap:12px; align-items:center}

.note{
  margin-top:10px;
  color:rgba(255,255,255,.70);
  font-size:12px;
  line-height:1.5;
}

/* ---------- HERO SURFACE (lesbar über BG) ---------- */
.heroSurface{
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  position: relative;

  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 18px 60px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.06);

  overflow: hidden;
}

/* badges inside heroSurface should not add huge margins */
.heroSurface .badges{
  margin: 0 0 12px;
}

.heroSurface .badge{
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
}

/* Mini-Card inside surface should look integrated */
.heroSurface .heroCard{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: none;
}

.heroSurface .heroCard h3{
  margin:0 0 6px;
  font-size:16px;
}

.heroSurface .heroCard p{
  margin:0 0 10px;
  color:var(--muted);
  line-height:1.55;
  font-size:14px;
}

.heroSurface .heroCard ul{
  margin:0;
  padding-left:18px;
}

.heroSurface .heroCard li{
  color:rgba(255,255,255,.82);
}

/* ---------- CARDS / GRID ---------- */
.section{padding:30px 0}

.h2{font-size: clamp(22px, 2.4vw, 30px); margin:0 0 12px}

.p{
  color:var(--muted);
  line-height:1.6;
  margin:0 0 14px;
  max-width:80ch;
}

.grid{
  display:grid;
  gap:14px;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 980px){ .grid{grid-template-columns: repeat(2, 1fr)} }
@media (max-width: 620px){ .grid{grid-template-columns: 1fr} }

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.12);
  border-radius:20px;
  padding:16px;
}

.card h3{margin:0 0 8px; font-size:16px}
.card p{margin:0; color:var(--muted2); line-height:1.55; font-size:14px}

/* ---------- PHONE ---------- */
.phoneCard{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  padding:18px;
}

.phoneWrap{
  aspect-ratio: 9 / 19.5;
  border-radius:28px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  overflow:hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);

  max-width: 300px;
  margin: 0 auto;
}

.phoneWrap img{width:100%; height:100%; object-fit:cover; display:block}

/* ---------- FOOTER ---------- */
.footer{
  padding:26px 0 44px;
  border-top:1px solid rgba(255,255,255,.08);
  color:var(--muted2);
  font-size:13px;
}

.footerLinks{display:flex; flex-wrap:wrap; gap:14px; margin-top:10px}

/* ---------- CODE / HR ---------- */
code{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  padding:2px 6px;
  border-radius:8px;
}

.hr{height:1px; background:rgba(255,255,255,.08); border:0; margin:18px 0}

/* ---------- ASSETS ---------- */
.logoImg{
  width: 45px;
  height: 45px;
  object-fit: contain;
  border-radius: 10px;
}

.appStoreBadge img{
  height: 120px;
  width: auto;
  display: block;
}

/* ---------- Screenshots ---------- */
.mediaGrid{
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.media{
  background: transparent;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
}

.media img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 32px;
}

/* ---------- PAGE BG ---------- */
.pageBg{
  min-height: 100vh;
  background:
    radial-gradient(1200px 800px at 20% 10%, rgba(139,92,246,.25), transparent 55%),
    radial-gradient(900px 700px at 90% 15%, rgba(56,189,248,.22), transparent 60%),
    linear-gradient(180deg, #0b0d14 0%, #070812 100%);
}

/* ---------- Lightbox ---------- */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 12, 0.88);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.lightbox.open{
  opacity: 1;
  pointer-events: auto;
}

.lightbox img{
  max-width: min(92vw, 420px);
  max-height: 90vh;
  border-radius: 24px;
  box-shadow: 0 40px 120px rgba(0,0,0,.6);
}

/* ---------- VIDEO FADE ---------- */
.video video { animation: videoFade .6s ease; }
@keyframes videoFade { from { opacity: 0 } to { opacity: 1 } }

/* ---------- MOBILE TWEAKS ---------- */
@media (max-width: 720px){
  .badges{margin:14px 0 16px}
  .badge{font-size:12px; padding:7px 10px}
  .heroSurface{padding:12px; border-radius:16px}
  .appStoreBadge img{height: 104px}
}