:root {
  --title_font: "Sora", sans-serif;
  --text__font: "Inter", sans-serif;

  --primary: #4057da;
  --primary__hover: #5368de;
  --extra__hover: #aebaff;
  --secondary: #4f5566;
  --extra__secondary: #e7eaf5;
  --light: #fffafc;
  --white: #fff;
  --base: #040613;
}

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

html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
img,
ol,
ul,
li,
fieldset,
form,
label,
footer,
header,
nav,
section {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

footer,
header,
nav,
section {
  display: block;
}

ol,
ul,
li {
  list-style: none;
}

a {
  text-decoration: none
}

body {
  overflow-x: hidden;
  color: var(--base);
  font-size: 16px;
  line-height: 1;
  margin: 0;
  padding: 0;
  font-family: var(--text__font);
  background: url(../img/grid-background.webp) repeat center;
}

.title {
  font-family: var(--title_font);
}

.tr-es {
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.container {
  width: 100%;
  max-width: 1500px;
  height: 100%;
  padding: 0 15px;
  margin: 0 auto;
  position: relative;
}

.btn {
  font-family: var(--text__font);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  line-height: 1;
  outline: none;
  border: 1px solid transparent;
  transition: all .25s linear;
  cursor: pointer;
  background: var(--primary);
  padding: 12px 18px;
  border-radius: 8px;
  color: var(--light);
}

.btn:hover {
  background: var(--primary__hover);
}

.light__btn {
  font-family: var(--text__font);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  line-height: 1;
  outline: none;
  border: 1px solid var(--extra__secondary);
  transition: all .25s linear;
  cursor: pointer;
  background: var(--light);
  padding: 12px 18px;
  border-radius: 8px;
  color: var(--base);
}

.light__btn:hover {
  background: var(--extra__hover);
}

.section__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* header */
.header {
  position: fixed;
  z-index: 2026;
  left: 0;
  top: 0;
  width: 100%;
  padding: 20px 15px;
}

.header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  background: rgba(255, 250, 252, 0.6);
  border: 1px solid var(--extra__secondary);
  backdrop-filter: blur(10px);
  border-radius: 100px;
}

.header__logo {
  /* height: 30px; */
  font-weight: 600;
  color: var(--base);
  font-size: 20px;
}

.header__logo span {
  color: var(--primary)
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__menu-link {
  font-size: 14px;
  color: var(--secondary);
  font-weight: 400;
}

.header__menu-link:hover {
  color: var(--base);
}

.menu__btn {
  display: none;
}
.warning{
  text-align: center;
  padding: 20px;
  background: rgb(255, 172, 172);
  font-size: 14px;
}
@media(max-width:1100px) {
  .header {
    
  }

  .header.active .header__wrapper{
    background: var(--light);
    border-radius: 20px 20px 0 0;
  }

  .header__wrapper {
    padding: 10px 20px;
  }

  .header__nav {
    display: none;
  }

  .header__nav.active {
    display: flex;
    position: absolute;
    top: 60px;
    left: -1px;
    width: calc(100% + 2px);
    background: var(--light);
    padding: 100px 15px;
    border-radius: 0 0 20px 20px;
    border: 1px solid var(--extra__secondary);
  }

  .header__menu {
    flex-direction: column;
    width: 100%;
  }

  .header__menu-link {
    font-size: 16px;
    color: var(--base);
  }

  .header__menu-link:hover {
    color: var(--primary);
  }

  .menu__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: transparent;
    border: none;
    position: relative;
    padding: 0;
    margin: 0;
  }

  .menu__btn span {
    width: 40px;
    height: 2px;
    position: relative;
  }

  .menu__btn span::before,
  .menu__btn span::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--secondary);
    position: absolute;
    left: 0;
    transition: all .3s ease;
  }

  .menu__btn span::before {
    top: -4px;
  }

  .menu__btn span::after {
    bottom: -4px;
  }

  .menu__btn:hover span::before,
  .menu__btn:hover span::after {
    background: var(--base);
  }

  .menu__btn.active span::before {
    transform: rotate(-45deg);
    top: 0;
  }

  .menu__btn.active span::after {
    transform: rotate(45deg);
    bottom: 0;
  }
}

