@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Manrope:wght@400;500;600;700;800&display=swap');

/* Vibriq website theme aligned to in-app design tokens */
:root {
  --bg: #08080e;
  --surface1: #0f0f15;
  --surface2: #16161e;
  --surface3: #1d1d27;
  --separator: #15151c;

  --text1: #e6e6e6;
  --text2: #9a9a9a;
  --text3: #5c5c5c;
  --text4: #252525;

  --teal-1: #2dd4bf;
  --teal-2: #14b8a6;
  --indigo-1: #818cf8;
  --indigo-2: #6366f1;

  --radius-s: 12px;
  --radius-m: 16px;
  --radius-l: 22px;
  --radius-xl: 28px;
  --max-w: 1120px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text1);
  line-height: 1.6;
  min-height: 100vh;
  background:
    radial-gradient(1000px 480px at 22% -6%, rgba(45, 212, 191, 0.13), transparent 62%),
    radial-gradient(840px 380px at 94% 8%, rgba(99, 102, 241, 0.10), transparent 62%),
    var(--bg);
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  filter: blur(56px);
}

body::before {
  width: 360px;
  height: 360px;
  top: 22%;
  right: -120px;
  background: rgba(45, 212, 191, 0.06);
}

body::after {
  width: 340px;
  height: 340px;
  bottom: -120px;
  left: -80px;
  background: rgba(129, 140, 248, 0.06);
}

a {
  color: var(--teal-1);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #6ee7d9;
}

/* Language blocks */
[data-lang] {
  display: none;
}

/* No-JS fallback: show German content by default */
[data-lang="de"] {
  display: block;
}

span[data-lang="de"],
a[data-lang="de"],
strong[data-lang="de"],
em[data-lang="de"] {
  display: inline;
}

/* JS-enabled mode: only show the active language */
html.i18n-ready [data-lang] {
  display: none;
}

html.i18n-ready [data-lang].active {
  display: block;
}

html.i18n-ready span[data-lang].active,
html.i18n-ready a[data-lang].active,
html.i18n-ready strong[data-lang].active,
html.i18n-ready em[data-lang].active {
  display: inline;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(8, 8, 14, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

nav .container {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text1);
  text-decoration: none;
}

.logo img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.logo-wordmark {
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.2px;
  color: var(--text1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  color: var(--text2);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text1);
}

.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(22, 22, 30, 0.86);
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
  user-select: none;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.lang-switch:hover {
  border-color: rgba(45, 212, 191, 0.28);
  color: var(--text1);
}

.lang-switch svg {
  width: 11px;
  height: 11px;
  opacity: 0.7;
}

.lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 156px;
  overflow: hidden;
  border-radius: var(--radius-s);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--surface2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.lang-dropdown.open {
  display: block;
}

.lang-dropdown button {
  width: 100%;
  border: none;
  text-align: left;
  cursor: pointer;
  background: transparent;
  color: var(--text2);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
}

.lang-dropdown button:hover {
  background: var(--surface3);
  color: var(--text1);
}

.lang-dropdown button.active {
  color: var(--teal-1);
}

/* Hero */
.hero {
  padding: 124px 0 74px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.03;
  letter-spacing: -1.2px;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text1);
}

.hero-copy p {
  color: var(--text2);
  font-size: 17px;
  max-width: 560px;
  margin-bottom: 28px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 14px;
  border: 1px solid rgba(45, 212, 191, 0.38);
  background: linear-gradient(135deg, var(--teal-1), var(--teal-2));
  box-shadow:
    0 16px 36px rgba(20, 184, 166, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow:
    0 18px 40px rgba(20, 184, 166, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.badge-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 15, 21, 0.86);
  color: var(--text2);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.hero-device {
  display: flex;
  justify-content: center;
}

.device-shell {
  width: 100%;
  max-width: 376px;
  border-radius: 42px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(29, 29, 39, 0.88), rgba(10, 10, 16, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.44),
    0 0 64px rgba(45, 212, 191, 0.12);
}

.device-notch {
  width: 40%;
  height: 22px;
  margin: 0 auto 8px;
  border-radius: 0 0 15px 15px;
  background: #050508;
}

.device-ui {
  border-radius: 31px;
  background:
    radial-gradient(420px 200px at 50% -10%, rgba(45, 212, 191, 0.15), transparent 64%),
    var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 12px 12px;
}

.device-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(230, 230, 230, 0.9);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}

.device-status-icons {
  color: var(--text2);
  font-weight: 600;
}

.device-brand {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-bottom: 10px;
}

.device-featured {
  position: relative;
  border-radius: 21px;
  padding: 14px 80px 14px 16px;
  border: 1px solid rgba(45, 212, 191, 0.2);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.16), rgba(20, 184, 166, 0.03));
}

.device-overline {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--teal-1);
  margin-bottom: 7px;
}

.device-hz {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 46px;
  line-height: 1;
}

.device-title {
  margin-top: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.03;
}

.device-sub {
  margin-top: 3px;
  font-size: 12px;
  color: var(--text2);
}

.device-play {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 50px;
  height: 50px;
  transform: translateY(-50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 16px;
  background: linear-gradient(135deg, var(--teal-1), var(--teal-2));
  box-shadow: 0 10px 20px rgba(20, 184, 166, 0.36);
}

.device-continue {
  margin-top: 10px;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--surface1);
  color: var(--text1);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
}

