/* Author: Natural.Code - https://t.me/naturalcod */
:root {
  --color-bg: #111315;
  --color-bg-deep: #060a14;
  --color-text: #e8ecef;
  --color-text-muted: #a4adb5;
  --color-accent: #00a3ff;
  --color-accent-soft: #4cc9ff;
  --color-line: rgba(255, 255, 255, 0.14);
  --color-line-soft: rgba(255, 255, 255, 0.1);
  --color-button-line: rgba(34, 100, 176, 0.64);
  --shadow-accent: 0 1.4vw 2.8vw rgba(0, 97, 255, 0.24);
}

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

html,
body {
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: linear-gradient(180deg, #060a14 0%, #111315 100%);
  color: var(--color-text);
  font-family: "Exo 2", "Segoe UI", sans-serif;
}

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

.page {
  height: 100%;
}

.hero-screen {
  position: relative;
  display: grid;
  grid-template-rows: 11.1vh 1px minmax(0, 1fr);
  height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 36%, rgba(255, 255, 255, 0.03), transparent 30%),
    linear-gradient(180deg, #050914 0%, #101319 100%);
}

.hero-screen__background,
.hero-screen__overlay,
.hero-screen__glow,
.hero-screen__symbol {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-screen__background {
  z-index: 0;
}

.hero-screen__background-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-screen__overlay {
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(5, 9, 20, 0.97) 0%,
      rgba(5, 9, 20, 0.94) 24%,
      rgba(5, 9, 20, 0.72) 40%,
      rgba(5, 9, 20, 0.16) 60%,
      rgba(5, 9, 20, 0.32) 74%,
      rgba(5, 9, 20, 0.74) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 9, 20, 0.18) 0%,
      rgba(5, 9, 20, 0.04) 20%,
      rgba(5, 9, 20, 0.08) 58%,
      rgba(5, 9, 20, 0.78) 100%
    );
}

.hero-screen__glow {
  inset: auto 17.5% 8% auto;
  width: 18vw;
  height: 18vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 163, 255, 0.2) 0%, rgba(0, 163, 255, 0.06) 42%, transparent 72%);
  filter: blur(1.8vw);
  z-index: 2;
}

.hero-screen__symbol {
  top: 15.2vh;
  right: -1.4vw;
  left: auto;
  bottom: auto;
  width: 24.2vw;
  height: 24.2vw;
  border: 1px solid rgba(0, 163, 255, 0.34);
  clip-path: polygon(18% 0, 50% 34%, 82% 0, 100% 0, 60% 50%, 100% 100%, 82% 100%, 50% 66%, 18% 100%, 0 100%, 40% 50%, 0 0);
  opacity: 0.45;
  z-index: 2;
}

.hero-screen__header,
.hero-screen__divider,
.hero-screen__body,
.hero-screen__footer {
  position: relative;
  z-index: 3;
}

.hero-screen__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2vw;
  padding: 1.85vh 3.15vw;
}

.hero-screen__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.hero-screen__brand-image {
  display: block;
  width: 13.8vw;
  max-width: 13.8vw;
  height: auto;
}

.hero-screen__features {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.95vw;
  margin: 0;
  padding: 0;
  list-style: none;
  min-height: 100%;
}

.hero-screen__feature {
  position: relative;
  color: rgba(232, 236, 239, 0.95);
  font-size: 0.84vw;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-screen__feature--lead {
  padding-right: 1.15vw;
}

.hero-screen__feature--lead::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 1.1em;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%);
}

.hero-screen__feature:not(.hero-screen__feature--lead) {
  padding-left: 1.05vw;
}

.hero-screen__feature:not(.hero-screen__feature--lead)::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.3vw;
  width: 0.34vw;
  height: 0.34vw;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0.55vw rgba(0, 163, 255, 0.48);
  transform: translateY(-50%);
}

.hero-screen__divider {
  width: 100%;
  margin: 0;
  background: var(--color-line);
}

.hero-screen__body {
  display: flex;
  align-items: center;
  min-height: 0;
  padding: 2.7vh 3.15vw 17.4vh;
}

.hero-screen__content {
  width: 39vw;
  max-width: 39vw;
}

