@import url("https://fonts.googleapis.com/css2?family=Unbounded:wght@200..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/* ==========================================================================
   1. FONTS & VARIABLES
   ========================================================================== */
:root {
  --background: #040a0f;
  --foreground: #fff;
  --primary: #00fcff;
  --secondary: #009dff;
  --muted: #11161b;
  --font-sans: "Inter", sans-serif;
  --font-unbounded: "Unbounded", sans-serif;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

html,
body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  overflow-x: hidden;
}

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

img,
svg,
video {
  vertical-align: middle;
  display: block;
}

img,
video {
  max-width: 100%;
  height: auto;
}

/* Скрытие скроллбара */
* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

::-webkit-scrollbar {
  display: none;
}

/* ==========================================================================
   3. COMMON & LAYOUT
   ========================================================================== */
#root {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  min-height: 100vh;
}

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .container {
    max-width: 1440px;
    width: 100%;
    padding: 0 16px!important;
  }
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-head--row {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
}

@media (min-width: 640px) {
  .section-head--row {
    justify-content: space-between;
  }
}

.section-title {
  font-family: var(--font-unbounded);
  font-weight: 900;
  font-size: 24px;
  line-height: 29px;
  color: var(--primary);
  text-transform: uppercase;
  text-shadow: 0 0 16px #00fcff94;
  text-align: center;
}

@media (min-width: 640px) {
  .section-title {
    text-align: left;
  }
}

.section-desc--mobile {
  font-weight: 600;
  font-size: 14px;
  line-height: 22px;
  opacity: 0.6;
}

.section-desc--desktop {
  font-weight: 600;
  font-size: 18px;
  line-height: 20px;
  opacity: 0.6;
  display: none;
  max-width: 800px;
}

@media (min-width: 640px) {
  .section-desc--mobile {
    display: none;
  }
  .section-desc--desktop {
    display: inline;
  }
}

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  border-style: solid;
  border-width: 0;
}

.btn--primary {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0 32px;
  height: 56px;
  font-size: 14px;
  border-radius: 9999px;
}

.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: linear-gradient(to bottom, rgba(0, 252, 255, 0.6), rgba(0, 157, 255, 0.6));
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
  z-index: 1;
}

.btn--primary .btn__text {
  position: relative;
  z-index: 2;
}

@media (min-width: 640px) {
  .btn--primary {
    height: 70px;
    font-size: 18px;
  }
  .btn--primary::before {
    opacity: 0;
  }
  .btn--primary:hover::before {
    opacity: 1;
  }
}

.btn--icon {
  width: 56px;
  height: 56px;
  padding: 0;
}

@media (min-width: 640px) {
  .btn--icon {
  width: 70px;
  height: 70px;
  }

}

.btn--icon img {
  position: relative;
  z-index: 2;
}

.btn--secondary {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  height: 68px;
  padding: 0 32px;
  font-size: 18px;
  gap: 44px;
  color: #fff;
  display: none;
}

@media (min-width: 640px) {
  .btn--secondary {
    display: inline-flex;
  }
  .btn--secondary:hover {
    background-color: rgba(0, 252, 255, 0.25);
    border-color: var(--primary);
    box-shadow: 0 0 16px rgba(0, 252, 255, 0.4);
  }
}

.btn--primary-glow {
  background-color: rgba(0, 252, 255, 0.25);
  border: 1px solid var(--primary);
  border-radius: 32px;
  height: 68px;
  padding: 0 32px;
  font-size: 18px;
  box-shadow: 0 0 16px rgba(0, 252, 255, 0.4);
  width: calc(100% - 32px);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .btn--primary-glow {
    display: none;
  }
}

.btn--cta {
  background-color: rgba(0, 252, 255, 0.25);
  border: 1px solid var(--primary);
  box-shadow: 0 0 16px rgba(0, 252, 255, 0.4);
  border-radius: 32px;
  height: 56px;
  padding: 0 32px;
  font-size: 16px;
  border: 1px solid #00fcff;
}

@media (min-width: 640px) {
  .btn--cta {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    border: 1px solid #00fcff;
  }
  .btn--cta:hover {
    background-color: rgba(0, 252, 255, 0.25);
    border-color: var(--primary);
    box-shadow: 0 0 16px rgba(0, 252, 255, 0.4);
  }
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 240px 16px 312px;
  background-image: url("/bgMob.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom;
  gap: 44px;
}

.hero-inner {
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 84px;
  width: 100%;
  margin: 0 auto;
}


@media (min-width: 640px) {
  .hero {
    padding-top: 288px;
    padding-bottom: 456px;
    align-items: flex-start;
    text-align: left;
    background-image: url("/bg.png");
    background-size: cover;
    gap: 88px;
  }
}

.hero__container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;

}

