@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

:root {
  --color-blue: #3377ff;
  --color-blue-light: #99c3fb;
  --color-white: #ffffff;
  --color-gray-dark: #2f2f2f;
  --color-black: #1c1c1c;
  --radius-s: 8px;
  --radius-m: 28px;
  --radius-l: 40px;
  --radius-full: 999px;
  --space-000: 0;
  --space-025: 1px;
  --space-050: 2px;
  --space-100: 4px;
  --space-150: 6px;
  --space-200: 8px;
  --space-250: 10px;
  --space-300: 12px;
  --space-400: 16px;
  --space-500: 20px;
  --space-600: 24px;
  --space-700: 28px;
  --space-800: 32px;
  --space-1000:40px;
  --space-1100: 44px;
  --space-1200: 48px;
  --space-1500: 60px;
  --space-2000: 80px;
  --space-2500: 100px;
  --space-negative-025: -1px;
  --space-negative-050: -2px;
  --space-negative-100: -4px;
  --space-negative-150: -6px;
  --space-negative-200: -8px;
  --space-negative-250: -10px;
  --space-negative-300: -12px;
  --space-negative-400: -16px;
  --space-negative-500: -20px;
  --space-negative-600: -24px;
}

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

.only-desktop-visible {
  display: block;
}
@media (max-width: 600px) {
  .only-desktop-visible {
    display: none;
  }
}

.only-phone-visible {
  display: none;
}
@media (max-width: 600px) {
  .only-phone-visible {
    display: block;
  }
}

html {
  font-size: 62.5%;
  margin: 0;
  padding: 0;
}

body {
  background: var(--color-blue-light);
  color: var(--color-gray-dark);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.4rem;
  line-height: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  overflow-x: hidden;
  width: 100vw;
}

img {
  border: none;
}

.page-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-300);
}

.website-background {
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  z-index: -1;
}

.bg-video {
  aspect-ratio: 16/9;
  background-image:  url("./assets/img/Background_Video.png");
  background-size: cover;
  background-repeat: no-repeat;
  display: block;
  margin: 0 auto;
  min-height: 60vh;
  width: 100%;
}

/* L I N K S */

a {
  text-decoration: none;
}

.link-white {
  color: var(--color-white);
  text-decoration: none;
  transition: opacity .16s ease-in-out;
}
.link-white:hover {
  opacity: .72;
}


/* B U T T O N S */

button,
.button {
  border-radius: var(--radius-full);
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  width: fit-content;
  transition: transform .16s ease-in-out, background-image .2s linear;
}
button:hover,
.button:hover {
  transform: scale(1.05);
}

button .button-text-wrapper,
.button .button-text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /*align-items: center;*/
  padding: var(--space-000) var(--space-100);
}
button .button-title,
.button .button-title {
  display: inline-flex;
  font-weight: 700;
  white-space: pre-wrap;
}
button .button-subtitle,
.button .button-subtitle {
  opacity: .72;
}

.button-white {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.76) 100%);
  border: 1px solid rgba(255, 255, 255, 1);
  color: var(--color-blue);
}
.button-white:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.88) 100%);
}
.button-white:active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.56) 100%);
  border: 1px solid rgba(255, 255, 255, .48);
}

