/* SongFromTikVid – shared styles. No external fonts or scripts (see privacy policy, section 3). */

:root {
  --bg: #0b0c10;
  --surface: #13141a;
  --surface-2: #1a1b22;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f5f7;
  --text-2: #b9bcc7;
  --text-3: #7d8190;
  --cyan: #2ee6df;
  --pink: #ff3b6b;
  --grad: linear-gradient(90deg, var(--cyan), #8b7bff 50%, var(--pink));
  --radius: 22px;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
img { display: block; }

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 55% at 0% 0%, rgba(20, 120, 115, 0.55), transparent 70%),
    radial-gradient(55% 60% at 100% 100%, rgba(150, 18, 48, 0.55), transparent 70%),
    radial-gradient(40% 40% at 70% 10%, rgba(70, 40, 120, 0.25), transparent 70%),
    var(--bg);
}

/* ---------- Top bar ---------- */

.topbar {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand img { border-radius: 9px; }
.brand.small { font-size: 15px; }

.back, .topbar .nav-link {
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
}
.back:hover, .topbar .nav-link:hover { color: var(--text); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}
.btn:hover { background: rgba(255, 255, 255, 0.08); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn .btn-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.btn .btn-text small { font-weight: 500; font-size: 11px; color: var(--text-3); }
.btn.primary { background: #fff; color: #0b0c10; border-color: #fff; }
.btn.primary:hover { background: #e9eaee; }
.btn.primary .btn-text small { color: #5b5f6b; }

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

/* ---------- Landing: hero ---------- */

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 16px 0;
  text-align: center;
}

.hero-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-logo img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(46, 230, 223, 0.18), 0 10px 40px rgba(255, 59, 107, 0.18);
}
.hero-logo span { font-size: clamp(26px, 5vw, 36px); font-weight: 800; letter-spacing: -0.02em; }

.hero h1 {
  margin: 0 auto;
  max-width: 760px;
  font-size: clamp(34px, 6.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero .sub {
  margin: 18px auto 0;
  max-width: 560px;
  font-size: clamp(16px, 2.2vw, 18px);
  color: var(--text-2);
}

.cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cta-note { margin: 12px 0 0; font-size: 13px; color: var(--text-3); }

/* ---------- Landing: phones ---------- */

.phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 56px auto 0;
  padding: 0 0 40px;
  max-width: 900px;
}

.phone {
  --w: clamp(150px, 27vw, 250px);
  position: relative;
  flex: none;
  width: var(--w);
  aspect-ratio: 9 / 19;
  border-radius: calc(var(--w) * 0.15);
  padding: calc(var(--w) * 0.03);
  background: linear-gradient(160deg, #3a3c45, #15161b 40%, #26272e);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 10px 30px rgba(0, 0, 0, 0.45);
  container-type: inline-size;
}
.phone.left { transform: translate(14%, 9%) rotate(-9deg); z-index: 1; }
.phone.right { transform: translate(-14%, 9%) rotate(9deg); z-index: 1; }
.phone.center { z-index: 2; --w: clamp(170px, 31vw, 285px); }
.phone.left, .phone.right { filter: brightness(0.82); }

.screen {
  position: relative;
  height: 100%;
  border-radius: calc(var(--w) * 0.125);
  overflow: hidden;
  background: radial-gradient(120% 60% at 50% 0%, #1b1d25, #0c0d11 60%);
  padding: 15cqw 6cqw 6cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 4.2cqw;
  color: var(--text);
  text-align: center;
}

.status {
  position: absolute;
  top: 4.5cqw;
  left: 9cqw;
  right: 9cqw;
  display: flex;
  justify-content: space-between;
  font-size: 4.4cqw;
  font-weight: 600;
}
.status .bars { display: flex; gap: 1.4cqw; align-items: center; }
.status .bars i { display: block; width: 5cqw; height: 2.6cqw; border-radius: 1cqw; background: #fff; }
.status .bars i:first-child { width: 4cqw; opacity: 0.8; }
.status .bars i:last-child { width: 7.5cqw; background: #3ddc84; }

.island {
  position: absolute;
  top: 3.2cqw;
  left: 50%;
  transform: translateX(-50%);
  width: 30cqw;
  height: 8.5cqw;
  border-radius: 99px;
  background: #000;
}

.s-row { width: 100%; display: flex; align-items: center; justify-content: space-between; margin-bottom: 4cqw; }
.s-row .mini-brand { display: flex; align-items: center; gap: 2cqw; font-weight: 700; font-size: 4.4cqw; }
.s-row .mini-brand img { width: 7cqw; height: 7cqw; border-radius: 2cqw; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 1.5cqw;
  padding: 1.2cqw 3cqw;
  border-radius: 99px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  font-size: 3.4cqw;
  color: var(--text-2);
  white-space: nowrap;
}
.pill.pro { background: #fff; color: #000; font-weight: 700; border-color: #fff; }
.chev { font-size: 6cqw; color: var(--text-2); line-height: 1; }

.app-icon-big {
  width: 27cqw;
  height: 27cqw;
  margin: 3cqw 0 5cqw;
  border-radius: 7cqw;
  box-shadow: 0 0 12cqw rgba(46, 230, 223, 0.25), 0 0 12cqw rgba(255, 59, 107, 0.25);
}

.s-title { margin: 4cqw 0 2cqw; font-size: 8.2cqw; line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; }
.s-sub { margin: 0 0 5cqw; font-size: 3.8cqw; color: var(--text-2); }

.s-btn {
  width: 100%;
  padding: 3.4cqw;
  border-radius: 3.6cqw;
  font-size: 4.2cqw;
  font-weight: 600;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2cqw;
  margin-bottom: 2.2cqw;
}
.s-btn.white { background: #fff; color: #0b0c10; border-color: #fff; }
.s-btn.grad { background: var(--grad); border: 0; color: #fff; box-shadow: 0 4cqw 10cqw rgba(255, 59, 107, 0.3); }
.s-btn.dim { opacity: 0.45; justify-content: space-between; }
.s-btn .dot { width: 3.4cqw; height: 3.4cqw; border-radius: 50%; flex: none; }
.s-btn .lbl { display: flex; align-items: center; gap: 2.4cqw; }
.s-input {
  width: 100%;
  padding: 3.4cqw;
  border-radius: 3.6cqw;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-3);
  text-align: left;
  font-size: 3.8cqw;
}
.s-split { display: flex; gap: 2.2cqw; width: 100%; }
.s-split .s-btn { flex: 1; font-size: 3.8cqw; }

.cover {
  width: 44cqw;
  aspect-ratio: 1;
  border-radius: 4cqw;
  margin: 2cqw 0 4cqw;
  background:
    radial-gradient(60% 50% at 30% 30%, rgba(46, 230, 223, 0.9), transparent 70%),
    radial-gradient(60% 60% at 75% 70%, rgba(255, 59, 107, 0.95), transparent 70%),
    radial-gradient(40% 40% at 70% 25%, rgba(255, 196, 80, 0.8), transparent 70%),
    #191a22;
  box-shadow: 0 6cqw 14cqw rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}
.cover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 40%;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.75) 0 1.2cqw, transparent 1.2cqw 2.8cqw);
  -webkit-mask: linear-gradient(to top, #000, transparent);
  mask: linear-gradient(to top, #000, transparent);
  opacity: 0.6;
}
.cover.locked { filter: blur(3cqw) saturate(1.2); transform: scale(1.02); }
.lock-wrap { position: relative; }
.lock-wrap .lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.lock-wrap .lock span {
  width: 13cqw; height: 13cqw;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
}
.lock-wrap .lock svg { width: 6cqw; height: 6cqw; }

.song { font-size: 5.6cqw; font-weight: 700; margin: 0; }
.artist { font-size: 3.8cqw; color: var(--text-2); margin: 0.6cqw 0 2.6cqw; }
.teaser { font-size: 5.4cqw; font-weight: 700; letter-spacing: 0.12em; margin: 1cqw 0 1.4cqw; }
.teaser-sub { font-size: 3.2cqw; color: var(--text-3); margin: 0 0 4cqw; }

.s-bottom {
  margin-top: auto;
  width: 100%;
  padding-top: 3cqw;
  border-top: 1px solid var(--line);
  font-size: 3.8cqw;
  color: var(--text-2);
}
.tabbar { margin-top: auto; width: 100%; display: flex; justify-content: space-around; padding-top: 3cqw; }
.tabbar i { width: 10cqw; height: 10cqw; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.tabbar i.on { background: rgba(255,255,255,.18); }

/* ---------- Landing: steps ---------- */

.steps {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px 16px 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(19, 20, 26, 0.7);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.step .num {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line-strong);
  font-weight: 700;
  font-size: 14px;
}
.step h2 { margin: 14px 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--text-2); font-size: 15px; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); margin-top: 24px; }
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 16px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
.site-footer nav a { color: var(--text-2); text-decoration: none; }
.site-footer nav a:hover { color: var(--text); }
.site-footer .fine { width: 100%; margin: 0; font-size: 12.5px; color: var(--text-3); }

/* ---------- Legal pages ---------- */

.legal-wrap { max-width: 820px; margin: 0 auto; padding: 8px 16px 48px; }

.legal-card {
  background: rgba(19, 20, 26, 0.88);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(22px, 5vw, 52px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.legal-head {
  display: flex;
  flex-wrap: wrap-reverse;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.legal-head h1 { margin: 0; font-size: clamp(28px, 5vw, 40px); line-height: 1.1; letter-spacing: -0.03em; }
.legal-head .updated { margin: 8px 0 0; font-size: 14px; color: var(--text-3); }

.lang-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.3);
}
.lang-switch button {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-3);
  cursor: pointer;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button[aria-selected="true"] { background: #fff; color: #0b0c10; }
.lang-switch button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
html:not(.js) .lang-switch { display: none; }

.note {
  margin: 0 0 32px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-2);
}

.legal-text, .cookie-list { color: var(--text-2); font-size: 15.5px; line-height: 1.7; }
.legal-text + .legal-text { margin-top: 48px; }
html.js .legal-text + .legal-text { margin-top: 0; }
.legal-text a, .cookie-list a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); overflow-wrap: anywhere; }
.legal-text a:hover { text-decoration-color: var(--cyan); }
.legal-text strong { color: var(--text); font-weight: 600; }
.legal-text p { margin: 0 0 12px; }
.legal-text .lead { font-size: 16px; color: var(--text-2); margin-bottom: 8px; }
.legal-text section, .cookie-list { margin-top: 40px; scroll-margin-top: 24px; }
.legal-text h2, .cookie-list h2 { margin: 0 0 12px; font-size: clamp(19px, 3vw, 23px); line-height: 1.25; letter-spacing: -0.015em; color: var(--text); }
.legal-text h3 { margin: 18px 0 6px; font-size: 16px; color: var(--text); }
.legal-text ul { margin: 0 0 12px; padding-left: 20px; }
.legal-text li { margin-bottom: 6px; }
.legal-text li::marker { color: var(--text-3); }

.formbox {
  margin: 16px 0;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.25);
  font-size: 14.5px;
}
.formbox p { margin: 0 0 8px; }
.formbox p:last-child { margin-bottom: 0; }
.formbox .fb-h { color: var(--text); font-weight: 600; }
.formbox .muted { color: var(--text-3); }

/* Language visibility (only once JavaScript has picked a language; without JS both are shown) */
html.js[data-lang="de"] [data-l="en"],
html.js[data-lang="en"] [data-l="de"] { display: none !important; }
html:not(.js) span[data-l="de"] + span[data-l="en"]::before { content: " / "; }

/* ---------- Small screens ---------- */

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; padding-bottom: 48px; }
}

@media (max-width: 560px) {
  .phones { margin-top: 40px; }
  .phone { --w: 38vw; }
  .phone.center { --w: 48vw; }
  .phone.left { transform: translate(30%, 10%) rotate(-9deg); }
  .phone.right { transform: translate(-30%, 10%) rotate(9deg); }
  .cta .btn { flex: 1 1 100%; justify-content: center; }
}
