* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #FDF8ED;
  color: #1A1A1A;
  min-height: 100vh;
  padding: 20px;
  position: relative;
}

/* ---------- Переключатель языка (без JavaScript) ---------- */
.lang-picker {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}
.lang-picker summary {
  list-style: none;
  background: #fff;
  border: 1px solid rgba(212,160,23,0.4);
  border-radius: 20px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: #1A1A1A;
  user-select: none;
}
.lang-picker summary::-webkit-details-marker { display: none; }
.lang-picker summary:hover { background: #FDF8ED; }
.lang-menu {
  position: absolute;
  top: 44px;
  right: 0;
  background: #fff;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  padding: 8px 0;
  min-width: 170px;
}
.lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 14px;
  color: #1A1A1A;
  text-decoration: none;
}
.lang-menu a:hover { background: #FDF8ED; }
.lang-menu a b { width: 24px; font-size: 12px; color: #8A8A8A; }
.lang-menu a.active::after { content: '✓'; margin-left: auto; color: #D4A017; }

/* ---------- Основной блок ---------- */
.container { max-width: 1100px; margin: 0 auto; padding: 40px 0; }
.hero { text-align: center; margin-bottom: 60px; }
.logo {
  font-size: 56px;
  font-weight: 900;
  color: #D4A017;
  letter-spacing: -1px;
  margin-bottom: 4px;
}
.tagline {
  font-size: 14px;
  color: #8A8A8A;
  letter-spacing: 4px;
  font-weight: 700;
  margin-bottom: 30px;
}
.hero h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
  padding: 0 16px;
}
.hero p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 32px;
  padding: 0 16px;
}
.hero-image {
  max-width: 100%;
  width: 800px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  margin: 0 auto 30px;
  display: block;
}

/* ---------- Кнопки ---------- */
.links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: #D4A017;
  color: #1A1A1A;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.1s;
}
.btn:hover { transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border: 1.5px solid #D4A017;
  color: #D4A017;
}

/* ---------- QR-код (только на компьютере) ---------- */
.install-qr { display: none; }
@media (min-width: 768px) {
  .install-qr {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 460px;
    margin: 0 auto 40px;
    background: #fff;
    border: 1px solid #EFE6CC;
    border-radius: 16px;
    padding: 20px 24px;
    text-align: left;
  }
}
.install-qr img { width: 120px; height: 120px; image-rendering: pixelated; }
.hero .install-qr p { font-size: 14px; margin: 0; padding: 0; max-width: none; }

/* ---------- Шаги ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  margin: 80px 0;
}
.step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
@media (min-width: 768px) {
  .step { grid-template-columns: 1fr 1fr; gap: 48px; }
  .step.reverse .step-text { order: 2; }
}
.step-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #D4A017;
  color: #1A1A1A;
  border-radius: 50%;
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 12px;
}
.step h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.step p { font-size: 16px; color: #555; line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 80px auto 0; }
.faq h2 { font-size: 28px; font-weight: 800; margin-bottom: 24px; text-align: center; }
.faq-item {
  background: #fff;
  border: 1px solid #EFE6CC;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 12px;
}
.faq-item h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.faq-item p { font-size: 15px; color: #555; line-height: 1.6; }
.faq-item a { color: #D4A017; font-weight: 700; text-decoration: none; }
.faq-item a:hover { text-decoration: underline; }

/* ---------- Подвал ---------- */
.footer {
  margin-top: 80px;
  padding: 32px 0;
  border-top: 1px solid #eee;
  font-size: 13px;
  color: #8A8A8A;
  text-align: center;
  line-height: 2;
}
.footer a { color: #D4A017; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .sep { margin: 0 8px; color: #ccc; }

/* ---------- Страница выбора языка ---------- */
.choose { text-align: center; padding-top: 80px; }
.choose .links { margin-top: 30px; }

@media (max-width: 600px) {
  .logo { font-size: 42px; }
  .hero h1 { font-size: 24px; }
}