@import url(https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap);
:root {
  --bg: #0b0f14;
  --surface: #0f1722;
  --surface2: #121c2b;
  --text: #eaf0ff;
  --muted: #a7b0c4;
  --stroke1: rgba(234, 240, 255, .12);
  --stroke2: rgba(234, 240, 255, .18);
  --accent1: #b6ff2e;
  --accent2: #7c3aed;
  --danger: #ff3d71;
  --shadow: 0 18px 60px rgba(0, 0, 0, .55);
  --radius: 16px;
  --radius2: 24px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Manrope, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgba(124, 58, 237, 0.3), transparent 70%), radial-gradient(circle, rgba(182, 255, 46, 0.18), transparent 70%);
  background-repeat: no-repeat, no-repeat;
  background-size: 800px 800px, 800px 800px;
  background-position: -450px calc(50% - 300px), calc(100% + 450px) calc(50% - 300px);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.35;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent1);
}

.flex-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--stroke2);
  border-radius: 12px;
  z-index: 9999;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(11, 15, 20, 0.66);
  border-bottom: 1px solid var(--stroke1);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 18px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 220px;
}
.brand__mark {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 14px;
  background: radial-gradient(18px 18px at 30% 35%, rgba(182, 255, 46, 0.95), transparent 70%), radial-gradient(22px 22px at 70% 65%, rgba(124, 58, 237, 0.9), transparent 70%), linear-gradient(135deg, rgba(234, 240, 255, 0.18), rgba(234, 240, 255, 0.04));
  border: 1px solid rgba(234, 240, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand__name {
  font-weight: 800;
  letter-spacing: 0.3px;
}
.brand__tag {
  font-size: 12.5px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
}
.nav a {
  padding: 6px 11px;
  border-radius: 12px;
  color: rgba(234, 240, 255, 0.86);
  white-space: nowrap;
}
.nav a[aria-current=page], .nav a:hover {
  background: rgba(234, 240, 255, 0.06);
  border: 1px solid var(--stroke1);
  padding: 5px 10px;
}
.nav__cta {
  padding: 10px 14px !important;
  background: linear-gradient(135deg, rgba(182, 255, 46, 0.95), rgba(124, 58, 237, 0.9));
  color: #061018 !important;
  font-weight: 800;
  border: 1px solid rgba(234, 240, 255, 0.1);
}
.nav__cta:hover {
  filter: saturate(1.05) brightness(1.05);
}

.navToggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--stroke1);
  background: rgba(234, 240, 255, 0.04);
  color: var(--text);
}
.navToggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(234, 240, 255, 0.85);
  margin: 4px auto;
}

.section {
  padding: 56px 0;
}
.section--tight {
  padding: 34px 0;
}

.grid {
  display: grid;
  gap: 16px;
}
.grid--2 {
  grid-template-columns: 1.1fr 0.9fr;
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  border-radius: var(--radius2);
  border: 1px solid var(--stroke1);
  background: linear-gradient(180deg, rgba(234, 240, 255, 0.06), rgba(234, 240, 255, 0.03));
  box-shadow: var(--shadow);
}
.card__inner {
  padding: 22px;
}
.card__media {
  overflow: hidden;
  border-radius: var(--radius2) var(--radius2) 0 0;
  border-bottom: 1px solid var(--stroke1);
}

.card__mediaImg {
  display: block;
  width: 100%;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(182, 255, 46, 0.22);
  background: rgba(182, 255, 46, 0.08);
  color: rgba(234, 240, 255, 0.9);
  font-weight: 700;
  font-size: 12.5px;
}
.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent1);
  box-shadow: 0 0 0 4px rgba(182, 255, 46, 0.14);
}

.h1 {
  font-size: 44px;
  line-height: 1.05;
  margin: 14px 0 10px;
  letter-spacing: -0.6px;
}

.h2 {
  font-size: 28px;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}

.p {
  color: rgba(234, 240, 255, 0.82);
  font-size: 16.5px;
  margin: 0;
}

.muted {
  color: var(--muted);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--stroke2);
  background: rgba(234, 240, 255, 0.05);
  color: rgba(234, 240, 255, 0.92);
  font-weight: 800;
}
.btn--primary {
  background: linear-gradient(135deg, rgba(182, 255, 46, 0.95), rgba(124, 58, 237, 0.9));
  border: 1px solid rgba(234, 240, 255, 0.1);
  color: #061018;
}
.btn--primary:hover {
  filter: saturate(1.05) brightness(1.05);
}
.btn--ghost:hover {
  background: rgba(234, 240, 255, 0.08);
}

.pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(234, 240, 255, 0.12);
  background: rgba(234, 240, 255, 0.05);
  color: rgba(234, 240, 255, 0.85);
  font-size: 12.5px;
  font-weight: 700;
}
.pill--accent {
  border-color: rgba(182, 255, 46, 0.24);
  background: rgba(182, 255, 46, 0.08);
}

.hero {
  padding: 46px 0 10px;
}
.hero__panel {
  position: relative;
  overflow: hidden;
}
.hero__panel::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(520px 220px at 20% 10%, rgba(182, 255, 46, 0.24), transparent 55%), radial-gradient(520px 240px at 78% 18%, rgba(124, 58, 237, 0.26), transparent 55%);
  pointer-events: none;
}
.hero__panel .card__inner {
  position: relative;
  z-index: 1;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--stroke1);
  background: rgba(11, 15, 20, 0.35);
  color: rgba(234, 240, 255, 0.9);
  font-weight: 700;
}
.stat__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: stretch;
}

.preview {
  height: 100%;
  min-height: 320px;
  border-radius: var(--radius2);
  border: 1px solid var(--stroke1);
  background: var(--surface2);
  background-image: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(11, 15, 20, 0.9)), radial-gradient(800px 400px at 70% 30%, rgba(182, 255, 46, 0.12), transparent);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.preview__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  -o-object-fit: cover;
     object-fit: cover;
  position: relative;
  z-index: 1;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.list li {
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid var(--stroke1);
  background: rgba(234, 240, 255, 0.03);
}
.list li strong {
  display: block;
  margin-bottom: 4px;
}

.form {
  display: grid;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-weight: 800;
  font-size: 13px;
  color: rgba(234, 240, 255, 0.9);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--stroke2);
  background: rgba(11, 15, 20, 0.45);
  color: rgba(234, 240, 255, 0.92);
  outline: none;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field input[type=checkbox] {
  width: auto;
}
.field .text-danger {
  color: var(--danger);
}

.hint {
  color: var(--muted);
  font-size: 13px;
}

.hr {
  height: 1px;
  background: var(--stroke1);
  margin: 12px 0;
}

.auth-container {
  max-width: 440px;
  margin: 0 auto;
  padding: 0 18px;
}

.topbar {
  border-bottom: 1px solid var(--stroke1);
  background: rgba(11, 15, 20, 0.72);
  backdrop-filter: blur(10px);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
}

.topbar .brand {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.flash {
  border: 1px solid rgba(182, 255, 46, 0.25);
  background: rgba(182, 255, 46, 0.08);
  padding: 10px 12px;
  border-radius: 14px;
  margin-bottom: 12px;
  font-size: 14px;
}
.flash--err {
  border-color: rgba(255, 61, 113, 0.3);
  background: rgba(255, 61, 113, 0.1);
}

.pw-wrap {
  position: relative;
}
.pw-wrap input {
  padding-right: 48px;
}

.pw-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.pw-toggle:hover {
  background: rgba(234, 240, 255, 0.08);
}
.pw-toggle svg {
  width: 20px;
  height: 20px;
  opacity: 0.85;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.form-check .form-check-input {
  margin-top: 2px;
  flex-shrink: 0;
}

.footer {
  margin-top: 30px;
  border-top: 1px solid var(--stroke1);
  background: rgba(11, 15, 20, 0.5);
}
.footer__inner {
  padding-top: 15px;
  padding-bottom: 15px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer__brand {
  font-weight: 900;
  letter-spacing: 0.3px;
}
.footer__muted {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}
.footer__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__links a {
  color: rgba(234, 240, 255, 0.82);
}
.footer__contacts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.footer__contacts a {
  color: rgba(234, 240, 255, 0.9);
  font-weight: 800;
}

@media (max-width: 980px) {
  .grid--3 {
    grid-template-columns: 1fr;
  }
  .grid--4 {
    grid-template-columns: 1fr 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .h1 {
    font-size: 38px;
  }
  .navToggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 18px;
    background: rgba(15, 23, 34, 0.92);
    border: 1px solid var(--stroke2);
    box-shadow: var(--shadow);
  }
  .nav.is-open {
    display: flex;
  }
  .nav__links {
    flex-direction: column;
    align-items: stretch;
  }
  .nav a {
    padding: 12px 12px;
  }
}
@media (max-width: 560px) {
  .grid--4 {
    grid-template-columns: 1fr;
  }
  .h1 {
    font-size: 34px;
  }
  .brand__tag {
    display: none;
  }
}
