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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Blinker", sans-serif;
  color: #ffffff;
  background-color: #040718;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

.container {
  max-width: 1920px;
  margin: 0 auto;
  padding-left: clamp(16px, 5vw, 370px);
  padding-right: clamp(16px, 5vw, 370px);
}

.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 141px;
  height: 52px;
  background-color: #ffffff;
  border-radius: 160px;
  border: none;
  cursor: pointer;
  font-family: "Blinker", sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #0c1754;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(76, 104, 255, 0.3);
}
@media (max-width: 768px) {
  .btn-login {
    width: 110px;
    height: 40px;
    font-size: 15px;
  }
}

.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(76, 104, 255, 0.12) 0%, rgba(76, 104, 255, 0.04) 35%, transparent 65%);
  transition: opacity 0.4s ease;
  will-change: left, top;
}
@media (max-width: 992px) {
  .cursor-glow {
    display: none;
  }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: #0c1754;
  border-bottom: 1px solid rgba(76, 104, 255, 0.15);
  padding: 10px clamp(16px, 5vw, 370px);
  transition: background-color 0.3s ease, padding 0.3s ease;
}
@media (max-width: 768px) {
  .header {
    padding: 8px 16px;
  }
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
}
.header__logo {
  width: 170px;
  height: 32px;
}
.header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 768px) {
  .header__logo {
    width: 130px;
    height: 24px;
  }
}
.header .btn-login {
  width: 100px;
  height: 36px;
  font-size: 14px;
}
@media (max-width: 768px) {
  .header .btn-login {
    width: 80px;
    height: 32px;
    font-size: 13px;
  }
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, #111e67, #040718);
  padding: 120px 20px 100px;
}
@media (max-width: 992px) {
  .hero {
    min-height: 80vh;
    padding: 100px 20px 80px;
  }
}
@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
    padding: 90px 16px 60px;
  }
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 2.5vw, 27px);
  padding-top: 23px;
}
.hero__logo {
  width: clamp(120px, 12vw, 186px);
  height: auto;
}
.hero__logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.hero__title {
  font-family: "Sentient", Georgia, serif;
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 50px);
  line-height: 1.19;
  text-align: center;
  background: linear-gradient(-11.5deg, #4c68ff 29.285%, #ffffff 106.4%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 10.8px rgba(76, 104, 255, 0.4));
  max-width: 750px;
}
@media (max-width: 768px) {
  .hero__title br {
    display: none;
  }
}
.hero__subtitle {
  font-family: "Blinker", sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.4;
  text-align: center;
  color: #ffffff;
  max-width: 525px;
  padding: 0 10px;
}
@media (max-width: 768px) {
  .hero__subtitle {
    max-width: 100%;
  }
}

.about {
  position: relative;
  background-color: #040718;
  padding: clamp(60px, 8vw, 124px) clamp(16px, 5vw, 370px);
  overflow: hidden;
}
.about__inner {
  display: flex;
  align-items: flex-start;
  gap: clamp(40px, 6vw, 104px);
  max-width: 1180px;
  margin: 0 auto;
  justify-content: center;
}
@media (max-width: 992px) {
  .about__inner {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
}
.about__text {
  width: 564px;
  max-width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 5vw, 76px);
}
@media (max-width: 1200px) {
  .about__text {
    width: 480px;
  }
}
@media (max-width: 992px) {
  .about__text {
    width: 100%;
    text-align: center;
  }
}
.about__title {
  font-family: "Blinker", sans-serif;
  font-weight: 600;
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.17;
  color: #ffffff;
}
.about__description {
  font-family: "Blinker", sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.4;
  color: #ffffff;
}
.about__description p + p {
  margin-top: 20px;
}
.about__illustration {
  position: relative;
  width: 440px;
  height: 426px;
  flex-shrink: 0;
}
@media (max-width: 1200px) {
  .about__illustration {
    width: 360px;
    height: 348px;
  }
}
@media (max-width: 992px) {
  .about__illustration {
    width: 300px;
    height: 290px;
  }
}
@media (max-width: 480px) {
  .about__illustration {
    width: 260px;
    height: 252px;
  }
}
.about__brain-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 992px) {
  .about__brain-canvas {
    display: none;
  }
}
.about__brain-image {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 992px) {
  .about__brain-image {
    display: block;
  }
}

