/* Web Avatar — avatar.enlighted.ru */
:root {
  --bg: #12080c;
  --bg-elevated: #1c1018;
  --bg-card: #24141e;
  --bg-card-hover: #2c1824;
  --accent: #e91e8c;
  --accent-soft: rgba(233, 30, 140, 0.14);
  --accent-glow: rgba(233, 30, 140, 0.35);
  --text: #f6eef2;
  --text-muted: #b8a4b0;
  --text-dim: #8a7682;
  --border: rgba(255, 255, 255, 0.08);
  --font: "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(18, 8, 12, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

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

.logo__img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__brand {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.logo__product {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo__product span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.header__cta {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: filter 0.2s, transform 0.2s;
}

.header__cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s;
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 80px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 15% 0%, rgba(233, 30, 140, 0.22), transparent),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(120, 40, 90, 0.18), transparent);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(233, 30, 140, 0.35);
  border-radius: 999px;
  background: var(--accent-soft);
  color: #f5b8d8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__lead {
  margin: 0 0 1.5rem;
  max-width: 540px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.hero__points {
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.hero__points li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
  color: var(--text-muted);
}

.hero__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
}

.hero__visual {
  position: relative;
}

.hero__frame {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow), 0 0 0 1px rgba(233, 30, 140, 0.08);
  overflow: hidden;
}

.hero__frame img {
  width: 100%;
}

.hero__caption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-align: center;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border-block: 1px solid var(--border);
}

.section__head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section__label {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section__sub {
  margin: 0;
  color: var(--text-muted);
}

/* Scenario cards */
.scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.scenario {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.scenario:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 30, 140, 0.25);
  background: var(--bg-card-hover);
}

.scenario--sales { --role-color: #14b8a6; }
.scenario--reception { --role-color: #60a5fa; }
.scenario--hostess { --role-color: #c084fc; }

.scenario__thumb {
  margin: -1.5rem -1.5rem 1rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--border);
}

.scenario__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.scenario h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.scenario__role {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--role-color);
}

.scenario p {
  margin: 0 0 1rem;
  flex: 1;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.scenario__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.scenario__list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.scenario__list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--role-color);
  font-weight: 700;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.feature h4 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.feature p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Admin */
.admin-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(233, 30, 140, 0.2);
  background: linear-gradient(135deg, rgba(233, 30, 140, 0.1), rgba(36, 20, 30, 0.9));
}

.admin-banner h3 {
  margin: 0 0 0.75rem;
  font-size: 1.6rem;
}

.admin-banner p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.admin-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.45rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.admin-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.shot {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.shot--wide {
  grid-column: 1 / -1;
}

.shot img {
  width: 100%;
}

.lightbox-shot__btn {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.lightbox-shot__btn img {
  width: 100%;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.lightbox-shot__btn:hover img,
.lightbox-shot__btn:focus-visible img {
  transform: scale(1.02);
  filter: brightness(1.05);
}

.lightbox-shot__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.lightbox-shot__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(18, 8, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.lightbox-shot__zoom::before,
.lightbox-shot__zoom::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 1px;
}

.lightbox-shot__zoom::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-60%, -50%);
}

.lightbox-shot__zoom::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 4, 6, 0.92);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
}

.lightbox__close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lightbox__close:hover {
  background: var(--accent);
  color: #fff;
}

.lightbox__figure {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.lightbox__img {
  width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  background: #0a0608;
}

.lightbox__caption {
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

body.lightbox-open {
  overflow: hidden;
}

.shot figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}

.step h4 {
  margin: 0 0 0.5rem;
}

.step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* CTA */
.cta {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(233, 30, 140, 0.22);
  background: linear-gradient(160deg, rgba(233, 30, 140, 0.12), rgba(18, 8, 12, 0.6));
}

.cta h2 {
  margin: 0 0 0.75rem;
  font-size: 1.8rem;
}

.cta p {
  max-width: 560px;
  margin: 0 auto 1.5rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer a {
  color: var(--text-muted);
}

.footer a:hover {
  color: var(--accent);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid,
  .admin-banner {
    grid-template-columns: 1fr;
  }

  .scenarios,
  .features,
  .steps {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    background: rgba(18, 8, 12, 0.98);
    border-bottom: 1px solid var(--border);
  }

  .nav--open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 24px;
  }

  .burger {
    display: flex;
  }

  .header__cta {
    display: none;
  }

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

  .shot--wide {
    grid-column: auto;
  }

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