* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: #050814;
  color: #f5f5f5;
  display: flex;
  justify-content: center;
  padding: 16px;
}

.container {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.app-header {
  margin-bottom: 16px;
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-emoji {
  font-size: 32px;
}

.logo-text h1 {
  font-size: 22px;
  margin-bottom: 2px;
}

.logo-subtitle {
  font-size: 13px;
  color: #b0b4c3;
}

/* Карточки */

.card,
.section {
  background: #0e1424;
  border-radius: 14px;
  padding: 14px 14px 12px;
  margin-bottom: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.card h2,
.section h2 {
  font-size: 16px;
  margin-bottom: 10px;
}

/* Тарифы и платформы */

.tariffs,
.platforms {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tariff-btn,
.platform-btn {
  flex: 1 1 30%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #161c30;
  color: #f5f5f5;
  padding: 10px 8px;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  transition: 0.15s ease;
}

.tariff-title {
  font-weight: 500;
}

.tariff-price {
  font-size: 12px;
  color: #b5bad0;
}

.platform-btn {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

/* Активные кнопки */

.tariff-btn.active,
.platform-btn.active {
  border-color: #4fd1c5;
  background: linear-gradient(135deg, #293b5f, #12243a);
  box-shadow: 0 0 0 1px rgba(79, 209, 197, 0.4);
}

/* Кнопки действий */

.btn {
  border-radius: 12px;
  border: none;
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: 0.15s ease;
}

.btn.primary {
  width: 100%;
  background: #4fd1c5;
  color: #050814;
}

.btn.primary:disabled {
  background: #41465a;
  color: #a3a8c0;
  cursor: default;
  opacity: 0.8;
}

.btn.success {
  width: 100%;
  background: #48bb78;
  color: #050814;
}

.btn.store-btn {
  flex: 1 1 48%;
  background: #1f2437;
  color: #f5f5f5;
  text-decoration: none;
}

.btn.copy-btn {
  width: 100%;
  background: #1f2437;
  color: #f5f5f5;
}

/* Статус */

.status-text {
  margin-top: 8px;
  font-size: 13px;
  min-height: 18px;
  color: #cbd5f5;
}

/* Инструкция */

.instructions .step {
  margin-bottom: 10px;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.step-icon {
  font-size: 18px;
}

.step-title {
  font-size: 14px;
  font-weight: 500;
}

.step-list {
  margin-left: 24px;
  margin-top: 4px;
  margin-bottom: 4px;
  font-size: 13px;
}

.step-list li {
  margin-bottom: 2px;
}

.sub-status {
  font-size: 13px;
  margin: 6px 0 8px;
  color: #cbd5f5;
}

/* Важное */

.step.warning {
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(255, 184, 77, 0.08);
  border: 1px solid rgba(255, 184, 77, 0.4);
}

.step.warning .step-title {
  color: #ffd27f;
}
