/* Orbis landing — тёмный космос + золото, в эстетике постера img/orbis.png */

:root {
  --bg: #06070f;
  --bg-card: #0c0e1d;
  --gold: #d9a441;
  --gold-soft: #e8c37a;
  --text: #e8e6df;
  --muted: #9a97a8;
  --line: rgba(217, 164, 65, 0.25);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: var(--gold-soft); }

/* --- Кнопки --- */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), #b8860b);
  color: #14100a;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 0 24px rgba(217, 164, 65, 0.35);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(217, 164, 65, 0.55); }
.btn--big { padding: 16px 36px; font-size: 1.15rem; }
.btn--small { padding: 8px 20px; font-size: 0.95rem; }

/* --- Шапка / hero --- */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(1200px 600px at 50% -200px, rgba(217, 164, 65, 0.16), transparent 60%),
    var(--bg);
}

/* Звёздное небо на чистом CSS — статичное */
.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 25%, #fff8, transparent),
    radial-gradient(1px 1px at 28% 65%, #fff6, transparent),
    radial-gradient(2px 2px at 41% 15%, #fff9, transparent),
    radial-gradient(1px 1px at 55% 45%, #fff5, transparent),
    radial-gradient(2px 2px at 68% 75%, #fff7, transparent),
    radial-gradient(1px 1px at 79% 30%, #fff8, transparent),
    radial-gradient(1px 1px at 90% 60%, #fff6, transparent),
    radial-gradient(2.5px 2.5px at 8% 85%, #e8c37a, transparent),
    radial-gradient(2px 2px at 95% 10%, #fff2d0, transparent),
    radial-gradient(2.5px 2.5px at 62% 20%, #e8c37a99, transparent);
}

.nav {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 24px;
}
.nav__logo { font-size: 1.3rem; letter-spacing: 0.35em; font-weight: 600; }

.hero__inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 0;
}
.hero__title {
  font-size: clamp(3.2rem, 9vw, 5.5rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  margin-left: 0.35em; /* компенсация letter-spacing для честного центрирования */
}
.hero__tagline {
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-top: 10px;
  font-size: clamp(0.8rem, 2.4vw, 1rem);
}
.hero__lead {
  color: var(--muted);
  margin: 26px auto 34px;
  max-width: 540px;
  font-size: 1.1rem;
}
.hero__hint { margin-top: 16px; color: var(--muted); font-size: 0.95rem; }

/* --- Секции --- */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px;
}
.section__title {
  text-align: center;
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 44px;
  letter-spacing: 0.04em;
}
.section__title--left { text-align: left; }
.section__title::after {
  content: "✦";
  display: block;
  color: var(--gold);
  font-size: 1rem;
  margin-top: 12px;
}
.section__title--left::after { display: none; }

/* --- Карточки --- */
.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 22px;
}
.card__icon { font-size: 1.8rem; margin-bottom: 12px; }
.card h3 { font-weight: 600; font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }

.price {
  float: right;
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}
.price--free { color: #7fd48a; }

/* --- Как это работает --- */
.section--split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.steps { list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 22px 56px;
  color: var(--muted);
}
.steps li b { color: var(--text); display: block; margin-bottom: 2px; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 2px;
  width: 38px; height: 38px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-soft);
  font-weight: 700;
}
.split__image img {
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* --- CTA с QR --- */
.section--cta { padding-bottom: 90px; }
.cta {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 40px;
  align-items: center;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(217, 164, 65, 0.12), transparent 70%),
    var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px;
}
.cta h2 { font-weight: 500; font-size: 1.7rem; margin-bottom: 12px; }
.cta p { color: var(--muted); margin-bottom: 28px; max-width: 440px; }
.cta__qr { text-align: center; }
.cta__qr img {
  width: 220px;
  margin: 0 auto;
  border-radius: 16px;
  background: #fff;
}
.cta__qr figcaption { color: var(--muted); font-size: 0.85rem; margin-top: 10px; }

/* --- Подвал --- */
.footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 34px 24px 44px;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer__note { font-size: 0.8rem; margin-top: 8px; opacity: 0.7; }

/* --- Страница политики --- */
.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.doc h1 { font-weight: 500; font-size: 1.9rem; margin: 24px 0 8px; }
.doc .doc__updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 32px; }
.doc h2 { font-weight: 600; font-size: 1.2rem; margin: 32px 0 10px; color: var(--gold-soft); }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 22px; margin: 8px 0; }
.doc li { margin-bottom: 6px; }
.doc a.back { display: inline-block; margin-bottom: 8px; color: var(--muted); text-decoration: none; }
.doc a.back:hover { color: var(--gold-soft); }

/* --- Адаптив --- */
@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .section--split { grid-template-columns: 1fr; }
  .split__image { order: -1; max-width: 480px; margin: 0 auto; }
  .cta { grid-template-columns: 1fr; text-align: center; padding: 36px 24px; }
  .cta p { margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px) {
  .grid--4, .grid--3 { grid-template-columns: 1fr; }
  .section { padding: 52px 20px; }
}