.button-blue {
  background: linear-gradient(180deg, #2989FF 0%, #2974FF 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}
.button-blue:hover {
  background: linear-gradient(180deg, #479AFF 0%, #387EFF 100%);
}
.button-blue:active {
  background: linear-gradient(360deg, #0073FF 0%, #1F62E0 100%);
}

.button-size-m {
  gap: var(--space-100);
  font-size: 1.6rem;
  line-height: 1.8rem;
  padding: var(--space-200) var(--space-300);
}
button-size-m .button-text-wrapper,
.button-size-m .button-text-wrapper {
  padding: 0 var(--space-100);
}
button-size-m .button-subtitle,
.button-size-m .button-subtitle {
  font-size: 1.2rem;
  line-height: 1.4rem;
}

.button-size-l {
  gap: var(--space-200);
  font-size: 1.8rem;
  line-height: 2.2rem;
  padding: var(--space-400) var(--space-500);
}
button-size-l .button-text-wrapper,
.button-size-l .button-text-wrapper {
  gap: var(--space-100);
  padding: 0 var(--space-200);
}
button-size-l .button-subtitle,
.button-size-l .button-subtitle {
  font-size: 1.4rem;
  line-height: 1.6rem;
}


/*  L A B E L S  */


.label {
  border-radius: var(--radius-full);
  background-color: var(--color-blue);
  color: var(--color-white);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4rem;
  padding: var(--space-100) var(--space-200) .5rem var(--space-150); 
}

.label-sale {
  background: linear-gradient(258.1deg, #FF9226 0.23%, #FF6A26 100.23%);
  border: 1px solid rgba(255, 218, 106, 0.57);
}



/*  I C O N S  */

.icon-size-40 {
  height: 4rem;
  width: 4rem;
}

.icon-telegram {
  border: 2px solid var(--color-white);
  border-radius: var(--radius-full);
}



/* H E A D E R */

header {
  display: flex;
  align-items: center;
  height: 7.6rem;
  justify-content: space-between;
  margin: var(--space-500) 0 0;
}

.logo-s {
  background: transparent url('./assets/img/Logo-S-2x.png') 0 0 no-repeat;
  background-size: contain;
  aspect-ratio: 16/5;
  height: 76px;
  display: block;
  transition: transform .16s ease-in-out;
}

.logo-s:hover {
  transform: scale(1.1);
}

.logo-s:active {
  transform: scale(.95);
  opacity: .92;
}

.header-link {
  color: var(--color-white);
  font-weight: 600;
  text-decoration: none;
  margin-right: var(--space-md);
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.header-link:hover {
  opacity: 1;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--color-white);
  color: var(--color-blue);
  border-radius: var(--radius-full);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 60px rgba(1, 46, 98, 0.12);
}



/* H E R O   S E C T I O N */

.hero-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-1500);
  margin: var(--space-1000) auto 0;
  overflow: visible;
  max-width: 960px;
  width: 100%;
}

.logo-l {
  background: transparent url('./assets/img/Logo-L-2x.png') 0 0 no-repeat;
  background-size: contain;
  aspect-ratio: 16/5;
  display: flex;
  /*filter: drop-shadow(0 40px 80px rgba(0, 45, 97, 0.35));*/
  height: auto;
  overflow: visible;
  width: 100%;
  transition: transform .12s ease-in-out;
}
.logo-l:hover {
  transform: scale(1.1);
}
.logo-l:active {
  transform: scale(.95);
  opacity: .92;
}

.hero-header {
  color: var(--color-white);
  font-size: clamp(3rem, 5vw, 6.9rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin: 0;
  text-align: center;
}


/* A B O U T   S E C T I O N */

.about-service {
  background: var(--color-white);
  border-radius: var(--radius-l);
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  margin: 12.4rem auto 0;
  gap: var(--space-600);
  max-width: 880px;
  order: 1;
  align-self: stretch;
  flex-grow: 0;
}

.about-service .illustration-container {
  align-content: flex-end;
  position: relative;
  width: fill-available;
  width: -webkit-fill-available;
}

.hero-phone {
  width: 100%;
  max-width: 364px;
  margin: -56px auto 0;
  display: block;
}

.features-and-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-1200);
  padding: var(--space-1100) 0 var(--space-1200) var(--space-1000);
  width: fill-available;
  width: -webkit-fill-available;
}

.features {
  display: flex;
  flex-direction: column;
  gap: var(--space-800);
}

.feature {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-400);
}

.feature .icon-container {
  display: flex;
  width: 3.6rem;
}

.feature .icon {
  aspect-ratio: 1/1;
  width: 100%;
}

.feature-text {
  color: var(--color-gray-dark);
  font-size: 1.8rem;
  line-height: 2.4rem;
  font-weight: 500;
}

.price-section {
  color: var(--color-gray-dark);
  display: flex;
  flex-direction: row;
  gap: var(--space-700);
}

.price-item {
  position: relative;
}

.price {
  font-weight: 400;
  font-size:  clamp(3.2rem, 4vw ,4.4rem);
  line-height: clamp(3.2rem, 4vw ,4.4rem);
  text-align: center;
  letter-spacing: -0.02em;
}
.price-bold {
  font-weight: 700;
}

.price-old {
  display: flex;
  font-size: 1.8rem;
  line-height: 2.4rem;
  gap: var(--space-200);
  position: absolute;
  top: var(--space-negative-600);
}
.price-old .strikethrough {
  opacity: .5;
  padding: 0 var(--space-050) 0 0;
  position: relative;
}

.price-old .label-sale {
  padding: .5rem .7rem .4rem .6rem;
  transform: rotate(6deg);
}

.strikethrough::after {
background-image: url("data:image/svg+xml,%3Csvg width='47' height='5' viewBox='0 0 47 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.00024 4C11.5002 1.5 31.0002 1 39.0002 1H46.0002' stroke='%232F2F2F' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-size: cover;
content: "";
display: block;
height: .8rem;
pointer-events: none;
position: absolute;
bottom: 1rem;
left: 0;
width: 100%;
z-index: 1;
}

.price-subtitle {
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 2.4rem;
  text-align: center;
  letter-spacing: -0.02em;
}
.price-subtitle-bold {
  font-weight: 800;
}

.features-cta-wrapper {
  position: relative;
  width: 100%;
}

.features-cta-placeholder {
  height: 0;
  width: 100%;
  transition: height 0.2s ease;
}

.gradient-overlay {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 98%);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 88px;
}





.site-actions {
  display: flex;
  align-items: center;
}



/*  S T A T I C   P A G E */

.static-page-layout {
  display: flex;
  gap: var(--space-1000);
  margin: var(--space-1200) 0 0;
}

.static-page-nav-wrapper {
  display: flex;
  min-width: 244px;
  margin: var(--space-700) 0;
}

.static-page-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-600);
  width: 100%;
}

