/* Сброс */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Базовые цвета */
:root {
  --bg-main: #0f172a;
  --bg-secondary: #111827;
  --card-bg: #1f2937;
  --border-color: #374151;

  --primary: #3b82f6;
  --primary-hover: #2563eb;

  --text-main: #e5e7eb;
  --text-secondary: #9ca3af;
}

/* Фон */
body {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

/* Бейдж */
.badge {
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 30px;
  background: rgba(59, 130, 246, 0.1);
}

/* Заголовок */
h1 {
  font-size: 56px;
  color: var(--primary);
  margin-bottom: 20px;
}

/* Подзаголовок */
.subtitle {
  font-size: 18px;
  max-width: 600px;
  margin-bottom: 50px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Сетка */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1000px;
}

/* Карточки */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 25px 20px;
  transition: all 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15);
}

.card h3 {
  color: var(--text-main);
  margin-bottom: 10px;
  font-size: 18px;
}

.card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 📱 Планшеты */
@media (max-width: 900px) {
  h1 {
    font-size: 42px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 📱 Телефоны */
@media (max-width: 500px) {
  h1 {
    font-size: 34px;
  }

  .subtitle {
    font-size: 16px;
  }

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