/* Оформление сайта, вынесено из index.html 02.08.2026.
   Страницы /check и /ask подключают этот файл, чтобы выглядеть
   одинаково с главной, а не как чужие вставки. */

:root {
  --bg: #050815;
  --card-bg: #050b15;
  --accent: #45d2ff;
  --accent-2: #b847ff;
  --accent-soft: rgba(69,210,255,0.16);
  --text-main: #f9fafb;
  --text-muted: #9da5b8;
  --border-soft: #111827;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, #1f2937 0, transparent 50%),
    radial-gradient(circle at bottom right, #111827 0, transparent 55%),
    linear-gradient(135deg, #020617, #020617 60%, #050815);
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 12px;
}

.shell {
  width: 100%;
  max-width: 1120px;
}

/* Хедер */

.topbar {
  border-radius: 999px;
  padding: 10px 18px;
  margin-bottom: 20px;
  background: radial-gradient(circle at top left, rgba(69,210,255,0.18), transparent 55%),
              rgba(8,12,23,0.96);
  border: 1px solid rgba(148,163,184,0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(16px);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 🔥 УВЕЛИЧЕННЫЙ ЛОГОТИП, БЕЗ СИНЕГО ШАРА */
.logo-circle { flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: none !important;
  border: none !important;
  padding: 0;
}

.logo-circle img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.35));
}

.brand-text-main {
  font-size: 15px;
  font-weight: 600;
}

.brand-text-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.chip {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.35);
  background: rgba(15,23,42,0.9);
}

/* Основная карточка */

.card {
  position: relative;
  border-radius: 26px;
  padding: 30px 32px 22px;
  background:
    radial-gradient(circle at top left, rgba(69,210,255,0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(184,71,255,0.18), transparent 60%),
    var(--card-bg);
  border: 1px solid rgba(15,23,42,0.9);
  box-shadow:
    0 30px 70px rgba(0,0,0,0.9),
    0 0 0 1px rgba(15,23,42,0.9);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

@media (max-width: 900px) {
  body {
    align-items: flex-start;
  }
  .card-main {
    grid-template-columns: minmax(0,1fr);
    gap: 24px;
  }
}

.card-left {
  display: flex;
  flex-direction: column;
}

.pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(15,184,255,0.12);
  border: 1px solid rgba(69,210,255,0.55);
  color: var(--accent);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.pill-dot { flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(69,210,255,0.95);
}

.hero-title {
  font-size: clamp(26px, 3vw, 32px);
  margin: 0 0 10px;
  line-height: 1.2;
}

.hero-subtitle {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 14px;
  max-width: 430px;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 8px;
  font-size: 13px;
}

.hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.hero-check { flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(69,210,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--accent);
  margin-top: 1px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.btn-primary {
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(69,210,255,0.35);
}

.btn-primary span.icon {
  font-size: 16px;
}

.btn-ghost {
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  cursor: pointer;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.5);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-disabled {
  opacity: 0.5;
  cursor: default;
}

.small-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
}

.tariff {
  font-size: 12px;
  margin-top: 10px;
}

.tariff strong {
  color: var(--accent);
  font-weight: 600;
}

.id-hint {
  display: none;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.id-hint.visible {
  display: block;
}

/* 🔥 ГЛОБУС — нормальные пропорции + мягкий переход */

.card-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-globe {
  width: 380px !important;
  height: auto !important;
  object-fit: contain;
  border-radius: 999px;

  filter:
    drop-shadow(0 0 25px rgba(69,210,255,0.45))
    drop-shadow(0 0 35px rgba(184,71,255,0.35));

  background: radial-gradient(circle,
    rgba(5,8,21,0) 55%,
    rgba(5,8,21,1) 100%
  );

  padding: 20px;
}

/* Нижняя полоса фич */

.features-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 10px 8px 0;
  border-top: 1px solid rgba(15,23,42,0.7);
  margin-top: 4px;
  font-size: 11px;
  color: #e5e7eb;
}

@media (max-width: 600px) {
  .features-row {
    flex-wrap: wrap;
    gap: 16px;
  }
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  opacity: 0.9;
}

.feature-pill-icon { flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  background: radial-gradient(circle, rgba(148,163,184,0.2), transparent 70%);
  box-shadow: 0 0 8px rgba(15,23,42,0.9);
}

.feature-pill-label {
  color: #e5e7eb;
}

/* Футер */

.footer {
  margin-top: 10px;
  font-size: 11px;
  color: #6b7280;
  text-align: center;
}

.footer-main {
  margin-bottom: 4px;
}

.footer-links {
  font-size: 10px;
  color: #9ca3af;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer a {
  color: #93c5fd;
  text-decoration: none;
}

.footer-links a {
  color: #9ca3af;
}

.footer a:hover {
  text-decoration: underline;
}
