:root {
  --color-bg-header-solid: #06020e;
  --color-text-nav: #9b92b0;
  --color-text-nav-hover: #faf5ff;
  --color-neon-deep: #7c3aed;
  --color-neon-mid: #c026d3;
  --color-gradient-end: #d946ef;
  --color-border-subtle: rgba(217, 70, 239, 0.18);
  --font-sans: "Poppins", system-ui, -apple-system, sans-serif;
  --header-height: 76px;
}

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

html {
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text-nav);
  background-color: #0a0b16;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(18, 8, 32, 0.94) 0%, rgba(6, 2, 14, 0.92) 100%);
  border-bottom: 1px solid rgba(217, 70, 239, 0.25);
}

.site-header__inner {
  position: relative;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 28px);
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--color-text-nav-hover);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.055em;
}

.site-logo__img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
}

.site-header__menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--color-text-nav);
}

.site-header__menu-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 1px;
}

.site-header__nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  gap: clamp(16px, 3vw, 28px);
}

.site-nav__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.site-nav__link {
  display: inline-block;
  padding: 10px 14px;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-text-nav);
  border-radius: 10px;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 16px;
  flex-shrink: 0;
}

.site-header__login {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-text-nav);
  padding: 10px 14px;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  border-radius: 12px;
  background: linear-gradient(125deg, #4f46e5 0%, var(--color-neon-deep) 38%, var(--color-neon-mid) 65%, var(--color-gradient-end) 100%);
}

.lang-switch {
  flex-shrink: 0;
}

.lang-switch__track {
  position: relative;
  display: flex;
  width: 6.5rem;
  min-height: 40px;
  padding: 3px;
  border-radius: 8px;
}

.lang-switch__thumb {
  position: absolute;
  left: 3px;
  top: 3px;
  bottom: 3px;
  width: calc(50% - 5px);
  border-radius: 6px;
  transition: transform 0.22s ease;
}

.lang-switch[data-lang-active="en"] .lang-switch__thumb {
  transform: translateX(calc(100% + 6px));
}

.lang-switch__btn {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 500;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, min(38rem, 50%)) minmax(260px, 1fr);
  grid-template-rows: 1fr;
  align-items: center;
  column-gap: clamp(20px, 4vw, 56px);
  padding: clamp(20px, 4vw, 40px) clamp(18px, 4vw, 48px);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #0a0b16;
  overflow: hidden;
}

.hero__bg picture {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}

.hero__veil {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  position: relative;
  z-index: 1;
  pointer-events: none;
  align-self: stretch;
  justify-self: stretch;
  background: linear-gradient(
      100deg,
      rgba(10, 11, 22, 0.92) 0%,
      rgba(10, 11, 22, 0.72) 32%,
      rgba(10, 11, 22, 0.4) 55%,
      rgba(10, 11, 22, 0.12) 78%,
      transparent 100%
    ),
    radial-gradient(ellipse 85% 90% at 100% 50%, rgba(6, 2, 14, 0.35) 0%, transparent 60%);
}

.hero__content {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 2;
  max-width: min(34rem, 100%);
  text-align: left;
  justify-self: start;
}

.hero__mockup {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 2;
}

.hero__title {
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.06em;
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
  color: #faf5ff;
}

.hero__title-line {
  display: block;
}

.hero__title-line--hero {
  position: relative;
  isolation: isolate;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.hero__title-tail {
  font-weight: 700;
  color: rgba(250, 245, 255, 0.92);
}

.hero__title-accent {
  display: inline-block;
  margin-right: 0.06em;
  margin-left: -0.04em;
  padding: 0.02em 0.08em 0.06em;
  border-radius: 0.12em;
  background: linear-gradient(118deg, #5eead4 0%, #22d3ee 18%, #c026d3 45%, #d946ef 82%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero__lede {
  margin: 0 0 28px;
  line-height: 1.68;
  color: rgba(205, 196, 225, 0.97);
  max-width: 44ch;
}

.hero__lede-highlight {
  display: inline;
  font-weight: 700;
  color: #ffffff;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  font-weight: 700;
  font-size: 0.97rem;
  letter-spacing: -0.022em;
  border-radius: 13px;
}

.hero__cta--primary {
  color: #fff;
  background: linear-gradient(128deg, #4f46e5 0%, var(--color-neon-deep) 34%, var(--color-neon-mid) 62%, var(--color-gradient-end) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero__cta--ghost {
  color: var(--color-text-nav-hover);
  border: 1px solid rgba(217, 70, 239, 0.42);
  background: rgba(0, 0, 0, 0.32);
}

.hero__micro {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(165, 156, 188, 0.98);
}

@media (max-width: 900px) {
  .site-header__menu-toggle {
    display: flex;
  }

  .site-header__nav-wrap {
    position: fixed;
    inset: var(--header-height) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 28px 22px 36px;
    gap: 28px;
    background: var(--color-bg-header-solid);
    border-top: 1px solid var(--color-border-subtle);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
  }

  .site-header[data-nav-open="true"] .site-header__nav-wrap {
    transform: translateX(0);
    visibility: visible;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .site-nav__link {
    text-align: center;
    padding: 14px 18px;
  }

  .site-header__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .site-header__cta {
    text-align: center;
    justify-content: center;
  }

  .lang-switch {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .lang-switch__track {
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    align-items: center;
    justify-items: stretch;
  }

  .hero__content {
    grid-column: 1;
    grid-row: 1;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    justify-self: center;
  }

  .hero__title {
    align-items: center;
    margin-bottom: 18px;
  }

  .hero__lede {
    margin-left: auto;
    margin-right: auto;
    max-width: 38ch;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__mockup {
    display: none !important;
  }

  .hero__bg-img {
    object-position: center center;
  }
}