.hero-screen__title {
  margin: 0;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 5.2vw;
  line-height: 0.96;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero-screen__title-line {
  display: block;
}

.hero-screen__title-line--light {
  color: var(--color-text);
  white-space: nowrap;
}

.hero-screen__title-line--accent {
  margin-top: 0.55vh;
  color: var(--color-accent);
}

.hero-screen__description {
  width: 31vw;
  max-width: 31vw;
  margin: 3.9vh 0 0;
  color: rgba(232, 236, 239, 0.96);
  font-size: 1.7vw;
  font-weight: 300;
  line-height: 1.45;
}

.hero-screen__actions {
  display: flex;
  gap: 1.2vw;
  margin-top: 4.6vh;
}

.hero-screen__button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 1.05vw;
  width: 16.3vw;
  height: 14vh;
  padding: 0 1.45vw;
  border: 1px solid var(--color-button-line);
  border-radius: 0.95vw;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.hero-screen__button::before,
.hero-screen__button::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-screen__button::before {
  z-index: 0;
  background: linear-gradient(115deg, transparent 22%, rgba(255, 255, 255, 0.18) 46%, transparent 66%);
  transform: translateX(-135%);
  transition: transform 420ms ease;
}

.hero-screen__button::after {
  z-index: 0;
  inset: 1px;
  border-radius: calc(0.95vw - 1px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%, transparent 100%);
  opacity: 0.65;
}

.hero-screen__button--primary {
  background: linear-gradient(180deg, rgba(31, 131, 255, 0.98) 0%, rgba(21, 70, 229, 0.96) 100%);
  box-shadow: var(--shadow-accent);
  animation: hero-screen-primary-pulse 3.6s ease-in-out infinite;
}

.hero-screen__button--secondary {
  background: linear-gradient(180deg, rgba(8, 11, 18, 0.76) 0%, rgba(8, 11, 18, 0.46) 100%);
  box-shadow: 0 0.7vw 1.8vw rgba(0, 0, 0, 0.12);
}

.hero-screen__button:hover,
.hero-screen__button:focus-visible {
  transform: translateY(-0.32vw);
}

.hero-screen__button:hover::before,
.hero-screen__button:focus-visible::before {
  transform: translateX(135%);
}

.hero-screen__button--primary:hover,
.hero-screen__button--primary:focus-visible {
  box-shadow:
    0 1.85vw 3.1vw rgba(0, 97, 255, 0.28),
    0 0 1.35vw rgba(76, 201, 255, 0.18);
  border-color: rgba(124, 198, 255, 0.72);
}

.hero-screen__button--secondary:hover,
.hero-screen__button--secondary:focus-visible {
  border-color: rgba(74, 151, 230, 0.72);
  box-shadow:
    0 1.2vw 2.4vw rgba(0, 0, 0, 0.22),
    inset 0 0 0.8vw rgba(0, 163, 255, 0.05);
}

.hero-screen__button-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.8vw;
  height: 2.8vw;
  flex: 0 0 auto;
  transition:
    transform 220ms ease,
    color 220ms ease,
    filter 220ms ease;
}

.hero-screen__button-icon svg {
  width: 2.05vw;
  height: 2.05vw;
}

.hero-screen__button-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2vh;
  transition: transform 220ms ease;
}

.hero-screen__button-title,
.hero-screen__button-text {
  text-transform: uppercase;
}

.hero-screen__button-title {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 2.05vw;
  line-height: 0.95;
  letter-spacing: 0.03em;
}

.hero-screen__button-text {
  font-size: 0.94vw;
  line-height: 1.18;
  letter-spacing: 0.04em;
}

.hero-screen__button:hover .hero-screen__button-icon,
.hero-screen__button:focus-visible .hero-screen__button-icon {
  transform: translateY(-0.12vw) scale(1.04);
  filter: drop-shadow(0 0 0.55vw rgba(76, 201, 255, 0.26));
}

.hero-screen__button:hover .hero-screen__button-copy,
.hero-screen__button:focus-visible .hero-screen__button-copy {
  transform: translateX(0.14vw);
}

