/* Основные общие переменные и сброс */
:root {
  --bg-color: #0f1117;
  --card-bg: #181b24;
  --card-border: #2a2e3d;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --accent-color: #2563eb;
  --accent-hover: #1d4ed8;
  --radius-sm: 6px;
  --radius-md: 10px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Шапка сайта */
.navbar {
  border-bottom: 1px solid var(--card-border);
  padding: 18px 0;
  background: rgba(15, 17, 23, 0.8);
  backdrop-filter: blur(10px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.logo span {
  color: var(--accent-color);
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Секция Hero */
.hero {
  padding: 90px 0 70px;
  display: flex;
  justify-content: center;
}

.hero-content {
  max-width: 680px;
  text-align: center;
  margin: 0 auto;
}

.tag {
  display: inline-block;
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(37, 99, 235, 0.3);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

/* Блок Скачивания */
.download-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 28px;
  border-radius: var(--radius-md);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: var(--accent-color);
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, transform 0.1s ease;
  width: 100%;
}

.btn-download:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-download:active {
  transform: translateY(0);
}

.file-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.info-divider {
  opacity: 0.4;
}

/* Карточки с инструкцией */
.instructions {
  padding: 60px 0 90px;
  border-top: 1px solid var(--card-border);
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.grid-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 24px;
  border-radius: var(--radius-md);
  position: relative;
}

.step-num {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  color: #e2e8f0;
}

/* Подвал */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--card-border);
  padding: 24px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Адаптивность */
@media (max-width: 640px) {
  .title {
    font-size: 2.5rem;
  }
  .hero {
    padding: 50px 0 40px;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}