.device-continue .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f87171;
}

.continue-arrow {
  margin-left: auto;
  color: var(--text3);
  font-size: 16px;
}

.device-cards {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.device-card {
  height: 72px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(60px 36px at 30% 24%, rgba(129, 140, 248, 0.16), transparent 70%),
    var(--surface1);
}

.device-tabbar {
  margin-top: 11px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 15, 21, 0.8);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 0 20px;
}

.tab-item {
  width: 20px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  margin: 0 auto;
}

.tab-item.active {
  background: rgba(230, 230, 230, 0.85);
}

/* Sections */
section {
  padding: 68px 0;
}

section h2 {
  text-align: center;
  font-size: clamp(28px, 3.9vw, 42px);
  line-height: 1.16;
  letter-spacing: -0.6px;
  margin-bottom: 28px;
}

#features h2,
#pricing h2 {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

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

.feature-card {
  padding: 22px 18px;
  border-radius: var(--radius-m);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent),
    var(--surface1);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, 0.24);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.26);
}

.feature-card .icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: rgba(129, 140, 248, 0.08);
  border: 1px solid rgba(129, 140, 248, 0.16);
}

.feature-card h3 {
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 6px;
}

.feature-card p {
  color: var(--text2);
  font-size: 13px;
  line-height: 1.5;
}

/* Pricing */
#pricing {
  padding-top: 58px;
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  text-align: center;
  border-radius: var(--radius-m);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent),
    var(--surface1);
  padding: 26px 18px 24px;
}

.price-card.highlight {
  border-color: rgba(45, 212, 191, 0.32);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.1) inset, 0 20px 40px rgba(20, 184, 166, 0.16);
}

.price-card .tag {
  position: absolute;
  left: 50%;
  top: -10px;
  transform: translateX(-50%);
  white-space: nowrap;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--indigo-1), var(--indigo-2));
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
}

.price-card h3 {
  color: var(--text2);
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.price-card .price {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 42px;
  line-height: 1;
  margin-bottom: 4px;
}

.price-card .period {
  color: var(--text2);
  font-size: 13px;
}

.price-card .note {
  margin-top: 6px;
  font-size: 12px;
  color: var(--teal-1);
  font-weight: 600;
}

.pricing-legal {
  margin: 20px auto 0;
  max-width: 720px;
  text-align: center;
  color: var(--text3);
  font-size: 11px;
  line-height: 1.5;
}

/* Disclaimer */
.disclaimer {
  padding-top: 8px;
  padding-bottom: 48px;
}

.disclaimer p {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--text3);
  font-size: 12px;
  line-height: 1.55;
  padding: 0 24px;
}

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 26px 0;
}

footer .links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}

footer .links a {
  color: var(--text2);
  font-size: 13px;
  font-weight: 600;
}

footer .links a:hover {
  color: var(--text1);
}

footer p {
  text-align: center;
  color: var(--text3);
  font-size: 12px;
}

/* Legal pages */
.legal {
  padding: 110px 0 72px;
}

.legal .container {
  max-width: 860px;
}

.legal h1 {
  font-size: clamp(34px, 5vw, 50px);
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 8px;
  text-align: left;
}

.legal .updated,
.legal .legal-updated {
  color: var(--text3);
  font-size: 13px;
  margin-bottom: 24px;
}

.legal h2 {
  text-align: left;
  margin: 30px 0 10px;
  font-size: 24px;
  line-height: 1.25;
}

.legal h3 {
  margin: 18px 0 8px;
  font-size: 18px;
  color: var(--text2);
}

.legal p,
.legal li {
  color: var(--text2);
  font-size: 15px;
  line-height: 1.72;
  margin-bottom: 10px;
}

.legal ul {
  padding-left: 22px;
  margin-bottom: 12px;
}

.legal li {
  margin-bottom: 6px;
}

.legal strong {
  color: var(--text1);
}

.legal .contact-box {
  margin-top: 14px;
  border-radius: var(--radius-m);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--surface1);
  padding: 18px;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}

.legal th,
.legal td {
  text-align: left;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal th {
  color: var(--text1);
  font-size: 14px;
}

.legal td {
  color: var(--text2);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .badge-row {
    justify-content: center;
  }
}

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

  .price-cards {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 108px;
  }

  .logo-wordmark {
    font-size: 20px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  section {
    padding: 56px 0;
  }

  .hero-copy h1 {
    letter-spacing: -1px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .device-shell {
    max-width: 350px;
  }

  .device-hz {
    font-size: 40px;
  }

  .device-title {
    font-size: 26px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .legal {
    padding-top: 94px;
  }

  .legal h2 {
    font-size: 21px;
  }
}

@media (max-width: 420px) {
  .cta-btn {
    width: 100%;
    justify-content: center;
  }

  .badge {
    font-size: 11px;
    padding: 7px 10px;
  }

  .device-shell {
    max-width: 100%;
  }

  .device-featured {
    padding-right: 72px;
  }

  .device-play {
    width: 44px;
    height: 44px;
    font-size: 14px;
  }

  .logo-wordmark {
    font-size: 18px;
  }
}
