:root {
  --color-bg: #07061a;
  --color-bg-alt: #0f142b;
  --color-bg-accent: #0d1f3f;
  --color-surface: rgba(20, 24, 42, 0.76);
  --color-surface-light: rgba(255, 255, 255, 0.08);
  --color-primary: #6c5dff;
  --color-primary-dark: #4f39ff;
  --color-accent: #29d9c2;
  --color-text: #f5f7ff;
  --color-muted: #9aa4d6;
  --color-border: rgba(255, 255, 255, 0.12);
  --shadow-lg: 0 24px 56px rgba(17, 22, 54, 0.65);
  --shadow-md: 0 14px 30px rgba(10, 14, 40, 0.4);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --gradient-hero: linear-gradient(135deg, rgba(108, 93, 255, 0.9), rgba(41, 217, 194, 0.8));
  --gradient-accent: linear-gradient(135deg, rgba(41, 217, 194, 0.4), rgba(76, 9, 119, 0.35));
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url('assets/7.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}

@supports (-webkit-touch-callout: none) {
  body::before {
    background-position: center top;
  }
}

@media (hover: none) and (pointer: coarse) {
  body::before {
    background-position: center top;
  }
}

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

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

p {
  margin: 0 0 1rem;
  color: var(--color-muted);
  line-height: 1.6;
}

h1,
 h2,
 h3 {
  font-family: 'Montserrat', sans-serif;
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  margin: 0 0 1rem;
}

.lead,
 .section__lead {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 640px;
}

.page-wrapper {
  position: relative;
  padding-top: 88px;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(7, 6, 26, 0.8);
  border-bottom: 1px solid var(--color-border);
}

.topbar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.topbar__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--color-text);
}

.brand__logo {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  padding: 2px;
  background: rgba(12, 12, 28, 0.6);
  box-shadow: 0 10px 24px rgba(12, 8, 36, 0.38);
}

.brand__name {
  font-size: 1.05rem;
}

.nav {
  position: relative;
  display: flex;
  justify-content: center;
  justify-self: center;
}

.nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0;
  margin: 0;
  justify-content: center;
}

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

.nav__list a:hover,
 .nav__list a:focus {
  color: var(--color-text);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(12, 12, 28, 0.65);
  box-shadow: 0 8px 18px rgba(10, 14, 40, 0.38);
}

.lang-switch__btn {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lang-switch__btn:hover,
.lang-switch__btn:focus-visible {
  outline: none;
  color: var(--color-text);
  background: rgba(108, 93, 255, 0.18);
}

.lang-switch__btn.is-active {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(76, 65, 160, 0.45);
}

.nav__toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
}

.nav__toggle-line {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle-line:nth-child(1) {
  top: 14px;
}

.nav__toggle-line:nth-child(2) {
  top: 20px;
}

.nav__toggle-line:nth-child(3) {
  top: 26px;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
  min-width: 220px;
}

.cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  padding: 5rem 0 4rem;
}

.hero__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero__content .lead {
  margin-bottom: 0;
}

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

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 0;
  padding: 0;
}

.metrics div {
  padding: 1.4rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.metrics dt {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.metrics dd {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.hero__media {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(0.5px);
  opacity: 0.9;
}

.hero-orb--primary {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at 30% 30%, rgba(108, 93, 255, 0.9), transparent 70%);
  top: 12%;
  left: 8%;
}

.hero-orb--accent {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 70% 70%, rgba(41, 217, 194, 0.85), transparent 60%);
  bottom: 10%;
  right: 6%;
}

.hero-card {
  position: relative;
  width: min(90%, 420px);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: rgba(10, 12, 28, 0.82);
  border: 1px solid rgba(108, 93, 255, 0.4);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-card__header,
.hero-card__footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.hero-card__header {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.75rem;
}

.hero-card__footer {
  border-top: 1px solid var(--color-border);
  padding-top: 0.75rem;
}

.hero-card__body ul {
  margin: 0;
  padding: 0 0 0 1rem;
  color: var(--color-muted);
}

.hero-card__body li {
  margin-bottom: 0.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: var(--gradient-hero);
  color: #040514;
  box-shadow: 0 18px 30px rgba(108, 93, 255, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
}

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}

.section {
  padding: 5rem 0;
}

.section--dark {
  background: rgba(7, 6, 26, 0.9);
}

.section--accent {
  background: var(--gradient-accent);
}

.section--footer {
  background: rgba(7, 6, 26, 0.95);
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section__inner--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: start;
}

.section__header {
  margin-bottom: 3rem;
}

.section__header--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: rgba(10, 12, 28, 0.82);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: var(--shadow-md);
}

.card__tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--color-accent);
  letter-spacing: 0.08em;
}

.card__list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--color-muted);
}

.card__list li {
  margin-bottom: 0.4rem;
}

.card__link {
  margin-top: auto;
  color: var(--color-accent);
  font-weight: 600;
}

.card__link:hover {
  color: #6fffe0;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.pill {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-muted);
  font-size: 0.9rem;
}

.surface-list {
  display: grid;
  gap: 1.5rem;
}

.surface {
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 12, 28, 0.7);
  box-shadow: var(--shadow-md);
}

.membership {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.membership__card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(6, 12, 30, 0.85);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: var(--shadow-md);
}

.membership__card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--color-muted);
}

.membership__note {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.logo-wall span {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.9rem 1rem;
  background: rgba(8, 12, 28, 0.7);
  text-align: center;
  letter-spacing: 0.08em;
}

.contacts {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.contacts a {
  color: var(--color-accent);
  font-weight: 500;
}

.form {
  display: grid;
  gap: 1rem;
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  background: rgba(9, 12, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md);
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 12, 28, 0.7);
  color: var(--color-text);
  font: inherit;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(108, 93, 255, 0.25);
}

.form__note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--color-muted);
}

.site-footer {
  padding: 2.5rem 0 2rem;
  background: rgba(4, 6, 18, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer__copy {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.site-footer__links {
  display: inline-flex;
  gap: 1rem;
  font-size: 0.85rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1024px) {
  .nav__toggle {
    display: inline-flex;
  }

  .nav__list {
    justify-content: flex-start;
    position: absolute;
    top: 52px;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(7, 6, 26, 0.96);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.25rem;
    width: 240px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(-16px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .topbar__inner {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    align-items: center;
  }

  .nav {
    justify-content: flex-end;
  }

  .topbar__actions {
    justify-self: end;
  }

  .nav__list.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section__inner--split {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .hero-card {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .topbar__inner {
    padding: 0.75rem 1rem;
  }

  .topbar__actions {
    width: 100%;
    justify-content: flex-end;
  }

  .cta {
    min-width: 0;
    width: 100%;
  }

  .hero__grid {
    padding: 0 1rem;
  }

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

  .section {
    padding: 4rem 0;
  }

  .section__inner {
    padding: 0 1rem;
  }

  .form {
    padding: 1.5rem;
  }
}