.hero-screen__footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  height: 14.2vh;
  padding: 0;
  background: rgba(8, 11, 17, 0.3);
  overflow: hidden;
  isolation: isolate;
  backdrop-filter: blur(0.82vw) saturate(1.04);
  -webkit-backdrop-filter: blur(0.82vw) saturate(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -0.9vh 1.8vh rgba(0, 0, 0, 0.06);
}

.hero-screen__footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(7, 10, 16, 0.12);
  pointer-events: none;
}

.hero-screen__footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 69% 52%, rgba(0, 163, 255, 0.045), transparent 22%),
    rgba(255, 255, 255, 0.007);
  pointer-events: none;
}

.hero-screen__divider--bottom {
  display: none;
}

.hero-screen__footer-grid {
  position: absolute;
  inset: 0 3.15vw;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  min-height: 0;
  z-index: 1;
}

.hero-screen__contact {
  display: flex;
  align-items: center;
  gap: 1.5vw;
  height: 100%;
  min-width: 0;
  width: 100%;
  padding-right: 2.2vw;
}

.hero-screen__contact + .hero-screen__contact {
  padding-left: 2.2vw;
  position: relative;
  border-left: 0;
}

.hero-screen__contact + .hero-screen__contact::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 4.8vh;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-50%);
}

.hero-screen__contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 3.05vw;
  height: 3.05vw;
  border: 1px solid rgba(76, 201, 255, 0.25);
  border-radius: 0.82vw;
  color: var(--color-accent);
}

.hero-screen__contact-icon--telegram {
  border-color: transparent;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(31, 131, 255, 0.98) 0%, rgba(21, 70, 229, 0.96) 100%);
  box-shadow: 0 0.55vw 1.3vw rgba(0, 97, 255, 0.2);
}

.hero-screen__contact-icon svg {
  width: 1.55vw;
  height: 1.55vw;
}

.hero-screen__contact-copy {
  display: flex;
  flex-direction: column;
  gap: 0.35vh;
  min-width: 0;
}

.hero-screen__contact-label,
.hero-screen__contact-value {
  text-transform: uppercase;
}

.hero-screen__contact-label {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 1.48vw;
  line-height: 0.96;
  letter-spacing: 0.045em;
  white-space: nowrap;
}

.hero-screen__contact-label--muted {
  color: rgba(232, 236, 239, 0.85);
}

.hero-screen__contact-value {
  color: var(--color-text-muted);
  font-size: 0.88vw;
  line-height: 1.18;
  letter-spacing: 0.03em;
}

.hero-screen__contact-accent {
  color: var(--color-accent);
}