.static-page-nav a {
  color: var(--color-white);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2rem;
  opacity: 0.72;
  text-decoration: none;
}

.static-page-nav a.active span {
  border-bottom: 1.5px solid var(--color-white);
}

.static-page-nav a.active,
.static-page-nav a:hover {
  opacity: 1;
}

.static-page-content {
  background-color: var(--color-white);
  border-radius: var(--radius-l);
  padding: var(--space-600) var(--space-1000) var(--space-1200);
  display: flex;
}

.policy-card {
  flex-direction: column;
  font-size: 1.6rem;
  font-style: normal;
  font-family: 'Times New Roman', serif;
  letter-spacing: 0;
  line-height: 2rem;
  gap: var(--space-600);
  text-align: justify;
}

.policy-meta {
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  line-height: 1.6rem;
  letter-spacing: -.02em;
  opacity: .32;
  text-align: right;
}

.policy-card h1, h2, h3, h4 {
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.policy-card h1 {
  font-size: clamp(2.2rem, 3vw, 2.4rem);
  line-height: 1.1;
  margin: 0;
}

.policy-card h2 {
  font-size: clamp(1.8rem, 3vw, 2rem);
  line-height: 1.1;
  margin: var(--space-300) 0 0;
}

.policy-card p {
  margin: 0;
}

.policy-card ul {
  margin: 0 0 var(--space-md);
  padding-left: 1.2rem;
}

.policy-footer {
  display: flex;
  gap: var(--space-md);
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--color-white);
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  padding-top: var(--space-md);
}

.policy-footer a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 600;
}

.policy-footer small {
  color: rgba(255, 255, 255, 0.85);
}



/*  F O O T E R  */

footer {
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: var(--space-800);
  margin: var(--space-2500) 0 0;
  padding: 0 0 var(--space-800);
  width: 100%;
}

.footer-links {
  gap: var(--space-500);
  display: flex;
  justify-content: center;
}

.copyright {
  text-align: center;
}


@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .policy-layout {
    flex-direction: column;
  }

  .policy-nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .policy-nav a {
    min-width: 120px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .logo-s {
    height: 48px;
  }

  .mainpage-header-cta {
    visibility: hidden;
  }

  .hero-content {
    gap: var(--space-600);
    margin-top: 0;
    padding: 0 var(--space-400);
  }

  .hero-header .only-phone-visible {
    display: inline-block !important;
  }
  .hero-header .emoji-earth {
    display: inline-block;
    margin-top: var(--space-100);
  }

  .logo-l {
    max-width: calc(100% - 3.6rem);
  }

  .page-shell {
    padding: 0 var(--space-300);
  }
  
  .about-service {
    border-radius: var(--radius-m);
    flex-direction: column-reverse;
  }

  .features-and-cta {
    padding: 0 var(--space-400) var(--space-800);
  }

  .feature .icon-container {
    width: 3.2rem;
  }

  .price-section {
    gap: var(--space-400);
    justify-content: space-around;
  }

  .price-old {
    gap: var(--space-050);
  }

  .features-cta-wrapper {
    height: 7.6rem;
    width: 100%;
  }

  .features-cta-wrapper .features-cta {
    width: 100%;
  }

  .features-cta-wrapper.is-fixed .features-cta {
    position: fixed;
    bottom: calc(var(--space-600) + env(safe-area-inset-bottom, 0));
    left: var(--space-300);
    right: var(--space-300);
    max-width: 520px;
    width: calc(100vw - var(--space-1200));
    margin: 0 auto;
    z-index: 10;
  }

  .features-cta {
    width: -webkit-fill-available;
    width: fill-available;
  }

  .features-cta .button-title {
    white-space: nowrap;
  }

  .features-cta-placeholder {
    height: 0;
    transition: height 0.2s ease;
  }

  .hero-phone {
    max-width: 248px;
  }

  .static-page-layout {
    flex-direction: column;
    gap: var(--space-600);
    overflow-x: hidden;
  }

  .static-page-nav-wrapper {
    margin: 0 var(--space-negative-300);
    width: calc(100% + var(--space-600));
    overflow-x: scroll;
    scrollbar-width: none;
  }
   
  .static-page-nav {
    flex-direction: row;
    padding: 0 var(--space-400) var(--space-200);
    width: fit-content;
    -ms-overflow-style: none;
    display: flex;
  }

  .static-page-nav::-webkit-scrollbar {
    display: none;
  }

  .static-page-nav a span {
    white-space: nowrap;
  }

  .static-page-content {
    border-radius: var(--radius-m);
    padding: var(--space-400) var(--space-400) var(--space-800);
  }

  .policy-meta {
    text-align: center;
  }

  footer {
    flex-direction: row-reverse;
    gap: var(--space-300);
  }

  .footer-links {
    flex-direction: column;
    gap: var(--space-300);
  }

  footer .divider {
    display: none;
  }

  .copyright {
    text-align: left;
  }
}
