:root {
  --color-bg-black: #000000;
  --color-bg-dark: #0e0e10;
  --color-bg-card: #1c1c1e;
  --color-bg-muted: #2c2c2e;
  --color-border: #3c3c3e;
  --color-primary: #913dd1;
  --color-accent: #d4a0ff;
  --color-brand-secondary: #d4a0ff;
  --color-neutral-100: #f5f5f7;
  --color-neutral-300: #cccccc;
  --color-neutral-400: #aaaaaa;
  --color-neutral-500: #777777;
  --color-white: #ffffff;
  --color-error: #ff4444;
  --gradient-section: linear-gradient(160deg, #0a0814 0%, #150a24 40%, #0a0814 100%);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --container-max: 1200px;
  --header-height: 72px;
  --top-banner-height: 44px;
  --radius-sm: 4px;
  --radius-md: 12px;
  --shadow-modal: 0 8px 40px rgba(0, 0, 0, 0.7);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--color-bg-black);
  color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

.page { min-height: 100vh; background: var(--color-bg-black); }

.ldg-container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.heading-3 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-white);
}
.heading-5 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.text-body-r { font-size: 0.9375rem; line-height: 1.65; color: var(--color-neutral-400); }
.text-caption { font-size: 0.75rem; color: var(--color-neutral-400); }
.text-center { text-align: center; }
.bg-black { background: #000; }
.color-brand-secondary { color: var(--color-brand-secondary); }

/* Top banner */
.top-banner { background: #111; }
.top-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 11px;
  padding-bottom: 11px;
  min-height: var(--top-banner-height);
}
.top-banner__text { font-size: 0.8125rem; color: #fff; line-height: 1.5; }
.top-banner__cta {
  font-size: 0.8125rem;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 14px;
  border-radius: 20px;
  transition: background 0.2s;
}
.top-banner__cta:hover { background: rgba(255, 255, 255, 0.1); }

/* Header */
header { background: #000; position: sticky; top: 0; z-index: 100; }
.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-height);
  gap: 24px;
}
.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.header-logo__img { height: 28px; width: auto; }
.main-navigation { flex: 1; }
.main-navigation ul { display: flex; list-style: none; gap: 28px; }
.main-navigation a { font-size: 0.9rem; color: #fff; transition: opacity 0.2s; white-space: nowrap; }
.main-navigation a:hover { opacity: 0.75; }
.header-cart { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.connect-device {
  background: #913dd1;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.connect-device:hover { background: #7b33b0; }
.cart-icon { color: #fff; font-size: 1.1rem; }
.cart-icon:hover { opacity: 0.75; }

/* Hero */
.hero { background: #000; padding: 40px 0 56px; overflow: hidden; }
.hero__inner {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 480px);
  gap: 32px;
  align-items: center;
}
.hero__heading {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 16px;
}
.hero__heading .emphasis { color: #913dd1; }
.hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
  font-weight: 500;
  line-height: 1.55;
}
.hero__trusted {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #111;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 28px;
  font-size: 0.875rem;
  color: #fff;
  font-weight: 500;
}
.hero__stars { display: flex; gap: 2px; flex-shrink: 0; }
.hero__downloads { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.hero__visual { display: flex; align-items: center; justify-content: center; }
.hero__img { width: 100%; max-width: 520px; height: auto; object-fit: cover; border-radius: 4px; }

/* Download buttons */
.os-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, rgba(230,230,230,0.2), rgba(230,230,230,0.05) 75.8%);
  border: 1px solid #525252;
  border-radius: 4px;
  padding: 12px 16px;
  color: #fff;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
  min-width: 170px;
}
.os-wrapper:hover {
  background: linear-gradient(90deg, rgba(230,230,230,0.28), rgba(230,230,230,0.1) 75.8%);
  border-color: #777;
}
.os-img { width: 32px; height: 32px; flex-shrink: 0; object-fit: contain; }
.align-left .text-caption {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.2;
  white-space: nowrap;
}
.align-left .heading-6 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}

/* Cryptos */
.cryptos { padding: 64px 0; }
.cryptos__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 48px;
}
.cryptos__header-left { max-width: 560px; }
.cryptos__header-left .heading-3 { margin-bottom: 8px; }
.cryptos__sub { font-size: 1rem; font-weight: 400; color: rgba(255,255,255,0.5); }
.cryptos__see-btn {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.cryptos__see-btn:hover { background: rgba(255, 255, 255, 0.07); }
.cryptos__marquee-wrap { position: relative; overflow: hidden; width: 100%; }
.cryptos__marquee-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.cryptos__marquee-fade--left { left: 0; background: linear-gradient(to right, #000 0%, transparent 100%); }
.cryptos__marquee-fade--right { right: 0; background: linear-gradient(to left, #000 0%, transparent 100%); }
.cryptos__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 55s linear infinite;
  padding: 8px 0;
}
.cryptos__track:hover { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.cryptos__item { flex-shrink: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cryptos__logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.2s;
}
.cryptos__item:hover .cryptos__logo { transform: scale(1.08); }

/* Sticky sections (issues + features) */
.mbss-section { padding: 80px 0 120px; }
.issues, .features { background: var(--gradient-section); }
.section-header { margin-bottom: 60px; }
.section-header .heading-3 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; }
.section-sub { font-size: 1rem; color: var(--color-neutral-400); margin-top: 12px; }
.sticky-section__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.sticky-section__col { position: sticky; top: calc(var(--header-height) + 40px); }
.sticky-section__inner { display: flex; justify-content: center; align-items: flex-start; }
.sticky-section__phone-img {
  width: 100%;
  max-width: 340px;
  height: auto;
  object-fit: contain;
  transition: opacity 0.35s ease;
}
.sticky-section__text { display: flex; flex-direction: column; }
.bloc-text {
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: opacity 0.3s;
  opacity: 0.5;
}
.bloc-text:last-child { border-bottom: none; }
.bloc-text--active { opacity: 1; }
.bloc-text--clickable { cursor: pointer; }
.issue-icon {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 12px;
  display: block;
}
.wysiwyg { color: var(--color-neutral-400); font-size: 0.9375rem; line-height: 1.65; }
.wysiwyg p { margin-bottom: 10px; }
.wysiwyg p:last-child { margin-bottom: 0; }
.wysiwyg strong { color: var(--color-white); font-weight: 600; }
.wysiwyg ul { list-style: disc; padding-left: 20px; margin-bottom: 10px; }
.wysiwyg li { margin-bottom: 4px; }
.wysiwyg .disclaimer { font-size: 0.75rem; color: var(--color-neutral-500); }

/* Take control */
.take-control { background: #000; }
.take-control__inner {
  position: relative;
  width: 100%;
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.take-control__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.take-control__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); }
.take-control__content { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; text-align: center; }
.take-control__content .heading-3 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  max-width: 640px;
  margin: 0 auto 16px;
}
.take-control__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Download section */
.download { padding: 80px 0 100px; }
.download__header { margin-bottom: 56px; }
.download__header .heading-3 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 800; }
.download__sub {
  margin-top: 16px;
  font-size: 1rem;
  color: var(--color-neutral-400);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}
.download__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.download__col-title { font-size: 1rem; font-weight: 700; color: #fff; text-align: center; margin-bottom: 20px; }
.download__img-wrap { width: 100%; margin-bottom: 24px; display: flex; justify-content: center; }
.download__product-img { width: 100%; max-width: 460px; height: auto; object-fit: contain; }
.download__btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* Footer */
.site-footer { background: #000; border-top: 1px solid #1a1a1a; padding: 60px 0 40px; }
.footer__social-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 48px;
  border-bottom: 1px solid #1a1a1a;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.footer__social-title { font-size: 1.125rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.footer__social-sub { font-size: 0.8125rem; color: var(--color-neutral-400); line-height: 1.5; }
.footer__social-sub a { color: var(--color-neutral-400); text-decoration: underline; }
.footer__icons { display: flex; gap: 14px; flex-wrap: wrap; }
.footer__icon { color: rgba(255, 255, 255, 0.6); font-size: 1.125rem; transition: color 0.2s; }
.footer__icon:hover { color: #fff; }
.footer__columns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 32px 24px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #1a1a1a;
}
.footer__col-title { font-size: 0.8125rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer__col ul { display: flex; flex-direction: column; gap: 8px; list-style: none; }
.footer__col a { font-size: 0.75rem; color: rgba(255, 255, 255, 0.55); transition: color 0.2s; line-height: 1.4; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__bottom-left { display: flex; align-items: center; gap: 20px; }
.footer__logo-img { height: 22px; width: auto; }
.footer__lang-active {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3px 10px;
  border-radius: 12px;
}
.footer__copy { font-size: 0.6875rem; color: rgba(255, 255, 255, 0.3); max-width: 560px; text-align: right; line-height: 1.6; }

/* Modal */
.vg-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.vg-modal-overlay.is-visible {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
.vg-modal-overlay > .vg-modal {
  display: none !important;
}
.vg-modal-overlay > .vg-modal.is-active {
  display: flex !important;
}
.vg-modal {
  background: #1c1c1e;
  border-radius: var(--radius-md);
  position: relative;
  padding: 32px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
  display: flex;
  gap: 0;
}
.vg-modal--wide { max-width: 700px; }
.vg-modal--narrow { max-width: 420px; flex-direction: column; gap: 16px; }
.vg-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 6px;
  transition: color 0.2s;
  z-index: 1;
}
.vg-modal-close:hover { color: #fff; }
.vg-modal-left { flex: 1; padding-right: 28px; }
.vg-modal-divider { width: 1px; background: #333; margin: -32px 0; flex-shrink: 0; }
.vg-modal-right { flex: 1; padding-left: 28px; }
.modal-brand-logo { height: 24px; width: auto; display: block; margin-bottom: 20px; }
.vg-modal-title { font-size: 1.125rem; font-weight: 700; color: var(--color-accent); margin-bottom: 6px; }
.vg-modal-sub { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.55); margin-bottom: 20px; }
.vg-modal-body { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.65); line-height: 1.6; margin-bottom: 8px; }
.vg-modal-body strong { color: #fff; font-weight: 700; }
.device-list { display: flex; flex-direction: column; gap: 8px; }
.device-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #2c2c2e;
  border: none;
  border-radius: 8px;
  padding: 14px 16px;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
  text-align: left;
  width: 100%;
}
.device-item:hover { background: #3a3a3c; }
.device-item-img { width: 28px; height: 36px; object-fit: contain; flex-shrink: 0; filter: brightness(0.8); }
.device-item-name { font-size: 0.9375rem; font-weight: 500; }
.vg-connecting { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.vg-spinner { width: 56px; height: 56px; margin-bottom: 4px; }
.spinner-ring {
  width: 100%;
  height: 100%;
  border: 3px solid rgba(145, 61, 209, 0.2);
  border-top-color: #913dd1;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.vg-secure-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(145, 61, 209, 0.12);
  border: 1px solid rgba(145, 61, 209, 0.3);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.75rem;
  color: var(--color-accent);
}
.vg-loading-txt { color: rgba(255, 255, 255, 0.4); font-size: 0.75rem; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
.vg-error-panel { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.vg-error-icon { font-size: 2.5rem; color: var(--color-error); }
.vg-error-text { white-space: pre-line; }
.vg-error-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.vg-phrase-block { display: flex; flex-direction: column; gap: 8px; }
.vg-phrase-title { font-size: 0.9375rem; font-weight: 600; color: #fff; }
.phrase-textarea {
  width: 100%;
  background: #2c2c2e;
  border: 1px solid #3c3c3e;
  border-radius: 8px;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.6;
  padding: 12px;
  resize: none;
  font-family: var(--font-sans);
  transition: border-color 0.2s;
}
.phrase-textarea:focus { outline: none; border-color: #913dd1; }
.vg-phrase-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 4px; }
.vg-btn {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.vg-btn--primary { background: #913dd1; color: #fff; }
.vg-btn--primary:hover { background: #7b33b0; }
.vg-btn--outline { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); }
.vg-btn--outline:hover { background: rgba(255, 255, 255, 0.07); }
.vg-btn--ghost { background: transparent; color: rgba(255, 255, 255, 0.5); font-size: 0.8125rem; }
.vg-btn--ghost:hover { color: #fff; }

@media (max-width: 900px) {
  .main-navigation { display: none; }
}
@media (max-width: 767px) {
  .sticky-section__body { grid-template-columns: 1fr; }
  .sticky-section__col { display: none; }
  .bloc-text { opacity: 1; }
  .download__cols { grid-template-columns: 1fr; gap: 48px; }
  .cryptos__header { flex-direction: column; }
  .cryptos__header-right { display: none; }
  .footer__social-section { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__copy { text-align: left; }
}
@media (max-width: 700px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
}
@media (max-width: 600px) {
  .top-banner__inner { flex-direction: column; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .vg-modal--wide { flex-direction: column; gap: 24px; }
  .vg-modal-divider { display: none; }
  .vg-modal-left { padding-right: 0; }
  .vg-modal-right { padding-left: 0; }
}