@media (min-width: 640px) {
  .hero__container {
    gap: 24px;
  }
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
}

@media (min-width: 640px) {
  .hero__content {
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .hero {
    height: 95dvh;
    padding: 32px 16px!important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .btn--primary {
    background-color: rgb(6 11 16);
  }
}

.hero__title {
  font-family: var(--font-unbounded);
  font-weight: 900;
  font-size: 26px;
  line-height: 34px;
  color: var(--primary);
  text-transform: uppercase;
  text-shadow: 0 0 16px #00fcff94;
}

@media (max-width: 380px) {
  .hero__title {
    font-size: 24px;
  }
}

@media (min-width: 640px) {
  .hero__title {
    font-size: 48px;
    line-height: 58px;
  }
}

.hero__subtitle {
  font-family: var(--font-unbounded);
  font-weight: bold;
  font-size: 16px;
  line-height: 21px;
  text-transform: none;
  
  max-width: 360px;
  margin-top: 10px;
}

@media (min-width: 640px) {
  .hero__subtitle {
    font-size: 24px;
    line-height: 29px;
    max-width: 700px;
  }
}

@media (max-width: 640px) {
  .hero__subtitle {
    margin: 0 auto;
  }
}

.hero__text {
  font-size: 15px;
  line-height: 17px;
  opacity: 0.6;
  max-width: 700px;
}

@media (min-width: 640px) {
  .hero__text {
    font-size: 18px;
    line-height: 22px;
  }
}

.hero__actions {
  display: flex;
  gap: 6px;
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   6. WHY CHOOSE SECTION
   ========================================================================== */
.why {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 0 16px;
  margin-top: 100px;
}

@media (min-width: 640px) {
  .why {
    margin-top: 120px;
    padding: 0;
  }
  .hero__actions {
    justify-content: flex-start;
  }
}

.grid--why {
  display: flex;
  flex-direction: column;
  gap: 36px;
  font-family: var(--font-unbounded);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-transform: uppercase;
}

.card--why {
  display: flex;
  gap: 12px;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  align-items: center;
}

@media (min-width: 640px) {
  .card--why {
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
  }
}

.card__icon-wrap {
  width: 64px;
  height: 64px;
  min-width: 64px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.15s ease-in-out;
}

.card--why:hover .card__icon-wrap {
  box-shadow: 0 0 12px 2px rgba(0, 157, 255, 0.4);
}

@media (min-width: 640px) {
  .card__icon-wrap {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 20px;
  }
}

.card__icon {
  width: 36px;
  height: 36px;
}

@media (min-width: 640px) {
  .card__icon {
    width: 44px;
    height: 44px;
  }
}

.card__text {
  max-width: 880px;
}

.card__text span {
  font-size: 14px;
  text-transform: none;
  margin-top: 5px;
  display: block;
  font-weight: 400;
  max-width: 700px;
}

/* ==========================================================================
   7. HOW IT WORKS SECTION
   ========================================================================== */
.how-it-works {
  display: flex;
  flex-direction: column;
  margin-top: 100px;
}

@media (min-width: 640px) {
  .how-it-works {
    gap: 40px;
  }
.card__text span {
  font-size: 18px;
  text-transform: none;
  margin-top: 5px;
  display: block;
}
}

.section-title--how {
  font-family: var(--font-unbounded);
  font-weight: 900;
  font-size: 24px;
  line-height: 29px;
  color: var(--primary);
  text-transform: uppercase;
  text-shadow: 0 0 16px #00fcff94;
  text-align: center;
  color: #fff;
}

@media (min-width: 640px) {
  .section-title--how {
    font-size: 32px;
    line-height: 38px;
  }
}

.how-it-works__slider-wrap {
  overflow-x: auto;
}

.how-it-works__slider {
  display: flex;
  gap: 12px;
  padding-left: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.how-it-works__slider::after {
  content: "";
  flex-shrink: 0;
  width: 1px;
}

@media (min-width: 640px) {
  .how-it-works__slider-wrap {
    overflow-x: visible;
  }
  .how-it-works__slider {
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
}

.card--step {
  background-image: linear-gradient(to bottom, var(--muted), var(--muted));
  padding: 1px;
  min-w: calc(100vw - 48px);
  border-radius: 20px;
  transition: all 0.15s ease-in-out;
}

.card--step:hover {
  background-image: linear-gradient(to bottom, var(--primary), var(--secondary));
  box-shadow: 0 0 24px 0 rgba(0, 157, 255, 0.4);
}

@media (min-width: 640px) {
  .card--step {
    min-width: 0;
    flex: 1;
  }
}

.card__inner {
  background-color: var(--muted);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 20px 20px 24px;
  height: 100%;
  min-width: 340px;
}

.card__img-wrap {
  border-radius: 24px;
  height: 188px;
  width: 100%;
  background-image: linear-gradient(to bottom, rgba(0, 252, 255, 0.03), rgba(0, 0, 0, 0.15));
  position: relative;
  overflow: hidden;
}

@media (max-width: 380px) {
  .card__inner {
    min-width: 310px;
  }
}

@media (min-width: 640px) {
  .card__img-wrap {
    height: 260px;
  }
}

.card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.card__title {
  font-family: var(--font-unbounded);
  font-weight: 900;
  font-size: 14px;
  line-height: 19px;
  text-transform: uppercase;
  white-space: pre-line;
}

@media (min-width: 640px) {
  .card__title {
    font-size: 18px;
    line-height: 22px;
  }
}

.card__desc {
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  opacity: 0.6;
}

@media (min-width: 640px) {
  .card__desc {
    font-size: 18px;
    line-height: 22px;
  }
}

/* ==========================================================================
   8. STEPS SECTION
   ========================================================================== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  margin-top: 72px;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .steps {
    padding: 0;
  }
}

.steps__wrapper {
  display: flex;
  flex-direction: column;
}

.steps__arrows {
  width: 100%;
  display: none;
}

@media (min-width: 640px) {
  .steps__arrows {
    display: block;
  }
}

.grid--steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 640px) {
  .grid--steps {
    flex-direction: row;
    gap: 24px;
    width: 100%;
  }
}

.steps__item {
  padding: 24px 12px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
  transition: all 0.3s ease-in-out;
}

.steps__item:hover {
  padding-bottom: 16px;
}

@media (min-width: 640px) {
  .steps__item {
    flex: 1;
  }
}

.steps__icon-wrap {
  background-color: rgba(255, 255, 255, 0.05);
  width: 80px;
  height: 80px;
  min-width: 80px;
  min-height: 80px;
  border-radius: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
}

.steps__item:hover .steps__icon-wrap {
  width: 88px;
  height: 88px;
  min-width: 88px;
  min-height: 88px;
}

.steps__text {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  font-family: var(--font-unbounded);
  text-transform: uppercase;
  white-space: pre-line;
}

.steps__text span {
  display: block;
  font-size: 12px;
  text-decoration: none;
  margin-top: 5px;
  text-transform: none;
}

/* ==========================================================================
   9. REVIEWS SECTION
   ========================================================================== */
.reviews {
  display: flex;
  flex-direction: column;
  margin-top: 72px;
  gap: 32px;
}

.section-title--reviews {
  font-family: var(--font-unbounded);
  font-weight: 900;
  font-size: 24px;
  line-height: 24px;
  text-transform: uppercase;
  text-shadow: 0 0 16px #ffffff94;
  text-align: center;
  margin-bottom: 30px;
}

.reviews__slider-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 640px) {
  .reviews__slider-wrapper {
    gap: 22px;
  }
}

.reviews__slider {
  position: relative;
  user-select: none;
  touch-action: pan-y;
  overflow: hidden;
}

.reviews__slide {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 16px;
  object-fit: cover;
  transition: all 0.3s ease-out;
  cursor: pointer;
}

.reviews__progress {
  margin-left: auto;
  margin-right: auto;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  overflow: hidden;
}

.reviews__progress-bar {
  height: 100%;
  background-color: var(--foreground);
  border-radius: 9999px;
}

/* ==========================================================================
   10. CTA SECTION
   ========================================================================== */
.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  padding: 280px 16px;
  position: relative;
  overflow-y: hidden;
}

.cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.cta__title {
  font-family: var(--font-unbounded);
  font-weight: 900;
  font-size: 24px;
  line-height: 29px;
  text-transform: uppercase;
  text-shadow: 0 0 16px #ffffff94;
}

@media (min-width: 640px) {
  .cta__title {
    font-size: 32px;
    line-height: 38px;
  }
}

.cta__text {
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  opacity: 0.6;
  max-width: 900px;
}

@media (min-width: 640px) {
  .cta__text {
    font-size: 18px;
    line-height: 21px;
  }
}

.cta__glow {
  position: absolute;
  background-color: rgba(0, 252, 255, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.cta__glow--1 {
  width: 60px;
  height: 288px;
  filter: blur(70px);
  bottom: -16px;
  left: -14px;
}

@media (min-width: 640px) {
  .cta__glow--1 {
    width: 220px;
    height: 400px;
    filter: blur(120px);
    bottom: -164px;
    left: -92px;
  }
}

.cta__glow--2 {
  width: 60px;
  height: 288px;
  filter: blur(70px);
  bottom: -16px;
  right: -14px;
}

@media (min-width: 640px) {
  .cta__glow--2 {
    width: 220px;
    height: 400px;
    filter: blur(120px);
    bottom: -164px;
    right: -92px;
  }
}

.cta__glow--3 {
  width: 88px;
  height: 180px;
  filter: blur(60px);
  bottom: -22px;
  left: 80px;
}

@media (min-width: 640px) {
  .cta__glow--3 {
    width: 296px;
    height: 252px;
    filter: blur(130px);
    bottom: -152px;
    left: 132px;
  }
}

.cta__glow--4 {
  width: 88px;
  height: 180px;
  filter: blur(60px);
  bottom: -22px;
  right: 80px;
}

@media (min-width: 640px) {
  .cta__glow--4 {
    width: 296px;
    height: 252px;
    filter: blur(130px);
    bottom: -152px;
    right: 132px;
  }
}

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.footer {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 100px 16px 120px;
  padding-top: 20px;
}

@media (min-width: 640px) {
  .footer {
    padding-top: 20px;
    padding-bottom: 120px;
    padding-left: 0;
    padding-right: 0;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
}

.footer__requisites {
  font-weight: 600;
  opacity: 0.6;
  line-height: 29px;
}

.footer__requisites p {
  margin: 0;
}

.footer__address {
  opacity: 0.6;
  font-weight: 600;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-weight: 600;
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row-reverse;
    justify-content: space-between;
  }
}

.footer__link {
  text-decoration: underline;
  color: inherit;
}

.footer__copyright {
  opacity: 0.6;
}

/* ==========================================================================
   12. POLICY PAGES STYLES
   ========================================================================== */
.policy {
  padding: 100px 16px 120px;
}

.policy__container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  max-width: 880px;
}

.policy__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.policy__title {
  font-family: var(--font-unbounded);
  font-weight: 900;
  font-size: 30px;
  line-height: 42px;
  text-transform: uppercase;
  text-shadow: 0 0 16px #00fcff94;
}

@media (min-width: 640px) {
  .policy__title {
    font-size: 48px;
    line-height: 58px;
  }
}

.policy__subtitle {
  font-size: 18px;
  line-height: 29px;
  opacity: 0.6;
}

.policy__card {
  background-color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  font-size: 15px;
  line-height: 24px;
}

@media (min-width: 640px) {
  .policy__card {
    padding: 32px;
    font-size: 18px;
    line-height: 29px;
  }
}

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

.policy__section-title {
  font-family: var(--font-unbounded);
  font-weight: 700;
  font-size: 20px;
  color: var(--primary);
}

@media (min-width: 640px) {
  .policy__section-title {
    font-size: 24px;
  }
}

.policy__link {
  color: var(--primary);
  text-decoration: underline;
}

.policy__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 16px;
  list-style: none;
}

.cursor-pointer {
  cursor: pointer;
}


.glow {
    position: absolute;
    border-radius: 999px;
    background-color: rgba(0, 252, 255, 0.6);
    pointer-events: none;
    z-index: 0;
}

.glow--right,
.glow--left {
    width: 60px;
    height: 288px;
    bottom: -16px;
    filter: blur(70px);
}

.glow--right {
    right: -14px;
}

.glow--left {
    left: -14px;
}

.glow--center-left,
.glow--center-right {
    width: 88px;
    height: 180px;
    bottom: -22px;
    filter: blur(60px);
}

.glow--center-left {
    left: 80px;
}

.glow--center-right {
    right: 80px;
}

@media (min-width: 640px) {
    .glow--right,
    .glow--left {
        width: 220px;
        height: 400px;
        bottom: -164px;
        filter: blur(120px);
    }

    .glow--right {
        right: -92px;
    }

    .glow--left {
        left: -92px;
    }

    .glow--center-left,
    .glow--center-right {
        width: 296px;
        height: 252px;
        bottom: -152px;
        filter: blur(130px);
    }

    .glow--center-left {
        left: 132px;
    }

    .glow--center-right {
        right: 132px;
    }
}