@keyframes hero-screen-primary-pulse {
  0%,
  100% {
    box-shadow:
      0 1.4vw 2.8vw rgba(0, 97, 255, 0.22),
      0 0 0 rgba(76, 201, 255, 0);
    filter: saturate(1);
  }

  50% {
    box-shadow:
      0 1.55vw 3vw rgba(0, 97, 255, 0.3),
      0 0 1vw rgba(76, 201, 255, 0.14);
    filter: saturate(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-screen__button,
  .hero-screen__button::before,
  .hero-screen__button-icon,
  .hero-screen__button-copy {
    transition: none;
  }

  .hero-screen__button--primary {
    animation: none;
  }
}

.hero-screen__contact--copyright {
  justify-content: center;
  text-align: center;
  padding-right: 0;
}

.hero-screen__contact--copyright .hero-screen__contact-label {
  font-size: 1.28vw;
}

.hero-screen__contact--copyright .hero-screen__contact-value {
  font-size: 0.82vw;
  white-space: nowrap;
}

.hero-screen__contact--copyright .hero-screen__contact-copy {
  align-items: center;
  width: 100%;
}

@media (max-width: 980px) {
  html,
  body {
    overflow: auto;
  }

  .page {
    height: auto;
  }

  .hero-screen {
    display: block;
    height: auto;
    min-height: 100vh;
    overflow: hidden;
  }

  .hero-screen__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(5, 9, 20, 0.74) 0%,
        rgba(5, 9, 20, 0.58) 22%,
        rgba(5, 9, 20, 0.42) 48%,
        rgba(5, 9, 20, 0.86) 100%
      ),
      linear-gradient(
        90deg,
        rgba(5, 9, 20, 0.96) 0%,
        rgba(5, 9, 20, 0.8) 38%,
        rgba(5, 9, 20, 0.36) 100%
      );
  }

  .hero-screen__symbol {
    top: 15rem;
    right: -8rem;
    width: 20rem;
    height: 20rem;
    opacity: 0.3;
  }

  .hero-screen__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 1rem 0;
  }

  .hero-screen__brand-image {
    width: 9.6rem;
    max-width: none;
  }

  .hero-screen__features {
    flex-wrap: wrap;
    gap: 0.55rem 0.9rem;
  }

  .hero-screen__feature {
    font-size: 0.68rem;
    white-space: normal;
  }

  .hero-screen__feature--lead {
    padding-right: 0;
  }

  .hero-screen__feature--lead::after {
    display: none;
  }

  .hero-screen__feature:not(.hero-screen__feature--lead) {
    padding-left: 0.85rem;
  }

  .hero-screen__feature:not(.hero-screen__feature--lead)::before {
    left: 0.08rem;
    width: 0.28rem;
    height: 0.28rem;
  }

  .hero-screen__divider {
    width: calc(100% - 2rem);
  }

  .hero-screen__body {
    display: block;
    padding: 2rem 1rem 2rem;
  }

  .hero-screen__footer {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    height: auto;
  }

  .hero-screen__content,
  .hero-screen__description {
    width: 100%;
    max-width: none;
  }

  .hero-screen__title {
    font-size: clamp(3rem, 12vw, 5.2rem);
    line-height: 0.94;
  }

  .hero-screen__title-line--light {
    white-space: normal;
    max-width: 8.4ch;
  }

  .hero-screen__description {
    margin-top: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 20rem;
  }

  .hero-screen__actions {
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.8rem;
  }

  .hero-screen__button {
    width: 100%;
    height: 5.5rem;
    padding: 0 1.15rem;
    border-radius: 1rem;
  }

  .hero-screen__button-icon {
    width: 2.3rem;
    height: 2.3rem;
  }

  .hero-screen__button-icon svg {
    width: 1.7rem;
    height: 1.7rem;
  }

  .hero-screen__button-title {
    font-size: 1.8rem;
  }

  .hero-screen__button-text {
    font-size: 0.85rem;
  }

  .hero-screen__footer {
    display: block;
    padding: 1.1rem 1rem 1rem;
  }

  .hero-screen__footer::before {
    backdrop-filter: blur(12px) saturate(1.14);
    -webkit-backdrop-filter: blur(12px) saturate(1.14);
  }

  .hero-screen__divider--bottom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: none;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
  }

  .hero-screen__footer-grid {
    position: relative;
    inset: auto;
    grid-template-columns: 1fr;
    width: 100%;
    height: auto;
  }

  .hero-screen__contact {
    min-height: 4.7rem;
    padding: 0.85rem 0;
  }

  .hero-screen__contact + .hero-screen__contact {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--color-line-soft);
  }

  .hero-screen__contact-icon {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.95rem;
  }

  .hero-screen__contact-icon svg {
    width: 1.45rem;
    height: 1.45rem;
  }

  .hero-screen__contact-label {
    font-size: 1.5rem;
  }

  .hero-screen__contact-value {
    font-size: 0.9rem;
  }

  .hero-screen__contact--copyright {
    justify-content: flex-start;
    text-align: left;
  }

  .hero-screen__contact--copyright .hero-screen__contact-copy {
    align-items: flex-start;
    width: auto;
  }

  .hero-screen__contact--copyright .hero-screen__contact-label {
    font-size: 1rem;
    line-height: 1.05;
    white-space: normal;
  }

  .hero-screen__contact--copyright .hero-screen__contact-value {
    font-size: 0.7rem;
    white-space: normal;
  }
}

@media (max-width: 540px) {
  .hero-screen__background-image {
    object-position: 70% center;
  }

  .hero-screen__title {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  .hero-screen__description {
    max-width: 18rem;
  }

  .hero-screen__contact-value {
    font-size: 0.82rem;
  }

  .hero-screen__contact--copyright .hero-screen__contact-label {
    font-size: 0.94rem;
  }

  .hero-screen__contact--copyright .hero-screen__contact-value {
    font-size: 0.68rem;
  }
}

