* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #101114;
  color: white;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

/* =========================
   ОБЩИЙ КОНТЕЙНЕР
========================= */

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* =========================
   ШАПКА
========================= */

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 72px;
  background: rgba(16, 17, 20, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #ff8a00;
  color: #151515;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.nav {
  display: flex;
  gap: 24px;
  color: #b8bcc7;
  font-size: 15px;
}

.nav a:hover {
  color: white;
}

/* =========================
   ПЕРВЫЙ ЭКРАН
========================= */

.hero {
  min-height: calc(100vh - 72px);
  padding: 64px 0;
  background:
    radial-gradient(circle at top left, rgba(255, 138, 0, 0.16), transparent 34%),
    linear-gradient(180deg, #101114 0%, #12141a 100%);
}

.hero-inner {
  min-height: calc(100vh - 200px);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 52px;
  align-items: center;
}

.hero-content {
  max-width: 820px;
}

.label {
  width: fit-content;
  margin: 0 0 20px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 138, 0, 0.14);
  color: #ffd0a0;
  font-size: 14px;
  font-weight: 700;
}

h1 {
  max-width: 860px;
  margin: 0 0 22px;
  font-size: 64px;
  line-height: 0.98;
  letter-spacing: -2px;
}

.hero-text {
  max-width: 720px;
  margin: 0;
  font-size: 21px;
  line-height: 1.55;
  color: #b8bcc7;
}

.hero-buttons {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* =========================
   ОБЫЧНАЯ КНОПКА
========================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  background: #ff8a00;
  color: #151515;
  font-weight: 800;
  transition: 0.2s ease;
}

.button:hover {
  background: #ffa533;
  transform: translateY(-1px);
}

.button-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.button-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* =========================
   ФИРМЕННАЯ КНОПКА RUSTORE
========================= */

.store-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  transition: 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-1px);
}

.store-badge img {
  display: block;
  height: 52px;
  width: auto;
}

/* =========================
   КАРТИНКА НА ПЕРВОМ ЭКРАНЕ
========================= */

.hero-card {
  width: 100%;
  padding: 16px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.hero-image {
  display: block;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

/* =========================
   ОБЩИЕ СЕКЦИИ
========================= */

section {
  scroll-margin-top: 90px;
}

.section {
  padding: 86px 0;
}

.section-dark {
  background: #17191f;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.section-head {
  max-width: 820px;
  margin-bottom: 36px;
}

.section-head h2,
.download-section h2 {
  margin: 0 0 16px;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -1.4px;
}

.section-head p,
.download-section p {
  margin: 0;
  color: #b8bcc7;
  font-size: 19px;
  line-height: 1.55;
}

/* =========================
   ВОЗМОЖНОСТИ
========================= */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 190px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 25px;
  line-height: 1.12;
}

.feature-card p {
  margin: 0;
  color: #b8bcc7;
  font-size: 17px;
  line-height: 1.55;
}

/* =========================
   ДЛЯ КОГО
========================= */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.audience-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.audience-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(255, 138, 0, 0.16);
  color: #ff8a00;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.audience-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.15;
}

.audience-card p {
  margin: 0;
  color: #b8bcc7;
  font-size: 16px;
  line-height: 1.55;
}

/* =========================
   СКРИНШОТЫ
========================= */

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.screenshot-card {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================
   SEO-ТЕКСТ
========================= */

.seo-text {
  max-width: 860px;
}

.seo-text h2 {
  margin: 0 0 16px;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: -1px;
}

.seo-text p {
  margin: 0 0 16px;
  color: #b8bcc7;
  font-size: 19px;
  line-height: 1.65;
}

/* =========================
   СКАЧАТЬ
========================= */

.download-wrapper {
  padding: 40px 0 86px;
}

.download-section {
  padding: 42px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 138, 0, 0.22), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 138, 0, 0.34);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.download-section div {
  max-width: 760px;
}

/* =========================
   ПОДВАЛ
========================= */

.footer {
  padding: 32px 0;
  color: #b8bcc7;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* =========================
   ПЛАНШЕТЫ
========================= */

@media (max-width: 900px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 52px 0 64px;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-text {
    font-size: 20px;
  }

  .hero-card {
    max-width: 480px;
    margin: 0 auto;
  }

  .features-grid,
  .audience-grid,
  .screenshots-grid {
    grid-template-columns: 1fr 1fr;
  }

  .download-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
  }
}

/* =========================
   ТЕЛЕФОНЫ
========================= */

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .header,
  .header-inner {
    min-height: 64px;
  }

  .logo span:last-child {
    display: none;
  }

  .hero {
    padding: 42px 0 54px;
  }

  .label {
    font-size: 13px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.02;
    letter-spacing: -1px;
  }

  .hero-text {
    font-size: 18px;
  }

  .hero-buttons {
    margin-top: 26px;
  }

  .hero-buttons .button,
  .download-section .button {
    width: 100%;
  }

  .store-badge {
    width: 100%;
    justify-content: center;
  }

  .store-badge img {
    height: 48px;
  }

  .hero-card {
    padding: 10px;
    border-radius: 24px;
  }

  .hero-image {
    border-radius: 22px;
  }

  .section {
    padding: 58px 0;
  }

  .section-head h2,
  .download-section h2,
  .seo-text h2 {
    font-size: 34px;
    letter-spacing: -0.8px;
  }

  .section-head p,
  .download-section p,
  .seo-text p {
    font-size: 17px;
  }

  .features-grid,
  .audience-grid,
  .screenshots-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .audience-card {
    min-height: auto;
    padding: 22px;
  }

  .download-wrapper {
    padding: 20px 0 58px;
  }

  .download-section {
    padding: 26px;
  }
}