.values {
  position: relative;
  background-color: #ffffff;
  padding-bottom: clamp(50px, 7vw, 100px);
}
.values__wave-wrap {
  background-color: #040718;
  margin-bottom: -1px;
}
.values__wave {
  width: 100%;
  display: block;
  height: auto;
}
.values__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(30px, 5vw, 80px);
  padding: clamp(40px, 5vw, 80px) clamp(16px, 5vw, 370px) 0;
  max-width: 1180px;
  margin: 0 auto;
}
@media (max-width: 992px) {
  .values__inner {
    flex-direction: column;
    gap: 30px;
  }
}
.values__title {
  font-family: "Blinker", sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 3.5vw, 56px);
  line-height: 1.14;
  color: #000000;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
}
@media (max-width: 992px) {
  .values__title {
    position: static;
  }
}
.values__cards {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.5vw, 54px);
  flex: 1;
  max-width: 486px;
}
@media (max-width: 992px) {
  .values__cards {
    max-width: 100%;
  }
}
.values__card {
  background-color: #ffffff;
  border: 1px solid #040718;
  border-radius: 5px;
  padding: clamp(20px, 2.5vw, 35px) clamp(16px, 2vw, 25px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.values__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(4, 7, 24, 0.1);
}
.values__card-title {
  font-family: "Blinker", sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.36;
  color: #040718;
}
.values__card-text {
  font-family: "Blinker", sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.44;
  color: #0c1754;
}

.footer {
  background-color: #0c1754;
  border-top: 1px solid rgba(76, 104, 255, 0.15);
  padding: 14px clamp(16px, 5vw, 370px);
}
@media (max-width: 768px) {
  .footer {
    padding: 12px 16px;
  }
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  min-height: 36px;
}
@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
.footer__logo {
  width: 150px;
  height: 28px;
}
.footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 768px) {
  .footer__logo {
    width: 120px;
    height: 22px;
  }
}
.footer__copy {
  font-family: "Blinker", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.3;
  color: #ffffff;
  text-align: center;
}
@media (max-width: 768px) {
  .footer__copy {
    font-size: 12px;
  }
}

.login-page {
  min-height: 100vh;
  background: linear-gradient(to bottom, #111e67, #040718 70%);
  padding: 120px clamp(16px, 5vw, 370px) 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
}
@media (max-width: 768px) {
  .login-page {
    padding: 100px 16px 60px;
  }
}
.login-page__card {
  width: min(100%, 460px);
  background: rgba(12, 23, 84, 0.78);
  border: 1px solid rgba(76, 104, 255, 0.15);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 42px rgba(2, 8, 35, 0.35);
  padding: clamp(22px, 4vw, 34px);
  position: relative;
  z-index: 6;
}
.login-page__title {
  font-family: "Sentient", Georgia, serif;
  font-weight: 500;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
  color: #ffffff;
  text-align: center;
  margin: 8px 0 24px;
}
.login-page__info {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  cursor: default;
}
.login-page__info-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
}
.login-page__info-text {
  position: absolute;
  top: 36px;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: rgba(6, 12, 46, 0.96);
  padding: 8px 10px;
  font-size: 11px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.9);
  width: 210px;
}
@media (max-width: 480px) {
  .login-page__info-text {
    width: 160px;
  }
}
.login-page__info:hover .login-page__info-text {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.login-page__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.login-page__label {
  font-size: 15px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.92);
}
.login-page__input {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: "Blinker", sans-serif;
  font-size: 16px;
  padding: 0 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.login-page__input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.login-page__input:focus {
  border-color: #4c68ff;
  box-shadow: 0 0 0 3px rgba(76, 104, 255, 0.22);
}
.login-page__input.is-invalid {
  border-color: #ff5b73;
  box-shadow: 0 0 0 3px rgba(255, 91, 115, 0.2);
}
.login-page__error {
  margin-top: -8px;
  min-height: 16px;
  font-size: 12px;
  color: #ff8798;
}
.login-page__submit {
  margin-top: 8px;
  width: 100%;
}
.login-page__submit:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
  box-shadow: none;
}
.login-page__success {
  min-height: 18px;
  text-align: center;
  font-size: 13px;
  color: #90f0ba;
}
.login-page__success.is-error {
  color: #ff8798;
}
.login-page__success.is-loading {
  color: #9bb4ff;
}

.backlines {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1920px;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  padding-left: clamp(16px, 5vw, 370px);
  padding-right: clamp(12px, 5vw, 370px - 4px);
  opacity: 0.9;
  mix-blend-mode: screen;
}
@media (max-width: 768px) {
  .backlines {
    display: none;
  }
}
.backlines svg {
  width: 100%;
  height: 100%;
}
.backlines img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section {
  position: relative;
  z-index: 1;
}

.header {
  z-index: 100;
}

[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}
[data-aos].aos-animate {
  opacity: 1;
}

[data-aos=fade-up] {
  transform: translateY(40px);
}
[data-aos=fade-up].aos-animate {
  transform: translateY(0);
}

[data-aos=fade-right] {
  transform: translateX(-40px);
}
[data-aos=fade-right].aos-animate {
  transform: translateX(0);
}

[data-aos=fade-left] {
  transform: translateX(40px);
}
[data-aos=fade-left].aos-animate {
  transform: translateX(0);
}