/* hero */
.hero {
  padding: 150px 0 100px;
  background:
    /* Вертикальные волны */
    repeating-linear-gradient(90deg,
      transparent,
      transparent 50px,
      color-mix(in srgb, var(--light) 85%, var(--extra__secondary) 15%) 50px,
      color-mix(in srgb, var(--light) 85%, var(--extra__secondary) 15%) 100px,
      color-mix(in srgb, var(--light) 70%, var(--extra__secondary) 30%) 100px,
      color-mix(in srgb, var(--light) 70%, var(--extra__secondary) 30%) 150px,
      transparent 150px,
      transparent 200px),

    /* Горизонтальные волны */
    repeating-linear-gradient(0deg,
      transparent,
      transparent 50px,
      color-mix(in srgb, var(--light) 90%, var(--extra__secondary) 10%) 50px,
      color-mix(in srgb, var(--light) 90%, var(--extra__secondary) 10%) 100px,
      color-mix(in srgb, var(--light) 75%, var(--extra__secondary) 25%) 100px,
      color-mix(in srgb, var(--light) 75%, var(--extra__secondary) 25%) 150px,
      transparent 150px,
      transparent 200px),

    var(--light);

  background-size: 400px 400px, 400px 400px;
  animation: movingWaves 30s linear infinite;
  opacity: 0.95;
}

@keyframes movingWaves {
  0% {
    background-position:
      0% 0%,
      0% 0%;
  }

  100% {
    background-position:
      400px 400px,
      -400px -400px;
  }
}

.hero__title {
  font-size: calc(14px + 3.5vw);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  font-weight: 700;
}

.hero__subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px;
  color: var(--secondary);
  line-height: 1.5;
  font-size: 20px;
}

.hero__buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.hero__button img {
  height: 12px;
  transition: all .2s linear;
}

.hero__button.btn:hover img {
  transform: translateX(2px);
}

.hero__bullets {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}

.hero__bullets li {
  position: relative;
  font-size: 14px;
  color: var(--secondary);
  padding-left: 20px;
}

.hero__bullets li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  position: absolute;
  left: 0;
  top: calc(50% - 3px);
  animation: pulse 1s linear 0s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--extra__hover);
  }

  100% {
    box-shadow: 0 0 0 6px #aebaff00;
  }
}

@media(max-width:700px) {
  .hero__buttons {
    flex-direction: column;
  }

  .hero__bullets {
    flex-wrap: wrap;
  }
}

/* catalog */
.catalog {
  padding: 100px 0;
}

.catalog__title {
  text-align: center;
  font-size: calc(16px + 2vw);
  font-weight: 600;
  margin-bottom: 20px;
}

.catalog__subtitle {
  line-height: 1.5;
  color: var(--secondary);
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
}

.catalog__wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 10px;
  margin: 0 auto;
  max-width: 990px;
}

.catalog__item {
  padding: 24px 40px;
  border-radius: 100px;
  border: 1px solid var(--extra__secondary);
  background: var(--light);
  color: var(--base);
  transition: all .3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.catalog__item:hover {
  background: var(--primary__hover);
  color: var(--light);
}

.catalog__item svg {
  height: 16px;
}

@media(max-width:700px) {
  .catalog__item {
    padding: 14px 20px;
  }
}

/* tools */
.tools {
  padding: 80px 0;
  /* background: color-mix(in srgb, var(--light) 50%, transparent); */
  background: var(--light);
}

.tools__grid {
  margin: 0 auto;
  max-width: 1200px;
}

.tools__title {
  font-size: calc(16px + 2vw);
  font-weight: 600;
  margin-bottom: 20px;
}

.tools__subtitle {
  line-height: 1.5;
  color: var(--secondary);
  font-size: 18px;
  margin-bottom: 50px;
}

.tools__wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 20px;
  align-items: start;
}

.tools__item {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  position: relative;
  border: 1px solid var(--extra__secondary);
  border-radius: 22px;
  background: var(--white);
}

.tools__item:hover {
  /* border-color: var(--primary__hover); */
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.06);
}

.tools__item-preview {
  width: 100%;
  height: 180px;
  border-radius: 22px 22px 0 0;
  object-fit: cover;
}

.tools__item-content {
  padding: 20px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tools__item-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--base);
  line-height: 1.3;
}

.tools__item:hover .tools__item-title {
  color: var(--primary);
}

.tools__item-description {
  color: var(--secondary);
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.tools__item-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.tools__item-review {
  background: var(--white);
  border-color: var(--primary);
  color: var(--primary);
}

.tools__item-review:hover {
  color: var(--white);
  border-color: var(--secondary);
  background: var(--secondary);
}

.tools__message {
  font-size: 12px;
  color: var(--secondary);
  text-align: left;
  font-style: italic;
}

.affilate__link {
  font-size: 14px;
  color: var(--extra__hover);
  text-decoration: underline;
}

@media(max-width:900px) {
  .tools__wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:600px) {
  .tools__wrap {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* guides */
.guides {
  padding: 80px 0;
  background: var(--light);
}

.guides__title {
  font-size: calc(16px + 2vw);
  font-weight: 600;
}

.guides__subtitle {
  line-height: 1.5;
  color: var(--secondary);
  font-size: 18px;
  margin-bottom: 50px;
  max-width: 600px;
}

.guides__wrap-title {
  font-size: 22px;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 20px;
}

.guides__wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.guides__item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  position: relative;
  border: 1px solid var(--extra__secondary);
  border-radius: 22px;
  background: var(--white);
}

.guides__item:hover {
  border-color: var(--primary__hover);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.07),
    0 4px 8px rgba(0, 0, 0, 0.03);
}

.guides__item-category {
  padding: 6px 14px;
  background: var(--light);
  color: var(--base);
  font-size: 14px;
  border-radius: 100px;
  position: absolute;
  z-index: 2;
  pointer-events: none;
  left: 20px;
  top: 20px;
}

.guides__item-preview {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  background: var(--light);
}

.guides__item-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guides__item:hover .guides__item-preview img {
  transform: scale(1.02);
}

.guides__item-content {
  padding: 20px;
  width: 100%;
  position: relative;
}

.guides__content-icon {
  fill: var(--extra__secondary);
  position: absolute;
  top: calc(50% - 10px);
  right: 20px;
  height: 20px;
  width: 20px;
}

.guides__item:hover .guides__content-icon {
  fill: var(--primary__hover);
}

.guides__item-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--base);
}

.guides__item:hover .guides__item-title {
  color: var(--primary);
}

.guides__item-description {
  color: var(--secondary);
  line-height: 1.5;
  font-size: 14px;
  margin-bottom: 10px;
}

.guides__item-readtime {
  color: var(--secondary);
  font-size: 14px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.guides__item-readtime img {
  height: 14px;
}

.guides__item .btn {
  width: calc(100% - 40px);
  margin: auto auto 20px;
}

/* guides__experts */
.guides__experts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.guides__experts-item {
  padding: 30px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.03);
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.expert__info {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 40px;
  align-items: start;
}

.expert__info-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
}

.expert__info-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.expert__content-name {
  font-size: 30px;
  font-weight: 600;
}

.expert__content-skills {
  color: var(--primary);
}

.expert__info-description {
  line-height: 1.5;
  color: var(--secondary);
}

.experts__content-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}


.expert__item-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.expert__content-item {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 20px;
}

.expert__content-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

@media(max-width:1100px) {
  .guides__experts {
    grid-template-columns: 1fr;
  }

  .guides__wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:700px) {
  .expert__info {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .expert__info-img {
    margin: 0 auto;
  }

  .experts__content-buttons {
    grid-template-columns: 1fr;
  }

  .expert__item-wrap {
    grid-template-columns: 1fr;
  }

  .guides__wrap {
    grid-template-columns: 1fr;
  }
}

/* advantages */
.advantages {
  padding: 60px 0;
  background: var(--light);
}

.advantages__title {
  font-size: calc(16px + 2vw);
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
}

.advantages__subtitle {
  line-height: 1.5;
  color: var(--secondary);
  font-size: 18px;
  margin-bottom: 50px;
  text-align: center;
}

.advantages__wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.advantages__item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 20px;
  border: 1px solid var(--extra__secondary);
  border-radius: 22px;
  background: var(--white);
  padding: 30px;
}

.advantages__item:hover {
  border-color: var(--primary__hover);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.06);
}

.advantages__item-icon {
  padding: 10px;
  border-radius: 8px;
  background: var(--extra__secondary);
}

.advantages__item:hover .advantages__item-icon {
  background: var(--primary__hover);
}

.advantages__item:hover .advantages__item-icon svg {
  stroke: var(--light);
}

.advantages__item-title {
  font-size: 24px;
  font-weight: 600;
}

.advantages__item-description {
  line-height: 1.5;
  color: var(--secondary);
}

@media(max-width:700px) {
  .advantages__wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* methodology */
.methodology {
  padding: 80px 0;
}

.methodology__title {
  font-size: calc(16px + 2vw);
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
}

.methodology__subtitle {
  line-height: 1.5;
  color: var(--secondary);
  font-size: 18px;
  margin-bottom: 50px;
  text-align: center;
}

.methodology__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto 40px;
}

.methodology__feature {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  background: var(--white);
}

.methodology__icon {
  padding: 20px;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 20px;
  border-radius: 10px;
}

.methodology__feature-title {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 10px;
}

.methodology__feature-desc {
  color: var(--secondary);
  line-height: 1.5;
}

.methodology__button {
  max-width: 400px;
  margin: 0 auto;
  background: var(--base);
  padding: 30px 20px;
}

@media(max-width:500px) {
  .methodology__feature {
    flex-direction: column;
    align-items: start;
  }
}

.latest__articles {
  padding: 60px 0;
  background: var(--white);
}

.latest__title {
  font-size: calc(16px + 2vw);
  font-weight: 600;
  margin-bottom: 10px;
}

.latest__subtitle {
  line-height: 1.5;
  color: var(--secondary);
  font-size: 18px;
  margin-bottom: 50px;
}

.footer {
  background: var(--base);
  color: var(--white);
  padding: 20px 0;
  text-align: center;
}